From b14afd22a51f6ffb0a31325b68e51cc13c1d9679 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Mon, 18 May 2026 17:40:47 -0300 Subject: [PATCH 1/3] [IC-1055] Updated proto definitions pointing to injective-core v1.20.0-alpha.3 and injective-indexer v1.19.41. Generated the MAINTAINERS.md file with documentation of the actions to execute when updating the SDK for a new chain version. --- CHANGELOG.md | 8 + MAINTAINERS.md | 179 +++++++ Makefile | 7 +- README.md | 2 + buf.gen.yaml | 8 +- .../exchange/25_MsgUpdateDerivativeMarket.py | 1 + .../exchange/31_MsgBatchLiquidatePositions.py | 87 +++ .../4_MsgInstantPerpetualMarketLaunch.py | 1 + .../5_MsgInstantExpiryFuturesMarketLaunch.py | 2 + pyinjective/composer_v2.py | 87 ++- .../exchange/injective_rfq_gw_rpc_pb2.py | 56 +- .../exchange/injective_rfq_gw_rpc_pb2_grpc.py | 136 +++++ .../proto/exchange/injective_rfq_rpc_pb2.py | 152 +++--- .../exchange/injective_rfq_rpc_pb2_grpc.py | 88 ---- .../injective_tc_derivatives_rpc_pb2.py | 48 +- .../injective/exchange/v1beta1/events_pb2.py | 146 +++--- .../proto/injective/exchange/v2/events_pb2.py | 188 +++---- .../injective/exchange/v2/exchange_pb2.py | 164 +++--- .../injective/exchange/v2/genesis_pb2.py | 44 +- .../proto/injective/exchange/v2/market_pb2.py | 44 +- .../injective/exchange/v2/proposal_pb2.py | 82 +-- .../proto/injective/exchange/v2/query_pb2.py | 354 +++++++------ .../injective/exchange/v2/query_pb2_grpc.py | 90 ++++ .../proto/injective/exchange/v2/tx_pb2.py | 494 ++++++++++-------- .../injective/exchange/v2/tx_pb2_grpc.py | 136 +++++ .../injective/oracle/v1beta1/events_pb2.py | 6 +- .../injective/oracle/v1beta1/genesis_pb2.py | 8 +- .../injective/oracle/v1beta1/oracle_pb2.py | 122 +++-- .../injective/oracle/v1beta1/query_pb2.py | 110 ++-- .../oracle/v1beta1/query_pb2_grpc.py | 88 ++++ .../proto/injective/oracle/v1beta1/tx_pb2.py | 74 ++- .../injective/oracle/v1beta1/tx_pb2_grpc.py | 92 ++++ .../proto/injective/peggy/v1/params_pb2.py | 16 +- .../proto/injective/stream/v2/query_pb2.py | 56 +- pyproject.toml | 2 +- .../grpc/test_chain_grpc_exchange_v2_api.py | 16 +- .../test_chain_grpc_chain_stream.py | 2 + tests/test_composer_v2.py | 119 +++++ 38 files changed, 2212 insertions(+), 1103 deletions(-) create mode 100644 MAINTAINERS.md create mode 100644 examples/chain_client/exchange/31_MsgBatchLiquidatePositions.py diff --git a/CHANGELOG.md b/CHANGELOG.md index a9eada58..f667da00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. +## [v1.15.0] +### Added +- Added support in v2 Composer for the new exchange module MsgBatchLiquidatePositions message, including the `liquidate_position_data` and `msg_batch_liquidate_positions` composer helpers and a corresponding example script +- Exposed `OrderType`, `OracleType`, and `CrossMarginEligibility` proto enums as `IntEnum` class attributes on the v2 `Composer` (`Composer.ORDER_TYPE`, `Composer.ORACLE_TYPE`, `Composer.CROSS_MARGIN_ELIGIBILITY`) for IDE discoverability and type safety. The `order_type` and `oracle_type` parameters in composer methods now accept either the string name or an integer / enum value (backward-compatible); `cross_margin_eligibility` (newly introduced this release) accepts only the `Composer.CROSS_MARGIN_ELIGIBILITY` enum. + +### Changed +- Updated all compiled protos for compatibility with Injective core v1.20.0 and Indexer v1.19.41ß + ## [1.14.1] - 2026-04-29 ### Changed - Update Python version limitation to ">=3.10,<3.15" to support Python v1.14 diff --git a/MAINTAINERS.md b/MAINTAINERS.md new file mode 100644 index 00000000..cee8ddde --- /dev/null +++ b/MAINTAINERS.md @@ -0,0 +1,179 @@ +# Maintainers Guide + +This document describes maintenance workflows for SDK contributors and maintainers. + +--- + +## Prerequisites + +The following tools must be installed before running any maintenance commands. + +| Tool | Purpose | Install (macOS) | +|------|---------|-----------------| +| `buf` | Proto code generation | `brew install bufbuild/buf/buf` | +| `git` | Repository operations | `brew install git` | +| `make` | Task runner | bundled with Xcode CLT | +| `poetry` | Python packaging | [python-poetry.org/docs](https://python-poetry.org/docs/#installation) | +| Python 3.9+ | Runtime | `brew install python` | + +> **macOS only**: The `fix-generated-proto-imports` step inside `make gen` uses the BSD `sed -i ""` syntax. On Linux, `sed -i ""` must be replaced with `sed -i`. All maintainers are expected to run proto generation on macOS or adapt the command in the `Makefile` accordingly. + +--- + +## Regenerating the proto bindings + +The generated Python bindings in `pyinjective/proto/` are produced from `.proto` source files pulled from several upstream repositories. + +### Step 1 — Update version references + +Two files control which upstream versions are used: + +**`Makefile`** — controls the injective-indexer gRPC proto files: + +```makefile +clone-injective-indexer: + git clone https://github.com/InjectiveLabs/injective-indexer.git -b --depth 1 --single-branch +``` + +Update the `-b` tag to the desired `injective-indexer` release (e.g. `v1.19.0`). + +**`buf.gen.yaml`** — controls all other proto sources via the `inputs:` block. Bump the relevant tags for: + +- `injective-core` (most common change) +- `ibc-go`, `wasmd`, `cometbft`, `cosmos-sdk` (when a protocol upgrade requires it) + +Example `buf.gen.yaml` inputs entry to update: + +```yaml +- git_repo: https://github.com/InjectiveLabs/injective-core + tag: v1.19.0 + subdir: proto +``` + +### Step 2 — Run generation + +```bash +make gen +``` + +This single command runs the full pipeline: + +```mermaid +flowchart LR + bumpVersions["Bump tags in Makefile + buf.gen.yaml"] --> makeGen["make gen"] + makeGen --> cloneAll["clone-all\n(injective-indexer)"] + cloneAll --> copyProto["copy-proto\n(.proto → proto/exchange/)"] + copyProto --> bufGen["buf generate\n(buf.gen.yaml inputs)"] + bufGen --> cleanup["remove proto/\nand injective-indexer/"] + cleanup --> fixImports["fix-generated-proto-imports"] + fixImports --> review["git diff + pytest"] +``` + +**What each step does:** + +1. `clone-all` — shallow-clones the `injective-indexer` repository at the configured tag. +2. `copy-proto` — deletes the previous `pyinjective/proto/` tree, then copies all `.proto` files from the cloned indexer's `api/gen/grpc` directory into `proto/exchange/`. +3. `buf generate` — runs the `buf` tool against `buf.gen.yaml`, pulling proto sources from the BSR (Buf Schema Registry) and the `git_repo` inputs, then emitting Python and gRPC stubs into `pyinjective/proto/`. +4. Cleanup — removes the temporary `proto/` and `injective-indexer/` directories. +5. `fix-generated-proto-imports` — rewrites bare import paths (e.g. `from cosmos`) in every generated `.py` file to their package-qualified equivalents (e.g. `from pyinjective.proto.cosmos`). This step covers the modules listed in `PROTO_MODULES` in the `Makefile` plus `google.api`. + +### Step 3 — Verify and commit + +```bash +git diff pyinjective/proto/ # review the generated diff +poetry run pytest -v # run the full test suite +``` + +Commit the `Makefile`, `buf.gen.yaml`, and all updated `pyinjective/proto/**` files together in a single commit. + +### Troubleshooting + +| Problem | Fix | +|---------|-----| +| Stale `injective-indexer/` or `proto/` directories from a failed previous run | `make clean-all` | +| `buf generate` fails with auth errors on private BSR repos | Log in with `buf registry login` | +| Import errors after generation | Rerun `make fix-generated-proto-imports` manually to isolate the issue | + +--- + +## Regenerating `pyinjective/ofac.json` + +The `pyinjective/ofac.json` file is the local snapshot of the OFAC and restricted-wallet list used by `OfacChecker`. Its upstream source is: + +``` +https://raw.githubusercontent.com/InjectiveLabs/injective-lists/refs/heads/master/json/wallets/ofacAndRestricted.json +``` + +Refresh the snapshot with: + +```bash +make gen-ofac +``` + +This calls `poetry run python pyinjective/ofac.py`, which downloads the latest list from the URL above and overwrites `pyinjective/ofac.json`. + +**When to refresh:** before each release, and whenever the upstream `injective-lists` repository publishes a significant update to the wallet list. + +Commit the updated `pyinjective/ofac.json` together with other release preparation changes. + +--- + +## Bumping the package version + +The `version` field in `pyproject.toml` is the exact string that Poetry uses as the package name on PyPI when publishing. Every published release must have a unique version. + +```toml +[tool.poetry] +name = "injective-py" +version = "1.15.0" # ← update this before releasing +``` + +**Versioning conventions used in this project:** + +| Suffix | Meaning | Example | +|--------|---------|---------| +| `X.Y.Z` | Stable production release | `1.15.0` | +| `X.Y.Z-rcN` | Release candidate | `1.15.0-rc1` | + +Keep the `pyproject.toml` version bump in the same commit as the corresponding `CHANGELOG.md` entry so both are always in sync. + +--- + +## Release workflow + +Publishing to PyPI is fully automated via [`.github/workflows/release.yml`](.github/workflows/release.yml). + +### How the workflow is triggered + +The workflow fires on GitHub **`release: published`** events. This means it runs only when a maintainer explicitly publishes a GitHub Release — not on plain tag pushes or branch merges. + +### What the workflow does + +1. Checks out the repository at the commit the GitHub Release points to. +2. Installs Python and Poetry on `ubuntu-latest`. +3. Runs `poetry publish --build`, which builds the distribution and pushes it to PyPI using the `PYPI_API_TOKEN` repository secret. + +> **Important:** The `pyproject.toml` version in the commit targeted by the GitHub Release is what gets published. If the version was not bumped before creating the release, the wrong version will be pushed to PyPI (and PyPI will reject a re-upload of an already-existing version). + +### Operational notes + +- The `PYPI_API_TOKEN` secret must remain valid on the repository. Rotating it when expired is a maintainer responsibility. +- The release workflow does **not** run tests. Tests run automatically on every PR and merge via `run-tests.yml` and `pre-commit.yml` — ensure the branch is green before cutting a release. +- GitHub pre-releases (marked as such in the UI) still trigger `release: published`, so `-rc*` versions are published to PyPI the same way as stable ones. + +--- + +## Release checklist + +Follow these steps in order when cutting a new SDK release: + +1. **Bump proto versions** — update the `injective-indexer` tag in `Makefile` and the relevant tags in `buf.gen.yaml`. +2. **Regenerate protos** — run `make gen` and verify `git diff pyinjective/proto/` looks correct. +3. **Refresh OFAC list** — run `make gen-ofac`. +4. **Bump package version** — update `version` in `pyproject.toml` following the `X.Y.Z` / `X.Y.Z-rcN` convention. +5. **Update CHANGELOG** — add a release entry to `CHANGELOG.md` in the same commit as the version bump. +6. **Run tests** — `poetry run pytest -v` must pass locally. +7. **Open a PR** — get the changes reviewed and merged into the target branch. +8. **Create a git tag** — tag the merge commit with the release version (e.g. `v1.15.0`). +9. **Publish a GitHub Release** — point it at the tag, paste the `CHANGELOG.md` entry as release notes, and click **Publish release**. The CI workflow takes care of building and uploading the package to PyPI automatically. +10. **Verify** — monitor the `Publish Python distribution to PyPI` action in the Actions tab until it completes successfully. diff --git a/Makefile b/Makefile index 37678810..632454db 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ clean-all: $(call clean_repos) clone-injective-indexer: - git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.19.0 --depth 1 --single-branch + git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.19.41 --depth 1 --single-branch clone-all: clone-injective-indexer @@ -35,7 +35,10 @@ copy-proto: mkdir -p proto/exchange find ./injective-indexer/api/gen/grpc -type f -name "*.proto" -exec cp {} ./proto/exchange/ \; +gen-ofac: + poetry run python pyinjective/ofac.py + tests: poetry run pytest -v -.PHONY: all gen gen-client copy-proto tests +.PHONY: all gen gen-client copy-proto gen-ofac tests diff --git a/README.md b/README.md index 48b00017..df4bc345 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ Upgrade `pip` to the latest version, if you see these warnings: poetry run pytest -v ``` +> **Maintainers:** see [MAINTAINERS.md](MAINTAINERS.md) for how to regenerate proto bindings, refresh `pyinjective/ofac.json`, and cut a new release. + --- ## Async client (exchange V2) diff --git a/buf.gen.yaml b/buf.gen.yaml index 505ee300..afc0b092 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -19,14 +19,8 @@ inputs: tag: v1.0.1-inj.7 - git_repo: https://github.com/InjectiveLabs/cosmos-sdk tag: v0.50.14-inj.9 -# - git_repo: https://github.com/InjectiveLabs/wasmd -# branch: v0.51.x-inj -# subdir: proto - # - git_repo: https://github.com/InjectiveLabs/hyperlane-cosmos - # tag: v1.0.1-inj - # subdir: proto - git_repo: https://github.com/InjectiveLabs/injective-core - tag: v1.19.0 + tag: v1.20.0-alpha.3 subdir: proto # - git_repo: https://github.com/InjectiveLabs/injective-core # branch: c-655/add_chainlink_data_streams_oracle diff --git a/examples/chain_client/exchange/25_MsgUpdateDerivativeMarket.py b/examples/chain_client/exchange/25_MsgUpdateDerivativeMarket.py index 9953399e..23a73618 100644 --- a/examples/chain_client/exchange/25_MsgUpdateDerivativeMarket.py +++ b/examples/chain_client/exchange/25_MsgUpdateDerivativeMarket.py @@ -53,6 +53,7 @@ async def main() -> None: new_maintenance_margin_ratio=Decimal("0.085"), new_reduce_margin_ratio=Decimal("3.5"), new_open_notional_cap=composer.uncapped_open_notional_cap(), + cross_margin_eligibility=composer.CROSS_MARGIN_ELIGIBILITY.CM_ELIGIBILITY_INELIGIBLE, ) # broadcast the transaction diff --git a/examples/chain_client/exchange/31_MsgBatchLiquidatePositions.py b/examples/chain_client/exchange/31_MsgBatchLiquidatePositions.py new file mode 100644 index 00000000..5c4fa7c5 --- /dev/null +++ b/examples/chain_client/exchange/31_MsgBatchLiquidatePositions.py @@ -0,0 +1,87 @@ +import asyncio +import json +import os +import uuid +from decimal import Decimal + +import dotenv + +from pyinjective.async_client_v2 import AsyncClient +from pyinjective.core.broadcaster import MsgBroadcasterWithPk +from pyinjective.core.network import Network +from pyinjective.wallet import PrivateKey + + +async def main() -> None: + dotenv.load_dotenv() + private_key_in_hexa = os.getenv("INJECTIVE_PRIVATE_KEY") + + # select network: local, testnet, mainnet + network = Network.testnet() + + # initialize grpc client + client = AsyncClient(network) + composer = await client.composer() + + gas_price = await client.current_chain_gas_price() + # adjust gas price to make it valid even if it changes between the time it is requested and the TX is broadcasted + gas_price = int(gas_price * 1.1) + + message_broadcaster = MsgBroadcasterWithPk.new_using_gas_heuristics( + network=network, + private_key=private_key_in_hexa, + gas_price=gas_price, + client=client, + composer=composer, + ) + + priv_key = PrivateKey.from_hex(private_key_in_hexa) + pub_key = priv_key.to_public_key() + address = pub_key.to_address() + subaccount_id = address.get_subaccount_id(index=0) + + market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + fee_recipient = "inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r" + cid = str(uuid.uuid4()) + + order = composer.derivative_order( + market_id=market_id, + subaccount_id=subaccount_id, + fee_recipient=fee_recipient, + price=Decimal("39.01"), # This should be the liquidation price + quantity=Decimal("0.147"), + margin=Decimal("5.73447"), + order_type="SELL", + cid=cid, + ) + + # Build individual liquidation entries; order is optional per-entry + liquidation_with_order = composer.liquidate_position_data( + subaccount_id="0x156df4d5bc8e7dd9191433e54bd6a11eeb390921000000000000000000000000", + market_id=market_id, + order=order, + ) + liquidation_without_order = composer.liquidate_position_data( + subaccount_id="0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000000", + market_id=market_id, + ) + + # prepare tx msg + msg = composer.msg_batch_liquidate_positions( + sender=address.to_acc_bech32(), + liquidations=[liquidation_with_order, liquidation_without_order], + ) + + # broadcast the transaction + result = await message_broadcaster.broadcast([msg]) + print("---Transaction Response---") + print(json.dumps(result, indent=2)) + + gas_price = await client.current_chain_gas_price() + # adjust gas price to make it valid even if it changes between the time it is requested and the TX is broadcasted + gas_price = int(gas_price * 1.1) + message_broadcaster.update_gas_price(gas_price=gas_price) + + +if __name__ == "__main__": + asyncio.get_event_loop().run_until_complete(main()) diff --git a/examples/chain_client/exchange/4_MsgInstantPerpetualMarketLaunch.py b/examples/chain_client/exchange/4_MsgInstantPerpetualMarketLaunch.py index 13ffe979..ea57819d 100644 --- a/examples/chain_client/exchange/4_MsgInstantPerpetualMarketLaunch.py +++ b/examples/chain_client/exchange/4_MsgInstantPerpetualMarketLaunch.py @@ -59,6 +59,7 @@ async def main() -> None: min_quantity_tick_size=Decimal("0.01"), min_notional=Decimal("1"), open_notional_cap=composer.uncapped_open_notional_cap(), + cross_margin_eligible=False, ) # broadcast the transaction diff --git a/examples/chain_client/exchange/5_MsgInstantExpiryFuturesMarketLaunch.py b/examples/chain_client/exchange/5_MsgInstantExpiryFuturesMarketLaunch.py index 50aa713d..52ec10eb 100644 --- a/examples/chain_client/exchange/5_MsgInstantExpiryFuturesMarketLaunch.py +++ b/examples/chain_client/exchange/5_MsgInstantExpiryFuturesMarketLaunch.py @@ -55,10 +55,12 @@ async def main() -> None: taker_fee_rate=Decimal("0.001"), initial_margin_ratio=Decimal("0.33"), maintenance_margin_ratio=Decimal("0.095"), + reduce_margin_ratio=Decimal("3"), min_price_tick_size=Decimal("0.001"), min_quantity_tick_size=Decimal("0.01"), min_notional=Decimal("1"), open_notional_cap=composer.uncapped_open_notional_cap(), + cross_margin_eligible=False, ) # broadcast the transaction diff --git a/pyinjective/composer_v2.py b/pyinjective/composer_v2.py index d04fea8f..f92364e4 100644 --- a/pyinjective/composer_v2.py +++ b/pyinjective/composer_v2.py @@ -1,8 +1,8 @@ import json from decimal import Decimal -from enum import IntFlag +from enum import IntEnum, IntFlag from time import time -from typing import Any, Dict, List, Optional +from typing import Any, Dict, List, Optional, Union from google.protobuf import any_pb2, json_format, timestamp_pb2 @@ -30,6 +30,7 @@ exchange_pb2 as injective_exchange_v2_pb, market_pb2 as injective_market_v2_pb, order_pb2 as injective_order_v2_pb, + proposal_pb2 as injective_proposal_v2_pb, tx_pb2 as injective_exchange_tx_v2_pb, ) from pyinjective.proto.injective.insurance.v1beta1 import tx_pb2 as injective_insurance_tx_pb @@ -78,6 +79,8 @@ injective_exchange_tx_v2_pb.MsgSubaccountTransferResponse, "MsgLiquidatePosition": injective_exchange_tx_v2_pb.MsgLiquidatePositionResponse, + "MsgBatchLiquidatePositions": + injective_exchange_tx_v2_pb.MsgBatchLiquidatePositionsResponse, "MsgIncreasePositionMargin": injective_exchange_tx_v2_pb.MsgIncreasePositionMarginResponse, "MsgCreateBinaryOptionsLimitOrder": @@ -179,6 +182,8 @@ injective_exchange_tx_v2_pb.MsgSubaccountTransfer, "/injective.exchange.v2.MsgLiquidatePosition": injective_exchange_tx_v2_pb.MsgLiquidatePosition, + "/injective.exchange.v2.MsgBatchLiquidatePositions": + injective_exchange_tx_v2_pb.MsgBatchLiquidatePositions, "/injective.exchange.v2.MsgIncreasePositionMargin": injective_exchange_tx_v2_pb.MsgIncreasePositionMargin, "/injective.exchange.v2.MsgCreateBinaryOptionsLimitOrder": @@ -280,6 +285,8 @@ injective_exchange_tx_v2_pb.MsgSubaccountTransferResponse, "/injective.exchange.v2.MsgLiquidatePositionResponse": injective_exchange_tx_v2_pb.MsgLiquidatePositionResponse, + "/injective.exchange.v2.MsgBatchLiquidatePositionsResponse": + injective_exchange_tx_v2_pb.MsgBatchLiquidatePositionsResponse, "/injective.exchange.v2.MsgIncreasePositionMarginResponse": injective_exchange_tx_v2_pb.MsgIncreasePositionMarginResponse, "/injective.exchange.v2.MsgCreateBinaryOptionsLimitOrderResponse": @@ -305,6 +312,33 @@ class Composer: for permission_name in injective_permissions_pb.Action.keys() ], ) + ORDER_TYPE = IntEnum( + "ORDER_TYPE", + [(name, injective_order_v2_pb.OrderType.Value(name)) for name in injective_order_v2_pb.OrderType.keys()], + ) + ORACLE_TYPE = IntEnum( + "ORACLE_TYPE", + [(name, injective_oracle_pb.OracleType.Value(name)) for name in injective_oracle_pb.OracleType.keys()], + ) + CROSS_MARGIN_ELIGIBILITY = IntEnum( + "CROSS_MARGIN_ELIGIBILITY", + [ + (name, injective_proposal_v2_pb.CrossMarginEligibility.Value(name)) + for name in injective_proposal_v2_pb.CrossMarginEligibility.keys() + ], + ) + + @staticmethod + def _resolve_order_type(value: Union[str, int]) -> int: + if isinstance(value, str): + return injective_order_v2_pb.OrderType.Value(value) + return int(value) + + @staticmethod + def _resolve_oracle_type(value: Union[str, int]) -> int: + if isinstance(value, str): + return injective_oracle_pb.OracleType.Value(value) + return int(value) def __init__(self, network: str): """Composer is used to create the requests to send to the nodes using the Client @@ -364,14 +398,14 @@ def spot_order( fee_recipient: str, price: Decimal, quantity: Decimal, - order_type: str, + order_type: Union[str, int], cid: Optional[str] = None, trigger_price: Optional[Decimal] = None, expiration_block: Optional[int] = None, ) -> injective_order_v2_pb.SpotOrder: trigger_price = trigger_price or Decimal(0) expiration_block = expiration_block or 0 - chain_order_type = injective_order_v2_pb.OrderType.Value(order_type) + chain_order_type = self._resolve_order_type(order_type) chain_quantity = f"{Token.convert_value_to_extended_decimal_format(value=quantity).normalize():f}" chain_price = f"{Token.convert_value_to_extended_decimal_format(value=price).normalize():f}" chain_trigger_price = f"{Token.convert_value_to_extended_decimal_format(value=trigger_price).normalize():f}" @@ -592,7 +626,7 @@ def msg_instant_perpetual_market_launch_v2( oracle_base: str, oracle_quote: str, oracle_scale_factor: int, - oracle_type: str, + oracle_type: Union[str, int], maker_fee_rate: Decimal, taker_fee_rate: Decimal, initial_margin_ratio: Decimal, @@ -602,6 +636,7 @@ def msg_instant_perpetual_market_launch_v2( min_quantity_tick_size: Decimal, min_notional: Decimal, open_notional_cap: Optional[injective_market_v2_pb.OpenNotionalCap] = None, + cross_margin_eligible: bool = False, ) -> injective_exchange_tx_v2_pb.MsgInstantPerpetualMarketLaunch: chain_min_price_tick_size = Token.convert_value_to_extended_decimal_format(value=min_price_tick_size) chain_min_quantity_tick_size = Token.convert_value_to_extended_decimal_format(value=min_quantity_tick_size) @@ -619,7 +654,7 @@ def msg_instant_perpetual_market_launch_v2( oracle_base=oracle_base, oracle_quote=oracle_quote, oracle_scale_factor=oracle_scale_factor, - oracle_type=injective_oracle_pb.OracleType.Value(oracle_type), + oracle_type=self._resolve_oracle_type(oracle_type), maker_fee_rate=f"{chain_maker_fee_rate.normalize():f}", taker_fee_rate=f"{chain_taker_fee_rate.normalize():f}", initial_margin_ratio=f"{chain_initial_margin_ratio.normalize():f}", @@ -629,6 +664,7 @@ def msg_instant_perpetual_market_launch_v2( min_quantity_tick_size=f"{chain_min_quantity_tick_size.normalize():f}", min_notional=f"{chain_min_notional.normalize():f}", open_notional_cap=open_notional_cap, + cross_margin_eligible=cross_margin_eligible, ) def msg_instant_expiry_futures_market_launch_v2( @@ -639,7 +675,7 @@ def msg_instant_expiry_futures_market_launch_v2( oracle_base: str, oracle_quote: str, oracle_scale_factor: int, - oracle_type: str, + oracle_type: Union[str, int], expiry: int, maker_fee_rate: Decimal, taker_fee_rate: Decimal, @@ -650,6 +686,7 @@ def msg_instant_expiry_futures_market_launch_v2( min_quantity_tick_size: Decimal, min_notional: Decimal, open_notional_cap: Optional[injective_market_v2_pb.OpenNotionalCap] = None, + cross_margin_eligible: bool = False, ) -> injective_exchange_tx_v2_pb.MsgInstantExpiryFuturesMarketLaunch: chain_min_price_tick_size = Token.convert_value_to_extended_decimal_format(value=min_price_tick_size) chain_min_quantity_tick_size = Token.convert_value_to_extended_decimal_format(value=min_quantity_tick_size) @@ -667,7 +704,7 @@ def msg_instant_expiry_futures_market_launch_v2( oracle_base=oracle_base, oracle_quote=oracle_quote, oracle_scale_factor=oracle_scale_factor, - oracle_type=injective_oracle_pb.OracleType.Value(oracle_type), + oracle_type=self._resolve_oracle_type(oracle_type), expiry=expiry, maker_fee_rate=f"{chain_maker_fee_rate.normalize():f}", taker_fee_rate=f"{chain_taker_fee_rate.normalize():f}", @@ -678,6 +715,7 @@ def msg_instant_expiry_futures_market_launch_v2( min_quantity_tick_size=f"{chain_min_quantity_tick_size.normalize():f}", min_notional=f"{chain_min_notional.normalize():f}", open_notional_cap=open_notional_cap, + cross_margin_eligible=cross_margin_eligible, ) def msg_create_spot_limit_order( @@ -906,7 +944,7 @@ def msg_instant_binary_options_market_launch( ticker: str, oracle_symbol: str, oracle_provider: str, - oracle_type: str, + oracle_type: Union[str, int], oracle_scale_factor: int, maker_fee_rate: Decimal, taker_fee_rate: Decimal, @@ -930,7 +968,7 @@ def msg_instant_binary_options_market_launch( ticker=ticker, oracle_symbol=oracle_symbol, oracle_provider=oracle_provider, - oracle_type=injective_oracle_pb.OracleType.Value(oracle_type), + oracle_type=self._resolve_oracle_type(oracle_type), oracle_scale_factor=oracle_scale_factor, maker_fee_rate=f"{chain_maker_fee_rate.normalize():f}", taker_fee_rate=f"{chain_taker_fee_rate.normalize():f}", @@ -1069,6 +1107,25 @@ def msg_liquidate_position( sender=sender, subaccount_id=subaccount_id, market_id=market_id, order=order ) + def liquidate_position_data( + self, + subaccount_id: str, + market_id: str, + order: Optional[injective_order_v2_pb.DerivativeOrder] = None, + ) -> injective_exchange_tx_v2_pb.LiquidatePositionData: + return injective_exchange_tx_v2_pb.LiquidatePositionData( + subaccount_id=subaccount_id, market_id=market_id, order=order + ) + + def msg_batch_liquidate_positions( + self, + sender: str, + liquidations: List[injective_exchange_tx_v2_pb.LiquidatePositionData], + ) -> injective_exchange_tx_v2_pb.MsgBatchLiquidatePositions: + return injective_exchange_tx_v2_pb.MsgBatchLiquidatePositions( + sender=sender, liquidations=liquidations + ) + def msg_emergency_settle_market( self, sender: str, @@ -1173,6 +1230,7 @@ def msg_update_derivative_market( new_maintenance_margin_ratio: Decimal, new_reduce_margin_ratio: Decimal, new_open_notional_cap: Optional[injective_market_v2_pb.OpenNotionalCap] = None, + cross_margin_eligibility: CROSS_MARGIN_ELIGIBILITY = CROSS_MARGIN_ELIGIBILITY.CM_ELIGIBILITY_INELIGIBLE, ) -> injective_exchange_tx_v2_pb.MsgUpdateDerivativeMarket: chain_min_price_tick_size = Token.convert_value_to_extended_decimal_format(value=new_min_price_tick_size) chain_min_quantity_tick_size = Token.convert_value_to_extended_decimal_format(value=new_min_quantity_tick_size) @@ -1194,6 +1252,7 @@ def msg_update_derivative_market( new_maintenance_margin_ratio=f"{chain_maintenance_margin_ratio.normalize():f}", new_reduce_margin_ratio=f"{chain_reduce_margin_ratio.normalize():f}", new_open_notional_cap=new_open_notional_cap, + cross_margin_eligibility=cross_margin_eligibility, ) def msg_authorize_stake_grants( @@ -1244,7 +1303,7 @@ def msg_create_insurance_fund( quote_denom: str, oracle_base: str, oracle_quote: str, - oracle_type: str, + oracle_type: Union[str, int], expiry: int, initial_deposit: int, ) -> injective_insurance_tx_pb.MsgCreateInsuranceFund: @@ -1256,7 +1315,7 @@ def msg_create_insurance_fund( quote_denom=quote_denom, oracle_base=oracle_base, oracle_quote=oracle_quote, - oracle_type=injective_oracle_pb.OracleType.Value(oracle_type), + oracle_type=self._resolve_oracle_type(oracle_type), expiry=expiry, initial_deposit=deposit, ) @@ -1902,7 +1961,7 @@ def _basic_derivative_order( price: Decimal, quantity: Decimal, margin: Decimal, - order_type: str, + order_type: Union[str, int], cid: Optional[str] = None, trigger_price: Optional[Decimal] = None, expiration_block: Optional[int] = None, @@ -1914,7 +1973,7 @@ def _basic_derivative_order( chain_price = f"{Token.convert_value_to_extended_decimal_format(value=price).normalize():f}" chain_margin = f"{Token.convert_value_to_extended_decimal_format(value=margin).normalize():f}" chain_trigger_price = f"{Token.convert_value_to_extended_decimal_format(value=trigger_price).normalize():f}" - chain_order_type = injective_order_v2_pb.OrderType.Value(order_type) + chain_order_type = self._resolve_order_type(order_type) return injective_order_v2_pb.DerivativeOrder( market_id=market_id, diff --git a/pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2.py b/pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2.py index bebceb0a..2abc1665 100644 --- a/pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2.py @@ -14,7 +14,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#exchange/injective_rfq_gw_rpc.proto\x12\x14injective_rfq_gw_rpc\"i\n\x16PrepareAutoSignRequest\x12O\n\x07request\x18\x01 \x01(\x0b\x32\x35.injective_rfq_gw_rpc.RFQGwPrepareAutoSignRequestTypeR\x07request\"\x96\x06\n\x1fRFQGwPrepareAutoSignRequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12)\n\x10\x61utosign_address\x18\x07 \x01(\tR\x0f\x61utosignAddress\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x04R\x06\x65xpiry\x12(\n\x10\x61utosign_pub_key\x18\t \x01(\tR\x0e\x61utosignPubKey\x12\x36\n\x17\x61utosign_account_number\x18\n \x01(\x04R\x15\x61utosignAccountNumber\x12:\n\x19\x61utosign_account_sequence\x18\x0b \x01(\x04R\x17\x61utosignAccountSequence\x12\x37\n\x18\x66\x65\x65_payer_account_number\x18\x0c \x01(\x04R\x15\x66\x65\x65PayerAccountNumber\x12;\n\x1a\x66\x65\x65_payer_account_sequence\x18\r \x01(\x04R\x17\x66\x65\x65PayerAccountSequence\x12-\n\x13quotes_wait_time_ms\x18\x14 \x01(\x04R\x10quotesWaitTimeMs\x12^\n\x0funfilled_action\x18\x15 \x01(\x0b\x32\x35.injective_rfq_gw_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12)\n\x10subaccount_nonce\x18\x16 \x01(\rR\x0fsubaccountNonce\x12\x10\n\x03\x63id\x18\x17 \x01(\tR\x03\x63id\x12#\n\rtaker_address\x18\x1e \x01(\tR\x0ctakerAddress\"\xb8\x01\n\x1fRFQSettlementUnfilledActionType\x12H\n\x05limit\x18\x01 \x01(\x0b\x32\x32.injective_rfq_gw_rpc.RFQSettlementLimitActionTypeR\x05limit\x12K\n\x06market\x18\x02 \x01(\x0b\x32\x33.injective_rfq_gw_rpc.RFQSettlementMarketActionTypeR\x06market\"4\n\x1cRFQSettlementLimitActionType\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\"\x1f\n\x1dRFQSettlementMarketActionType\"\xe6\x04\n\x17PrepareAutoSignResponse\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x0e\n\x02tx\x18\x02 \x01(\x0cR\x02tx\x12\"\n\rfee_payer_sig\x18\x03 \x01(\tR\x0b\x66\x65\x65PayerSig\x12\x1b\n\tfee_payer\x18\x04 \x01(\tR\x08\x66\x65\x65Payer\x12\x1b\n\tsign_mode\x18\x05 \x01(\tR\x08signMode\x12 \n\x0cpub_key_type\x18\x06 \x01(\tR\npubKeyType\x12M\n\x11\x66\x65\x65_payer_pub_key\x18\x07 \x01(\x0b\x32\".injective_rfq_gw_rpc.CosmosPubKeyR\x0e\x66\x65\x65PayerPubKey\x12\x45\n\x06quotes\x18\x08 \x03(\x0b\x32-.injective_rfq_gw_rpc.RFQGwPrepareQuoteResultR\x06quotes\x12\x36\n\x17\x61utosign_account_number\x18\t \x01(\x04R\x15\x61utosignAccountNumber\x12:\n\x19\x61utosign_account_sequence\x18\n \x01(\x04R\x17\x61utosignAccountSequence\x12\x37\n\x18\x66\x65\x65_payer_account_number\x18\x0b \x01(\x04R\x15\x66\x65\x65PayerAccountNumber\x12;\n\x1a\x66\x65\x65_payer_account_sequence\x18\x0c \x01(\x04R\x17\x66\x65\x65PayerAccountSequence\x12$\n\x0equotes_wait_ms\x18\r \x01(\x04R\x0cquotesWaitMs\"4\n\x0c\x43osmosPubKey\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\"y\n\x17RFQGwPrepareQuoteResult\x12\x14\n\x05maker\x18\x01 \x01(\tR\x05maker\x12\x14\n\x05price\x18\x02 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x03 \x01(\tR\x08quantity\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin2\x83\x01\n\x11InjectiveRfqGwRPC\x12n\n\x0fPrepareAutoSign\x12,.injective_rfq_gw_rpc.PrepareAutoSignRequest\x1a-.injective_rfq_gw_rpc.PrepareAutoSignResponseB\xaf\x01\n\x18\x63om.injective_rfq_gw_rpcB\x16InjectiveRfqGwRpcProtoP\x01Z\x17/injective_rfq_gw_rpcpb\xa2\x02\x03IXX\xaa\x02\x11InjectiveRfqGwRpc\xca\x02\x11InjectiveRfqGwRpc\xe2\x02\x1dInjectiveRfqGwRpc\\GPBMetadata\xea\x02\x11InjectiveRfqGwRpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#exchange/injective_rfq_gw_rpc.proto\x12\x14injective_rfq_gw_rpc\"u\n\x1cPrepareEip712AutoSignRequest\x12U\n\x07request\x18\x01 \x01(\x0b\x32;.injective_rfq_gw_rpc.RFQGwPrepareEip712AutoSignRequestTypeR\x07request\"\xf7\x06\n%RFQGwPrepareEip712AutoSignRequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12)\n\x10\x61utosign_address\x18\x07 \x01(\tR\x0f\x61utosignAddress\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x04R\x06\x65xpiry\x12(\n\x10\x61utosign_pub_key\x18\t \x01(\tR\x0e\x61utosignPubKey\x12\x36\n\x17\x61utosign_account_number\x18\n \x01(\x04R\x15\x61utosignAccountNumber\x12:\n\x19\x61utosign_account_sequence\x18\x0b \x01(\x04R\x17\x61utosignAccountSequence\x12\x37\n\x18\x66\x65\x65_payer_account_number\x18\x0c \x01(\x04R\x15\x66\x65\x65PayerAccountNumber\x12;\n\x1a\x66\x65\x65_payer_account_sequence\x18\r \x01(\x04R\x17\x66\x65\x65PayerAccountSequence\x12-\n\x13quotes_wait_time_ms\x18\x14 \x01(\x04R\x10quotesWaitTimeMs\x12^\n\x0funfilled_action\x18\x15 \x01(\x0b\x32\x35.injective_rfq_gw_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12)\n\x10subaccount_nonce\x18\x16 \x01(\rR\x0fsubaccountNonce\x12\x10\n\x03\x63id\x18\x17 \x01(\tR\x03\x63id\x12#\n\rtaker_address\x18\x1e \x01(\tR\x0ctakerAddress\x12 \n\x0c\x65th_chain_id\x18\x1f \x01(\x04R\nethChainId\x12%\n\x0e\x65ip712_wrapper\x18 \x01(\tR\reip712Wrapper\x12\x10\n\x03gas\x18! \x01(\x04R\x03gas\"\xb8\x01\n\x1fRFQSettlementUnfilledActionType\x12H\n\x05limit\x18\x01 \x01(\x0b\x32\x32.injective_rfq_gw_rpc.RFQSettlementLimitActionTypeR\x05limit\x12K\n\x06market\x18\x02 \x01(\x0b\x32\x33.injective_rfq_gw_rpc.RFQSettlementMarketActionTypeR\x06market\"4\n\x1cRFQSettlementLimitActionType\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\"\x1f\n\x1dRFQSettlementMarketActionType\"\xac\x04\n\x1dPrepareEip712AutoSignResponse\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\tR\x04\x64\x61ta\x12\"\n\rfee_payer_sig\x18\x03 \x01(\tR\x0b\x66\x65\x65PayerSig\x12\x1b\n\tfee_payer\x18\x04 \x01(\tR\x08\x66\x65\x65Payer\x12\x1b\n\tsign_mode\x18\x05 \x01(\tR\x08signMode\x12 \n\x0cpub_key_type\x18\x06 \x01(\tR\npubKeyType\x12M\n\x11\x66\x65\x65_payer_pub_key\x18\x07 \x01(\x0b\x32\".injective_rfq_gw_rpc.CosmosPubKeyR\x0e\x66\x65\x65PayerPubKey\x12\x45\n\x06quotes\x18\x08 \x03(\x0b\x32-.injective_rfq_gw_rpc.RFQGwPrepareQuoteResultR\x06quotes\x12\x36\n\x17\x61utosign_account_number\x18\t \x01(\x04R\x15\x61utosignAccountNumber\x12:\n\x19\x61utosign_account_sequence\x18\n \x01(\x04R\x17\x61utosignAccountSequence\x12$\n\x0equotes_wait_ms\x18\x0b \x01(\x04R\x0cquotesWaitMs\x12\x30\n\x14\x65xpired_quotes_count\x18\x0c \x01(\x04R\x12\x65xpiredQuotesCount\"4\n\x0c\x43osmosPubKey\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\"y\n\x17RFQGwPrepareQuoteResult\x12\x14\n\x05maker\x18\x01 \x01(\tR\x05maker\x12\x14\n\x05price\x18\x02 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x03 \x01(\tR\x08quantity\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\"i\n\x16PrepareAutoSignRequest\x12O\n\x07request\x18\x01 \x01(\x0b\x32\x35.injective_rfq_gw_rpc.RFQGwPrepareAutoSignRequestTypeR\x07request\"\x96\x06\n\x1fRFQGwPrepareAutoSignRequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12)\n\x10\x61utosign_address\x18\x07 \x01(\tR\x0f\x61utosignAddress\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x04R\x06\x65xpiry\x12(\n\x10\x61utosign_pub_key\x18\t \x01(\tR\x0e\x61utosignPubKey\x12\x36\n\x17\x61utosign_account_number\x18\n \x01(\x04R\x15\x61utosignAccountNumber\x12:\n\x19\x61utosign_account_sequence\x18\x0b \x01(\x04R\x17\x61utosignAccountSequence\x12\x37\n\x18\x66\x65\x65_payer_account_number\x18\x0c \x01(\x04R\x15\x66\x65\x65PayerAccountNumber\x12;\n\x1a\x66\x65\x65_payer_account_sequence\x18\r \x01(\x04R\x17\x66\x65\x65PayerAccountSequence\x12-\n\x13quotes_wait_time_ms\x18\x14 \x01(\x04R\x10quotesWaitTimeMs\x12^\n\x0funfilled_action\x18\x15 \x01(\x0b\x32\x35.injective_rfq_gw_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12)\n\x10subaccount_nonce\x18\x16 \x01(\rR\x0fsubaccountNonce\x12\x10\n\x03\x63id\x18\x17 \x01(\tR\x03\x63id\x12#\n\rtaker_address\x18\x1e \x01(\tR\x0ctakerAddress\"\x98\x05\n\x17PrepareAutoSignResponse\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x0e\n\x02tx\x18\x02 \x01(\x0cR\x02tx\x12\"\n\rfee_payer_sig\x18\x03 \x01(\tR\x0b\x66\x65\x65PayerSig\x12\x1b\n\tfee_payer\x18\x04 \x01(\tR\x08\x66\x65\x65Payer\x12\x1b\n\tsign_mode\x18\x05 \x01(\tR\x08signMode\x12 \n\x0cpub_key_type\x18\x06 \x01(\tR\npubKeyType\x12M\n\x11\x66\x65\x65_payer_pub_key\x18\x07 \x01(\x0b\x32\".injective_rfq_gw_rpc.CosmosPubKeyR\x0e\x66\x65\x65PayerPubKey\x12\x45\n\x06quotes\x18\x08 \x03(\x0b\x32-.injective_rfq_gw_rpc.RFQGwPrepareQuoteResultR\x06quotes\x12\x36\n\x17\x61utosign_account_number\x18\t \x01(\x04R\x15\x61utosignAccountNumber\x12:\n\x19\x61utosign_account_sequence\x18\n \x01(\x04R\x17\x61utosignAccountSequence\x12\x37\n\x18\x66\x65\x65_payer_account_number\x18\x0b \x01(\x04R\x15\x66\x65\x65PayerAccountNumber\x12;\n\x1a\x66\x65\x65_payer_account_sequence\x18\x0c \x01(\x04R\x17\x66\x65\x65PayerAccountSequence\x12$\n\x0equotes_wait_ms\x18\r \x01(\x04R\x0cquotesWaitMs\x12\x30\n\x14\x65xpired_quotes_count\x18\x0e \x01(\x04R\x12\x65xpiredQuotesCount\"e\n\x14PrepareEip712Request\x12M\n\x07request\x18\x01 \x01(\x0b\x32\x33.injective_rfq_gw_rpc.RFQGwPrepareEip712RequestTypeR\x07request\"\xb2\x06\n\x1dRFQGwPrepareEip712RequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12#\n\rtaker_address\x18\x07 \x01(\tR\x0ctakerAddress\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x04R\x06\x65xpiry\x12\"\n\rtaker_pub_key\x18\t \x01(\tR\x0btakerPubKey\x12\x30\n\x14taker_account_number\x18\n \x01(\x04R\x12takerAccountNumber\x12\x34\n\x16taker_account_sequence\x18\x0b \x01(\x04R\x14takerAccountSequence\x12\x37\n\x18\x66\x65\x65_payer_account_number\x18\x0c \x01(\x04R\x15\x66\x65\x65PayerAccountNumber\x12;\n\x1a\x66\x65\x65_payer_account_sequence\x18\r \x01(\x04R\x17\x66\x65\x65PayerAccountSequence\x12-\n\x13quotes_wait_time_ms\x18\x14 \x01(\x04R\x10quotesWaitTimeMs\x12^\n\x0funfilled_action\x18\x15 \x01(\x0b\x32\x35.injective_rfq_gw_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12)\n\x10subaccount_nonce\x18\x16 \x01(\rR\x0fsubaccountNonce\x12\x10\n\x03\x63id\x18\x17 \x01(\tR\x03\x63id\x12 \n\x0c\x65th_chain_id\x18\x1e \x01(\x04R\nethChainId\x12%\n\x0e\x65ip712_wrapper\x18\x1f \x01(\tR\reip712Wrapper\x12\x10\n\x03gas\x18 \x01(\x04R\x03gas\"\x98\x04\n\x15PrepareEip712Response\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\tR\x04\x64\x61ta\x12\"\n\rfee_payer_sig\x18\x03 \x01(\tR\x0b\x66\x65\x65PayerSig\x12\x1b\n\tfee_payer\x18\x04 \x01(\tR\x08\x66\x65\x65Payer\x12\x1b\n\tsign_mode\x18\x05 \x01(\tR\x08signMode\x12 \n\x0cpub_key_type\x18\x06 \x01(\tR\npubKeyType\x12M\n\x11\x66\x65\x65_payer_pub_key\x18\x07 \x01(\x0b\x32\".injective_rfq_gw_rpc.CosmosPubKeyR\x0e\x66\x65\x65PayerPubKey\x12\x45\n\x06quotes\x18\x08 \x03(\x0b\x32-.injective_rfq_gw_rpc.RFQGwPrepareQuoteResultR\x06quotes\x12\x30\n\x14taker_account_number\x18\t \x01(\x04R\x12takerAccountNumber\x12\x34\n\x16taker_account_sequence\x18\n \x01(\x04R\x14takerAccountSequence\x12$\n\x0equotes_wait_ms\x18\x0b \x01(\x04R\x0cquotesWaitMs\x12\x30\n\x14\x65xpired_quotes_count\x18\x0c \x01(\x04R\x12\x65xpiredQuotesCount\"Y\n\x0ePrepareRequest\x12G\n\x07request\x18\x01 \x01(\x0b\x32-.injective_rfq_gw_rpc.RFQGwPrepareRequestTypeR\x07request\"\xd1\x05\n\x17RFQGwPrepareRequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12#\n\rtaker_address\x18\x07 \x01(\tR\x0ctakerAddress\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x04R\x06\x65xpiry\x12\"\n\rtaker_pub_key\x18\t \x01(\tR\x0btakerPubKey\x12\x30\n\x14taker_account_number\x18\n \x01(\x04R\x12takerAccountNumber\x12\x34\n\x16taker_account_sequence\x18\x0b \x01(\x04R\x14takerAccountSequence\x12\x37\n\x18\x66\x65\x65_payer_account_number\x18\x0c \x01(\x04R\x15\x66\x65\x65PayerAccountNumber\x12;\n\x1a\x66\x65\x65_payer_account_sequence\x18\r \x01(\x04R\x17\x66\x65\x65PayerAccountSequence\x12-\n\x13quotes_wait_time_ms\x18\x14 \x01(\x04R\x10quotesWaitTimeMs\x12^\n\x0funfilled_action\x18\x15 \x01(\x0b\x32\x35.injective_rfq_gw_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12)\n\x10subaccount_nonce\x18\x16 \x01(\rR\x0fsubaccountNonce\x12\x10\n\x03\x63id\x18\x17 \x01(\tR\x03\x63id\"\x84\x05\n\x0fPrepareResponse\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x0e\n\x02tx\x18\x02 \x01(\x0cR\x02tx\x12\"\n\rfee_payer_sig\x18\x03 \x01(\tR\x0b\x66\x65\x65PayerSig\x12\x1b\n\tfee_payer\x18\x04 \x01(\tR\x08\x66\x65\x65Payer\x12\x1b\n\tsign_mode\x18\x05 \x01(\tR\x08signMode\x12 \n\x0cpub_key_type\x18\x06 \x01(\tR\npubKeyType\x12M\n\x11\x66\x65\x65_payer_pub_key\x18\x07 \x01(\x0b\x32\".injective_rfq_gw_rpc.CosmosPubKeyR\x0e\x66\x65\x65PayerPubKey\x12\x45\n\x06quotes\x18\x08 \x03(\x0b\x32-.injective_rfq_gw_rpc.RFQGwPrepareQuoteResultR\x06quotes\x12\x30\n\x14taker_account_number\x18\t \x01(\x04R\x12takerAccountNumber\x12\x34\n\x16taker_account_sequence\x18\n \x01(\x04R\x14takerAccountSequence\x12\x37\n\x18\x66\x65\x65_payer_account_number\x18\x0b \x01(\x04R\x15\x66\x65\x65PayerAccountNumber\x12;\n\x1a\x66\x65\x65_payer_account_sequence\x18\x0c \x01(\x04R\x17\x66\x65\x65PayerAccountSequence\x12$\n\x0equotes_wait_ms\x18\r \x01(\x04R\x0cquotesWaitMs\x12\x30\n\x14\x65xpired_quotes_count\x18\x0e \x01(\x04R\x12\x65xpiredQuotesCount2\xc8\x03\n\x11InjectiveRfqGwRPC\x12\x80\x01\n\x15PrepareEip712AutoSign\x12\x32.injective_rfq_gw_rpc.PrepareEip712AutoSignRequest\x1a\x33.injective_rfq_gw_rpc.PrepareEip712AutoSignResponse\x12n\n\x0fPrepareAutoSign\x12,.injective_rfq_gw_rpc.PrepareAutoSignRequest\x1a-.injective_rfq_gw_rpc.PrepareAutoSignResponse\x12h\n\rPrepareEip712\x12*.injective_rfq_gw_rpc.PrepareEip712Request\x1a+.injective_rfq_gw_rpc.PrepareEip712Response\x12V\n\x07Prepare\x12$.injective_rfq_gw_rpc.PrepareRequest\x1a%.injective_rfq_gw_rpc.PrepareResponseB\xaf\x01\n\x18\x63om.injective_rfq_gw_rpcB\x16InjectiveRfqGwRpcProtoP\x01Z\x17/injective_rfq_gw_rpcpb\xa2\x02\x03IXX\xaa\x02\x11InjectiveRfqGwRpc\xca\x02\x11InjectiveRfqGwRpc\xe2\x02\x1dInjectiveRfqGwRpc\\GPBMetadata\xea\x02\x11InjectiveRfqGwRpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -22,22 +22,40 @@ if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\030com.injective_rfq_gw_rpcB\026InjectiveRfqGwRpcProtoP\001Z\027/injective_rfq_gw_rpcpb\242\002\003IXX\252\002\021InjectiveRfqGwRpc\312\002\021InjectiveRfqGwRpc\342\002\035InjectiveRfqGwRpc\\GPBMetadata\352\002\021InjectiveRfqGwRpc' - _globals['_PREPAREAUTOSIGNREQUEST']._serialized_start=61 - _globals['_PREPAREAUTOSIGNREQUEST']._serialized_end=166 - _globals['_RFQGWPREPAREAUTOSIGNREQUESTTYPE']._serialized_start=169 - _globals['_RFQGWPREPAREAUTOSIGNREQUESTTYPE']._serialized_end=959 - _globals['_RFQSETTLEMENTUNFILLEDACTIONTYPE']._serialized_start=962 - _globals['_RFQSETTLEMENTUNFILLEDACTIONTYPE']._serialized_end=1146 - _globals['_RFQSETTLEMENTLIMITACTIONTYPE']._serialized_start=1148 - _globals['_RFQSETTLEMENTLIMITACTIONTYPE']._serialized_end=1200 - _globals['_RFQSETTLEMENTMARKETACTIONTYPE']._serialized_start=1202 - _globals['_RFQSETTLEMENTMARKETACTIONTYPE']._serialized_end=1233 - _globals['_PREPAREAUTOSIGNRESPONSE']._serialized_start=1236 - _globals['_PREPAREAUTOSIGNRESPONSE']._serialized_end=1850 - _globals['_COSMOSPUBKEY']._serialized_start=1852 - _globals['_COSMOSPUBKEY']._serialized_end=1904 - _globals['_RFQGWPREPAREQUOTERESULT']._serialized_start=1906 - _globals['_RFQGWPREPAREQUOTERESULT']._serialized_end=2027 - _globals['_INJECTIVERFQGWRPC']._serialized_start=2030 - _globals['_INJECTIVERFQGWRPC']._serialized_end=2161 + _globals['_PREPAREEIP712AUTOSIGNREQUEST']._serialized_start=61 + _globals['_PREPAREEIP712AUTOSIGNREQUEST']._serialized_end=178 + _globals['_RFQGWPREPAREEIP712AUTOSIGNREQUESTTYPE']._serialized_start=181 + _globals['_RFQGWPREPAREEIP712AUTOSIGNREQUESTTYPE']._serialized_end=1068 + _globals['_RFQSETTLEMENTUNFILLEDACTIONTYPE']._serialized_start=1071 + _globals['_RFQSETTLEMENTUNFILLEDACTIONTYPE']._serialized_end=1255 + _globals['_RFQSETTLEMENTLIMITACTIONTYPE']._serialized_start=1257 + _globals['_RFQSETTLEMENTLIMITACTIONTYPE']._serialized_end=1309 + _globals['_RFQSETTLEMENTMARKETACTIONTYPE']._serialized_start=1311 + _globals['_RFQSETTLEMENTMARKETACTIONTYPE']._serialized_end=1342 + _globals['_PREPAREEIP712AUTOSIGNRESPONSE']._serialized_start=1345 + _globals['_PREPAREEIP712AUTOSIGNRESPONSE']._serialized_end=1901 + _globals['_COSMOSPUBKEY']._serialized_start=1903 + _globals['_COSMOSPUBKEY']._serialized_end=1955 + _globals['_RFQGWPREPAREQUOTERESULT']._serialized_start=1957 + _globals['_RFQGWPREPAREQUOTERESULT']._serialized_end=2078 + _globals['_PREPAREAUTOSIGNREQUEST']._serialized_start=2080 + _globals['_PREPAREAUTOSIGNREQUEST']._serialized_end=2185 + _globals['_RFQGWPREPAREAUTOSIGNREQUESTTYPE']._serialized_start=2188 + _globals['_RFQGWPREPAREAUTOSIGNREQUESTTYPE']._serialized_end=2978 + _globals['_PREPAREAUTOSIGNRESPONSE']._serialized_start=2981 + _globals['_PREPAREAUTOSIGNRESPONSE']._serialized_end=3645 + _globals['_PREPAREEIP712REQUEST']._serialized_start=3647 + _globals['_PREPAREEIP712REQUEST']._serialized_end=3748 + _globals['_RFQGWPREPAREEIP712REQUESTTYPE']._serialized_start=3751 + _globals['_RFQGWPREPAREEIP712REQUESTTYPE']._serialized_end=4569 + _globals['_PREPAREEIP712RESPONSE']._serialized_start=4572 + _globals['_PREPAREEIP712RESPONSE']._serialized_end=5108 + _globals['_PREPAREREQUEST']._serialized_start=5110 + _globals['_PREPAREREQUEST']._serialized_end=5199 + _globals['_RFQGWPREPAREREQUESTTYPE']._serialized_start=5202 + _globals['_RFQGWPREPAREREQUESTTYPE']._serialized_end=5923 + _globals['_PREPARERESPONSE']._serialized_start=5926 + _globals['_PREPARERESPONSE']._serialized_end=6570 + _globals['_INJECTIVERFQGWRPC']._serialized_start=6573 + _globals['_INJECTIVERFQGWRPC']._serialized_end=7029 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2_grpc.py index 485b5ffd..a84abaf1 100644 --- a/pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2_grpc.py @@ -15,17 +15,41 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ + self.PrepareEip712AutoSign = channel.unary_unary( + '/injective_rfq_gw_rpc.InjectiveRfqGwRPC/PrepareEip712AutoSign', + request_serializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712AutoSignRequest.SerializeToString, + response_deserializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712AutoSignResponse.FromString, + _registered_method=True) self.PrepareAutoSign = channel.unary_unary( '/injective_rfq_gw_rpc.InjectiveRfqGwRPC/PrepareAutoSign', request_serializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareAutoSignRequest.SerializeToString, response_deserializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareAutoSignResponse.FromString, _registered_method=True) + self.PrepareEip712 = channel.unary_unary( + '/injective_rfq_gw_rpc.InjectiveRfqGwRPC/PrepareEip712', + request_serializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712Request.SerializeToString, + response_deserializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712Response.FromString, + _registered_method=True) + self.Prepare = channel.unary_unary( + '/injective_rfq_gw_rpc.InjectiveRfqGwRPC/Prepare', + request_serializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareRequest.SerializeToString, + response_deserializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareResponse.FromString, + _registered_method=True) class InjectiveRfqGwRPCServicer(object): """InjectiveRfqGwRPC defines gRPC API of the RFQ Gw service. """ + def PrepareEip712AutoSign(self, request, context): + """Full RFQ cycle for EVM autosign wallets: create request, wait for quotes, + prepare fee-delegated EIP712 typed data with MsgExec wrapper signable by the + ephemeral autosign EVM key + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def PrepareAutoSign(self, request, context): """Full RFQ cycle for autosign wallets: create request, wait for quotes, prepare fee-delegated MsgExec tx signable by the ephemeral autosign key @@ -34,14 +58,45 @@ def PrepareAutoSign(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def PrepareEip712(self, request, context): + """Full RFQ cycle with EIP712 output: create request, wait for quotes, prepare + fee-delegated EIP712 typed data for eth_signTypedData_v4 + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Prepare(self, request, context): + """Full RFQ cycle: create request, wait for quotes, prepare fee-delegated + accept tx + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_InjectiveRfqGwRPCServicer_to_server(servicer, server): rpc_method_handlers = { + 'PrepareEip712AutoSign': grpc.unary_unary_rpc_method_handler( + servicer.PrepareEip712AutoSign, + request_deserializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712AutoSignRequest.FromString, + response_serializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712AutoSignResponse.SerializeToString, + ), 'PrepareAutoSign': grpc.unary_unary_rpc_method_handler( servicer.PrepareAutoSign, request_deserializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareAutoSignRequest.FromString, response_serializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareAutoSignResponse.SerializeToString, ), + 'PrepareEip712': grpc.unary_unary_rpc_method_handler( + servicer.PrepareEip712, + request_deserializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712Request.FromString, + response_serializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712Response.SerializeToString, + ), + 'Prepare': grpc.unary_unary_rpc_method_handler( + servicer.Prepare, + request_deserializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareRequest.FromString, + response_serializer=exchange_dot_injective__rfq__gw__rpc__pb2.PrepareResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'injective_rfq_gw_rpc.InjectiveRfqGwRPC', rpc_method_handlers) @@ -54,6 +109,33 @@ class InjectiveRfqGwRPC(object): """InjectiveRfqGwRPC defines gRPC API of the RFQ Gw service. """ + @staticmethod + def PrepareEip712AutoSign(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective_rfq_gw_rpc.InjectiveRfqGwRPC/PrepareEip712AutoSign', + exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712AutoSignRequest.SerializeToString, + exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712AutoSignResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + @staticmethod def PrepareAutoSign(request, target, @@ -80,3 +162,57 @@ def PrepareAutoSign(request, timeout, metadata, _registered_method=True) + + @staticmethod + def PrepareEip712(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective_rfq_gw_rpc.InjectiveRfqGwRPC/PrepareEip712', + exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712Request.SerializeToString, + exchange_dot_injective__rfq__gw__rpc__pb2.PrepareEip712Response.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Prepare(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective_rfq_gw_rpc.InjectiveRfqGwRPC/Prepare', + exchange_dot_injective__rfq__gw__rpc__pb2.PrepareRequest.SerializeToString, + exchange_dot_injective__rfq__gw__rpc__pb2.PrepareResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/exchange/injective_rfq_rpc_pb2.py b/pyinjective/proto/exchange/injective_rfq_rpc_pb2.py index b6059b4e..bfee0cf1 100644 --- a/pyinjective/proto/exchange/injective_rfq_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_rfq_rpc_pb2.py @@ -14,7 +14,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n exchange/injective_rfq_rpc.proto\x12\x11injective_rfq_rpc\"R\n\x0eRequestRequest\x12@\n\x07request\x18\x01 \x01(\x0b\x32&.injective_rfq_rpc.RFQRequestInputTypeR\x07request\"\xcf\x02\n\x13RFQRequestInputType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12\'\n\x0frequest_address\x18\x07 \x01(\tR\x0erequestAddress\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x04R\x06\x65xpiry\x12)\n\x10transaction_time\x18\t \x01(\x04R\x0ftransactionTime\x12\x1f\n\x0bprice_check\x18\n \x01(\x08R\npriceCheck\"]\n\x0fRequestResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x15\n\x06rfq_id\x18\x03 \x01(\x04R\x05rfqId\"5\n\x14StreamRequestRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"\x7f\n\x15StreamRequestResponse\x12;\n\x07request\x18\x01 \x01(\x0b\x32!.injective_rfq_rpc.RFQRequestTypeR\x07request\x12)\n\x10stream_operation\x18\x02 \x01(\tR\x0fstreamOperation\"\xae\x03\n\x0eRFQRequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x15\n\x06rfq_id\x18\x02 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x05 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x06 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x07 \x01(\tR\nworstPrice\x12\'\n\x0frequest_address\x18\x08 \x01(\tR\x0erequestAddress\x12\x16\n\x06\x65xpiry\x18\t \x01(\x04R\x06\x65xpiry\x12\x16\n\x06status\x18\n \x01(\tR\x06status\x12\x1d\n\ncreated_at\x18\x0b \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0c \x01(\x12R\tupdatedAt\x12)\n\x10transaction_time\x18\r \x01(\x04R\x0ftransactionTime\x12\x16\n\x06height\x18\x0e \x01(\x04R\x06height\"E\n\x0cQuoteRequest\x12\x35\n\x05quote\x18\x01 \x01(\x0b\x32\x1f.injective_rfq_rpc.RFQQuoteTypeR\x05quote\"\xd7\x05\n\x0cRFQQuoteType\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x15\n\x06rfq_id\x18\x04 \x01(\x04R\x05rfqId\x12\'\n\x0ftaker_direction\x18\x05 \x01(\tR\x0etakerDirection\x12\x16\n\x06margin\x18\x06 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x07 \x01(\tR\x08quantity\x12\x14\n\x05price\x18\x08 \x01(\tR\x05price\x12\x38\n\x06\x65xpiry\x18\t \x01(\x0b\x32 .injective_rfq_rpc.RFQExpiryTypeR\x06\x65xpiry\x12\x14\n\x05maker\x18\n \x01(\tR\x05maker\x12\x14\n\x05taker\x18\x0b \x01(\tR\x05taker\x12\x1c\n\tsignature\x18\x0c \x01(\tR\tsignature\x12\x16\n\x06status\x18\r \x01(\tR\x06status\x12\x1d\n\ncreated_at\x18\x0e \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0f \x01(\x12R\tupdatedAt\x12\x16\n\x06height\x18\x10 \x01(\x04R\x06height\x12\x1d\n\nevent_time\x18\x11 \x01(\x04R\teventTime\x12)\n\x10transaction_time\x18\x12 \x01(\x04R\x0ftransactionTime\x12\x34\n\x16maker_subaccount_nonce\x18\x13 \x01(\x04R\x14makerSubaccountNonce\x12*\n\x11min_fill_quantity\x18\x14 \x01(\tR\x0fminFillQuantity\x12\x1f\n\x0bprice_check\x18\x15 \x01(\x08R\npriceCheck\x12\x1b\n\tclient_id\x18\x16 \x01(\tR\x08\x63lientId\"E\n\rRFQExpiryType\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\"\'\n\rQuoteResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"Q\n\x12StreamQuoteRequest\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\x80\x01\n\x13StreamQuoteResponse\x12>\n\x05quote\x18\x01 \x01(\x0b\x32(.injective_rfq_rpc.RFQProcessedQuoteTypeR\x05quote\x12)\n\x10stream_operation\x18\x02 \x01(\tR\x0fstreamOperation\"\xcc\x06\n\x15RFQProcessedQuoteType\x12\x14\n\x05\x65rror\x18\x32 \x01(\tR\x05\x65rror\x12+\n\x11\x65xecuted_quantity\x18\x33 \x01(\tR\x10\x65xecutedQuantity\x12\'\n\x0f\x65xecuted_margin\x18\x34 \x01(\tR\x0e\x65xecutedMargin\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x15\n\x06rfq_id\x18\x04 \x01(\x04R\x05rfqId\x12\'\n\x0ftaker_direction\x18\x05 \x01(\tR\x0etakerDirection\x12\x16\n\x06margin\x18\x06 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x07 \x01(\tR\x08quantity\x12\x14\n\x05price\x18\x08 \x01(\tR\x05price\x12\x38\n\x06\x65xpiry\x18\t \x01(\x0b\x32 .injective_rfq_rpc.RFQExpiryTypeR\x06\x65xpiry\x12\x14\n\x05maker\x18\n \x01(\tR\x05maker\x12\x14\n\x05taker\x18\x0b \x01(\tR\x05taker\x12\x1c\n\tsignature\x18\x0c \x01(\tR\tsignature\x12\x16\n\x06status\x18\r \x01(\tR\x06status\x12\x1d\n\ncreated_at\x18\x0e \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0f \x01(\x12R\tupdatedAt\x12\x16\n\x06height\x18\x10 \x01(\x04R\x06height\x12\x1d\n\nevent_time\x18\x11 \x01(\x04R\teventTime\x12)\n\x10transaction_time\x18\x12 \x01(\x04R\x0ftransactionTime\x12\x34\n\x16maker_subaccount_nonce\x18\x13 \x01(\x04R\x14makerSubaccountNonce\x12*\n\x11min_fill_quantity\x18\x14 \x01(\tR\x0fminFillQuantity\x12\x1f\n\x0bprice_check\x18\x15 \x01(\x08R\npriceCheck\x12\x1b\n\tclient_id\x18\x16 \x01(\tR\x08\x63lientId\"f\n\x15ListSettlementRequest\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\x12\x19\n\x08per_page\x18\x02 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x03 \x01(\tR\x05token\"t\n\x16ListSettlementResponse\x12\x46\n\x0bsettlements\x18\x01 \x03(\x0b\x32$.injective_rfq_rpc.RFQSettlementTypeR\x0bsettlements\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\xb5\x04\n\x11RFQSettlementType\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05taker\x18\x03 \x01(\tR\x05taker\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x05 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x06 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x07 \x01(\tR\nworstPrice\x12[\n\x0funfilled_action\x18\x08 \x01(\x0b\x32\x32.injective_rfq_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12+\n\x11\x66\x61llback_quantity\x18\t \x01(\tR\x10\x66\x61llbackQuantity\x12\'\n\x0f\x66\x61llback_margin\x18\n \x01(\tR\x0e\x66\x61llbackMargin\x12)\n\x10transaction_time\x18\x0b \x01(\x04R\x0ftransactionTime\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12\x1d\n\nevent_time\x18\x0e \x01(\x04R\teventTime\x12\x16\n\x06height\x18\x0f \x01(\x04R\x06height\x12\x10\n\x03\x63id\x18\x10 \x01(\tR\x03\x63id\"\xb2\x01\n\x1fRFQSettlementUnfilledActionType\x12\x45\n\x05limit\x18\x01 \x01(\x0b\x32/.injective_rfq_rpc.RFQSettlementLimitActionTypeR\x05limit\x12H\n\x06market\x18\x02 \x01(\x0b\x32\x30.injective_rfq_rpc.RFQSettlementMarketActionTypeR\x06market\"4\n\x1cRFQSettlementLimitActionType\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\"\x1f\n\x1dRFQSettlementMarketActionType\"7\n\x17StreamSettlementRequest\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\"\x8b\x01\n\x18StreamSettlementResponse\x12\x44\n\nsettlement\x18\x01 \x01(\x0b\x32$.injective_rfq_rpc.RFQSettlementTypeR\nsettlement\x12)\n\x10stream_operation\x18\x02 \x01(\tR\x0fstreamOperation\"}\n\x1d\x43reateConditionalOrderRequest\x12>\n\x05order\x18\x01 \x01(\x0b\x32(.injective_rfq_rpc.ConditionalOrderInputR\x05order\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\"\x9c\x05\n\x15\x43onditionalOrderInput\x12\x18\n\x07version\x18\x01 \x01(\rR\x07version\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x14\n\x05taker\x18\x04 \x01(\tR\x05taker\x12\x14\n\x05\x65poch\x18\x05 \x01(\x04R\x05\x65poch\x12\x15\n\x06rfq_id\x18\x06 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12)\n\x10subaccount_nonce\x18\x08 \x01(\rR\x0fsubaccountNonce\x12!\n\x0clane_version\x18\t \x01(\x04R\x0blaneVersion\x12\x1f\n\x0b\x64\x65\x61\x64line_ms\x18\n \x01(\x04R\ndeadlineMs\x12\x1c\n\tdirection\x18\x0b \x01(\tR\tdirection\x12\x1a\n\x08quantity\x18\x0c \x01(\tR\x08quantity\x12\x16\n\x06margin\x18\r \x01(\tR\x06margin\x12\x1f\n\x0bworst_price\x18\x0e \x01(\tR\nworstPrice\x12\x35\n\x17min_total_fill_quantity\x18\x0f \x01(\tR\x14minTotalFillQuantity\x12!\n\x0ctrigger_type\x18\x10 \x01(\tR\x0btriggerType\x12#\n\rtrigger_price\x18\x11 \x01(\tR\x0ctriggerPrice\x12\'\n\x0funfilled_action\x18\x12 \x01(\tR\x0eunfilledAction\x12\x10\n\x03\x63id\x18\x13 \x01(\tR\x03\x63id\x12\'\n\x0f\x61llowed_relayer\x18\x14 \x01(\tR\x0e\x61llowedRelayer\"g\n\x1e\x43reateConditionalOrderResponse\x12\x45\n\x05order\x18\x01 \x01(\x0b\x32/.injective_rfq_rpc.ConditionalOrderResponseTypeR\x05order\"\x97\x04\n\x1c\x43onditionalOrderResponseType\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12\'\n\x0frequest_address\x18\x07 \x01(\tR\x0erequestAddress\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12\x16\n\x06status\x18\t \x01(\tR\x06status\x12\x1d\n\ncreated_at\x18\n \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0b \x01(\x12R\tupdatedAt\x12\x1d\n\nexpires_at\x18\x0c \x01(\x12R\texpiresAt\x12!\n\x0ctrigger_type\x18\r \x01(\tR\x0btriggerType\x12\x35\n\x17min_total_fill_quantity\x18\x0e \x01(\tR\x14minTotalFillQuantity\x12\x1d\n\nevent_time\x18\x0f \x01(\x04R\teventTime\x12\x14\n\x05\x65rror\x18\x10 \x01(\tR\x05\x65rror\"\xad\x01\n\x1cListConditionalOrdersRequest\x12\'\n\x0frequest_address\x18\x01 \x01(\tR\x0erequestAddress\x12\x16\n\x06status\x18\x02 \x03(\tR\x06status\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x19\n\x08per_page\x18\x04 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x05 \x01(\tR\x05token\"|\n\x1dListConditionalOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32/.injective_rfq_rpc.ConditionalOrderResponseTypeR\x06orders\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\x9a\x02\n\x1bTakerStreamStreamingRequest\x12!\n\x0cmessage_type\x18\x01 \x01(\tR\x0bmessageType\x12\x41\n\x07request\x18\x02 \x01(\x0b\x32\'.injective_rfq_rpc.CreateRFQRequestTypeR\x07request\x12U\n\x11\x63onditional_order\x18\x03 \x01(\x0b\x32(.injective_rfq_rpc.ConditionalOrderInputR\x10\x63onditionalOrder\x12>\n\x1b\x63onditional_order_signature\x18\x04 \x01(\tR\x19\x63onditionalOrderSignature\"\xfc\x01\n\x14\x43reateRFQRequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12\x16\n\x06\x65xpiry\x18\x07 \x01(\x04R\x06\x65xpiry\x12\x1f\n\x0bprice_check\x18\x08 \x01(\x08R\npriceCheck\"\xa5\x03\n\x13TakerStreamResponse\x12!\n\x0cmessage_type\x18\x01 \x01(\tR\x0bmessageType\x12\x35\n\x05quote\x18\x02 \x01(\x0b\x32\x1f.injective_rfq_rpc.RFQQuoteTypeR\x05quote\x12\x44\n\x0brequest_ack\x18\x03 \x01(\x0b\x32#.injective_rfq_rpc.RequestStreamAckR\nrequestAck\x12\x34\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x1e.injective_rfq_rpc.StreamErrorR\x05\x65rror\x12Z\n\x15\x63onditional_order_ack\x18\x05 \x01(\x0b\x32&.injective_rfq_rpc.ConditionalOrderAckR\x13\x63onditionalOrderAck\x12\\\n\x11\x63onditional_order\x18\x06 \x01(\x0b\x32/.injective_rfq_rpc.ConditionalOrderResponseTypeR\x10\x63onditionalOrder\"^\n\x10RequestStreamAck\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x16\n\x06status\x18\x03 \x01(\tR\x06status\"<\n\x0bStreamError\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x19\n\x08message_\x18\x02 \x01(\tR\x07message\"\\\n\x13\x43onditionalOrderAck\x12\x45\n\x05order\x18\x01 \x01(\x0b\x32/.injective_rfq_rpc.ConditionalOrderResponseTypeR\x05order\"w\n\x1bMakerStreamStreamingRequest\x12!\n\x0cmessage_type\x18\x01 \x01(\tR\x0bmessageType\x12\x35\n\x05quote\x18\x02 \x01(\x0b\x32\x1f.injective_rfq_rpc.RFQQuoteTypeR\x05quote\"\x8b\x03\n\x13MakerStreamResponse\x12!\n\x0cmessage_type\x18\x01 \x01(\tR\x0bmessageType\x12;\n\x07request\x18\x02 \x01(\x0b\x32!.injective_rfq_rpc.RFQRequestTypeR\x07request\x12>\n\tquote_ack\x18\x03 \x01(\x0b\x32!.injective_rfq_rpc.QuoteStreamAckR\x08quoteAck\x12\x34\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x1e.injective_rfq_rpc.StreamErrorR\x05\x65rror\x12Q\n\x0fprocessed_quote\x18\x05 \x01(\x0b\x32(.injective_rfq_rpc.RFQProcessedQuoteTypeR\x0eprocessedQuote\x12K\n\nsettlement\x18\x06 \x01(\x0b\x32+.injective_rfq_rpc.RFQSettlementMakerUpdateR\nsettlement\"?\n\x0eQuoteStreamAck\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\"\xfb\x04\n\x18RFQSettlementMakerUpdate\x12=\n\x06quotes\x18\x32 \x03(\x0b\x32%.injective_rfq_rpc.RFQSettlementQuoteR\x06quotes\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05taker\x18\x03 \x01(\tR\x05taker\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x05 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x06 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x07 \x01(\tR\nworstPrice\x12[\n\x0funfilled_action\x18\x08 \x01(\x0b\x32\x32.injective_rfq_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12+\n\x11\x66\x61llback_quantity\x18\t \x01(\tR\x10\x66\x61llbackQuantity\x12\'\n\x0f\x66\x61llback_margin\x18\n \x01(\tR\x0e\x66\x61llbackMargin\x12)\n\x10transaction_time\x18\x0b \x01(\x04R\x0ftransactionTime\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12\x1d\n\nevent_time\x18\x0e \x01(\x04R\teventTime\x12\x16\n\x06height\x18\x0f \x01(\x04R\x06height\x12\x10\n\x03\x63id\x18\x10 \x01(\tR\x03\x63id\"\xea\x02\n\x12RFQSettlementQuote\x12\x14\n\x05maker\x18\x01 \x01(\tR\x05maker\x12\x14\n\x05price\x18\x02 \x01(\tR\x05price\x12#\n\rquoted_margin\x18\x03 \x01(\tR\x0cquotedMargin\x12\'\n\x0fquoted_quantity\x18\x04 \x01(\tR\x0equotedQuantity\x12\'\n\x0f\x65xecuted_margin\x18\x05 \x01(\tR\x0e\x65xecutedMargin\x12+\n\x11\x65xecuted_quantity\x18\x06 \x01(\tR\x10\x65xecutedQuantity\x12\x38\n\x06\x65xpiry\x18\x07 \x01(\x0b\x32 .injective_rfq_rpc.RFQExpiryTypeR\x06\x65xpiry\x12\x1c\n\tsignature\x18\x08 \x01(\tR\tsignature\x12\x14\n\x05nonce\x18\t \x01(\x04R\x05nonce\x12\x16\n\x06status\x18\n \x01(\tR\x06status2\x9c\x08\n\x0fInjectiveRfqRPC\x12P\n\x07Request\x12!.injective_rfq_rpc.RequestRequest\x1a\".injective_rfq_rpc.RequestResponse\x12\x64\n\rStreamRequest\x12\'.injective_rfq_rpc.StreamRequestRequest\x1a(.injective_rfq_rpc.StreamRequestResponse0\x01\x12J\n\x05Quote\x12\x1f.injective_rfq_rpc.QuoteRequest\x1a .injective_rfq_rpc.QuoteResponse\x12^\n\x0bStreamQuote\x12%.injective_rfq_rpc.StreamQuoteRequest\x1a&.injective_rfq_rpc.StreamQuoteResponse0\x01\x12\x65\n\x0eListSettlement\x12(.injective_rfq_rpc.ListSettlementRequest\x1a).injective_rfq_rpc.ListSettlementResponse\x12m\n\x10StreamSettlement\x12*.injective_rfq_rpc.StreamSettlementRequest\x1a+.injective_rfq_rpc.StreamSettlementResponse0\x01\x12}\n\x16\x43reateConditionalOrder\x12\x30.injective_rfq_rpc.CreateConditionalOrderRequest\x1a\x31.injective_rfq_rpc.CreateConditionalOrderResponse\x12z\n\x15ListConditionalOrders\x12/.injective_rfq_rpc.ListConditionalOrdersRequest\x1a\x30.injective_rfq_rpc.ListConditionalOrdersResponse\x12i\n\x0bTakerStream\x12..injective_rfq_rpc.TakerStreamStreamingRequest\x1a&.injective_rfq_rpc.TakerStreamResponse(\x01\x30\x01\x12i\n\x0bMakerStream\x12..injective_rfq_rpc.MakerStreamStreamingRequest\x1a&.injective_rfq_rpc.MakerStreamResponse(\x01\x30\x01\x42\x9f\x01\n\x15\x63om.injective_rfq_rpcB\x14InjectiveRfqRpcProtoP\x01Z\x14/injective_rfq_rpcpb\xa2\x02\x03IXX\xaa\x02\x0fInjectiveRfqRpc\xca\x02\x0fInjectiveRfqRpc\xe2\x02\x1bInjectiveRfqRpc\\GPBMetadata\xea\x02\x0fInjectiveRfqRpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n exchange/injective_rfq_rpc.proto\x12\x11injective_rfq_rpc\"5\n\x14StreamRequestRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"\x7f\n\x15StreamRequestResponse\x12;\n\x07request\x18\x01 \x01(\x0b\x32!.injective_rfq_rpc.RFQRequestTypeR\x07request\x12)\n\x10stream_operation\x18\x02 \x01(\tR\x0fstreamOperation\"\xae\x03\n\x0eRFQRequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x15\n\x06rfq_id\x18\x02 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x05 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x06 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x07 \x01(\tR\nworstPrice\x12\'\n\x0frequest_address\x18\x08 \x01(\tR\x0erequestAddress\x12\x16\n\x06\x65xpiry\x18\t \x01(\x04R\x06\x65xpiry\x12\x16\n\x06status\x18\n \x01(\tR\x06status\x12\x1d\n\ncreated_at\x18\x0b \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0c \x01(\x12R\tupdatedAt\x12)\n\x10transaction_time\x18\r \x01(\x04R\x0ftransactionTime\x12\x16\n\x06height\x18\x0e \x01(\x04R\x06height\"Q\n\x12StreamQuoteRequest\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\x80\x01\n\x13StreamQuoteResponse\x12>\n\x05quote\x18\x01 \x01(\x0b\x32(.injective_rfq_rpc.RFQProcessedQuoteTypeR\x05quote\x12)\n\x10stream_operation\x18\x02 \x01(\tR\x0fstreamOperation\"\x8b\x07\n\x15RFQProcessedQuoteType\x12\x14\n\x05\x65rror\x18\x32 \x01(\tR\x05\x65rror\x12+\n\x11\x65xecuted_quantity\x18\x33 \x01(\tR\x10\x65xecutedQuantity\x12\'\n\x0f\x65xecuted_margin\x18\x34 \x01(\tR\x0e\x65xecutedMargin\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x15\n\x06rfq_id\x18\x04 \x01(\x04R\x05rfqId\x12\'\n\x0ftaker_direction\x18\x05 \x01(\tR\x0etakerDirection\x12\x16\n\x06margin\x18\x06 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x07 \x01(\tR\x08quantity\x12\x14\n\x05price\x18\x08 \x01(\tR\x05price\x12\x38\n\x06\x65xpiry\x18\t \x01(\x0b\x32 .injective_rfq_rpc.RFQExpiryTypeR\x06\x65xpiry\x12\x14\n\x05maker\x18\n \x01(\tR\x05maker\x12\x14\n\x05taker\x18\x0b \x01(\tR\x05taker\x12\x1c\n\tsignature\x18\x0c \x01(\tR\tsignature\x12\x16\n\x06status\x18\r \x01(\tR\x06status\x12\x1d\n\ncreated_at\x18\x0e \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0f \x01(\x12R\tupdatedAt\x12\x16\n\x06height\x18\x10 \x01(\x04R\x06height\x12\x1d\n\nevent_time\x18\x11 \x01(\x04R\teventTime\x12)\n\x10transaction_time\x18\x12 \x01(\x04R\x0ftransactionTime\x12\x34\n\x16maker_subaccount_nonce\x18\x13 \x01(\rR\x14makerSubaccountNonce\x12*\n\x11min_fill_quantity\x18\x14 \x01(\tR\x0fminFillQuantity\x12\x1f\n\x0bprice_check\x18\x15 \x01(\x08R\npriceCheck\x12\x1b\n\tclient_id\x18\x16 \x01(\tR\x08\x63lientId\x12\x1b\n\tsign_mode\x18\x17 \x01(\tR\x08signMode\x12 \n\x0c\x65vm_chain_id\x18\x18 \x01(\x04R\nevmChainId\"E\n\rRFQExpiryType\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06height\x18\x02 \x01(\x04R\x06height\"f\n\x15ListSettlementRequest\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\x12\x19\n\x08per_page\x18\x02 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x03 \x01(\tR\x05token\"t\n\x16ListSettlementResponse\x12\x46\n\x0bsettlements\x18\x01 \x03(\x0b\x32$.injective_rfq_rpc.RFQSettlementTypeR\x0bsettlements\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\xce\x04\n\x11RFQSettlementType\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05taker\x18\x03 \x01(\tR\x05taker\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x05 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x06 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x07 \x01(\tR\nworstPrice\x12[\n\x0funfilled_action\x18\x08 \x01(\x0b\x32\x32.injective_rfq_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12+\n\x11\x66\x61llback_quantity\x18\t \x01(\tR\x10\x66\x61llbackQuantity\x12\'\n\x0f\x66\x61llback_margin\x18\n \x01(\tR\x0e\x66\x61llbackMargin\x12)\n\x10transaction_time\x18\x0b \x01(\x04R\x0ftransactionTime\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12\x1d\n\nevent_time\x18\x0e \x01(\x04R\teventTime\x12\x16\n\x06height\x18\x0f \x01(\x04R\x06height\x12\x10\n\x03\x63id\x18\x10 \x01(\tR\x03\x63id\x12\x17\n\x07tx_hash\x18\x11 \x01(\tR\x06txHash\"\xb2\x01\n\x1fRFQSettlementUnfilledActionType\x12\x45\n\x05limit\x18\x01 \x01(\x0b\x32/.injective_rfq_rpc.RFQSettlementLimitActionTypeR\x05limit\x12H\n\x06market\x18\x02 \x01(\x0b\x32\x30.injective_rfq_rpc.RFQSettlementMarketActionTypeR\x06market\"4\n\x1cRFQSettlementLimitActionType\x12\x14\n\x05price\x18\x01 \x01(\tR\x05price\"\x1f\n\x1dRFQSettlementMarketActionType\"7\n\x17StreamSettlementRequest\x12\x1c\n\taddresses\x18\x01 \x03(\tR\taddresses\"\x8b\x01\n\x18StreamSettlementResponse\x12\x44\n\nsettlement\x18\x01 \x01(\x0b\x32$.injective_rfq_rpc.RFQSettlementTypeR\nsettlement\x12)\n\x10stream_operation\x18\x02 \x01(\tR\x0fstreamOperation\"\xbc\x01\n\x1d\x43reateConditionalOrderRequest\x12>\n\x05order\x18\x01 \x01(\x0b\x32(.injective_rfq_rpc.ConditionalOrderInputR\x05order\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\x12\x1b\n\tsign_mode\x18\x03 \x01(\tR\x08signMode\x12 \n\x0c\x65vm_chain_id\x18\x04 \x01(\x04R\nevmChainId\"\x9c\x05\n\x15\x43onditionalOrderInput\x12\x18\n\x07version\x18\x01 \x01(\rR\x07version\x12\x19\n\x08\x63hain_id\x18\x02 \x01(\tR\x07\x63hainId\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x14\n\x05taker\x18\x04 \x01(\tR\x05taker\x12\x14\n\x05\x65poch\x18\x05 \x01(\x04R\x05\x65poch\x12\x15\n\x06rfq_id\x18\x06 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12)\n\x10subaccount_nonce\x18\x08 \x01(\rR\x0fsubaccountNonce\x12!\n\x0clane_version\x18\t \x01(\x04R\x0blaneVersion\x12\x1f\n\x0b\x64\x65\x61\x64line_ms\x18\n \x01(\x04R\ndeadlineMs\x12\x1c\n\tdirection\x18\x0b \x01(\tR\tdirection\x12\x1a\n\x08quantity\x18\x0c \x01(\tR\x08quantity\x12\x16\n\x06margin\x18\r \x01(\tR\x06margin\x12\x1f\n\x0bworst_price\x18\x0e \x01(\tR\nworstPrice\x12\x35\n\x17min_total_fill_quantity\x18\x0f \x01(\tR\x14minTotalFillQuantity\x12!\n\x0ctrigger_type\x18\x10 \x01(\tR\x0btriggerType\x12#\n\rtrigger_price\x18\x11 \x01(\tR\x0ctriggerPrice\x12\'\n\x0funfilled_action\x18\x12 \x01(\tR\x0eunfilledAction\x12\x10\n\x03\x63id\x18\x13 \x01(\tR\x03\x63id\x12\'\n\x0f\x61llowed_relayer\x18\x14 \x01(\tR\x0e\x61llowedRelayer\"g\n\x1e\x43reateConditionalOrderResponse\x12\x45\n\x05order\x18\x01 \x01(\x0b\x32/.injective_rfq_rpc.ConditionalOrderResponseTypeR\x05order\"\xf3\x04\n\x1c\x43onditionalOrderResponseType\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12\'\n\x0frequest_address\x18\x07 \x01(\tR\x0erequestAddress\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12\x16\n\x06status\x18\t \x01(\tR\x06status\x12\x1d\n\ncreated_at\x18\n \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0b \x01(\x12R\tupdatedAt\x12\x1d\n\nexpires_at\x18\x0c \x01(\x12R\texpiresAt\x12!\n\x0ctrigger_type\x18\r \x01(\tR\x0btriggerType\x12\x35\n\x17min_total_fill_quantity\x18\x0e \x01(\tR\x14minTotalFillQuantity\x12\x1d\n\nevent_time\x18\x0f \x01(\x04R\teventTime\x12\x14\n\x05\x65rror\x18\x10 \x01(\tR\x05\x65rror\x12\x17\n\x07tx_hash\x18\x11 \x01(\tR\x06txHash\x12\x1f\n\x0bterminal_at\x18\x12 \x01(\x12R\nterminalAt\x12 \n\x0c\x65vm_chain_id\x18\x13 \x01(\x04R\nevmChainId\"\xad\x01\n\x1cListConditionalOrdersRequest\x12\'\n\x0frequest_address\x18\x01 \x01(\tR\x0erequestAddress\x12\x16\n\x06status\x18\x02 \x03(\tR\x06status\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x19\n\x08per_page\x18\x04 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x05 \x01(\tR\x05token\"|\n\x1dListConditionalOrdersResponse\x12G\n\x06orders\x18\x01 \x03(\x0b\x32/.injective_rfq_rpc.ConditionalOrderResponseTypeR\x06orders\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\x9d\x03\n\x1bTakerStreamStreamingRequest\x12!\n\x0cmessage_type\x18\x01 \x01(\tR\x0bmessageType\x12\x41\n\x07request\x18\x02 \x01(\x0b\x32\'.injective_rfq_rpc.CreateRFQRequestTypeR\x07request\x12U\n\x11\x63onditional_order\x18\x03 \x01(\x0b\x32(.injective_rfq_rpc.ConditionalOrderInputR\x10\x63onditionalOrder\x12>\n\x1b\x63onditional_order_signature\x18\x04 \x01(\tR\x19\x63onditionalOrderSignature\x12=\n\x1b\x63onditional_order_sign_mode\x18\x05 \x01(\tR\x18\x63onditionalOrderSignMode\x12\x42\n\x1e\x63onditional_order_evm_chain_id\x18\x06 \x01(\x04R\x1a\x63onditionalOrderEvmChainId\"\xfc\x01\n\x14\x43reateRFQRequestType\x12\x1b\n\tclient_id\x18\x01 \x01(\tR\x08\x63lientId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1c\n\tdirection\x18\x03 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x04 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x06 \x01(\tR\nworstPrice\x12\x16\n\x06\x65xpiry\x18\x07 \x01(\x04R\x06\x65xpiry\x12\x1f\n\x0bprice_check\x18\x08 \x01(\x08R\npriceCheck\"\xa5\x03\n\x13TakerStreamResponse\x12!\n\x0cmessage_type\x18\x01 \x01(\tR\x0bmessageType\x12\x35\n\x05quote\x18\x02 \x01(\x0b\x32\x1f.injective_rfq_rpc.RFQQuoteTypeR\x05quote\x12\x44\n\x0brequest_ack\x18\x03 \x01(\x0b\x32#.injective_rfq_rpc.RequestStreamAckR\nrequestAck\x12\x34\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x1e.injective_rfq_rpc.StreamErrorR\x05\x65rror\x12Z\n\x15\x63onditional_order_ack\x18\x05 \x01(\x0b\x32&.injective_rfq_rpc.ConditionalOrderAckR\x13\x63onditionalOrderAck\x12\\\n\x11\x63onditional_order\x18\x06 \x01(\x0b\x32/.injective_rfq_rpc.ConditionalOrderResponseTypeR\x10\x63onditionalOrder\"\x96\x06\n\x0cRFQQuoteType\x12\x19\n\x08\x63hain_id\x18\x01 \x01(\tR\x07\x63hainId\x12)\n\x10\x63ontract_address\x18\x02 \x01(\tR\x0f\x63ontractAddress\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x15\n\x06rfq_id\x18\x04 \x01(\x04R\x05rfqId\x12\'\n\x0ftaker_direction\x18\x05 \x01(\tR\x0etakerDirection\x12\x16\n\x06margin\x18\x06 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x07 \x01(\tR\x08quantity\x12\x14\n\x05price\x18\x08 \x01(\tR\x05price\x12\x38\n\x06\x65xpiry\x18\t \x01(\x0b\x32 .injective_rfq_rpc.RFQExpiryTypeR\x06\x65xpiry\x12\x14\n\x05maker\x18\n \x01(\tR\x05maker\x12\x14\n\x05taker\x18\x0b \x01(\tR\x05taker\x12\x1c\n\tsignature\x18\x0c \x01(\tR\tsignature\x12\x16\n\x06status\x18\r \x01(\tR\x06status\x12\x1d\n\ncreated_at\x18\x0e \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0f \x01(\x12R\tupdatedAt\x12\x16\n\x06height\x18\x10 \x01(\x04R\x06height\x12\x1d\n\nevent_time\x18\x11 \x01(\x04R\teventTime\x12)\n\x10transaction_time\x18\x12 \x01(\x04R\x0ftransactionTime\x12\x34\n\x16maker_subaccount_nonce\x18\x13 \x01(\rR\x14makerSubaccountNonce\x12*\n\x11min_fill_quantity\x18\x14 \x01(\tR\x0fminFillQuantity\x12\x1f\n\x0bprice_check\x18\x15 \x01(\x08R\npriceCheck\x12\x1b\n\tclient_id\x18\x16 \x01(\tR\x08\x63lientId\x12\x1b\n\tsign_mode\x18\x17 \x01(\tR\x08signMode\x12 \n\x0c\x65vm_chain_id\x18\x18 \x01(\x04R\nevmChainId\"^\n\x10RequestStreamAck\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x1b\n\tclient_id\x18\x02 \x01(\tR\x08\x63lientId\x12\x16\n\x06status\x18\x03 \x01(\tR\x06status\"L\n\x0bStreamError\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x19\n\x08message_\x18\x02 \x01(\tR\x07message\x12\x0e\n\x02id\x18\x03 \x01(\tR\x02id\"\\\n\x13\x43onditionalOrderAck\x12\x45\n\x05order\x18\x01 \x01(\x0b\x32/.injective_rfq_rpc.ConditionalOrderResponseTypeR\x05order\"\xa9\x01\n\x1bMakerStreamStreamingRequest\x12!\n\x0cmessage_type\x18\x01 \x01(\tR\x0bmessageType\x12\x35\n\x05quote\x18\x02 \x01(\x0b\x32\x1f.injective_rfq_rpc.RFQQuoteTypeR\x05quote\x12\x30\n\x04\x61uth\x18\x03 \x01(\x0b\x32\x1c.injective_rfq_rpc.MakerAuthR\x04\x61uth\"K\n\tMakerAuth\x12 \n\x0c\x65vm_chain_id\x18\x01 \x01(\x04R\nevmChainId\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\"\xcc\x03\n\x13MakerStreamResponse\x12!\n\x0cmessage_type\x18\x01 \x01(\tR\x0bmessageType\x12;\n\x07request\x18\x02 \x01(\x0b\x32!.injective_rfq_rpc.RFQRequestTypeR\x07request\x12>\n\tquote_ack\x18\x03 \x01(\x0b\x32!.injective_rfq_rpc.QuoteStreamAckR\x08quoteAck\x12\x34\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x1e.injective_rfq_rpc.StreamErrorR\x05\x65rror\x12Q\n\x0fprocessed_quote\x18\x05 \x01(\x0b\x32(.injective_rfq_rpc.RFQProcessedQuoteTypeR\x0eprocessedQuote\x12K\n\nsettlement\x18\x06 \x01(\x0b\x32+.injective_rfq_rpc.RFQSettlementMakerUpdateR\nsettlement\x12?\n\tchallenge\x18\x07 \x01(\x0b\x32!.injective_rfq_rpc.MakerChallengeR\tchallenge\"?\n\x0eQuoteStreamAck\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\"\x94\x05\n\x18RFQSettlementMakerUpdate\x12=\n\x06quotes\x18\x32 \x03(\x0b\x32%.injective_rfq_rpc.RFQSettlementQuoteR\x06quotes\x12\x15\n\x06rfq_id\x18\x01 \x01(\x04R\x05rfqId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05taker\x18\x03 \x01(\tR\x05taker\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x16\n\x06margin\x18\x05 \x01(\tR\x06margin\x12\x1a\n\x08quantity\x18\x06 \x01(\tR\x08quantity\x12\x1f\n\x0bworst_price\x18\x07 \x01(\tR\nworstPrice\x12[\n\x0funfilled_action\x18\x08 \x01(\x0b\x32\x32.injective_rfq_rpc.RFQSettlementUnfilledActionTypeR\x0eunfilledAction\x12+\n\x11\x66\x61llback_quantity\x18\t \x01(\tR\x10\x66\x61llbackQuantity\x12\'\n\x0f\x66\x61llback_margin\x18\n \x01(\tR\x0e\x66\x61llbackMargin\x12)\n\x10transaction_time\x18\x0b \x01(\x04R\x0ftransactionTime\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12\x1d\n\nevent_time\x18\x0e \x01(\x04R\teventTime\x12\x16\n\x06height\x18\x0f \x01(\x04R\x06height\x12\x10\n\x03\x63id\x18\x10 \x01(\tR\x03\x63id\x12\x17\n\x07tx_hash\x18\x11 \x01(\tR\x06txHash\"\xea\x02\n\x12RFQSettlementQuote\x12\x14\n\x05maker\x18\x01 \x01(\tR\x05maker\x12\x14\n\x05price\x18\x02 \x01(\tR\x05price\x12#\n\rquoted_margin\x18\x03 \x01(\tR\x0cquotedMargin\x12\'\n\x0fquoted_quantity\x18\x04 \x01(\tR\x0equotedQuantity\x12\'\n\x0f\x65xecuted_margin\x18\x05 \x01(\tR\x0e\x65xecutedMargin\x12+\n\x11\x65xecuted_quantity\x18\x06 \x01(\tR\x10\x65xecutedQuantity\x12\x38\n\x06\x65xpiry\x18\x07 \x01(\x0b\x32 .injective_rfq_rpc.RFQExpiryTypeR\x06\x65xpiry\x12\x1c\n\tsignature\x18\x08 \x01(\tR\tsignature\x12\x14\n\x05nonce\x18\t \x01(\x04R\x05nonce\x12\x16\n\x06status\x18\n \x01(\tR\x06status\"g\n\x0eMakerChallenge\x12\x14\n\x05nonce\x18\x01 \x01(\tR\x05nonce\x12 \n\x0c\x65vm_chain_id\x18\x02 \x01(\x04R\nevmChainId\x12\x1d\n\nexpires_at\x18\x03 \x01(\x12R\texpiresAt2\xfe\x06\n\x0fInjectiveRfqRPC\x12\x64\n\rStreamRequest\x12\'.injective_rfq_rpc.StreamRequestRequest\x1a(.injective_rfq_rpc.StreamRequestResponse0\x01\x12^\n\x0bStreamQuote\x12%.injective_rfq_rpc.StreamQuoteRequest\x1a&.injective_rfq_rpc.StreamQuoteResponse0\x01\x12\x65\n\x0eListSettlement\x12(.injective_rfq_rpc.ListSettlementRequest\x1a).injective_rfq_rpc.ListSettlementResponse\x12m\n\x10StreamSettlement\x12*.injective_rfq_rpc.StreamSettlementRequest\x1a+.injective_rfq_rpc.StreamSettlementResponse0\x01\x12}\n\x16\x43reateConditionalOrder\x12\x30.injective_rfq_rpc.CreateConditionalOrderRequest\x1a\x31.injective_rfq_rpc.CreateConditionalOrderResponse\x12z\n\x15ListConditionalOrders\x12/.injective_rfq_rpc.ListConditionalOrdersRequest\x1a\x30.injective_rfq_rpc.ListConditionalOrdersResponse\x12i\n\x0bTakerStream\x12..injective_rfq_rpc.TakerStreamStreamingRequest\x1a&.injective_rfq_rpc.TakerStreamResponse(\x01\x30\x01\x12i\n\x0bMakerStream\x12..injective_rfq_rpc.MakerStreamStreamingRequest\x1a&.injective_rfq_rpc.MakerStreamResponse(\x01\x30\x01\x42\x9f\x01\n\x15\x63om.injective_rfq_rpcB\x14InjectiveRfqRpcProtoP\x01Z\x14/injective_rfq_rpcpb\xa2\x02\x03IXX\xaa\x02\x0fInjectiveRfqRpc\xca\x02\x0fInjectiveRfqRpc\xe2\x02\x1bInjectiveRfqRpc\\GPBMetadata\xea\x02\x0fInjectiveRfqRpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -22,82 +22,76 @@ if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\025com.injective_rfq_rpcB\024InjectiveRfqRpcProtoP\001Z\024/injective_rfq_rpcpb\242\002\003IXX\252\002\017InjectiveRfqRpc\312\002\017InjectiveRfqRpc\342\002\033InjectiveRfqRpc\\GPBMetadata\352\002\017InjectiveRfqRpc' - _globals['_REQUESTREQUEST']._serialized_start=55 - _globals['_REQUESTREQUEST']._serialized_end=137 - _globals['_RFQREQUESTINPUTTYPE']._serialized_start=140 - _globals['_RFQREQUESTINPUTTYPE']._serialized_end=475 - _globals['_REQUESTRESPONSE']._serialized_start=477 - _globals['_REQUESTRESPONSE']._serialized_end=570 - _globals['_STREAMREQUESTREQUEST']._serialized_start=572 - _globals['_STREAMREQUESTREQUEST']._serialized_end=625 - _globals['_STREAMREQUESTRESPONSE']._serialized_start=627 - _globals['_STREAMREQUESTRESPONSE']._serialized_end=754 - _globals['_RFQREQUESTTYPE']._serialized_start=757 - _globals['_RFQREQUESTTYPE']._serialized_end=1187 - _globals['_QUOTEREQUEST']._serialized_start=1189 - _globals['_QUOTEREQUEST']._serialized_end=1258 - _globals['_RFQQUOTETYPE']._serialized_start=1261 - _globals['_RFQQUOTETYPE']._serialized_end=1988 - _globals['_RFQEXPIRYTYPE']._serialized_start=1990 - _globals['_RFQEXPIRYTYPE']._serialized_end=2059 - _globals['_QUOTERESPONSE']._serialized_start=2061 - _globals['_QUOTERESPONSE']._serialized_end=2100 - _globals['_STREAMQUOTEREQUEST']._serialized_start=2102 - _globals['_STREAMQUOTEREQUEST']._serialized_end=2183 - _globals['_STREAMQUOTERESPONSE']._serialized_start=2186 - _globals['_STREAMQUOTERESPONSE']._serialized_end=2314 - _globals['_RFQPROCESSEDQUOTETYPE']._serialized_start=2317 - _globals['_RFQPROCESSEDQUOTETYPE']._serialized_end=3161 - _globals['_LISTSETTLEMENTREQUEST']._serialized_start=3163 - _globals['_LISTSETTLEMENTREQUEST']._serialized_end=3265 - _globals['_LISTSETTLEMENTRESPONSE']._serialized_start=3267 - _globals['_LISTSETTLEMENTRESPONSE']._serialized_end=3383 - _globals['_RFQSETTLEMENTTYPE']._serialized_start=3386 - _globals['_RFQSETTLEMENTTYPE']._serialized_end=3951 - _globals['_RFQSETTLEMENTUNFILLEDACTIONTYPE']._serialized_start=3954 - _globals['_RFQSETTLEMENTUNFILLEDACTIONTYPE']._serialized_end=4132 - _globals['_RFQSETTLEMENTLIMITACTIONTYPE']._serialized_start=4134 - _globals['_RFQSETTLEMENTLIMITACTIONTYPE']._serialized_end=4186 - _globals['_RFQSETTLEMENTMARKETACTIONTYPE']._serialized_start=4188 - _globals['_RFQSETTLEMENTMARKETACTIONTYPE']._serialized_end=4219 - _globals['_STREAMSETTLEMENTREQUEST']._serialized_start=4221 - _globals['_STREAMSETTLEMENTREQUEST']._serialized_end=4276 - _globals['_STREAMSETTLEMENTRESPONSE']._serialized_start=4279 - _globals['_STREAMSETTLEMENTRESPONSE']._serialized_end=4418 - _globals['_CREATECONDITIONALORDERREQUEST']._serialized_start=4420 - _globals['_CREATECONDITIONALORDERREQUEST']._serialized_end=4545 - _globals['_CONDITIONALORDERINPUT']._serialized_start=4548 - _globals['_CONDITIONALORDERINPUT']._serialized_end=5216 - _globals['_CREATECONDITIONALORDERRESPONSE']._serialized_start=5218 - _globals['_CREATECONDITIONALORDERRESPONSE']._serialized_end=5321 - _globals['_CONDITIONALORDERRESPONSETYPE']._serialized_start=5324 - _globals['_CONDITIONALORDERRESPONSETYPE']._serialized_end=5859 - _globals['_LISTCONDITIONALORDERSREQUEST']._serialized_start=5862 - _globals['_LISTCONDITIONALORDERSREQUEST']._serialized_end=6035 - _globals['_LISTCONDITIONALORDERSRESPONSE']._serialized_start=6037 - _globals['_LISTCONDITIONALORDERSRESPONSE']._serialized_end=6161 - _globals['_TAKERSTREAMSTREAMINGREQUEST']._serialized_start=6164 - _globals['_TAKERSTREAMSTREAMINGREQUEST']._serialized_end=6446 - _globals['_CREATERFQREQUESTTYPE']._serialized_start=6449 - _globals['_CREATERFQREQUESTTYPE']._serialized_end=6701 - _globals['_TAKERSTREAMRESPONSE']._serialized_start=6704 - _globals['_TAKERSTREAMRESPONSE']._serialized_end=7125 - _globals['_REQUESTSTREAMACK']._serialized_start=7127 - _globals['_REQUESTSTREAMACK']._serialized_end=7221 - _globals['_STREAMERROR']._serialized_start=7223 - _globals['_STREAMERROR']._serialized_end=7283 - _globals['_CONDITIONALORDERACK']._serialized_start=7285 - _globals['_CONDITIONALORDERACK']._serialized_end=7377 - _globals['_MAKERSTREAMSTREAMINGREQUEST']._serialized_start=7379 - _globals['_MAKERSTREAMSTREAMINGREQUEST']._serialized_end=7498 - _globals['_MAKERSTREAMRESPONSE']._serialized_start=7501 - _globals['_MAKERSTREAMRESPONSE']._serialized_end=7896 - _globals['_QUOTESTREAMACK']._serialized_start=7898 - _globals['_QUOTESTREAMACK']._serialized_end=7961 - _globals['_RFQSETTLEMENTMAKERUPDATE']._serialized_start=7964 - _globals['_RFQSETTLEMENTMAKERUPDATE']._serialized_end=8599 - _globals['_RFQSETTLEMENTQUOTE']._serialized_start=8602 - _globals['_RFQSETTLEMENTQUOTE']._serialized_end=8964 - _globals['_INJECTIVERFQRPC']._serialized_start=8967 - _globals['_INJECTIVERFQRPC']._serialized_end=10019 + _globals['_STREAMREQUESTREQUEST']._serialized_start=55 + _globals['_STREAMREQUESTREQUEST']._serialized_end=108 + _globals['_STREAMREQUESTRESPONSE']._serialized_start=110 + _globals['_STREAMREQUESTRESPONSE']._serialized_end=237 + _globals['_RFQREQUESTTYPE']._serialized_start=240 + _globals['_RFQREQUESTTYPE']._serialized_end=670 + _globals['_STREAMQUOTEREQUEST']._serialized_start=672 + _globals['_STREAMQUOTEREQUEST']._serialized_end=753 + _globals['_STREAMQUOTERESPONSE']._serialized_start=756 + _globals['_STREAMQUOTERESPONSE']._serialized_end=884 + _globals['_RFQPROCESSEDQUOTETYPE']._serialized_start=887 + _globals['_RFQPROCESSEDQUOTETYPE']._serialized_end=1794 + _globals['_RFQEXPIRYTYPE']._serialized_start=1796 + _globals['_RFQEXPIRYTYPE']._serialized_end=1865 + _globals['_LISTSETTLEMENTREQUEST']._serialized_start=1867 + _globals['_LISTSETTLEMENTREQUEST']._serialized_end=1969 + _globals['_LISTSETTLEMENTRESPONSE']._serialized_start=1971 + _globals['_LISTSETTLEMENTRESPONSE']._serialized_end=2087 + _globals['_RFQSETTLEMENTTYPE']._serialized_start=2090 + _globals['_RFQSETTLEMENTTYPE']._serialized_end=2680 + _globals['_RFQSETTLEMENTUNFILLEDACTIONTYPE']._serialized_start=2683 + _globals['_RFQSETTLEMENTUNFILLEDACTIONTYPE']._serialized_end=2861 + _globals['_RFQSETTLEMENTLIMITACTIONTYPE']._serialized_start=2863 + _globals['_RFQSETTLEMENTLIMITACTIONTYPE']._serialized_end=2915 + _globals['_RFQSETTLEMENTMARKETACTIONTYPE']._serialized_start=2917 + _globals['_RFQSETTLEMENTMARKETACTIONTYPE']._serialized_end=2948 + _globals['_STREAMSETTLEMENTREQUEST']._serialized_start=2950 + _globals['_STREAMSETTLEMENTREQUEST']._serialized_end=3005 + _globals['_STREAMSETTLEMENTRESPONSE']._serialized_start=3008 + _globals['_STREAMSETTLEMENTRESPONSE']._serialized_end=3147 + _globals['_CREATECONDITIONALORDERREQUEST']._serialized_start=3150 + _globals['_CREATECONDITIONALORDERREQUEST']._serialized_end=3338 + _globals['_CONDITIONALORDERINPUT']._serialized_start=3341 + _globals['_CONDITIONALORDERINPUT']._serialized_end=4009 + _globals['_CREATECONDITIONALORDERRESPONSE']._serialized_start=4011 + _globals['_CREATECONDITIONALORDERRESPONSE']._serialized_end=4114 + _globals['_CONDITIONALORDERRESPONSETYPE']._serialized_start=4117 + _globals['_CONDITIONALORDERRESPONSETYPE']._serialized_end=4744 + _globals['_LISTCONDITIONALORDERSREQUEST']._serialized_start=4747 + _globals['_LISTCONDITIONALORDERSREQUEST']._serialized_end=4920 + _globals['_LISTCONDITIONALORDERSRESPONSE']._serialized_start=4922 + _globals['_LISTCONDITIONALORDERSRESPONSE']._serialized_end=5046 + _globals['_TAKERSTREAMSTREAMINGREQUEST']._serialized_start=5049 + _globals['_TAKERSTREAMSTREAMINGREQUEST']._serialized_end=5462 + _globals['_CREATERFQREQUESTTYPE']._serialized_start=5465 + _globals['_CREATERFQREQUESTTYPE']._serialized_end=5717 + _globals['_TAKERSTREAMRESPONSE']._serialized_start=5720 + _globals['_TAKERSTREAMRESPONSE']._serialized_end=6141 + _globals['_RFQQUOTETYPE']._serialized_start=6144 + _globals['_RFQQUOTETYPE']._serialized_end=6934 + _globals['_REQUESTSTREAMACK']._serialized_start=6936 + _globals['_REQUESTSTREAMACK']._serialized_end=7030 + _globals['_STREAMERROR']._serialized_start=7032 + _globals['_STREAMERROR']._serialized_end=7108 + _globals['_CONDITIONALORDERACK']._serialized_start=7110 + _globals['_CONDITIONALORDERACK']._serialized_end=7202 + _globals['_MAKERSTREAMSTREAMINGREQUEST']._serialized_start=7205 + _globals['_MAKERSTREAMSTREAMINGREQUEST']._serialized_end=7374 + _globals['_MAKERAUTH']._serialized_start=7376 + _globals['_MAKERAUTH']._serialized_end=7451 + _globals['_MAKERSTREAMRESPONSE']._serialized_start=7454 + _globals['_MAKERSTREAMRESPONSE']._serialized_end=7914 + _globals['_QUOTESTREAMACK']._serialized_start=7916 + _globals['_QUOTESTREAMACK']._serialized_end=7979 + _globals['_RFQSETTLEMENTMAKERUPDATE']._serialized_start=7982 + _globals['_RFQSETTLEMENTMAKERUPDATE']._serialized_end=8642 + _globals['_RFQSETTLEMENTQUOTE']._serialized_start=8645 + _globals['_RFQSETTLEMENTQUOTE']._serialized_end=9007 + _globals['_MAKERCHALLENGE']._serialized_start=9009 + _globals['_MAKERCHALLENGE']._serialized_end=9112 + _globals['_INJECTIVERFQRPC']._serialized_start=9115 + _globals['_INJECTIVERFQRPC']._serialized_end=10009 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/exchange/injective_rfq_rpc_pb2_grpc.py b/pyinjective/proto/exchange/injective_rfq_rpc_pb2_grpc.py index 42157fe8..e9b1c4fe 100644 --- a/pyinjective/proto/exchange/injective_rfq_rpc_pb2_grpc.py +++ b/pyinjective/proto/exchange/injective_rfq_rpc_pb2_grpc.py @@ -15,21 +15,11 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ - self.Request = channel.unary_unary( - '/injective_rfq_rpc.InjectiveRfqRPC/Request', - request_serializer=exchange_dot_injective__rfq__rpc__pb2.RequestRequest.SerializeToString, - response_deserializer=exchange_dot_injective__rfq__rpc__pb2.RequestResponse.FromString, - _registered_method=True) self.StreamRequest = channel.unary_stream( '/injective_rfq_rpc.InjectiveRfqRPC/StreamRequest', request_serializer=exchange_dot_injective__rfq__rpc__pb2.StreamRequestRequest.SerializeToString, response_deserializer=exchange_dot_injective__rfq__rpc__pb2.StreamRequestResponse.FromString, _registered_method=True) - self.Quote = channel.unary_unary( - '/injective_rfq_rpc.InjectiveRfqRPC/Quote', - request_serializer=exchange_dot_injective__rfq__rpc__pb2.QuoteRequest.SerializeToString, - response_deserializer=exchange_dot_injective__rfq__rpc__pb2.QuoteResponse.FromString, - _registered_method=True) self.StreamQuote = channel.unary_stream( '/injective_rfq_rpc.InjectiveRfqRPC/StreamQuote', request_serializer=exchange_dot_injective__rfq__rpc__pb2.StreamQuoteRequest.SerializeToString, @@ -71,13 +61,6 @@ class InjectiveRfqRPCServicer(object): """InjectiveRfqRPC defines gRPC API of the RFQ (Request for Quote) API. """ - def Request(self, request, context): - """Create RFQ request - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def StreamRequest(self, request, context): """Stream RFQ requests """ @@ -85,13 +68,6 @@ def StreamRequest(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def Quote(self, request, context): - """Create RFQ quote - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def StreamQuote(self, request, context): """Stream RFQ quotes """ @@ -144,21 +120,11 @@ def MakerStream(self, request_iterator, context): def add_InjectiveRfqRPCServicer_to_server(servicer, server): rpc_method_handlers = { - 'Request': grpc.unary_unary_rpc_method_handler( - servicer.Request, - request_deserializer=exchange_dot_injective__rfq__rpc__pb2.RequestRequest.FromString, - response_serializer=exchange_dot_injective__rfq__rpc__pb2.RequestResponse.SerializeToString, - ), 'StreamRequest': grpc.unary_stream_rpc_method_handler( servicer.StreamRequest, request_deserializer=exchange_dot_injective__rfq__rpc__pb2.StreamRequestRequest.FromString, response_serializer=exchange_dot_injective__rfq__rpc__pb2.StreamRequestResponse.SerializeToString, ), - 'Quote': grpc.unary_unary_rpc_method_handler( - servicer.Quote, - request_deserializer=exchange_dot_injective__rfq__rpc__pb2.QuoteRequest.FromString, - response_serializer=exchange_dot_injective__rfq__rpc__pb2.QuoteResponse.SerializeToString, - ), 'StreamQuote': grpc.unary_stream_rpc_method_handler( servicer.StreamQuote, request_deserializer=exchange_dot_injective__rfq__rpc__pb2.StreamQuoteRequest.FromString, @@ -206,33 +172,6 @@ class InjectiveRfqRPC(object): """InjectiveRfqRPC defines gRPC API of the RFQ (Request for Quote) API. """ - @staticmethod - def Request(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_rfq_rpc.InjectiveRfqRPC/Request', - exchange_dot_injective__rfq__rpc__pb2.RequestRequest.SerializeToString, - exchange_dot_injective__rfq__rpc__pb2.RequestResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - @staticmethod def StreamRequest(request, target, @@ -260,33 +199,6 @@ def StreamRequest(request, metadata, _registered_method=True) - @staticmethod - def Quote(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary( - request, - target, - '/injective_rfq_rpc.InjectiveRfqRPC/Quote', - exchange_dot_injective__rfq__rpc__pb2.QuoteRequest.SerializeToString, - exchange_dot_injective__rfq__rpc__pb2.QuoteResponse.FromString, - options, - channel_credentials, - insecure, - call_credentials, - compression, - wait_for_ready, - timeout, - metadata, - _registered_method=True) - @staticmethod def StreamQuote(request, target, diff --git a/pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2.py b/pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2.py index dcccfb38..bdbd8366 100644 --- a/pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2.py +++ b/pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2.py @@ -14,7 +14,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+exchange/injective_tc_derivatives_rpc.proto\x12\x1cinjective_tc_derivatives_rpc\"\xad\x01\n\x14OrdersHistoryRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x02 \x01(\tR\tdirection\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x19\n\x08per_page\x18\x04 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x05 \x01(\tR\x05token\"\x7f\n\x15OrdersHistoryResponse\x12R\n\x06orders\x18\x01 \x03(\x0b\x32:.injective_tc_derivatives_rpc.TCDerivativeOrderHistoryTypeR\x06orders\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\xaf\x05\n\x1cTCDerivativeOrderHistoryType\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1b\n\tis_active\x18\x03 \x01(\x08R\x08isActive\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12%\n\x0e\x65xecution_type\x18\x05 \x01(\tR\rexecutionType\x12\x1d\n\norder_type\x18\x06 \x01(\tR\torderType\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12\x1a\n\x08quantity\x18\t \x01(\tR\x08quantity\x12\'\n\x0f\x66illed_quantity\x18\n \x01(\tR\x0e\x66illedQuantity\x12\x14\n\x05state\x18\x0b \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12$\n\x0eis_reduce_only\x18\x0e \x01(\x08R\x0cisReduceOnly\x12\x1c\n\tdirection\x18\x0f \x01(\tR\tdirection\x12%\n\x0eis_conditional\x18\x10 \x01(\x08R\risConditional\x12\x1d\n\ntrigger_at\x18\x11 \x01(\x04R\ttriggerAt\x12*\n\x11placed_order_hash\x18\x12 \x01(\tR\x0fplacedOrderHash\x12\x16\n\x06margin\x18\x13 \x01(\tR\x06margin\x12\x17\n\x07tx_hash\x18\x14 \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x15 \x01(\tR\x03\x63id\"d\n\x1aStreamOrdersHistoryRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xb4\x01\n\x1bStreamOrdersHistoryResponse\x12P\n\x05order\x18\x01 \x01(\x0b\x32:.injective_tc_derivatives_rpc.TCDerivativeOrderHistoryTypeR\x05order\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xa6\x01\n\rOrdersRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x02 \x01(\tR\tdirection\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x19\n\x08per_page\x18\x04 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x05 \x01(\tR\x05token\"p\n\x0eOrdersResponse\x12J\n\x06orders\x18\x01 \x03(\x0b\x32\x32.injective_tc_derivatives_rpc.DerivativeLimitOrderR\x06orders\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\xd7\x05\n\x14\x44\x65rivativeLimitOrder\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12$\n\x0eis_reduce_only\x18\x05 \x01(\x08R\x0cisReduceOnly\x12\x16\n\x06margin\x18\x06 \x01(\tR\x06margin\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x08 \x01(\tR\x08quantity\x12+\n\x11unfilled_quantity\x18\t \x01(\tR\x10unfilledQuantity\x12#\n\rtrigger_price\x18\n \x01(\tR\x0ctriggerPrice\x12#\n\rfee_recipient\x18\x0b \x01(\tR\x0c\x66\x65\x65Recipient\x12\x14\n\x05state\x18\x0c \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\r \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0e \x01(\x12R\tupdatedAt\x12!\n\x0corder_number\x18\x0f \x01(\x12R\x0borderNumber\x12\x1d\n\norder_type\x18\x10 \x01(\tR\torderType\x12%\n\x0eis_conditional\x18\x11 \x01(\x08R\risConditional\x12\x1d\n\ntrigger_at\x18\x12 \x01(\x04R\ttriggerAt\x12*\n\x11placed_order_hash\x18\x13 \x01(\tR\x0fplacedOrderHash\x12%\n\x0e\x65xecution_type\x18\x14 \x01(\tR\rexecutionType\x12\x17\n\x07tx_hash\x18\x15 \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x16 \x01(\tR\x03\x63id\"]\n\x13StreamOrdersRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xa5\x01\n\x14StreamOrdersResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x32.injective_tc_derivatives_rpc.DerivativeLimitOrderR\x05order\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xa0\x02\n\rTradesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x02 \x01(\tR\tdirection\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x19\n\x08per_page\x18\x04 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x05 \x01(\tR\x05token\x12\x17\n\x07sort_by\x18\x06 \x01(\tR\x06sortBy\x12%\n\x0esort_direction\x18\x07 \x01(\tR\rsortDirection\x12\x1d\n\nstart_time\x18\x08 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\t \x01(\x12R\x07\x65ndTime\"m\n\x0eTradesResponse\x12G\n\x06trades\x18\x01 \x03(\x0b\x32/.injective_tc_derivatives_rpc.TCDerivativeTradeR\x06trades\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\x81\x05\n\x11TCDerivativeTrade\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x30\n\x14trade_execution_type\x18\x04 \x01(\tR\x12tradeExecutionType\x12%\n\x0eis_liquidation\x18\x05 \x01(\x08R\risLiquidation\x12R\n\x0eposition_delta\x18\x06 \x01(\x0b\x32+.injective_tc_derivatives_rpc.PositionDeltaR\rpositionDelta\x12\x16\n\x06payout\x18\x07 \x01(\tR\x06payout\x12\x10\n\x03\x66\x65\x65\x18\x08 \x01(\tR\x03\x66\x65\x65\x12\x1f\n\x0b\x65xecuted_at\x18\t \x01(\x12R\nexecutedAt\x12#\n\rfee_recipient\x18\n \x01(\tR\x0c\x66\x65\x65Recipient\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\x12%\n\x0e\x65xecution_side\x18\x0c \x01(\tR\rexecutionSide\x12\x10\n\x03\x63id\x18\r \x01(\tR\x03\x63id\x12\x10\n\x03pnl\x18\x0e \x01(\tR\x03pnl\x12(\n\x10position_is_long\x18\x0f \x01(\x08R\x0epositionIsLong\x12,\n\x12position_opened_at\x18\x10 \x01(\x12R\x10positionOpenedAt\x12\x30\n\x14position_entry_price\x18\x11 \x01(\tR\x12positionEntryPrice\"\xbb\x01\n\rPositionDelta\x12\'\n\x0ftrade_direction\x18\x01 \x01(\tR\x0etradeDirection\x12\'\n\x0f\x65xecution_price\x18\x02 \x01(\tR\x0e\x65xecutionPrice\x12-\n\x12\x65xecution_quantity\x18\x03 \x01(\tR\x11\x65xecutionQuantity\x12)\n\x10\x65xecution_margin\x18\x04 \x01(\tR\x0f\x65xecutionMargin\"]\n\x13StreamTradesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xa2\x01\n\x14StreamTradesResponse\x12\x45\n\x05trade\x18\x01 \x01(\x0b\x32/.injective_tc_derivatives_rpc.TCDerivativeTradeR\x05trade\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xe5\x01\n\x10PositionsRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x02 \x01(\tR\tdirection\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x1d\n\nwith_count\x18\x04 \x01(\x08R\twithCount\x12\x19\n\x08per_page\x18\x05 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x1b\n\twith_upnl\x18\x07 \x01(\x08R\x08withUpnl\"\x8f\x01\n\x11PositionsResponse\x12P\n\tpositions\x18\x01 \x03(\x0b\x32\x32.injective_tc_derivatives_rpc.DerivativePositionV2R\tpositions\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\x12\x14\n\x05total\x18\x03 \x01(\x04R\x05total\"\xc3\x04\n\x14\x44\x65rivativePositionV2\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0b\x65ntry_price\x18\x06 \x01(\tR\nentryPrice\x12\x16\n\x06margin\x18\x07 \x01(\tR\x06margin\x12+\n\x11liquidation_price\x18\x08 \x01(\tR\x10liquidationPrice\x12\x1d\n\nmark_price\x18\t \x01(\tR\tmarkPrice\x12\x1d\n\nupdated_at\x18\x0b \x01(\x12R\tupdatedAt\x12\x14\n\x05\x64\x65nom\x18\x0c \x01(\tR\x05\x64\x65nom\x12!\n\x0c\x66unding_last\x18\r \x01(\tR\x0b\x66undingLast\x12\x1f\n\x0b\x66unding_sum\x18\x0e \x01(\tR\nfundingSum\x12\x38\n\x18\x63umulative_funding_entry\x18\x0f \x01(\tR\x16\x63umulativeFundingEntry\x12K\n\"effective_cumulative_funding_entry\x18\x10 \x01(\tR\x1f\x65\x66\x66\x65\x63tiveCumulativeFundingEntry\x12\x12\n\x04upnl\x18\x11 \x01(\tR\x04upnl\"`\n\x16StreamPositionsRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x87\x01\n\x17StreamPositionsResponse\x12N\n\x08position\x18\x01 \x01(\x0b\x32\x32.injective_tc_derivatives_rpc.DerivativePositionV2R\x08position\x12\x1c\n\ttimestamp\x18\x02 \x01(\x12R\ttimestamp2\xd1\x07\n\x19InjectiveTCDerivativesRPC\x12x\n\rOrdersHistory\x12\x32.injective_tc_derivatives_rpc.OrdersHistoryRequest\x1a\x33.injective_tc_derivatives_rpc.OrdersHistoryResponse\x12\x8c\x01\n\x13StreamOrdersHistory\x12\x38.injective_tc_derivatives_rpc.StreamOrdersHistoryRequest\x1a\x39.injective_tc_derivatives_rpc.StreamOrdersHistoryResponse0\x01\x12\x63\n\x06Orders\x12+.injective_tc_derivatives_rpc.OrdersRequest\x1a,.injective_tc_derivatives_rpc.OrdersResponse\x12w\n\x0cStreamOrders\x12\x31.injective_tc_derivatives_rpc.StreamOrdersRequest\x1a\x32.injective_tc_derivatives_rpc.StreamOrdersResponse0\x01\x12\x63\n\x06Trades\x12+.injective_tc_derivatives_rpc.TradesRequest\x1a,.injective_tc_derivatives_rpc.TradesResponse\x12w\n\x0cStreamTrades\x12\x31.injective_tc_derivatives_rpc.StreamTradesRequest\x1a\x32.injective_tc_derivatives_rpc.StreamTradesResponse0\x01\x12l\n\tPositions\x12..injective_tc_derivatives_rpc.PositionsRequest\x1a/.injective_tc_derivatives_rpc.PositionsResponse\x12\x80\x01\n\x0fStreamPositions\x12\x34.injective_tc_derivatives_rpc.StreamPositionsRequest\x1a\x35.injective_tc_derivatives_rpc.StreamPositionsResponse0\x01\x42\xe7\x01\n com.injective_tc_derivatives_rpcB\x1eInjectiveTcDerivativesRpcProtoP\x01Z\x1f/injective_tc_derivatives_rpcpb\xa2\x02\x03IXX\xaa\x02\x19InjectiveTcDerivativesRpc\xca\x02\x19InjectiveTcDerivativesRpc\xe2\x02%InjectiveTcDerivativesRpc\\GPBMetadata\xea\x02\x19InjectiveTcDerivativesRpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+exchange/injective_tc_derivatives_rpc.proto\x12\x1cinjective_tc_derivatives_rpc\"\xad\x01\n\x14OrdersHistoryRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x02 \x01(\tR\tdirection\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x19\n\x08per_page\x18\x04 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x05 \x01(\tR\x05token\"\x7f\n\x15OrdersHistoryResponse\x12R\n\x06orders\x18\x01 \x03(\x0b\x32:.injective_tc_derivatives_rpc.TCDerivativeOrderHistoryTypeR\x06orders\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\xaf\x05\n\x1cTCDerivativeOrderHistoryType\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1b\n\tis_active\x18\x03 \x01(\x08R\x08isActive\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12%\n\x0e\x65xecution_type\x18\x05 \x01(\tR\rexecutionType\x12\x1d\n\norder_type\x18\x06 \x01(\tR\torderType\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12#\n\rtrigger_price\x18\x08 \x01(\tR\x0ctriggerPrice\x12\x1a\n\x08quantity\x18\t \x01(\tR\x08quantity\x12\'\n\x0f\x66illed_quantity\x18\n \x01(\tR\x0e\x66illedQuantity\x12\x14\n\x05state\x18\x0b \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\x0c \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\r \x01(\x12R\tupdatedAt\x12$\n\x0eis_reduce_only\x18\x0e \x01(\x08R\x0cisReduceOnly\x12\x1c\n\tdirection\x18\x0f \x01(\tR\tdirection\x12%\n\x0eis_conditional\x18\x10 \x01(\x08R\risConditional\x12\x1d\n\ntrigger_at\x18\x11 \x01(\x04R\ttriggerAt\x12*\n\x11placed_order_hash\x18\x12 \x01(\tR\x0fplacedOrderHash\x12\x16\n\x06margin\x18\x13 \x01(\tR\x06margin\x12\x17\n\x07tx_hash\x18\x14 \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x15 \x01(\tR\x03\x63id\"d\n\x1aStreamOrdersHistoryRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xb4\x01\n\x1bStreamOrdersHistoryResponse\x12P\n\x05order\x18\x01 \x01(\x0b\x32:.injective_tc_derivatives_rpc.TCDerivativeOrderHistoryTypeR\x05order\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xa6\x01\n\rOrdersRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x02 \x01(\tR\tdirection\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x19\n\x08per_page\x18\x04 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x05 \x01(\tR\x05token\"p\n\x0eOrdersResponse\x12J\n\x06orders\x18\x01 \x03(\x0b\x32\x32.injective_tc_derivatives_rpc.DerivativeLimitOrderR\x06orders\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\xd7\x05\n\x14\x44\x65rivativeLimitOrder\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x1d\n\norder_side\x18\x02 \x01(\tR\torderSide\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12$\n\x0eis_reduce_only\x18\x05 \x01(\x08R\x0cisReduceOnly\x12\x16\n\x06margin\x18\x06 \x01(\tR\x06margin\x12\x14\n\x05price\x18\x07 \x01(\tR\x05price\x12\x1a\n\x08quantity\x18\x08 \x01(\tR\x08quantity\x12+\n\x11unfilled_quantity\x18\t \x01(\tR\x10unfilledQuantity\x12#\n\rtrigger_price\x18\n \x01(\tR\x0ctriggerPrice\x12#\n\rfee_recipient\x18\x0b \x01(\tR\x0c\x66\x65\x65Recipient\x12\x14\n\x05state\x18\x0c \x01(\tR\x05state\x12\x1d\n\ncreated_at\x18\r \x01(\x12R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0e \x01(\x12R\tupdatedAt\x12!\n\x0corder_number\x18\x0f \x01(\x12R\x0borderNumber\x12\x1d\n\norder_type\x18\x10 \x01(\tR\torderType\x12%\n\x0eis_conditional\x18\x11 \x01(\x08R\risConditional\x12\x1d\n\ntrigger_at\x18\x12 \x01(\x04R\ttriggerAt\x12*\n\x11placed_order_hash\x18\x13 \x01(\tR\x0fplacedOrderHash\x12%\n\x0e\x65xecution_type\x18\x14 \x01(\tR\rexecutionType\x12\x17\n\x07tx_hash\x18\x15 \x01(\tR\x06txHash\x12\x10\n\x03\x63id\x18\x16 \x01(\tR\x03\x63id\"]\n\x13StreamOrdersRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xa5\x01\n\x14StreamOrdersResponse\x12H\n\x05order\x18\x01 \x01(\x0b\x32\x32.injective_tc_derivatives_rpc.DerivativeLimitOrderR\x05order\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xbb\x02\n\rTradesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x02 \x01(\tR\tdirection\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x19\n\x08per_page\x18\x04 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x05 \x01(\tR\x05token\x12\x17\n\x07sort_by\x18\x06 \x01(\tR\x06sortBy\x12%\n\x0esort_direction\x18\x07 \x01(\tR\rsortDirection\x12\x1d\n\nstart_time\x18\x08 \x01(\x12R\tstartTime\x12\x19\n\x08\x65nd_time\x18\t \x01(\x12R\x07\x65ndTime\x12\x19\n\x08with_pnl\x18\n \x01(\x08R\x07withPnl\"m\n\x0eTradesResponse\x12G\n\x06trades\x18\x01 \x03(\x0b\x32/.injective_tc_derivatives_rpc.TCDerivativeTradeR\x06trades\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\"\xaf\x05\n\x11TCDerivativeTrade\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x30\n\x14trade_execution_type\x18\x04 \x01(\tR\x12tradeExecutionType\x12%\n\x0eis_liquidation\x18\x05 \x01(\x08R\risLiquidation\x12R\n\x0eposition_delta\x18\x06 \x01(\x0b\x32+.injective_tc_derivatives_rpc.PositionDeltaR\rpositionDelta\x12\x16\n\x06payout\x18\x07 \x01(\tR\x06payout\x12\x10\n\x03\x66\x65\x65\x18\x08 \x01(\tR\x03\x66\x65\x65\x12\x1f\n\x0b\x65xecuted_at\x18\t \x01(\x12R\nexecutedAt\x12#\n\rfee_recipient\x18\n \x01(\tR\x0c\x66\x65\x65Recipient\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\x12%\n\x0e\x65xecution_side\x18\x0c \x01(\tR\rexecutionSide\x12\x10\n\x03\x63id\x18\r \x01(\tR\x03\x63id\x12\x10\n\x03pnl\x18\x0e \x01(\tR\x03pnl\x12(\n\x10position_is_long\x18\x0f \x01(\x08R\x0epositionIsLong\x12,\n\x12position_opened_at\x18\x10 \x01(\x12R\x10positionOpenedAt\x12\x30\n\x14position_entry_price\x18\x11 \x01(\tR\x12positionEntryPrice\x12,\n\x12is_position_closed\x18\x12 \x01(\x08R\x10isPositionClosed\"\xbb\x01\n\rPositionDelta\x12\'\n\x0ftrade_direction\x18\x01 \x01(\tR\x0etradeDirection\x12\'\n\x0f\x65xecution_price\x18\x02 \x01(\tR\x0e\x65xecutionPrice\x12-\n\x12\x65xecution_quantity\x18\x03 \x01(\tR\x11\x65xecutionQuantity\x12)\n\x10\x65xecution_margin\x18\x04 \x01(\tR\x0f\x65xecutionMargin\"]\n\x13StreamTradesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xa2\x01\n\x14StreamTradesResponse\x12\x45\n\x05trade\x18\x01 \x01(\x0b\x32/.injective_tc_derivatives_rpc.TCDerivativeTradeR\x05trade\x12%\n\x0eoperation_type\x18\x02 \x01(\tR\roperationType\x12\x1c\n\ttimestamp\x18\x03 \x01(\x12R\ttimestamp\"\xe5\x01\n\x10PositionsRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\x1c\n\tdirection\x18\x02 \x01(\tR\tdirection\x12\'\n\x0f\x61\x63\x63ount_address\x18\x03 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x1d\n\nwith_count\x18\x04 \x01(\x08R\twithCount\x12\x19\n\x08per_page\x18\x05 \x01(\x11R\x07perPage\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x1b\n\twith_upnl\x18\x07 \x01(\x08R\x08withUpnl\"\x8f\x01\n\x11PositionsResponse\x12P\n\tpositions\x18\x01 \x03(\x0b\x32\x32.injective_tc_derivatives_rpc.DerivativePositionV2R\tpositions\x12\x12\n\x04next\x18\x02 \x03(\tR\x04next\x12\x14\n\x05total\x18\x03 \x01(\x04R\x05total\"\xc3\x04\n\x14\x44\x65rivativePositionV2\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1c\n\tdirection\x18\x04 \x01(\tR\tdirection\x12\x1a\n\x08quantity\x18\x05 \x01(\tR\x08quantity\x12\x1f\n\x0b\x65ntry_price\x18\x06 \x01(\tR\nentryPrice\x12\x16\n\x06margin\x18\x07 \x01(\tR\x06margin\x12+\n\x11liquidation_price\x18\x08 \x01(\tR\x10liquidationPrice\x12\x1d\n\nmark_price\x18\t \x01(\tR\tmarkPrice\x12\x1d\n\nupdated_at\x18\x0b \x01(\x12R\tupdatedAt\x12\x14\n\x05\x64\x65nom\x18\x0c \x01(\tR\x05\x64\x65nom\x12!\n\x0c\x66unding_last\x18\r \x01(\tR\x0b\x66undingLast\x12\x1f\n\x0b\x66unding_sum\x18\x0e \x01(\tR\nfundingSum\x12\x38\n\x18\x63umulative_funding_entry\x18\x0f \x01(\tR\x16\x63umulativeFundingEntry\x12K\n\"effective_cumulative_funding_entry\x18\x10 \x01(\tR\x1f\x65\x66\x66\x65\x63tiveCumulativeFundingEntry\x12\x12\n\x04upnl\x18\x11 \x01(\tR\x04upnl\"`\n\x16StreamPositionsRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x87\x01\n\x17StreamPositionsResponse\x12N\n\x08position\x18\x01 \x01(\x0b\x32\x32.injective_tc_derivatives_rpc.DerivativePositionV2R\x08position\x12\x1c\n\ttimestamp\x18\x02 \x01(\x12R\ttimestamp2\xd1\x07\n\x19InjectiveTCDerivativesRPC\x12x\n\rOrdersHistory\x12\x32.injective_tc_derivatives_rpc.OrdersHistoryRequest\x1a\x33.injective_tc_derivatives_rpc.OrdersHistoryResponse\x12\x8c\x01\n\x13StreamOrdersHistory\x12\x38.injective_tc_derivatives_rpc.StreamOrdersHistoryRequest\x1a\x39.injective_tc_derivatives_rpc.StreamOrdersHistoryResponse0\x01\x12\x63\n\x06Orders\x12+.injective_tc_derivatives_rpc.OrdersRequest\x1a,.injective_tc_derivatives_rpc.OrdersResponse\x12w\n\x0cStreamOrders\x12\x31.injective_tc_derivatives_rpc.StreamOrdersRequest\x1a\x32.injective_tc_derivatives_rpc.StreamOrdersResponse0\x01\x12\x63\n\x06Trades\x12+.injective_tc_derivatives_rpc.TradesRequest\x1a,.injective_tc_derivatives_rpc.TradesResponse\x12w\n\x0cStreamTrades\x12\x31.injective_tc_derivatives_rpc.StreamTradesRequest\x1a\x32.injective_tc_derivatives_rpc.StreamTradesResponse0\x01\x12l\n\tPositions\x12..injective_tc_derivatives_rpc.PositionsRequest\x1a/.injective_tc_derivatives_rpc.PositionsResponse\x12\x80\x01\n\x0fStreamPositions\x12\x34.injective_tc_derivatives_rpc.StreamPositionsRequest\x1a\x35.injective_tc_derivatives_rpc.StreamPositionsResponse0\x01\x42\xe7\x01\n com.injective_tc_derivatives_rpcB\x1eInjectiveTcDerivativesRpcProtoP\x01Z\x1f/injective_tc_derivatives_rpcpb\xa2\x02\x03IXX\xaa\x02\x19InjectiveTcDerivativesRpc\xca\x02\x19InjectiveTcDerivativesRpc\xe2\x02%InjectiveTcDerivativesRpc\\GPBMetadata\xea\x02\x19InjectiveTcDerivativesRpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -43,27 +43,27 @@ _globals['_STREAMORDERSRESPONSE']._serialized_start=2466 _globals['_STREAMORDERSRESPONSE']._serialized_end=2631 _globals['_TRADESREQUEST']._serialized_start=2634 - _globals['_TRADESREQUEST']._serialized_end=2922 - _globals['_TRADESRESPONSE']._serialized_start=2924 - _globals['_TRADESRESPONSE']._serialized_end=3033 - _globals['_TCDERIVATIVETRADE']._serialized_start=3036 - _globals['_TCDERIVATIVETRADE']._serialized_end=3677 - _globals['_POSITIONDELTA']._serialized_start=3680 - _globals['_POSITIONDELTA']._serialized_end=3867 - _globals['_STREAMTRADESREQUEST']._serialized_start=3869 - _globals['_STREAMTRADESREQUEST']._serialized_end=3962 - _globals['_STREAMTRADESRESPONSE']._serialized_start=3965 - _globals['_STREAMTRADESRESPONSE']._serialized_end=4127 - _globals['_POSITIONSREQUEST']._serialized_start=4130 - _globals['_POSITIONSREQUEST']._serialized_end=4359 - _globals['_POSITIONSRESPONSE']._serialized_start=4362 - _globals['_POSITIONSRESPONSE']._serialized_end=4505 - _globals['_DERIVATIVEPOSITIONV2']._serialized_start=4508 - _globals['_DERIVATIVEPOSITIONV2']._serialized_end=5087 - _globals['_STREAMPOSITIONSREQUEST']._serialized_start=5089 - _globals['_STREAMPOSITIONSREQUEST']._serialized_end=5185 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=5188 - _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=5323 - _globals['_INJECTIVETCDERIVATIVESRPC']._serialized_start=5326 - _globals['_INJECTIVETCDERIVATIVESRPC']._serialized_end=6303 + _globals['_TRADESREQUEST']._serialized_end=2949 + _globals['_TRADESRESPONSE']._serialized_start=2951 + _globals['_TRADESRESPONSE']._serialized_end=3060 + _globals['_TCDERIVATIVETRADE']._serialized_start=3063 + _globals['_TCDERIVATIVETRADE']._serialized_end=3750 + _globals['_POSITIONDELTA']._serialized_start=3753 + _globals['_POSITIONDELTA']._serialized_end=3940 + _globals['_STREAMTRADESREQUEST']._serialized_start=3942 + _globals['_STREAMTRADESREQUEST']._serialized_end=4035 + _globals['_STREAMTRADESRESPONSE']._serialized_start=4038 + _globals['_STREAMTRADESRESPONSE']._serialized_end=4200 + _globals['_POSITIONSREQUEST']._serialized_start=4203 + _globals['_POSITIONSREQUEST']._serialized_end=4432 + _globals['_POSITIONSRESPONSE']._serialized_start=4435 + _globals['_POSITIONSRESPONSE']._serialized_end=4578 + _globals['_DERIVATIVEPOSITIONV2']._serialized_start=4581 + _globals['_DERIVATIVEPOSITIONV2']._serialized_end=5160 + _globals['_STREAMPOSITIONSREQUEST']._serialized_start=5162 + _globals['_STREAMPOSITIONSREQUEST']._serialized_end=5258 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_start=5261 + _globals['_STREAMPOSITIONSRESPONSE']._serialized_end=5396 + _globals['_INJECTIVETCDERIVATIVESRPC']._serialized_start=5399 + _globals['_INJECTIVETCDERIVATIVESRPC']._serialized_end=6376 # @@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 2b1cb1c5..99591606 100644 --- a/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/exchange/v1beta1/events_pb2.py @@ -18,7 +18,7 @@ from pyinjective.proto.injective.exchange.v1beta1 import exchange_pb2 as injective_dot_exchange_dot_v1beta1_dot_exchange__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/exchange/v1beta1/events.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xdc\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12O\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12<\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLogR\x06trades\"\xe7\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12O\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12\x46\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLogR\x06trades\"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels\"\x89\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPositionR\tpositions\"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate\"P\n\x19\x45ventSettledMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"S\n\x1c\x45ventNotSettledMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds\"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate\"o\n\x1e\x45ventBinaryOptionsMarketUpdate\x12M\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xc9\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12I\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\tbuyOrders\x12K\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\nsellOrders\"\xdb\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\tbuyOrders\x12Q\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\nsellOrders\"{\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"]\n\x15\x45ventSpotMarketUpdate\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xa7\x02\n\x1a\x45ventPerpetualMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12i\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12R\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding\"\xe4\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12v\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo\"\xcc\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12R\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"m\n\x17\x45ventBatchDepositUpdate\x12R\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdateR\x0e\x64\x65positUpdates\"\xc7\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12Z\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity\"\xa7\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12m\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel\"g\n\x18\x45ventFeeDiscountSchedule\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule\"\xe2\x01\n EventTradingRewardCampaignUpdate\x12Z\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools\"u\n\x1e\x45ventTradingRewardDistribution\x12S\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewardsR\x0e\x61\x63\x63ountRewards\"\xb5\x01\n\"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket\"\x9f\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12Z\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid\"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids\"\x94\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12\x65\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\"\xc2\x01\n\x14\x45ventOrderbookUpdate\x12N\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x0bspotUpdates\x12Z\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x11\x64\x65rivativeUpdates\"h\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x43\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"|\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scriptionB\x87\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0b\x45ventsProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'injective/exchange/v1beta1/events.proto\x12\x1ainjective.exchange.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a)injective/exchange/v1beta1/exchange.proto\"\xdc\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12O\n\rexecutionType\x18\x03 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12<\n\x06trades\x18\x04 \x03(\x0b\x32$.injective.exchange.v1beta1.TradeLogR\x06trades\"\xe7\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12O\n\rexecutionType\x18\x05 \x01(\x0e\x32).injective.exchange.v1beta1.ExecutionTypeR\rexecutionType\x12\x46\n\x06trades\x18\x06 \x03(\x0b\x32..injective.exchange.v1beta1.DerivativeTradeLogR\x06trades\"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels\"\xe8\x01\n&EventLostFundsFromCrossPoolLiquidation\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0bquote_denom\x18\x02 \x01(\tR\nquoteDenom\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\"\x89\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12L\n\tpositions\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.SubaccountPositionR\tpositions\"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate\"P\n\x19\x45ventSettledMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"S\n\x1c\x45ventNotSettledMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds\"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate\"o\n\x1e\x45ventBinaryOptionsMarketUpdate\x12M\n\x06market\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xc9\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12I\n\nbuy_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\tbuyOrders\x12K\n\x0bsell_orders\x18\x03 \x03(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderR\nsellOrders\"\xdb\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\nbuy_orders\x18\x02 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\tbuyOrders\x12Q\n\x0bsell_orders\x18\x03 \x03(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderR\nsellOrders\"{\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x46\n\x05order\x18\x02 \x01(\x0b\x32*.injective.exchange.v1beta1.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"]\n\x15\x45ventSpotMarketUpdate\x12\x44\n\x06market\x18\x01 \x01(\x0b\x32&.injective.exchange.v1beta1.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xa7\x02\n\x1a\x45ventPerpetualMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12i\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32/.injective.exchange.v1beta1.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12R\n\x07\x66unding\x18\x03 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding\"\xe4\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12J\n\x06market\x18\x01 \x01(\x0b\x32,.injective.exchange.v1beta1.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12v\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32\x33.injective.exchange.v1beta1.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo\"\xcc\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12R\n\x07\x66unding\x18\x02 \x01(\x0b\x32\x32.injective.exchange.v1beta1.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"m\n\x17\x45ventBatchDepositUpdate\x12R\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32).injective.exchange.v1beta1.DepositUpdateR\x0e\x64\x65positUpdates\"\xc7\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12Z\n\x0cmarket_order\x18\x01 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity\"\xa7\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12m\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x37.injective.exchange.v1beta1.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel\"g\n\x18\x45ventFeeDiscountSchedule\x12K\n\x08schedule\x18\x01 \x01(\x0b\x32/.injective.exchange.v1beta1.FeeDiscountScheduleR\x08schedule\"\xe2\x01\n EventTradingRewardCampaignUpdate\x12Z\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x35.injective.exchange.v1beta1.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12\x62\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools\"u\n\x1e\x45ventTradingRewardDistribution\x12S\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32*.injective.exchange.v1beta1.AccountRewardsR\x0e\x61\x63\x63ountRewards\"\xb5\x01\n\"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v1beta1.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket\"\x9f\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12W\n\x0blimit_order\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v1beta1.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12Z\n\x0cmarket_order\x18\x04 \x01(\x0b\x32\x31.injective.exchange.v1beta1.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid\"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids\"\x94\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12\x65\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32/.injective.exchange.v1beta1.MarketFeeMultiplierR\x14marketFeeMultipliers\"\xc2\x01\n\x14\x45ventOrderbookUpdate\x12N\n\x0cspot_updates\x18\x01 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x0bspotUpdates\x12Z\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32+.injective.exchange.v1beta1.OrderbookUpdateR\x11\x64\x65rivativeUpdates\"h\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x43\n\torderbook\x18\x02 \x01(\x0b\x32%.injective.exchange.v1beta1.OrderbookR\torderbook\"\xae\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12@\n\nbuy_levels\x18\x02 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\tbuyLevels\x12\x42\n\x0bsell_levels\x18\x03 \x03(\x0b\x32!.injective.exchange.v1beta1.LevelR\nsellLevels\"|\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x46\n\x06grants\x18\x02 \x03(\x0b\x32..injective.exchange.v1beta1.GrantAuthorizationR\x06grants\"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scriptionB\x87\x02\n\x1e\x63om.injective.exchange.v1beta1B\x0b\x45ventsProtoP\x01ZNgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types\xa2\x02\x03IEX\xaa\x02\x1aInjective.Exchange.V1beta1\xca\x02\x1aInjective\\Exchange\\V1beta1\xe2\x02&Injective\\Exchange\\V1beta1\\GPBMetadata\xea\x02\x1cInjective::Exchange::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -32,6 +32,8 @@ _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._loaded_options = None _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTLOSTFUNDSFROMCROSSPOOLLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._loaded_options = None + _globals['_EVENTLOSTFUNDSFROMCROSSPOOLLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._loaded_options = None _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' _globals['_EVENTCANCELSPOTORDER'].fields_by_name['order']._loaded_options = None @@ -80,74 +82,76 @@ _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_end=790 _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_start=793 _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_end=1115 - _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=1118 - _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1255 - _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1258 - _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1445 - _globals['_EVENTSETTLEDMARKETBALANCE']._serialized_start=1447 - _globals['_EVENTSETTLEDMARKETBALANCE']._serialized_end=1527 - _globals['_EVENTNOTSETTLEDMARKETBALANCE']._serialized_start=1529 - _globals['_EVENTNOTSETTLEDMARKETBALANCE']._serialized_end=1612 - _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1615 - _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=1758 - _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=1761 - _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=1897 - _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=1899 - _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=2010 - _globals['_EVENTNEWSPOTORDERS']._serialized_start=2013 - _globals['_EVENTNEWSPOTORDERS']._serialized_end=2214 - _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=2217 - _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=2436 - _globals['_EVENTCANCELSPOTORDER']._serialized_start=2438 - _globals['_EVENTCANCELSPOTORDER']._serialized_end=2561 - _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=2563 - _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2656 - _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2659 - _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=2954 - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=2957 - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=3185 - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=3188 - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=3520 - _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=3523 - _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=3674 - _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=3677 - _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=3829 - _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=3832 - _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=4009 - _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=4011 - _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=4120 - _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=4123 - _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=4322 - _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=4325 - _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=4620 - _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=4622 - _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=4725 - _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=4728 - _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=4954 - _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=4956 - _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=5073 - _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=5076 - _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=5257 - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=5260 - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=5547 - _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=5550 - _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=5801 - _globals['_EVENTORDERFAIL']._serialized_start=5803 - _globals['_EVENTORDERFAIL']._serialized_end=5911 - _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=5914 - _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=6062 - _globals['_EVENTORDERBOOKUPDATE']._serialized_start=6065 - _globals['_EVENTORDERBOOKUPDATE']._serialized_end=6259 - _globals['_ORDERBOOKUPDATE']._serialized_start=6261 - _globals['_ORDERBOOKUPDATE']._serialized_end=6365 - _globals['_ORDERBOOK']._serialized_start=6368 - _globals['_ORDERBOOK']._serialized_end=6542 - _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_start=6544 - _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_end=6668 - _globals['_EVENTGRANTACTIVATION']._serialized_start=6671 - _globals['_EVENTGRANTACTIVATION']._serialized_end=6800 - _globals['_EVENTINVALIDGRANT']._serialized_start=6802 - _globals['_EVENTINVALIDGRANT']._serialized_end=6873 - _globals['_EVENTORDERCANCELFAIL']._serialized_start=6876 - _globals['_EVENTORDERCANCELFAIL']._serialized_end=7047 + _globals['_EVENTLOSTFUNDSFROMCROSSPOOLLIQUIDATION']._serialized_start=1118 + _globals['_EVENTLOSTFUNDSFROMCROSSPOOLLIQUIDATION']._serialized_end=1350 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=1353 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1490 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1493 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1680 + _globals['_EVENTSETTLEDMARKETBALANCE']._serialized_start=1682 + _globals['_EVENTSETTLEDMARKETBALANCE']._serialized_end=1762 + _globals['_EVENTNOTSETTLEDMARKETBALANCE']._serialized_start=1764 + _globals['_EVENTNOTSETTLEDMARKETBALANCE']._serialized_end=1847 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1850 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=1993 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=1996 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=2132 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=2134 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=2245 + _globals['_EVENTNEWSPOTORDERS']._serialized_start=2248 + _globals['_EVENTNEWSPOTORDERS']._serialized_end=2449 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=2452 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=2671 + _globals['_EVENTCANCELSPOTORDER']._serialized_start=2673 + _globals['_EVENTCANCELSPOTORDER']._serialized_end=2796 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=2798 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2891 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2894 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=3189 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=3192 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=3420 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=3423 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=3755 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=3758 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=3909 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=3912 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=4064 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=4067 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=4244 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=4246 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=4355 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=4358 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=4557 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=4560 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=4855 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=4857 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=4960 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=4963 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=5189 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=5191 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=5308 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=5311 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=5492 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=5495 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=5782 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=5785 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=6036 + _globals['_EVENTORDERFAIL']._serialized_start=6038 + _globals['_EVENTORDERFAIL']._serialized_end=6146 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=6149 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=6297 + _globals['_EVENTORDERBOOKUPDATE']._serialized_start=6300 + _globals['_EVENTORDERBOOKUPDATE']._serialized_end=6494 + _globals['_ORDERBOOKUPDATE']._serialized_start=6496 + _globals['_ORDERBOOKUPDATE']._serialized_end=6600 + _globals['_ORDERBOOK']._serialized_start=6603 + _globals['_ORDERBOOK']._serialized_end=6777 + _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_start=6779 + _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_end=6903 + _globals['_EVENTGRANTACTIVATION']._serialized_start=6906 + _globals['_EVENTGRANTACTIVATION']._serialized_end=7035 + _globals['_EVENTINVALIDGRANT']._serialized_start=7037 + _globals['_EVENTINVALIDGRANT']._serialized_end=7108 + _globals['_EVENTORDERCANCELFAIL']._serialized_start=7111 + _globals['_EVENTORDERCANCELFAIL']._serialized_end=7282 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v2/events_pb2.py b/pyinjective/proto/injective/exchange/v2/events_pb2.py index 794c2485..7136a611 100644 --- a/pyinjective/proto/injective/exchange/v2/events_pb2.py +++ b/pyinjective/proto/injective/exchange/v2/events_pb2.py @@ -20,7 +20,7 @@ from pyinjective.proto.injective.exchange.v2 import order_pb2 as injective_dot_exchange_dot_v2_dot_order__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"injective/exchange/v2/events.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a$injective/exchange/v2/exchange.proto\x1a\"injective/exchange/v2/market.proto\x1a!injective/exchange/v2/order.proto\"\xd2\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12J\n\rexecutionType\x18\x03 \x01(\x0e\x32$.injective.exchange.v2.ExecutionTypeR\rexecutionType\x12\x37\n\x06trades\x18\x04 \x03(\x0b\x32\x1f.injective.exchange.v2.TradeLogR\x06trades\"\xdd\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12J\n\rexecutionType\x18\x05 \x01(\x0e\x32$.injective.exchange.v2.ExecutionTypeR\rexecutionType\x12\x41\n\x06trades\x18\x06 \x03(\x0b\x32).injective.exchange.v2.DerivativeTradeLogR\x06trades\"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels\"\x84\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12G\n\tpositions\x18\x02 \x03(\x0b\x32).injective.exchange.v2.SubaccountPositionR\tpositions\"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate\"P\n\x19\x45ventSettledMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"S\n\x1c\x45ventNotSettledMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds\"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate\"j\n\x1e\x45ventBinaryOptionsMarketUpdate\x12H\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market\"d\n\x1b\x45ventDerivativeMarketUpdate\x12\x45\n\x06market\x18\x01 \x01(\x0b\x32\'.injective.exchange.v2.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xbf\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x44\n\nbuy_orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v2.SpotLimitOrderR\tbuyOrders\x12\x46\n\x0bsell_orders\x18\x03 \x03(\x0b\x32%.injective.exchange.v2.SpotLimitOrderR\nsellOrders\"\xd1\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\nbuy_orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderR\tbuyOrders\x12L\n\x0bsell_orders\x18\x03 \x03(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderR\nsellOrders\"v\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v2.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"X\n\x15\x45ventSpotMarketUpdate\x12?\n\x06market\x18\x01 \x01(\x0b\x32!.injective.exchange.v2.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market\"\x98\x02\n\x1a\x45ventPerpetualMarketUpdate\x12\x45\n\x06market\x18\x01 \x01(\x0b\x32\'.injective.exchange.v2.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12\x64\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32*.injective.exchange.v2.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12M\n\x07\x66unding\x18\x03 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding\"\xda\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12\x45\n\x06market\x18\x01 \x01(\x0b\x32\'.injective.exchange.v2.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12q\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32..injective.exchange.v2.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo\"\xc7\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12M\n\x07\x66unding\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"h\n\x17\x45ventBatchDepositUpdate\x12M\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32$.injective.exchange.v2.DepositUpdateR\x0e\x64\x65positUpdates\"\xc2\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12U\n\x0cmarket_order\x18\x01 \x01(\x0b\x32,.injective.exchange.v2.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity\"\x9d\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12R\n\x0blimit_order\x18\x03 \x01(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12h\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x32.injective.exchange.v2.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel\"b\n\x18\x45ventFeeDiscountSchedule\x12\x46\n\x08schedule\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountScheduleR\x08schedule\"\xd8\x01\n EventTradingRewardCampaignUpdate\x12U\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12]\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools\"p\n\x1e\x45ventTradingRewardDistribution\x12N\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32%.injective.exchange.v2.AccountRewardsR\x0e\x61\x63\x63ountRewards\"\xb0\x01\n\"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12<\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket\"\x95\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12R\n\x0blimit_order\x18\x03 \x01(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12U\n\x0cmarket_order\x18\x04 \x01(\x0b\x32,.injective.exchange.v2.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid\"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids\"\x8f\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12`\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32*.injective.exchange.v2.MarketFeeMultiplierR\x14marketFeeMultipliers\"\xb8\x01\n\x14\x45ventOrderbookUpdate\x12I\n\x0cspot_updates\x18\x01 \x03(\x0b\x32&.injective.exchange.v2.OrderbookUpdateR\x0bspotUpdates\x12U\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32&.injective.exchange.v2.OrderbookUpdateR\x11\x64\x65rivativeUpdates\"c\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12>\n\torderbook\x18\x02 \x01(\x0b\x32 .injective.exchange.v2.OrderbookR\torderbook\"\xa4\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12;\n\nbuy_levels\x18\x02 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\tbuyLevels\x12=\n\x0bsell_levels\x18\x03 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\nsellLevels\"w\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x41\n\x06grants\x18\x02 \x03(\x0b\x32).injective.exchange.v2.GrantAuthorizationR\x06grants\"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\"\xfb\x01\n EventDerivativeOrdersV2Migration\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12[\n\x11\x62uy_order_changes\x18\x02 \x03(\x0b\x32/.injective.exchange.v2.DerivativeOrderV2ChangesR\x0f\x62uyOrderChanges\x12]\n\x12sell_order_changes\x18\x03 \x03(\x0b\x32/.injective.exchange.v2.DerivativeOrderV2ChangesR\x10sellOrderChanges\"\xc1\x02\n\x18\x44\x65rivativeOrderV2Changes\x12\x10\n\x03\x63id\x18\x01 \x01(\tR\x03\x63id\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\x12\x31\n\x01p\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\x12\x31\n\x01m\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01m\x12\x31\n\x01\x66\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01\x66\x12\x33\n\x02tp\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x02tp\"\xe9\x01\n\x1a\x45ventSpotOrdersV2Migration\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12U\n\x11\x62uy_order_changes\x18\x02 \x03(\x0b\x32).injective.exchange.v2.SpotOrderV2ChangesR\x0f\x62uyOrderChanges\x12W\n\x12sell_order_changes\x18\x03 \x03(\x0b\x32).injective.exchange.v2.SpotOrderV2ChangesR\x10sellOrderChanges\"\x82\x02\n(EventTriggerConditionalMarketOrderFailed\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x42\n\nmark_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12\x1d\n\norder_hash\x18\x04 \x01(\x0cR\torderHash\x12\x1f\n\x0btrigger_err\x18\x05 \x01(\tR\ntriggerErr\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"\x81\x02\n\'EventTriggerConditionalLimitOrderFailed\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x42\n\nmark_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12\x1d\n\norder_hash\x18\x04 \x01(\x0cR\torderHash\x12\x1f\n\x0btrigger_err\x18\x05 \x01(\tR\ntriggerErr\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"\x88\x02\n\x12SpotOrderV2Changes\x12\x10\n\x03\x63id\x18\x01 \x01(\tR\x03\x63id\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\x12\x31\n\x01p\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\x12\x31\n\x01\x66\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01\x66\x12\x33\n\x02tp\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x02tp\"k\n\"EventDerivativePositionV2Migration\x12\x45\n\x08position\x18\x01 \x01(\x0b\x32).injective.exchange.v2.DerivativePositionR\x08position\"\xe3\x01\n\x15\x45ventPositionTransfer\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantityB\xf1\x01\n\x19\x63om.injective.exchange.v2B\x0b\x45ventsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"injective/exchange/v2/events.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a$injective/exchange/v2/exchange.proto\x1a\"injective/exchange/v2/market.proto\x1a!injective/exchange/v2/order.proto\"\xd2\x01\n\x17\x45ventBatchSpotExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12J\n\rexecutionType\x18\x03 \x01(\x0e\x32$.injective.exchange.v2.ExecutionTypeR\rexecutionType\x12\x37\n\x06trades\x18\x04 \x03(\x0b\x32\x1f.injective.exchange.v2.TradeLogR\x06trades\"\xdd\x02\n\x1d\x45ventBatchDerivativeExecution\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12%\n\x0eis_liquidation\x18\x03 \x01(\x08R\risLiquidation\x12R\n\x12\x63umulative_funding\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12J\n\rexecutionType\x18\x05 \x01(\x0e\x32$.injective.exchange.v2.ExecutionTypeR\rexecutionType\x12\x41\n\x06trades\x18\x06 \x03(\x0b\x32).injective.exchange.v2.DerivativeTradeLogR\x06trades\"\xc2\x02\n\x1d\x45ventLostFundsFromLiquidation\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\x12\x65\n\x1dlost_funds_from_order_cancels\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19lostFundsFromOrderCancels\"\xe8\x01\n&EventLostFundsFromCrossPoolLiquidation\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0bquote_denom\x18\x02 \x01(\tR\nquoteDenom\x12x\n\'lost_funds_from_available_during_payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"lostFundsFromAvailableDuringPayout\"\x84\x01\n\x1c\x45ventBatchDerivativePosition\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12G\n\tpositions\x18\x02 \x03(\x0b\x32).injective.exchange.v2.SubaccountPositionR\tpositions\"\xbb\x01\n\x1b\x45ventDerivativeMarketPaused\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12.\n\x13total_missing_funds\x18\x03 \x01(\tR\x11totalMissingFunds\x12,\n\x12missing_funds_rate\x18\x04 \x01(\tR\x10missingFundsRate\"P\n\x19\x45ventSettledMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"S\n\x1c\x45ventNotSettledMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x16\n\x06\x61mount\x18\x02 \x01(\tR\x06\x61mount\"\x8f\x01\n\x1b\x45ventMarketBeyondBankruptcy\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12\x30\n\x14missing_market_funds\x18\x03 \x01(\tR\x12missingMarketFunds\"\x88\x01\n\x18\x45ventAllPositionsHaircut\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12!\n\x0csettle_price\x18\x02 \x01(\tR\x0bsettlePrice\x12,\n\x12missing_funds_rate\x18\x03 \x01(\tR\x10missingFundsRate\"j\n\x1e\x45ventBinaryOptionsMarketUpdate\x12H\n\x06market\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.BinaryOptionsMarketB\x04\xc8\xde\x1f\x00R\x06market\"d\n\x1b\x45ventDerivativeMarketUpdate\x12\x45\n\x06market\x18\x01 \x01(\x0b\x32\'.injective.exchange.v2.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\"\xbf\x01\n\x12\x45ventNewSpotOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x44\n\nbuy_orders\x18\x02 \x03(\x0b\x32%.injective.exchange.v2.SpotLimitOrderR\tbuyOrders\x12\x46\n\x0bsell_orders\x18\x03 \x03(\x0b\x32%.injective.exchange.v2.SpotLimitOrderR\nsellOrders\"\xd1\x01\n\x18\x45ventNewDerivativeOrders\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\nbuy_orders\x18\x02 \x03(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderR\tbuyOrders\x12L\n\x0bsell_orders\x18\x03 \x03(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderR\nsellOrders\"v\n\x14\x45ventCancelSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v2.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"X\n\x15\x45ventSpotMarketUpdate\x12?\n\x06market\x18\x01 \x01(\x0b\x32!.injective.exchange.v2.SpotMarketB\x04\xc8\xde\x1f\x00R\x06market\"\x98\x02\n\x1a\x45ventPerpetualMarketUpdate\x12\x45\n\x06market\x18\x01 \x01(\x0b\x32\'.injective.exchange.v2.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12\x64\n\x15perpetual_market_info\x18\x02 \x01(\x0b\x32*.injective.exchange.v2.PerpetualMarketInfoB\x04\xc8\xde\x1f\x01R\x13perpetualMarketInfo\x12M\n\x07\x66unding\x18\x03 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingB\x04\xc8\xde\x1f\x01R\x07\x66unding\"\xda\x01\n\x1e\x45ventExpiryFuturesMarketUpdate\x12\x45\n\x06market\x18\x01 \x01(\x0b\x32\'.injective.exchange.v2.DerivativeMarketB\x04\xc8\xde\x1f\x00R\x06market\x12q\n\x1a\x65xpiry_futures_market_info\x18\x03 \x01(\x0b\x32..injective.exchange.v2.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x01R\x17\x65xpiryFuturesMarketInfo\"\xc7\x02\n!EventPerpetualMarketFundingUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12M\n\x07\x66unding\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x07\x66unding\x12*\n\x11is_hourly_funding\x18\x03 \x01(\x08R\x0fisHourlyFunding\x12\x46\n\x0c\x66unding_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x66undingRate\x12\x42\n\nmark_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\"\x97\x01\n\x16\x45ventSubaccountDeposit\x12\x1f\n\x0bsrc_address\x18\x01 \x01(\tR\nsrcAddress\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x98\x01\n\x17\x45ventSubaccountWithdraw\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x1f\n\x0b\x64st_address\x18\x02 \x01(\tR\ndstAddress\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\xb1\x01\n\x1e\x45ventSubaccountBalanceTransfer\x12*\n\x11src_subaccount_id\x18\x01 \x01(\tR\x0fsrcSubaccountId\x12*\n\x11\x64st_subaccount_id\x18\x02 \x01(\tR\x0f\x64stSubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount\"\x9b\x02\n!EventSubaccountRiskProfileUpdated\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12]\n\x10previous_profile\x18\x02 \x01(\x0b\x32,.injective.exchange.v2.SubaccountRiskProfileB\x04\xc8\xde\x1f\x00R\x0fpreviousProfile\x12S\n\x0bnew_profile\x18\x03 \x01(\x0b\x32,.injective.exchange.v2.SubaccountRiskProfileB\x04\xc8\xde\x1f\x00R\nnewProfile\x12\x1d\n\nis_default\x18\x04 \x01(\x08R\tisDefault\"h\n\x17\x45ventBatchDepositUpdate\x12M\n\x0f\x64\x65posit_updates\x18\x01 \x03(\x0b\x32$.injective.exchange.v2.DepositUpdateR\x0e\x64\x65positUpdates\"\xc2\x01\n\x1b\x44\x65rivativeMarketOrderCancel\x12U\n\x0cmarket_order\x18\x01 \x01(\x0b\x32,.injective.exchange.v2.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\x12L\n\x0f\x63\x61ncel_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x63\x61ncelQuantity\"\x9d\x02\n\x1a\x45ventCancelDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12R\n\x0blimit_order\x18\x03 \x01(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12h\n\x13market_order_cancel\x18\x04 \x01(\x0b\x32\x32.injective.exchange.v2.DerivativeMarketOrderCancelB\x04\xc8\xde\x1f\x01R\x11marketOrderCancel\"b\n\x18\x45ventFeeDiscountSchedule\x12\x46\n\x08schedule\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountScheduleR\x08schedule\"\xd8\x01\n EventTradingRewardCampaignUpdate\x12U\n\rcampaign_info\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12]\n\x15\x63\x61mpaign_reward_pools\x18\x02 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools\"p\n\x1e\x45ventTradingRewardDistribution\x12N\n\x0f\x61\x63\x63ount_rewards\x18\x01 \x03(\x0b\x32%.injective.exchange.v2.AccountRewardsR\x0e\x61\x63\x63ountRewards\"\xb0\x01\n\"EventNewConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12<\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderR\x05order\x12\x12\n\x04hash\x18\x03 \x01(\x0cR\x04hash\x12\x1b\n\tis_market\x18\x04 \x01(\x08R\x08isMarket\"\x95\x02\n%EventCancelConditionalDerivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12$\n\risLimitCancel\x18\x02 \x01(\x08R\risLimitCancel\x12R\n\x0blimit_order\x18\x03 \x01(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderB\x04\xc8\xde\x1f\x01R\nlimitOrder\x12U\n\x0cmarket_order\x18\x04 \x01(\x0b\x32,.injective.exchange.v2.DerivativeMarketOrderB\x04\xc8\xde\x1f\x01R\x0bmarketOrder\"\xfb\x01\n&EventConditionalDerivativeOrderTrigger\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12&\n\x0eisLimitTrigger\x18\x02 \x01(\x08R\x0eisLimitTrigger\x12\x30\n\x14triggered_order_hash\x18\x03 \x01(\x0cR\x12triggeredOrderHash\x12*\n\x11placed_order_hash\x18\x04 \x01(\x0cR\x0fplacedOrderHash\x12.\n\x13triggered_order_cid\x18\x05 \x01(\tR\x11triggeredOrderCid\"l\n\x0e\x45ventOrderFail\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0cR\x07\x61\x63\x63ount\x12\x16\n\x06hashes\x18\x02 \x03(\x0cR\x06hashes\x12\x14\n\x05\x66lags\x18\x03 \x03(\rR\x05\x66lags\x12\x12\n\x04\x63ids\x18\x04 \x03(\tR\x04\x63ids\"\x8f\x01\n+EventAtomicMarketOrderFeeMultipliersUpdated\x12`\n\x16market_fee_multipliers\x18\x01 \x03(\x0b\x32*.injective.exchange.v2.MarketFeeMultiplierR\x14marketFeeMultipliers\"\xb8\x01\n\x14\x45ventOrderbookUpdate\x12I\n\x0cspot_updates\x18\x01 \x03(\x0b\x32&.injective.exchange.v2.OrderbookUpdateR\x0bspotUpdates\x12U\n\x12\x64\x65rivative_updates\x18\x02 \x03(\x0b\x32&.injective.exchange.v2.OrderbookUpdateR\x11\x64\x65rivativeUpdates\"c\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12>\n\torderbook\x18\x02 \x01(\x0b\x32 .injective.exchange.v2.OrderbookR\torderbook\"\xa4\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\x0cR\x08marketId\x12;\n\nbuy_levels\x18\x02 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\tbuyLevels\x12=\n\x0bsell_levels\x18\x03 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\nsellLevels\"w\n\x18\x45ventGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x41\n\x06grants\x18\x02 \x03(\x0b\x32).injective.exchange.v2.GrantAuthorizationR\x06grants\"\x81\x01\n\x14\x45ventGrantActivation\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"G\n\x11\x45ventInvalidGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter\"\xab\x01\n\x14\x45ventOrderCancelFail\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\"\xfb\x01\n EventDerivativeOrdersV2Migration\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12[\n\x11\x62uy_order_changes\x18\x02 \x03(\x0b\x32/.injective.exchange.v2.DerivativeOrderV2ChangesR\x0f\x62uyOrderChanges\x12]\n\x12sell_order_changes\x18\x03 \x03(\x0b\x32/.injective.exchange.v2.DerivativeOrderV2ChangesR\x10sellOrderChanges\"\xc1\x02\n\x18\x44\x65rivativeOrderV2Changes\x12\x10\n\x03\x63id\x18\x01 \x01(\tR\x03\x63id\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\x12\x31\n\x01p\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\x12\x31\n\x01m\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01m\x12\x31\n\x01\x66\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01\x66\x12\x33\n\x02tp\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x02tp\"\xe9\x01\n\x1a\x45ventSpotOrdersV2Migration\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12U\n\x11\x62uy_order_changes\x18\x02 \x03(\x0b\x32).injective.exchange.v2.SpotOrderV2ChangesR\x0f\x62uyOrderChanges\x12W\n\x12sell_order_changes\x18\x03 \x03(\x0b\x32).injective.exchange.v2.SpotOrderV2ChangesR\x10sellOrderChanges\"\x82\x02\n(EventTriggerConditionalMarketOrderFailed\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x42\n\nmark_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12\x1d\n\norder_hash\x18\x04 \x01(\x0cR\torderHash\x12\x1f\n\x0btrigger_err\x18\x05 \x01(\tR\ntriggerErr\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"\x81\x02\n\'EventTriggerConditionalLimitOrderFailed\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x42\n\nmark_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12\x1d\n\norder_hash\x18\x04 \x01(\x0cR\torderHash\x12\x1f\n\x0btrigger_err\x18\x05 \x01(\tR\ntriggerErr\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"\x88\x02\n\x12SpotOrderV2Changes\x12\x10\n\x03\x63id\x18\x01 \x01(\tR\x03\x63id\x12\x12\n\x04hash\x18\x02 \x01(\x0cR\x04hash\x12\x31\n\x01p\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\x12\x31\n\x01\x66\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01\x66\x12\x33\n\x02tp\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x02tp\"k\n\"EventDerivativePositionV2Migration\x12\x45\n\x08position\x18\x01 \x01(\x0b\x32).injective.exchange.v2.DerivativePositionR\x08position\"\xe3\x01\n\x15\x45ventPositionTransfer\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantityB\xf1\x01\n\x19\x63om.injective.exchange.v2B\x0b\x45ventsProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,6 +34,8 @@ _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._loaded_options = None _globals['_EVENTLOSTFUNDSFROMLIQUIDATION'].fields_by_name['lost_funds_from_order_cancels']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTLOSTFUNDSFROMCROSSPOOLLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._loaded_options = None + _globals['_EVENTLOSTFUNDSFROMCROSSPOOLLIQUIDATION'].fields_by_name['lost_funds_from_available_during_payout']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._loaded_options = None _globals['_EVENTBINARYOPTIONSMARKETUPDATE'].fields_by_name['market']._serialized_options = b'\310\336\037\000' _globals['_EVENTDERIVATIVEMARKETUPDATE'].fields_by_name['market']._loaded_options = None @@ -64,6 +66,10 @@ _globals['_EVENTSUBACCOUNTWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._loaded_options = None _globals['_EVENTSUBACCOUNTBALANCETRANSFER'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSUBACCOUNTRISKPROFILEUPDATED'].fields_by_name['previous_profile']._loaded_options = None + _globals['_EVENTSUBACCOUNTRISKPROFILEUPDATED'].fields_by_name['previous_profile']._serialized_options = b'\310\336\037\000' + _globals['_EVENTSUBACCOUNTRISKPROFILEUPDATED'].fields_by_name['new_profile']._loaded_options = None + _globals['_EVENTSUBACCOUNTRISKPROFILEUPDATED'].fields_by_name['new_profile']._serialized_options = b'\310\336\037\000' _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._loaded_options = None _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['market_order']._serialized_options = b'\310\336\037\001' _globals['_DERIVATIVEMARKETORDERCANCEL'].fields_by_name['cancel_quantity']._loaded_options = None @@ -108,92 +114,96 @@ _globals['_EVENTBATCHDERIVATIVEEXECUTION']._serialized_end=826 _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_start=829 _globals['_EVENTLOSTFUNDSFROMLIQUIDATION']._serialized_end=1151 - _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=1154 - _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1286 - _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1289 - _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1476 - _globals['_EVENTSETTLEDMARKETBALANCE']._serialized_start=1478 - _globals['_EVENTSETTLEDMARKETBALANCE']._serialized_end=1558 - _globals['_EVENTNOTSETTLEDMARKETBALANCE']._serialized_start=1560 - _globals['_EVENTNOTSETTLEDMARKETBALANCE']._serialized_end=1643 - _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1646 - _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=1789 - _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=1792 - _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=1928 - _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=1930 - _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=2036 - _globals['_EVENTDERIVATIVEMARKETUPDATE']._serialized_start=2038 - _globals['_EVENTDERIVATIVEMARKETUPDATE']._serialized_end=2138 - _globals['_EVENTNEWSPOTORDERS']._serialized_start=2141 - _globals['_EVENTNEWSPOTORDERS']._serialized_end=2332 - _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=2335 - _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=2544 - _globals['_EVENTCANCELSPOTORDER']._serialized_start=2546 - _globals['_EVENTCANCELSPOTORDER']._serialized_end=2664 - _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=2666 - _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2754 - _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2757 - _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=3037 - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=3040 - _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=3258 - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=3261 - _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=3588 - _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=3591 - _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=3742 - _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=3745 - _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=3897 - _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=3900 - _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=4077 - _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=4079 - _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=4183 - _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=4186 - _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=4380 - _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=4383 - _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=4668 - _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=4670 - _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=4768 - _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=4771 - _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=4987 - _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=4989 - _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=5101 - _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=5104 - _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=5280 - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=5283 - _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=5560 - _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=5563 - _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=5814 - _globals['_EVENTORDERFAIL']._serialized_start=5816 - _globals['_EVENTORDERFAIL']._serialized_end=5924 - _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=5927 - _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=6070 - _globals['_EVENTORDERBOOKUPDATE']._serialized_start=6073 - _globals['_EVENTORDERBOOKUPDATE']._serialized_end=6257 - _globals['_ORDERBOOKUPDATE']._serialized_start=6259 - _globals['_ORDERBOOKUPDATE']._serialized_end=6358 - _globals['_ORDERBOOK']._serialized_start=6361 - _globals['_ORDERBOOK']._serialized_end=6525 - _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_start=6527 - _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_end=6646 - _globals['_EVENTGRANTACTIVATION']._serialized_start=6649 - _globals['_EVENTGRANTACTIVATION']._serialized_end=6778 - _globals['_EVENTINVALIDGRANT']._serialized_start=6780 - _globals['_EVENTINVALIDGRANT']._serialized_end=6851 - _globals['_EVENTORDERCANCELFAIL']._serialized_start=6854 - _globals['_EVENTORDERCANCELFAIL']._serialized_end=7025 - _globals['_EVENTDERIVATIVEORDERSV2MIGRATION']._serialized_start=7028 - _globals['_EVENTDERIVATIVEORDERSV2MIGRATION']._serialized_end=7279 - _globals['_DERIVATIVEORDERV2CHANGES']._serialized_start=7282 - _globals['_DERIVATIVEORDERV2CHANGES']._serialized_end=7603 - _globals['_EVENTSPOTORDERSV2MIGRATION']._serialized_start=7606 - _globals['_EVENTSPOTORDERSV2MIGRATION']._serialized_end=7839 - _globals['_EVENTTRIGGERCONDITIONALMARKETORDERFAILED']._serialized_start=7842 - _globals['_EVENTTRIGGERCONDITIONALMARKETORDERFAILED']._serialized_end=8100 - _globals['_EVENTTRIGGERCONDITIONALLIMITORDERFAILED']._serialized_start=8103 - _globals['_EVENTTRIGGERCONDITIONALLIMITORDERFAILED']._serialized_end=8360 - _globals['_SPOTORDERV2CHANGES']._serialized_start=8363 - _globals['_SPOTORDERV2CHANGES']._serialized_end=8627 - _globals['_EVENTDERIVATIVEPOSITIONV2MIGRATION']._serialized_start=8629 - _globals['_EVENTDERIVATIVEPOSITIONV2MIGRATION']._serialized_end=8736 - _globals['_EVENTPOSITIONTRANSFER']._serialized_start=8739 - _globals['_EVENTPOSITIONTRANSFER']._serialized_end=8966 + _globals['_EVENTLOSTFUNDSFROMCROSSPOOLLIQUIDATION']._serialized_start=1154 + _globals['_EVENTLOSTFUNDSFROMCROSSPOOLLIQUIDATION']._serialized_end=1386 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_start=1389 + _globals['_EVENTBATCHDERIVATIVEPOSITION']._serialized_end=1521 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_start=1524 + _globals['_EVENTDERIVATIVEMARKETPAUSED']._serialized_end=1711 + _globals['_EVENTSETTLEDMARKETBALANCE']._serialized_start=1713 + _globals['_EVENTSETTLEDMARKETBALANCE']._serialized_end=1793 + _globals['_EVENTNOTSETTLEDMARKETBALANCE']._serialized_start=1795 + _globals['_EVENTNOTSETTLEDMARKETBALANCE']._serialized_end=1878 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_start=1881 + _globals['_EVENTMARKETBEYONDBANKRUPTCY']._serialized_end=2024 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_start=2027 + _globals['_EVENTALLPOSITIONSHAIRCUT']._serialized_end=2163 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_start=2165 + _globals['_EVENTBINARYOPTIONSMARKETUPDATE']._serialized_end=2271 + _globals['_EVENTDERIVATIVEMARKETUPDATE']._serialized_start=2273 + _globals['_EVENTDERIVATIVEMARKETUPDATE']._serialized_end=2373 + _globals['_EVENTNEWSPOTORDERS']._serialized_start=2376 + _globals['_EVENTNEWSPOTORDERS']._serialized_end=2567 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_start=2570 + _globals['_EVENTNEWDERIVATIVEORDERS']._serialized_end=2779 + _globals['_EVENTCANCELSPOTORDER']._serialized_start=2781 + _globals['_EVENTCANCELSPOTORDER']._serialized_end=2899 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_start=2901 + _globals['_EVENTSPOTMARKETUPDATE']._serialized_end=2989 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_start=2992 + _globals['_EVENTPERPETUALMARKETUPDATE']._serialized_end=3272 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_start=3275 + _globals['_EVENTEXPIRYFUTURESMARKETUPDATE']._serialized_end=3493 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_start=3496 + _globals['_EVENTPERPETUALMARKETFUNDINGUPDATE']._serialized_end=3823 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_start=3826 + _globals['_EVENTSUBACCOUNTDEPOSIT']._serialized_end=3977 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_start=3980 + _globals['_EVENTSUBACCOUNTWITHDRAW']._serialized_end=4132 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_start=4135 + _globals['_EVENTSUBACCOUNTBALANCETRANSFER']._serialized_end=4312 + _globals['_EVENTSUBACCOUNTRISKPROFILEUPDATED']._serialized_start=4315 + _globals['_EVENTSUBACCOUNTRISKPROFILEUPDATED']._serialized_end=4598 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_start=4600 + _globals['_EVENTBATCHDEPOSITUPDATE']._serialized_end=4704 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_start=4707 + _globals['_DERIVATIVEMARKETORDERCANCEL']._serialized_end=4901 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_start=4904 + _globals['_EVENTCANCELDERIVATIVEORDER']._serialized_end=5189 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_start=5191 + _globals['_EVENTFEEDISCOUNTSCHEDULE']._serialized_end=5289 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=5292 + _globals['_EVENTTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=5508 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_start=5510 + _globals['_EVENTTRADINGREWARDDISTRIBUTION']._serialized_end=5622 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_start=5625 + _globals['_EVENTNEWCONDITIONALDERIVATIVEORDER']._serialized_end=5801 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_start=5804 + _globals['_EVENTCANCELCONDITIONALDERIVATIVEORDER']._serialized_end=6081 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_start=6084 + _globals['_EVENTCONDITIONALDERIVATIVEORDERTRIGGER']._serialized_end=6335 + _globals['_EVENTORDERFAIL']._serialized_start=6337 + _globals['_EVENTORDERFAIL']._serialized_end=6445 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_start=6448 + _globals['_EVENTATOMICMARKETORDERFEEMULTIPLIERSUPDATED']._serialized_end=6591 + _globals['_EVENTORDERBOOKUPDATE']._serialized_start=6594 + _globals['_EVENTORDERBOOKUPDATE']._serialized_end=6778 + _globals['_ORDERBOOKUPDATE']._serialized_start=6780 + _globals['_ORDERBOOKUPDATE']._serialized_end=6879 + _globals['_ORDERBOOK']._serialized_start=6882 + _globals['_ORDERBOOK']._serialized_end=7046 + _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_start=7048 + _globals['_EVENTGRANTAUTHORIZATIONS']._serialized_end=7167 + _globals['_EVENTGRANTACTIVATION']._serialized_start=7170 + _globals['_EVENTGRANTACTIVATION']._serialized_end=7299 + _globals['_EVENTINVALIDGRANT']._serialized_start=7301 + _globals['_EVENTINVALIDGRANT']._serialized_end=7372 + _globals['_EVENTORDERCANCELFAIL']._serialized_start=7375 + _globals['_EVENTORDERCANCELFAIL']._serialized_end=7546 + _globals['_EVENTDERIVATIVEORDERSV2MIGRATION']._serialized_start=7549 + _globals['_EVENTDERIVATIVEORDERSV2MIGRATION']._serialized_end=7800 + _globals['_DERIVATIVEORDERV2CHANGES']._serialized_start=7803 + _globals['_DERIVATIVEORDERV2CHANGES']._serialized_end=8124 + _globals['_EVENTSPOTORDERSV2MIGRATION']._serialized_start=8127 + _globals['_EVENTSPOTORDERSV2MIGRATION']._serialized_end=8360 + _globals['_EVENTTRIGGERCONDITIONALMARKETORDERFAILED']._serialized_start=8363 + _globals['_EVENTTRIGGERCONDITIONALMARKETORDERFAILED']._serialized_end=8621 + _globals['_EVENTTRIGGERCONDITIONALLIMITORDERFAILED']._serialized_start=8624 + _globals['_EVENTTRIGGERCONDITIONALLIMITORDERFAILED']._serialized_end=8881 + _globals['_SPOTORDERV2CHANGES']._serialized_start=8884 + _globals['_SPOTORDERV2CHANGES']._serialized_end=9148 + _globals['_EVENTDERIVATIVEPOSITIONV2MIGRATION']._serialized_start=9150 + _globals['_EVENTDERIVATIVEPOSITIONV2MIGRATION']._serialized_end=9257 + _globals['_EVENTPOSITIONTRANSFER']._serialized_start=9260 + _globals['_EVENTPOSITIONTRANSFER']._serialized_end=9487 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v2/exchange_pb2.py b/pyinjective/proto/injective/exchange/v2/exchange_pb2.py index a196d6e4..697ed570 100644 --- a/pyinjective/proto/injective/exchange/v2/exchange_pb2.py +++ b/pyinjective/proto/injective/exchange/v2/exchange_pb2.py @@ -21,7 +21,7 @@ from pyinjective.proto.injective.exchange.v2 import order_pb2 as injective_dot_exchange_dot_v2_dot_order__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/exchange/v2/exchange.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\"injective/exchange/v2/market.proto\x1a!injective/exchange/v2/order.proto\"\x9d\x01\n\x1c\x45nforcedRestrictionsContract\x12\x43\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0f\x63ontractAddress\x12\x32\n\x15pause_event_signature\x18\x02 \x01(\tR\x13pauseEventSignature:\x04\xe8\xa0\x1f\x01\"\xe8\x1b\n\x06Params\x12\x65\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x1bspotMarketInstantListingFee\x12q\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R!derivativeMarketInstantListingFee\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotMakerFeeRate\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotTakerFeeRate\x12m\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeMakerFeeRate\x12m\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeTakerFeeRate\x12\x64\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultInitialMarginRatio\x12l\n default_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultMaintenanceMarginRatio\x12\x38\n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03R\x16\x64\x65\x66\x61ultFundingInterval\x12)\n\x10\x66unding_multiple\x18\n \x01(\x03R\x0f\x66undingMultiple\x12X\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12i\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x64\x65\x66\x61ultHourlyFundingRateCap\x12\x64\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultHourlyInterestRate\x12\x44\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\rR\x1bmaxDerivativeOrderSideCount\x12s\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR#injRewardStakedRequirementThreshold\x12G\n trading_rewards_vesting_duration\x18\x10 \x01(\x03R\x1dtradingRewardsVestingDuration\x12\x64\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19liquidatorRewardShareRate\x12x\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R$binaryOptionsMarketInstantListingFee\x12{\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x33.injective.exchange.v2.AtomicMarketOrderAccessLevelR\x1c\x61tomicMarketOrderAccessLevel\x12x\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"spotAtomicMarketOrderFeeMultiplier\x12\x84\x01\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR(derivativeAtomicMarketOrderFeeMultiplier\x12\x8b\x01\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR+binaryOptionsAtomicMarketOrderFeeMultiplier\x12^\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16minimalProtocolFeeRate\x12[\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08R&isInstantDerivativeMarketLaunchEnabled\x12\x44\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03R\x1bpostOnlyModeHeightThreshold\x12g\n1margin_decrease_price_timestamp_threshold_seconds\x18\x1a \x01(\x03R,marginDecreasePriceTimestampThresholdSeconds\x12\'\n\x0f\x65xchange_admins\x18\x1b \x03(\tR\x0e\x65xchangeAdmins\x12N\n\x13inj_auction_max_cap\x18\x1c \x01(\tB\x1f\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10injAuctionMaxCap\x12*\n\x11\x66ixed_gas_enabled\x18\x1d \x01(\x08R\x0f\x66ixedGasEnabled\x12;\n\x1a\x65mit_legacy_version_events\x18\x1e \x01(\x08R\x17\x65mitLegacyVersionEvents\x12\x62\n\x1b\x64\x65\x66\x61ult_reduce_margin_ratio\x18\x1f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x64\x65\x66\x61ultReduceMarginRatio\x12>\n\x1cpost_only_mode_blocks_amount\x18! \x01(\x04R\x18postOnlyModeBlocksAmount\x12M\n$min_post_only_mode_downtime_duration\x18\" \x01(\tR\x1fminPostOnlyModeDowntimeDuration\x12Z\n+post_only_mode_blocks_amount_after_downtime\x18# \x01(\x04R%postOnlyModeBlocksAmountAfterDowntime\x12\x96\x01\n*deprecated_enforced_restrictions_contracts\x18$ \x03(\x0b\x32\x33.injective.exchange.v2.EnforcedRestrictionsContractB\x04\xc8\xde\x1f\x00R\'deprecatedEnforcedRestrictionsContracts\x12\x38\n\x18white_knight_liquidators\x18% \x03(\tR\x16whiteKnightLiquidators\x12|\n)white_knight_liquidator_reward_share_rate\x18& \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR$whiteKnightLiquidatorRewardShareRate:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x65xchange/ParamsJ\x04\x08 \x10!\"=\n\x14NextFundingTimestamp\x12%\n\x0enext_timestamp\x18\x01 \x01(\x03R\rnextTimestamp\"\xea\x01\n\x0eMidPriceAndTOB\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xa5\x01\n\x07\x44\x65posit\x12P\n\x11\x61vailable_balance\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10\x61vailableBalance\x12H\n\rtotal_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctotalBalance\",\n\x14SubaccountTradeNonce\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\xc3\x01\n\x0fSubaccountOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\"\n\x0cisReduceOnly\x18\x03 \x01(\x08R\x0cisReduceOnly\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\"r\n\x13SubaccountOrderData\x12<\n\x05order\x18\x01 \x01(\x0b\x32&.injective.exchange.v2.SubaccountOrderR\x05order\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\"\xc5\x02\n\x08Position\x12\x16\n\x06isLong\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"\x8a\x01\n\x07\x42\x61lance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12:\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositR\x08\x64\x65posits:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9d\x01\n\x12\x44\x65rivativePosition\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12;\n\x08position\x18\x03 \x01(\x0b\x32\x1f.injective.exchange.v2.PositionR\x08position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"I\n\x14MarketOrderIndicator\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x02 \x01(\x08R\x05isBuy\"\xcd\x02\n\x08TradeLog\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x03 \x01(\x0cR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"\x9a\x02\n\rPositionDelta\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12R\n\x12\x65xecution_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65xecutionQuantity\x12N\n\x10\x65xecution_margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65xecutionMargin\x12L\n\x0f\x65xecution_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65xecutionPrice\"\x9c\x03\n\x12\x44\x65rivativeTradeLog\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12K\n\x0eposition_delta\x18\x02 \x01(\x0b\x32$.injective.exchange.v2.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\x12\x35\n\x03pnl\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03pnl\"v\n\x12SubaccountPosition\x12;\n\x08position\x18\x01 \x01(\x0b\x32\x1f.injective.exchange.v2.PositionR\x08position\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\"r\n\x11SubaccountDeposit\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x38\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositR\x07\x64\x65posit\"k\n\rDepositUpdate\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x44\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32(.injective.exchange.v2.SubaccountDepositR\x08\x64\x65posits\"\xcc\x01\n\x10PointsMultiplier\x12[\n\x17maker_points_multiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15makerPointsMultiplier\x12[\n\x17taker_points_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15takerPointsMultiplier\"\xf4\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x35\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\tR\x14\x62oostedSpotMarketIds\x12\x65\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32\'.injective.exchange.v2.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x15spotMarketMultipliers\x12\x41\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\tR\x1a\x62oostedDerivativeMarketIds\x12q\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32\'.injective.exchange.v2.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x1b\x64\x65rivativeMarketMultipliers\"\xbc\x01\n\x12\x43\x61mpaignRewardPool\x12\'\n\x0fstart_timestamp\x18\x01 \x01(\x03R\x0estartTimestamp\x12}\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x12maxCampaignRewards\"\xa4\x02\n\x19TradingRewardCampaignInfo\x12:\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03R\x17\x63\x61mpaignDurationSeconds\x12!\n\x0cquote_denoms\x18\x02 \x03(\tR\x0bquoteDenoms\x12p\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v2.TradingRewardCampaignBoostInfoR\x16tradingRewardBoostInfo\x12\x36\n\x17\x64isqualified_market_ids\x18\x04 \x03(\tR\x15\x64isqualifiedMarketIds\"\xc0\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12S\n\x13maker_discount_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11makerDiscountRate\x12S\n\x13taker_discount_rate\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11takerDiscountRate\x12\x42\n\rstaked_amount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0cstakedAmount\x12;\n\x06volume\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"\x87\x02\n\x13\x46\x65\x65\x44iscountSchedule\x12!\n\x0c\x62ucket_count\x18\x01 \x01(\x04R\x0b\x62ucketCount\x12\'\n\x0f\x62ucket_duration\x18\x02 \x01(\x03R\x0e\x62ucketDuration\x12!\n\x0cquote_denoms\x18\x03 \x03(\tR\x0bquoteDenoms\x12I\n\ntier_infos\x18\x04 \x03(\x0b\x32*.injective.exchange.v2.FeeDiscountTierInfoR\ttierInfos\x12\x36\n\x17\x64isqualified_market_ids\x18\x05 \x03(\tR\x15\x64isqualifiedMarketIds\"M\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12#\n\rttl_timestamp\x18\x02 \x01(\x03R\x0cttlTimestamp\"\x91\x01\n\x0e\x41\x63\x63ountRewards\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x65\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x07rewards\"\x81\x01\n\x0cTradeRecords\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12T\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\".injective.exchange.v2.TradeRecordR\x12latestTradeRecords\"6\n\rSubaccountIDs\x12%\n\x0esubaccount_ids\x18\x01 \x03(\x0cR\rsubaccountIds\"\xa7\x01\n\x0bTradeRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"m\n\x05Level\x12\x31\n\x01p\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\"\x92\x01\n\x1f\x41ggregateSubaccountVolumeRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12J\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\rmarketVolumes\"\x84\x01\n\x1c\x41ggregateAccountVolumeRecord\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12J\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\rmarketVolumes\"A\n\rDenomDecimals\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04R\x08\x64\x65\x63imals\"e\n\x12GrantAuthorization\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"^\n\x0b\x41\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"\x90\x01\n\x0e\x45\x66\x66\x65\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12I\n\x11net_granted_stake\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0fnetGrantedStake\x12\x19\n\x08is_valid\x18\x03 \x01(\x08R\x07isValid\"p\n\x10\x44\x65nomMinNotional\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\x0cmin_notional\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional*\xd6\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\x12\x16\n\x12OffsettingPosition\x10\x07\x12\r\n\tSynthetic\x10\x08\x42\xf3\x01\n\x19\x63om.injective.exchange.v2B\rExchangeProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/exchange/v2/exchange.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\"injective/exchange/v2/market.proto\x1a!injective/exchange/v2/order.proto\"\x9d\x01\n\x1c\x45nforcedRestrictionsContract\x12\x43\n\x10\x63ontract_address\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\x0f\x63ontractAddress\x12\x32\n\x15pause_event_signature\x18\x02 \x01(\tR\x13pauseEventSignature:\x04\xe8\xa0\x1f\x01\"\xc8\x1c\n\x06Params\x12\x65\n\x1fspot_market_instant_listing_fee\x18\x01 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x1bspotMarketInstantListingFee\x12q\n%derivative_market_instant_listing_fee\x18\x02 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R!derivativeMarketInstantListingFee\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_maker_fee_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotMakerFeeRate\x12\x61\n\x1b\x64\x65\x66\x61ult_spot_taker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17\x64\x65\x66\x61ultSpotTakerFeeRate\x12m\n!default_derivative_maker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeMakerFeeRate\x12m\n!default_derivative_taker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultDerivativeTakerFeeRate\x12\x64\n\x1c\x64\x65\x66\x61ult_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultInitialMarginRatio\x12l\n default_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1d\x64\x65\x66\x61ultMaintenanceMarginRatio\x12\x38\n\x18\x64\x65\x66\x61ult_funding_interval\x18\t \x01(\x03R\x16\x64\x65\x66\x61ultFundingInterval\x12)\n\x10\x66unding_multiple\x18\n \x01(\x03R\x0f\x66undingMultiple\x12X\n\x16relayer_fee_share_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12i\n\x1f\x64\x65\x66\x61ult_hourly_funding_rate_cap\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1b\x64\x65\x66\x61ultHourlyFundingRateCap\x12\x64\n\x1c\x64\x65\x66\x61ult_hourly_interest_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19\x64\x65\x66\x61ultHourlyInterestRate\x12\x44\n\x1fmax_derivative_order_side_count\x18\x0e \x01(\rR\x1bmaxDerivativeOrderSideCount\x12s\n\'inj_reward_staked_requirement_threshold\x18\x0f \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR#injRewardStakedRequirementThreshold\x12G\n trading_rewards_vesting_duration\x18\x10 \x01(\x03R\x1dtradingRewardsVestingDuration\x12\x64\n\x1cliquidator_reward_share_rate\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19liquidatorRewardShareRate\x12x\n)binary_options_market_instant_listing_fee\x18\x12 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R$binaryOptionsMarketInstantListingFee\x12{\n atomic_market_order_access_level\x18\x13 \x01(\x0e\x32\x33.injective.exchange.v2.AtomicMarketOrderAccessLevelR\x1c\x61tomicMarketOrderAccessLevel\x12x\n\'spot_atomic_market_order_fee_multiplier\x18\x14 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"spotAtomicMarketOrderFeeMultiplier\x12\x84\x01\n-derivative_atomic_market_order_fee_multiplier\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR(derivativeAtomicMarketOrderFeeMultiplier\x12\x8b\x01\n1binary_options_atomic_market_order_fee_multiplier\x18\x16 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR+binaryOptionsAtomicMarketOrderFeeMultiplier\x12^\n\x19minimal_protocol_fee_rate\x18\x17 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16minimalProtocolFeeRate\x12[\n+is_instant_derivative_market_launch_enabled\x18\x18 \x01(\x08R&isInstantDerivativeMarketLaunchEnabled\x12\x44\n\x1fpost_only_mode_height_threshold\x18\x19 \x01(\x03R\x1bpostOnlyModeHeightThreshold\x12g\n1margin_decrease_price_timestamp_threshold_seconds\x18\x1a \x01(\x03R,marginDecreasePriceTimestampThresholdSeconds\x12\'\n\x0f\x65xchange_admins\x18\x1b \x03(\tR\x0e\x65xchangeAdmins\x12N\n\x13inj_auction_max_cap\x18\x1c \x01(\tB\x1f\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10injAuctionMaxCap\x12*\n\x11\x66ixed_gas_enabled\x18\x1d \x01(\x08R\x0f\x66ixedGasEnabled\x12;\n\x1a\x65mit_legacy_version_events\x18\x1e \x01(\x08R\x17\x65mitLegacyVersionEvents\x12\x62\n\x1b\x64\x65\x66\x61ult_reduce_margin_ratio\x18\x1f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x64\x65\x66\x61ultReduceMarginRatio\x12>\n\x1cpost_only_mode_blocks_amount\x18! \x01(\x04R\x18postOnlyModeBlocksAmount\x12M\n$min_post_only_mode_downtime_duration\x18\" \x01(\tR\x1fminPostOnlyModeDowntimeDuration\x12Z\n+post_only_mode_blocks_amount_after_downtime\x18# \x01(\x04R%postOnlyModeBlocksAmountAfterDowntime\x12\x96\x01\n*deprecated_enforced_restrictions_contracts\x18$ \x03(\x0b\x32\x33.injective.exchange.v2.EnforcedRestrictionsContractB\x04\xc8\xde\x1f\x00R\'deprecatedEnforcedRestrictionsContracts\x12\x38\n\x18white_knight_liquidators\x18% \x03(\tR\x16whiteKnightLiquidators\x12|\n)white_knight_liquidator_reward_share_rate\x18& \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR$whiteKnightLiquidatorRewardShareRate\x12^\n\x13\x63ross_margin_params\x18\' \x01(\x0b\x32(.injective.exchange.v2.CrossMarginParamsB\x04\xc8\xde\x1f\x00R\x11\x63rossMarginParams:\x18\xe8\xa0\x1f\x01\x8a\xe7\xb0*\x0f\x65xchange/ParamsJ\x04\x08 \x10!\"\xc5\x03\n\x11\x43rossMarginParams\x12`\n\x1apositive_upnl_haircut_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17positiveUpnlHaircutRate\x12\x44\n\x0b\x66\x65\x65s_buffer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nfeesBuffer\x12\x30\n\x14\x65nabled_quote_denoms\x18\x03 \x03(\tR\x12\x65nabledQuoteDenoms\x12+\n\x11perpetual_enabled\x18\x04 \x01(\x08R\x10perpetualEnabled\x12%\n\x0e\x65xpiry_enabled\x18\x05 \x01(\x08R\rexpiryEnabled\x12Q\n&max_active_derivative_markets_per_pool\x18\x06 \x01(\rR!maxActiveDerivativeMarketsPerPool\x12)\n\x10\x65mergency_paused\x18\x07 \x01(\x08R\x0f\x65mergencyPaused:\x04\xe8\xa0\x1f\x01\"=\n\x14NextFundingTimestamp\x12%\n\x0enext_timestamp\x18\x01 \x01(\x03R\rnextTimestamp\"\xea\x01\n\x0eMidPriceAndTOB\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xa5\x01\n\x07\x44\x65posit\x12P\n\x11\x61vailable_balance\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10\x61vailableBalance\x12H\n\rtotal_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctotalBalance\",\n\x14SubaccountTradeNonce\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\xc3\x01\n\x0fSubaccountOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\"\n\x0cisReduceOnly\x18\x03 \x01(\x08R\x0cisReduceOnly\x12\x10\n\x03\x63id\x18\x04 \x01(\tR\x03\x63id\"r\n\x13SubaccountOrderData\x12<\n\x05order\x18\x01 \x01(\x0b\x32&.injective.exchange.v2.SubaccountOrderR\x05order\x12\x1d\n\norder_hash\x18\x02 \x01(\x0cR\torderHash\"\xc5\x02\n\x08Position\x12\x16\n\x06isLong\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"\x8a\x01\n\x07\x42\x61lance\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12:\n\x08\x64\x65posits\x18\x03 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositR\x08\x64\x65posits:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x9d\x01\n\x12\x44\x65rivativePosition\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12;\n\x08position\x18\x03 \x01(\x0b\x32\x1f.injective.exchange.v2.PositionR\x08position:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"I\n\x14MarketOrderIndicator\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x02 \x01(\x08R\x05isBuy\"\xcd\x02\n\x08TradeLog\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x03 \x01(\x0cR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"\x9a\x02\n\rPositionDelta\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12R\n\x12\x65xecution_quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65xecutionQuantity\x12N\n\x10\x65xecution_margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65xecutionMargin\x12L\n\x0f\x65xecution_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65xecutionPrice\"\x9c\x03\n\x12\x44\x65rivativeTradeLog\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12K\n\x0eposition_delta\x18\x02 \x01(\x0b\x32$.injective.exchange.v2.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x05 \x01(\x0cR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\x06 \x01(\x0c\x42\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\x12\x35\n\x03pnl\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03pnl\"v\n\x12SubaccountPosition\x12;\n\x08position\x18\x01 \x01(\x0b\x32\x1f.injective.exchange.v2.PositionR\x08position\x12#\n\rsubaccount_id\x18\x02 \x01(\x0cR\x0csubaccountId\"r\n\x11SubaccountDeposit\x12#\n\rsubaccount_id\x18\x01 \x01(\x0cR\x0csubaccountId\x12\x38\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositR\x07\x64\x65posit\"k\n\rDepositUpdate\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x44\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32(.injective.exchange.v2.SubaccountDepositR\x08\x64\x65posits\"\xcc\x01\n\x10PointsMultiplier\x12[\n\x17maker_points_multiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15makerPointsMultiplier\x12[\n\x17taker_points_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15takerPointsMultiplier\"\xf4\x02\n\x1eTradingRewardCampaignBoostInfo\x12\x35\n\x17\x62oosted_spot_market_ids\x18\x01 \x03(\tR\x14\x62oostedSpotMarketIds\x12\x65\n\x17spot_market_multipliers\x18\x02 \x03(\x0b\x32\'.injective.exchange.v2.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x15spotMarketMultipliers\x12\x41\n\x1d\x62oosted_derivative_market_ids\x18\x03 \x03(\tR\x1a\x62oostedDerivativeMarketIds\x12q\n\x1d\x64\x65rivative_market_multipliers\x18\x04 \x03(\x0b\x32\'.injective.exchange.v2.PointsMultiplierB\x04\xc8\xde\x1f\x00R\x1b\x64\x65rivativeMarketMultipliers\"\xbc\x01\n\x12\x43\x61mpaignRewardPool\x12\'\n\x0fstart_timestamp\x18\x01 \x01(\x03R\x0estartTimestamp\x12}\n\x14max_campaign_rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x12maxCampaignRewards\"\xa4\x02\n\x19TradingRewardCampaignInfo\x12:\n\x19\x63\x61mpaign_duration_seconds\x18\x01 \x01(\x03R\x17\x63\x61mpaignDurationSeconds\x12!\n\x0cquote_denoms\x18\x02 \x03(\tR\x0bquoteDenoms\x12p\n\x19trading_reward_boost_info\x18\x03 \x01(\x0b\x32\x35.injective.exchange.v2.TradingRewardCampaignBoostInfoR\x16tradingRewardBoostInfo\x12\x36\n\x17\x64isqualified_market_ids\x18\x04 \x03(\tR\x15\x64isqualifiedMarketIds\"\xc0\x02\n\x13\x46\x65\x65\x44iscountTierInfo\x12S\n\x13maker_discount_rate\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11makerDiscountRate\x12S\n\x13taker_discount_rate\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11takerDiscountRate\x12\x42\n\rstaked_amount\x18\x03 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0cstakedAmount\x12;\n\x06volume\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"\x87\x02\n\x13\x46\x65\x65\x44iscountSchedule\x12!\n\x0c\x62ucket_count\x18\x01 \x01(\x04R\x0b\x62ucketCount\x12\'\n\x0f\x62ucket_duration\x18\x02 \x01(\x03R\x0e\x62ucketDuration\x12!\n\x0cquote_denoms\x18\x03 \x03(\tR\x0bquoteDenoms\x12I\n\ntier_infos\x18\x04 \x03(\x0b\x32*.injective.exchange.v2.FeeDiscountTierInfoR\ttierInfos\x12\x36\n\x17\x64isqualified_market_ids\x18\x05 \x03(\tR\x15\x64isqualifiedMarketIds\"M\n\x12\x46\x65\x65\x44iscountTierTTL\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12#\n\rttl_timestamp\x18\x02 \x01(\x03R\x0cttlTimestamp\"\x91\x01\n\x0e\x41\x63\x63ountRewards\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x65\n\x07rewards\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x07rewards\"\x81\x01\n\x0cTradeRecords\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12T\n\x14latest_trade_records\x18\x02 \x03(\x0b\x32\".injective.exchange.v2.TradeRecordR\x12latestTradeRecords\"6\n\rSubaccountIDs\x12%\n\x0esubaccount_ids\x18\x01 \x03(\x0cR\rsubaccountIds\"\xa7\x01\n\x0bTradeRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"m\n\x05Level\x12\x31\n\x01p\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01p\x12\x31\n\x01q\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x01q\"\x92\x01\n\x1f\x41ggregateSubaccountVolumeRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12J\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\rmarketVolumes\"\x84\x01\n\x1c\x41ggregateAccountVolumeRecord\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12J\n\x0emarket_volumes\x18\x02 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\rmarketVolumes\"A\n\rDenomDecimals\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x1a\n\x08\x64\x65\x63imals\x18\x02 \x01(\x04R\x08\x64\x65\x63imals\"e\n\x12GrantAuthorization\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"^\n\x0b\x41\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x35\n\x06\x61mount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\"\x90\x01\n\x0e\x45\x66\x66\x65\x63tiveGrant\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12I\n\x11net_granted_stake\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0fnetGrantedStake\x12\x19\n\x08is_valid\x18\x03 \x01(\x08R\x07isValid\"p\n\x10\x44\x65nomMinNotional\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12\x46\n\x0cmin_notional\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\"\xcb\x01\n\x15SubaccountRiskProfile\x12\x33\n\x04mode\x18\x01 \x01(\x0e\x32\x1f.injective.exchange.v2.RiskModeR\x04mode\x12W\n\x12reservation_policy\x18\x02 \x01(\x0e\x32(.injective.exchange.v2.ReservationPolicyR\x11reservationPolicy\x12$\n\x0e\x63redit_line_id\x18\x03 \x01(\tR\x0c\x63reditLineId*\xd6\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\x12\x16\n\x12OffsettingPosition\x10\x07\x12\r\n\tSynthetic\x10\x08*k\n\x08RiskMode\x12\x19\n\x15RISK_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12RISK_MODE_ISOLATED\x10\x01\x12\x13\n\x0fRISK_MODE_CROSS\x10\x02\x12\x17\n\x13RISK_MODE_PORTFOLIO\x10\x03*\x9e\x01\n\x11ReservationPolicy\x12\"\n\x1eRESERVATION_POLICY_UNSPECIFIED\x10\x00\x12 \n\x1cRESERVATION_POLICY_FULL_HOLD\x10\x01\x12#\n\x1fRESERVATION_POLICY_PARTIAL_HOLD\x10\x02\x12\x1e\n\x1aRESERVATION_POLICY_NO_HOLD\x10\x03\x42\xf3\x01\n\x19\x63om.injective.exchange.v2B\rExchangeProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -77,8 +77,16 @@ _globals['_PARAMS'].fields_by_name['deprecated_enforced_restrictions_contracts']._serialized_options = b'\310\336\037\000' _globals['_PARAMS'].fields_by_name['white_knight_liquidator_reward_share_rate']._loaded_options = None _globals['_PARAMS'].fields_by_name['white_knight_liquidator_reward_share_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['cross_margin_params']._loaded_options = None + _globals['_PARAMS'].fields_by_name['cross_margin_params']._serialized_options = b'\310\336\037\000' _globals['_PARAMS']._loaded_options = None _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\017exchange/Params' + _globals['_CROSSMARGINPARAMS'].fields_by_name['positive_upnl_haircut_rate']._loaded_options = None + _globals['_CROSSMARGINPARAMS'].fields_by_name['positive_upnl_haircut_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_CROSSMARGINPARAMS'].fields_by_name['fees_buffer']._loaded_options = None + _globals['_CROSSMARGINPARAMS'].fields_by_name['fees_buffer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_CROSSMARGINPARAMS']._loaded_options = None + _globals['_CROSSMARGINPARAMS']._serialized_options = b'\350\240\037\001' _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._loaded_options = None _globals['_MIDPRICEANDTOB'].fields_by_name['mid_price']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_MIDPRICEANDTOB'].fields_by_name['best_buy_price']._loaded_options = None @@ -163,80 +171,88 @@ _globals['_EFFECTIVEGRANT'].fields_by_name['net_granted_stake']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' _globals['_DENOMMINNOTIONAL'].fields_by_name['min_notional']._loaded_options = None _globals['_DENOMMINNOTIONAL'].fields_by_name['min_notional']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_EXECUTIONTYPE']._serialized_start=10074 - _globals['_EXECUTIONTYPE']._serialized_end=10288 + _globals['_EXECUTIONTYPE']._serialized_start=10832 + _globals['_EXECUTIONTYPE']._serialized_end=11046 + _globals['_RISKMODE']._serialized_start=11048 + _globals['_RISKMODE']._serialized_end=11155 + _globals['_RESERVATIONPOLICY']._serialized_start=11158 + _globals['_RESERVATIONPOLICY']._serialized_end=11316 _globals['_ENFORCEDRESTRICTIONSCONTRACT']._serialized_start=274 _globals['_ENFORCEDRESTRICTIONSCONTRACT']._serialized_end=431 _globals['_PARAMS']._serialized_start=434 - _globals['_PARAMS']._serialized_end=3994 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=3996 - _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=4057 - _globals['_MIDPRICEANDTOB']._serialized_start=4060 - _globals['_MIDPRICEANDTOB']._serialized_end=4294 - _globals['_DEPOSIT']._serialized_start=4297 - _globals['_DEPOSIT']._serialized_end=4462 - _globals['_SUBACCOUNTTRADENONCE']._serialized_start=4464 - _globals['_SUBACCOUNTTRADENONCE']._serialized_end=4508 - _globals['_SUBACCOUNTORDER']._serialized_start=4511 - _globals['_SUBACCOUNTORDER']._serialized_end=4706 - _globals['_SUBACCOUNTORDERDATA']._serialized_start=4708 - _globals['_SUBACCOUNTORDERDATA']._serialized_end=4822 - _globals['_POSITION']._serialized_start=4825 - _globals['_POSITION']._serialized_end=5150 - _globals['_BALANCE']._serialized_start=5153 - _globals['_BALANCE']._serialized_end=5291 - _globals['_DERIVATIVEPOSITION']._serialized_start=5294 - _globals['_DERIVATIVEPOSITION']._serialized_end=5451 - _globals['_MARKETORDERINDICATOR']._serialized_start=5453 - _globals['_MARKETORDERINDICATOR']._serialized_end=5526 - _globals['_TRADELOG']._serialized_start=5529 - _globals['_TRADELOG']._serialized_end=5862 - _globals['_POSITIONDELTA']._serialized_start=5865 - _globals['_POSITIONDELTA']._serialized_end=6147 - _globals['_DERIVATIVETRADELOG']._serialized_start=6150 - _globals['_DERIVATIVETRADELOG']._serialized_end=6562 - _globals['_SUBACCOUNTPOSITION']._serialized_start=6564 - _globals['_SUBACCOUNTPOSITION']._serialized_end=6682 - _globals['_SUBACCOUNTDEPOSIT']._serialized_start=6684 - _globals['_SUBACCOUNTDEPOSIT']._serialized_end=6798 - _globals['_DEPOSITUPDATE']._serialized_start=6800 - _globals['_DEPOSITUPDATE']._serialized_end=6907 - _globals['_POINTSMULTIPLIER']._serialized_start=6910 - _globals['_POINTSMULTIPLIER']._serialized_end=7114 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=7117 - _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=7489 - _globals['_CAMPAIGNREWARDPOOL']._serialized_start=7492 - _globals['_CAMPAIGNREWARDPOOL']._serialized_end=7680 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=7683 - _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=7975 - _globals['_FEEDISCOUNTTIERINFO']._serialized_start=7978 - _globals['_FEEDISCOUNTTIERINFO']._serialized_end=8298 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=8301 - _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=8564 - _globals['_FEEDISCOUNTTIERTTL']._serialized_start=8566 - _globals['_FEEDISCOUNTTIERTTL']._serialized_end=8643 - _globals['_ACCOUNTREWARDS']._serialized_start=8646 - _globals['_ACCOUNTREWARDS']._serialized_end=8791 - _globals['_TRADERECORDS']._serialized_start=8794 - _globals['_TRADERECORDS']._serialized_end=8923 - _globals['_SUBACCOUNTIDS']._serialized_start=8925 - _globals['_SUBACCOUNTIDS']._serialized_end=8979 - _globals['_TRADERECORD']._serialized_start=8982 - _globals['_TRADERECORD']._serialized_end=9149 - _globals['_LEVEL']._serialized_start=9151 - _globals['_LEVEL']._serialized_end=9260 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=9263 - _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=9409 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=9412 - _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=9544 - _globals['_DENOMDECIMALS']._serialized_start=9546 - _globals['_DENOMDECIMALS']._serialized_end=9611 - _globals['_GRANTAUTHORIZATION']._serialized_start=9613 - _globals['_GRANTAUTHORIZATION']._serialized_end=9714 - _globals['_ACTIVEGRANT']._serialized_start=9716 - _globals['_ACTIVEGRANT']._serialized_end=9810 - _globals['_EFFECTIVEGRANT']._serialized_start=9813 - _globals['_EFFECTIVEGRANT']._serialized_end=9957 - _globals['_DENOMMINNOTIONAL']._serialized_start=9959 - _globals['_DENOMMINNOTIONAL']._serialized_end=10071 + _globals['_PARAMS']._serialized_end=4090 + _globals['_CROSSMARGINPARAMS']._serialized_start=4093 + _globals['_CROSSMARGINPARAMS']._serialized_end=4546 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_start=4548 + _globals['_NEXTFUNDINGTIMESTAMP']._serialized_end=4609 + _globals['_MIDPRICEANDTOB']._serialized_start=4612 + _globals['_MIDPRICEANDTOB']._serialized_end=4846 + _globals['_DEPOSIT']._serialized_start=4849 + _globals['_DEPOSIT']._serialized_end=5014 + _globals['_SUBACCOUNTTRADENONCE']._serialized_start=5016 + _globals['_SUBACCOUNTTRADENONCE']._serialized_end=5060 + _globals['_SUBACCOUNTORDER']._serialized_start=5063 + _globals['_SUBACCOUNTORDER']._serialized_end=5258 + _globals['_SUBACCOUNTORDERDATA']._serialized_start=5260 + _globals['_SUBACCOUNTORDERDATA']._serialized_end=5374 + _globals['_POSITION']._serialized_start=5377 + _globals['_POSITION']._serialized_end=5702 + _globals['_BALANCE']._serialized_start=5705 + _globals['_BALANCE']._serialized_end=5843 + _globals['_DERIVATIVEPOSITION']._serialized_start=5846 + _globals['_DERIVATIVEPOSITION']._serialized_end=6003 + _globals['_MARKETORDERINDICATOR']._serialized_start=6005 + _globals['_MARKETORDERINDICATOR']._serialized_end=6078 + _globals['_TRADELOG']._serialized_start=6081 + _globals['_TRADELOG']._serialized_end=6414 + _globals['_POSITIONDELTA']._serialized_start=6417 + _globals['_POSITIONDELTA']._serialized_end=6699 + _globals['_DERIVATIVETRADELOG']._serialized_start=6702 + _globals['_DERIVATIVETRADELOG']._serialized_end=7114 + _globals['_SUBACCOUNTPOSITION']._serialized_start=7116 + _globals['_SUBACCOUNTPOSITION']._serialized_end=7234 + _globals['_SUBACCOUNTDEPOSIT']._serialized_start=7236 + _globals['_SUBACCOUNTDEPOSIT']._serialized_end=7350 + _globals['_DEPOSITUPDATE']._serialized_start=7352 + _globals['_DEPOSITUPDATE']._serialized_end=7459 + _globals['_POINTSMULTIPLIER']._serialized_start=7462 + _globals['_POINTSMULTIPLIER']._serialized_end=7666 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_start=7669 + _globals['_TRADINGREWARDCAMPAIGNBOOSTINFO']._serialized_end=8041 + _globals['_CAMPAIGNREWARDPOOL']._serialized_start=8044 + _globals['_CAMPAIGNREWARDPOOL']._serialized_end=8232 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_start=8235 + _globals['_TRADINGREWARDCAMPAIGNINFO']._serialized_end=8527 + _globals['_FEEDISCOUNTTIERINFO']._serialized_start=8530 + _globals['_FEEDISCOUNTTIERINFO']._serialized_end=8850 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_start=8853 + _globals['_FEEDISCOUNTSCHEDULE']._serialized_end=9116 + _globals['_FEEDISCOUNTTIERTTL']._serialized_start=9118 + _globals['_FEEDISCOUNTTIERTTL']._serialized_end=9195 + _globals['_ACCOUNTREWARDS']._serialized_start=9198 + _globals['_ACCOUNTREWARDS']._serialized_end=9343 + _globals['_TRADERECORDS']._serialized_start=9346 + _globals['_TRADERECORDS']._serialized_end=9475 + _globals['_SUBACCOUNTIDS']._serialized_start=9477 + _globals['_SUBACCOUNTIDS']._serialized_end=9531 + _globals['_TRADERECORD']._serialized_start=9534 + _globals['_TRADERECORD']._serialized_end=9701 + _globals['_LEVEL']._serialized_start=9703 + _globals['_LEVEL']._serialized_end=9812 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_start=9815 + _globals['_AGGREGATESUBACCOUNTVOLUMERECORD']._serialized_end=9961 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_start=9964 + _globals['_AGGREGATEACCOUNTVOLUMERECORD']._serialized_end=10096 + _globals['_DENOMDECIMALS']._serialized_start=10098 + _globals['_DENOMDECIMALS']._serialized_end=10163 + _globals['_GRANTAUTHORIZATION']._serialized_start=10165 + _globals['_GRANTAUTHORIZATION']._serialized_end=10266 + _globals['_ACTIVEGRANT']._serialized_start=10268 + _globals['_ACTIVEGRANT']._serialized_end=10362 + _globals['_EFFECTIVEGRANT']._serialized_start=10365 + _globals['_EFFECTIVEGRANT']._serialized_end=10509 + _globals['_DENOMMINNOTIONAL']._serialized_start=10511 + _globals['_DENOMMINNOTIONAL']._serialized_end=10623 + _globals['_SUBACCOUNTRISKPROFILE']._serialized_start=10626 + _globals['_SUBACCOUNTRISKPROFILE']._serialized_end=10829 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v2/genesis_pb2.py b/pyinjective/proto/injective/exchange/v2/genesis_pb2.py index ddca6325..bf067ffb 100644 --- a/pyinjective/proto/injective/exchange/v2/genesis_pb2.py +++ b/pyinjective/proto/injective/exchange/v2/genesis_pb2.py @@ -19,7 +19,7 @@ from pyinjective.proto.injective.exchange.v2 import tx_pb2 as injective_dot_exchange_dot_v2_dot_tx__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#injective/exchange/v2/genesis.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a$injective/exchange/v2/exchange.proto\x1a\"injective/exchange/v2/market.proto\x1a%injective/exchange/v2/orderbook.proto\x1a\x1einjective/exchange/v2/tx.proto\"\x9e\x1d\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.exchange.v2.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\x44\n\x0cspot_markets\x18\x02 \x03(\x0b\x32!.injective.exchange.v2.SpotMarketR\x0bspotMarkets\x12V\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32\'.injective.exchange.v2.DerivativeMarketR\x11\x64\x65rivativeMarkets\x12Q\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32$.injective.exchange.v2.SpotOrderBookB\x04\xc8\xde\x1f\x00R\rspotOrderbook\x12\x63\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32*.injective.exchange.v2.DerivativeOrderBookB\x04\xc8\xde\x1f\x00R\x13\x64\x65rivativeOrderbook\x12@\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32\x1e.injective.exchange.v2.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\x12M\n\tpositions\x18\x07 \x03(\x0b\x32).injective.exchange.v2.DerivativePositionB\x04\xc8\xde\x1f\x00R\tpositions\x12\x64\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32&.injective.exchange.v2.SubaccountNonceB\x04\xc8\xde\x1f\x00R\x15subaccountTradeNonces\x12\x81\x01\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x33.injective.exchange.v2.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00R\x1c\x65xpiryFuturesMarketInfoState\x12\x64\n\x15perpetual_market_info\x18\n \x03(\x0b\x32*.injective.exchange.v2.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x13perpetualMarketInfo\x12}\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x32.injective.exchange.v2.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00R\x1bperpetualMarketFundingState\x12\x90\x01\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32\x35.injective.exchange.v2.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00R#derivativeMarketSettlementScheduled\x12\x37\n\x18is_spot_exchange_enabled\x18\r \x01(\x08R\x15isSpotExchangeEnabled\x12\x45\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08R\x1cisDerivativesExchangeEnabled\x12q\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12{\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12\x8d\x01\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32\x39.injective.exchange.v2.TradingRewardCampaignAccountPointsR\"tradingRewardCampaignAccountPoints\x12^\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\x12r\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x30.injective.exchange.v2.FeeDiscountAccountTierTTLR\x19\x66\x65\x65\x44iscountAccountTierTtl\x12\x84\x01\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32\x36.injective.exchange.v2.FeeDiscountBucketVolumeAccountsR\x1f\x66\x65\x65\x44iscountBucketVolumeAccounts\x12<\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08R\x17isFirstFeeCycleFinished\x12\x8a\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12\xa3\x01\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32@.injective.exchange.v2.TradingRewardCampaignAccountPendingPointsR)pendingTradingRewardCampaignAccountPoints\x12\x39\n\x19rewards_opt_out_addresses\x18\x18 \x03(\tR\x16rewardsOptOutAddresses\x12]\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32#.injective.exchange.v2.TradeRecordsR\x16historicalTradeRecords\x12`\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32*.injective.exchange.v2.BinaryOptionsMarketR\x14\x62inaryOptionsMarkets\x12h\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\tR,binaryOptionsMarketIdsScheduledForSettlement\x12T\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\tR\"spotMarketIdsScheduledToForceClose\x12\x82\x01\n(auction_exchange_transfer_denom_decimals\x18\x1d \x03(\x0b\x32$.injective.exchange.v2.DenomDecimalsB\x04\xc8\xde\x1f\x00R$auctionExchangeTransferDenomDecimals\x12\x81\x01\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32\x35.injective.exchange.v2.ConditionalDerivativeOrderBookR\x1f\x63onditionalDerivativeOrderbooks\x12`\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32*.injective.exchange.v2.MarketFeeMultiplierR\x14marketFeeMultipliers\x12Y\n\x13orderbook_sequences\x18 \x03(\x0b\x32(.injective.exchange.v2.OrderbookSequenceR\x12orderbookSequences\x12\x65\n\x12subaccount_volumes\x18! \x03(\x0b\x32\x36.injective.exchange.v2.AggregateSubaccountVolumeRecordR\x11subaccountVolumes\x12J\n\x0emarket_volumes\x18\" \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\rmarketVolumes\x12\x61\n\x14grant_authorizations\x18# \x03(\x0b\x32..injective.exchange.v2.FullGrantAuthorizationsR\x13grantAuthorizations\x12K\n\ractive_grants\x18$ \x03(\x0b\x32&.injective.exchange.v2.FullActiveGrantR\x0c\x61\x63tiveGrants\x12W\n\x13\x64\x65nom_min_notionals\x18% \x03(\x0b\x32\'.injective.exchange.v2.DenomMinNotionalR\x11\x64\x65nomMinNotionals\"L\n\x11OrderbookSequence\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"{\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x44\n\x08tier_ttl\x18\x02 \x01(\x0b\x32).injective.exchange.v2.FeeDiscountTierTTLR\x07tierTtl\"\xa4\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x34\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03R\x14\x62ucketStartTimestamp\x12K\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32$.injective.exchange.v2.AccountVolumeR\raccountVolume\"f\n\rAccountVolume\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"{\n\"TradingRewardCampaignAccountPoints\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06points\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06points\"\xcc\x01\n)TradingRewardCampaignAccountPendingPoints\x12=\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03R\x18rewardPoolStartTimestamp\x12`\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32\x39.injective.exchange.v2.TradingRewardCampaignAccountPointsR\raccountPoints\"\xa9\x01\n\x0fSubaccountNonce\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12g\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32+.injective.exchange.v2.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00R\x14subaccountTradeNonce:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x02\n\x17\x46ullGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12K\n\x12total_grant_amount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x1dlast_delegations_checked_time\x18\x03 \x01(\x03R\x1alastDelegationsCheckedTime\x12\x41\n\x06grants\x18\x04 \x03(\x0b\x32).injective.exchange.v2.GrantAuthorizationR\x06grants\"r\n\x0f\x46ullActiveGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x45\n\x0c\x61\x63tive_grant\x18\x02 \x01(\x0b\x32\".injective.exchange.v2.ActiveGrantR\x0b\x61\x63tiveGrantB\xf2\x01\n\x19\x63om.injective.exchange.v2B\x0cGenesisProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#injective/exchange/v2/genesis.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a$injective/exchange/v2/exchange.proto\x1a\"injective/exchange/v2/market.proto\x1a%injective/exchange/v2/orderbook.proto\x1a\x1einjective/exchange/v2/tx.proto\"\x8c\x1e\n\x0cGenesisState\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.exchange.v2.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\x44\n\x0cspot_markets\x18\x02 \x03(\x0b\x32!.injective.exchange.v2.SpotMarketR\x0bspotMarkets\x12V\n\x12\x64\x65rivative_markets\x18\x03 \x03(\x0b\x32\'.injective.exchange.v2.DerivativeMarketR\x11\x64\x65rivativeMarkets\x12Q\n\x0espot_orderbook\x18\x04 \x03(\x0b\x32$.injective.exchange.v2.SpotOrderBookB\x04\xc8\xde\x1f\x00R\rspotOrderbook\x12\x63\n\x14\x64\x65rivative_orderbook\x18\x05 \x03(\x0b\x32*.injective.exchange.v2.DerivativeOrderBookB\x04\xc8\xde\x1f\x00R\x13\x64\x65rivativeOrderbook\x12@\n\x08\x62\x61lances\x18\x06 \x03(\x0b\x32\x1e.injective.exchange.v2.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\x12M\n\tpositions\x18\x07 \x03(\x0b\x32).injective.exchange.v2.DerivativePositionB\x04\xc8\xde\x1f\x00R\tpositions\x12\x64\n\x17subaccount_trade_nonces\x18\x08 \x03(\x0b\x32&.injective.exchange.v2.SubaccountNonceB\x04\xc8\xde\x1f\x00R\x15subaccountTradeNonces\x12\x81\x01\n expiry_futures_market_info_state\x18\t \x03(\x0b\x32\x33.injective.exchange.v2.ExpiryFuturesMarketInfoStateB\x04\xc8\xde\x1f\x00R\x1c\x65xpiryFuturesMarketInfoState\x12\x64\n\x15perpetual_market_info\x18\n \x03(\x0b\x32*.injective.exchange.v2.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x13perpetualMarketInfo\x12}\n\x1eperpetual_market_funding_state\x18\x0b \x03(\x0b\x32\x32.injective.exchange.v2.PerpetualMarketFundingStateB\x04\xc8\xde\x1f\x00R\x1bperpetualMarketFundingState\x12\x90\x01\n&derivative_market_settlement_scheduled\x18\x0c \x03(\x0b\x32\x35.injective.exchange.v2.DerivativeMarketSettlementInfoB\x04\xc8\xde\x1f\x00R#derivativeMarketSettlementScheduled\x12\x37\n\x18is_spot_exchange_enabled\x18\r \x01(\x08R\x15isSpotExchangeEnabled\x12\x45\n\x1fis_derivatives_exchange_enabled\x18\x0e \x01(\x08R\x1cisDerivativesExchangeEnabled\x12q\n\x1ctrading_reward_campaign_info\x18\x0f \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12{\n%trading_reward_pool_campaign_schedule\x18\x10 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12\x8d\x01\n&trading_reward_campaign_account_points\x18\x11 \x03(\x0b\x32\x39.injective.exchange.v2.TradingRewardCampaignAccountPointsR\"tradingRewardCampaignAccountPoints\x12^\n\x15\x66\x65\x65_discount_schedule\x18\x12 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\x12r\n\x1d\x66\x65\x65_discount_account_tier_ttl\x18\x13 \x03(\x0b\x32\x30.injective.exchange.v2.FeeDiscountAccountTierTTLR\x19\x66\x65\x65\x44iscountAccountTierTtl\x12\x84\x01\n#fee_discount_bucket_volume_accounts\x18\x14 \x03(\x0b\x32\x36.injective.exchange.v2.FeeDiscountBucketVolumeAccountsR\x1f\x66\x65\x65\x44iscountBucketVolumeAccounts\x12<\n\x1bis_first_fee_cycle_finished\x18\x15 \x01(\x08R\x17isFirstFeeCycleFinished\x12\x8a\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x16 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12\xa3\x01\n.pending_trading_reward_campaign_account_points\x18\x17 \x03(\x0b\x32@.injective.exchange.v2.TradingRewardCampaignAccountPendingPointsR)pendingTradingRewardCampaignAccountPoints\x12\x39\n\x19rewards_opt_out_addresses\x18\x18 \x03(\tR\x16rewardsOptOutAddresses\x12]\n\x18historical_trade_records\x18\x19 \x03(\x0b\x32#.injective.exchange.v2.TradeRecordsR\x16historicalTradeRecords\x12`\n\x16\x62inary_options_markets\x18\x1a \x03(\x0b\x32*.injective.exchange.v2.BinaryOptionsMarketR\x14\x62inaryOptionsMarkets\x12h\n2binary_options_market_ids_scheduled_for_settlement\x18\x1b \x03(\tR,binaryOptionsMarketIdsScheduledForSettlement\x12T\n(spot_market_ids_scheduled_to_force_close\x18\x1c \x03(\tR\"spotMarketIdsScheduledToForceClose\x12\x82\x01\n(auction_exchange_transfer_denom_decimals\x18\x1d \x03(\x0b\x32$.injective.exchange.v2.DenomDecimalsB\x04\xc8\xde\x1f\x00R$auctionExchangeTransferDenomDecimals\x12\x81\x01\n!conditional_derivative_orderbooks\x18\x1e \x03(\x0b\x32\x35.injective.exchange.v2.ConditionalDerivativeOrderBookR\x1f\x63onditionalDerivativeOrderbooks\x12`\n\x16market_fee_multipliers\x18\x1f \x03(\x0b\x32*.injective.exchange.v2.MarketFeeMultiplierR\x14marketFeeMultipliers\x12Y\n\x13orderbook_sequences\x18 \x03(\x0b\x32(.injective.exchange.v2.OrderbookSequenceR\x12orderbookSequences\x12\x65\n\x12subaccount_volumes\x18! \x03(\x0b\x32\x36.injective.exchange.v2.AggregateSubaccountVolumeRecordR\x11subaccountVolumes\x12J\n\x0emarket_volumes\x18\" \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\rmarketVolumes\x12\x61\n\x14grant_authorizations\x18# \x03(\x0b\x32..injective.exchange.v2.FullGrantAuthorizationsR\x13grantAuthorizations\x12K\n\ractive_grants\x18$ \x03(\x0b\x32&.injective.exchange.v2.FullActiveGrantR\x0c\x61\x63tiveGrants\x12W\n\x13\x64\x65nom_min_notionals\x18% \x03(\x0b\x32\'.injective.exchange.v2.DenomMinNotionalR\x11\x64\x65nomMinNotionals\x12l\n\x18subaccount_risk_profiles\x18& \x03(\x0b\x32\x32.injective.exchange.v2.SubaccountRiskProfileRecordR\x16subaccountRiskProfiles\"L\n\x11OrderbookSequence\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"{\n\x19\x46\x65\x65\x44iscountAccountTierTTL\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x44\n\x08tier_ttl\x18\x02 \x01(\x0b\x32).injective.exchange.v2.FeeDiscountTierTTLR\x07tierTtl\"\xa4\x01\n\x1f\x46\x65\x65\x44iscountBucketVolumeAccounts\x12\x34\n\x16\x62ucket_start_timestamp\x18\x01 \x01(\x03R\x14\x62ucketStartTimestamp\x12K\n\x0e\x61\x63\x63ount_volume\x18\x02 \x03(\x0b\x32$.injective.exchange.v2.AccountVolumeR\raccountVolume\"f\n\rAccountVolume\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06volume\"{\n\"TradingRewardCampaignAccountPoints\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12;\n\x06points\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06points\"\xcc\x01\n)TradingRewardCampaignAccountPendingPoints\x12=\n\x1breward_pool_start_timestamp\x18\x01 \x01(\x03R\x18rewardPoolStartTimestamp\x12`\n\x0e\x61\x63\x63ount_points\x18\x02 \x03(\x0b\x32\x39.injective.exchange.v2.TradingRewardCampaignAccountPointsR\raccountPoints\"\xa9\x01\n\x0fSubaccountNonce\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12g\n\x16subaccount_trade_nonce\x18\x02 \x01(\x0b\x32+.injective.exchange.v2.SubaccountTradeNonceB\x04\xc8\xde\x1f\x00R\x14subaccountTradeNonce:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x02\n\x17\x46ullGrantAuthorizations\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12K\n\x12total_grant_amount\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x1dlast_delegations_checked_time\x18\x03 \x01(\x03R\x1alastDelegationsCheckedTime\x12\x41\n\x06grants\x18\x04 \x03(\x0b\x32).injective.exchange.v2.GrantAuthorizationR\x06grants\"r\n\x0f\x46ullActiveGrant\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\x12\x45\n\x0c\x61\x63tive_grant\x18\x02 \x01(\x0b\x32\".injective.exchange.v2.ActiveGrantR\x0b\x61\x63tiveGrant\"\x99\x01\n\x1bSubaccountRiskProfileRecord\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12U\n\x0crisk_profile\x18\x02 \x01(\x0b\x32,.injective.exchange.v2.SubaccountRiskProfileB\x04\xc8\xde\x1f\x00R\x0briskProfileB\xf2\x01\n\x19\x63om.injective.exchange.v2B\x0cGenesisProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -59,24 +59,28 @@ _globals['_SUBACCOUNTNONCE']._serialized_options = b'\210\240\037\000\350\240\037\000' _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._loaded_options = None _globals['_FULLGRANTAUTHORIZATIONS'].fields_by_name['total_grant_amount']._serialized_options = b'\310\336\037\000\332\336\037\025cosmossdk.io/math.Int' + _globals['_SUBACCOUNTRISKPROFILERECORD'].fields_by_name['risk_profile']._loaded_options = None + _globals['_SUBACCOUNTRISKPROFILERECORD'].fields_by_name['risk_profile']._serialized_options = b'\310\336\037\000' _globals['_GENESISSTATE']._serialized_start=230 - _globals['_GENESISSTATE']._serialized_end=3972 - _globals['_ORDERBOOKSEQUENCE']._serialized_start=3974 - _globals['_ORDERBOOKSEQUENCE']._serialized_end=4050 - _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_start=4052 - _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_end=4175 - _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_start=4178 - _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_end=4342 - _globals['_ACCOUNTVOLUME']._serialized_start=4344 - _globals['_ACCOUNTVOLUME']._serialized_end=4446 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_start=4448 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_end=4571 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_start=4574 - _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_end=4778 - _globals['_SUBACCOUNTNONCE']._serialized_start=4781 - _globals['_SUBACCOUNTNONCE']._serialized_end=4950 - _globals['_FULLGRANTAUTHORIZATIONS']._serialized_start=4953 - _globals['_FULLGRANTAUTHORIZATIONS']._serialized_end=5215 - _globals['_FULLACTIVEGRANT']._serialized_start=5217 - _globals['_FULLACTIVEGRANT']._serialized_end=5331 + _globals['_GENESISSTATE']._serialized_end=4082 + _globals['_ORDERBOOKSEQUENCE']._serialized_start=4084 + _globals['_ORDERBOOKSEQUENCE']._serialized_end=4160 + _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_start=4162 + _globals['_FEEDISCOUNTACCOUNTTIERTTL']._serialized_end=4285 + _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_start=4288 + _globals['_FEEDISCOUNTBUCKETVOLUMEACCOUNTS']._serialized_end=4452 + _globals['_ACCOUNTVOLUME']._serialized_start=4454 + _globals['_ACCOUNTVOLUME']._serialized_end=4556 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_start=4558 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPOINTS']._serialized_end=4681 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_start=4684 + _globals['_TRADINGREWARDCAMPAIGNACCOUNTPENDINGPOINTS']._serialized_end=4888 + _globals['_SUBACCOUNTNONCE']._serialized_start=4891 + _globals['_SUBACCOUNTNONCE']._serialized_end=5060 + _globals['_FULLGRANTAUTHORIZATIONS']._serialized_start=5063 + _globals['_FULLGRANTAUTHORIZATIONS']._serialized_end=5325 + _globals['_FULLACTIVEGRANT']._serialized_start=5327 + _globals['_FULLACTIVEGRANT']._serialized_end=5441 + _globals['_SUBACCOUNTRISKPROFILERECORD']._serialized_start=5444 + _globals['_SUBACCOUNTRISKPROFILERECORD']._serialized_end=5597 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v2/market_pb2.py b/pyinjective/proto/injective/exchange/v2/market_pb2.py index e4b095f5..8972a6f2 100644 --- a/pyinjective/proto/injective/exchange/v2/market_pb2.py +++ b/pyinjective/proto/injective/exchange/v2/market_pb2.py @@ -17,7 +17,7 @@ from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"injective/exchange/v2/market.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\xab\x01\n\x0f\x46orcePausedInfo\x12@\n\x06reason\x18\x01 \x01(\x0e\x32(.injective.exchange.v2.ForcePausedReasonR\x06reason\x12V\n\x15mark_price_at_pausing\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12markPriceAtPausing\"\xc1\x02\n\x0fOpenNotionalCap\x12\x80\x01\n\x08uncapped\x18\x01 \x01(\x0b\x32..injective.exchange.v2.OpenNotionalCapUncappedB2\xb2\xe7\xb0*-injective.exchange.v2.OpenNotionalCapUncappedH\x00R\x08uncapped\x12x\n\x06\x63\x61pped\x18\x02 \x01(\x0b\x32,.injective.exchange.v2.OpenNotionalCapCappedB0\xb2\xe7\xb0*+injective.exchange.v2.OpenNotionalCapCappedH\x00R\x06\x63\x61pped:*\x8a\xe7\xb0*%injective.exchange.v2.OpenNotionalCapB\x05\n\x03\x63\x61p\"M\n\x17OpenNotionalCapUncapped:2\x8a\xe7\xb0*-injective.exchange.v2.OpenNotionalCapUncapped\"\x84\x01\n\x15OpenNotionalCapCapped\x12\x39\n\x05value\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value:0\x8a\xe7\xb0*+injective.exchange.v2.OpenNotionalCapCapped\"\x84\x01\n\x13MarketFeeMultiplier\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rfeeMultiplier:\x04\x88\xa0\x1f\x00\"\xfd\x06\n\nSpotMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12;\n\x06status\x18\x08 \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\r \x01(\rR\x10\x61\x64minPermissions\x12#\n\rbase_decimals\x18\x0e \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x0f \x01(\rR\rquoteDecimals\x12H\n!has_disabled_minimal_protocol_fee\x18\x10 \x01(\x08R\x1dhasDisabledMinimalProtocolFee\"\xf1\n\n\x13\x42inaryOptionsMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x02 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x03 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x07 \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x08 \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\t \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\n \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12;\n\x06status\x18\x0e \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12N\n\x10settlement_price\x18\x11 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x46\n\x0cmin_notional\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions\x12%\n\x0equote_decimals\x18\x14 \x01(\rR\rquoteDecimals\x12X\n\x11open_notional_cap\x18\x15 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap\x12H\n!has_disabled_minimal_protocol_fee\x18\x16 \x01(\x08R\x1dhasDisabledMinimalProtocolFee\x12R\n\x11\x66orce_paused_info\x18\x17 \x01(\x0b\x32&.injective.exchange.v2.ForcePausedInfoR\x0f\x66orcePausedInfo:\x04\x88\xa0\x1f\x00\"\xdb\x0b\n\x10\x44\x65rivativeMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x02 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x03 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12 \n\x0bisPerpetual\x18\r \x01(\x08R\x0bisPerpetual\x12;\n\x06status\x18\x0e \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x12 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions\x12%\n\x0equote_decimals\x18\x14 \x01(\rR\rquoteDecimals\x12S\n\x13reduce_margin_ratio\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x16 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap\x12H\n!has_disabled_minimal_protocol_fee\x18\x17 \x01(\x08R\x1dhasDisabledMinimalProtocolFee\x12R\n\x11\x66orce_paused_info\x18\x18 \x01(\x0b\x32&.injective.exchange.v2.ForcePausedInfoR\x0f\x66orcePausedInfo:\x04\x88\xa0\x1f\x00\"\x8d\x01\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\"n\n\x0cMarketVolume\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x06volume\x18\x02 \x01(\x0b\x32#.injective.exchange.v2.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"\x9e\x01\n\x0cVolumeRecord\x12\x46\n\x0cmaker_volume\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmakerVolume\x12\x46\n\x0ctaker_volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0btakerVolume\"\x8c\x01\n\x1c\x45xpiryFuturesMarketInfoState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\x0bmarket_info\x18\x02 \x01(\x0b\x32..injective.exchange.v2.ExpiryFuturesMarketInfoR\nmarketInfo\"\x83\x01\n\x1bPerpetualMarketFundingState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12G\n\x07\x66unding\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingR\x07\x66unding\"\xee\x04\n\x17\x45xpiryFuturesMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x31\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03R\x13\x65xpirationTimestamp\x12\x30\n\x14twap_start_timestamp\x18\x03 \x01(\x03R\x12twapStartTimestamp\x12y\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB%\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"expirationTwapStartPriceCumulative\x12N\n\x10settlement_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x80\x01\n+expiration_twap_start_base_cumulative_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR&expirationTwapStartBaseCumulativePrice\x12\x82\x01\n,expiration_twap_start_quote_cumulative_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\'expirationTwapStartQuoteCumulativePrice\"\xc6\x02\n\x13PerpetualMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14hourlyFundingRateCap\x12U\n\x14hourly_interest_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x04 \x01(\x03R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x05 \x01(\x03R\x0f\x66undingInterval\"\xe3\x01\n\x16PerpetualMarketFunding\x12R\n\x12\x63umulative_funding\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x03R\rlastTimestamp*e\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\x12\x0f\n\x0b\x46orcePaused\x10\x05*)\n\x11\x46orcePausedReason\x12\x14\n\x10QuoteDenomPaused\x10\x00\x42\xf1\x01\n\x19\x63om.injective.exchange.v2B\x0bMarketProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"injective/exchange/v2/market.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\xab\x01\n\x0f\x46orcePausedInfo\x12@\n\x06reason\x18\x01 \x01(\x0e\x32(.injective.exchange.v2.ForcePausedReasonR\x06reason\x12V\n\x15mark_price_at_pausing\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12markPriceAtPausing\"\xc1\x02\n\x0fOpenNotionalCap\x12\x80\x01\n\x08uncapped\x18\x01 \x01(\x0b\x32..injective.exchange.v2.OpenNotionalCapUncappedB2\xb2\xe7\xb0*-injective.exchange.v2.OpenNotionalCapUncappedH\x00R\x08uncapped\x12x\n\x06\x63\x61pped\x18\x02 \x01(\x0b\x32,.injective.exchange.v2.OpenNotionalCapCappedB0\xb2\xe7\xb0*+injective.exchange.v2.OpenNotionalCapCappedH\x00R\x06\x63\x61pped:*\x8a\xe7\xb0*%injective.exchange.v2.OpenNotionalCapB\x05\n\x03\x63\x61p\"M\n\x17OpenNotionalCapUncapped:2\x8a\xe7\xb0*-injective.exchange.v2.OpenNotionalCapUncapped\"\x84\x01\n\x15OpenNotionalCapCapped\x12\x39\n\x05value\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value:0\x8a\xe7\xb0*+injective.exchange.v2.OpenNotionalCapCapped\"\x84\x01\n\x13MarketFeeMultiplier\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12J\n\x0e\x66\x65\x65_multiplier\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rfeeMultiplier:\x04\x88\xa0\x1f\x00\"\xfd\x06\n\nSpotMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x02 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12;\n\x06status\x18\x08 \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\r \x01(\rR\x10\x61\x64minPermissions\x12#\n\rbase_decimals\x18\x0e \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x0f \x01(\rR\rquoteDecimals\x12H\n!has_disabled_minimal_protocol_fee\x18\x10 \x01(\x08R\x1dhasDisabledMinimalProtocolFee\"\xf1\n\n\x13\x42inaryOptionsMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x02 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x03 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x06 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x07 \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x08 \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\t \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\n \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12;\n\x06status\x18\x0e \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12N\n\x10settlement_price\x18\x11 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x46\n\x0cmin_notional\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions\x12%\n\x0equote_decimals\x18\x14 \x01(\rR\rquoteDecimals\x12X\n\x11open_notional_cap\x18\x15 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap\x12H\n!has_disabled_minimal_protocol_fee\x18\x16 \x01(\x08R\x1dhasDisabledMinimalProtocolFee\x12R\n\x11\x66orce_paused_info\x18\x17 \x01(\x0b\x32&.injective.exchange.v2.ForcePausedInfoR\x0f\x66orcePausedInfo:\x04\x88\xa0\x1f\x00\"\x8f\x0c\n\x10\x44\x65rivativeMarket\x12\x16\n\x06ticker\x18\x01 \x01(\tR\x06ticker\x12\x1f\n\x0boracle_base\x18\x02 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x03 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x05 \x01(\rR\x11oracleScaleFactor\x12\x1f\n\x0bquote_denom\x18\x06 \x01(\tR\nquoteDenom\x12\x1b\n\tmarket_id\x18\x07 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12 \n\x0bisPerpetual\x18\r \x01(\x08R\x0bisPerpetual\x12;\n\x06status\x18\x0e \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12R\n\x13min_price_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12\x14\n\x05\x61\x64min\x18\x12 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x13 \x01(\rR\x10\x61\x64minPermissions\x12%\n\x0equote_decimals\x18\x14 \x01(\rR\rquoteDecimals\x12S\n\x13reduce_margin_ratio\x18\x15 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x16 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap\x12H\n!has_disabled_minimal_protocol_fee\x18\x17 \x01(\x08R\x1dhasDisabledMinimalProtocolFee\x12R\n\x11\x66orce_paused_info\x18\x18 \x01(\x0b\x32&.injective.exchange.v2.ForcePausedInfoR\x0f\x66orcePausedInfo\x12\x32\n\x15\x63ross_margin_eligible\x18\x19 \x01(\x08R\x13\x63rossMarginEligible:\x04\x88\xa0\x1f\x00\"\xbf\x01\n\x1e\x44\x65rivativeMarketSettlementInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x30\n\x14is_forced_settlement\x18\x03 \x01(\x08R\x12isForcedSettlement\"n\n\x0cMarketVolume\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x06volume\x18\x02 \x01(\x0b\x32#.injective.exchange.v2.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"\x9e\x01\n\x0cVolumeRecord\x12\x46\n\x0cmaker_volume\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmakerVolume\x12\x46\n\x0ctaker_volume\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0btakerVolume\"\x8c\x01\n\x1c\x45xpiryFuturesMarketInfoState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12O\n\x0bmarket_info\x18\x02 \x01(\x0b\x32..injective.exchange.v2.ExpiryFuturesMarketInfoR\nmarketInfo\"\x83\x01\n\x1bPerpetualMarketFundingState\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12G\n\x07\x66unding\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingR\x07\x66unding\"\xee\x04\n\x17\x45xpiryFuturesMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x31\n\x14\x65xpiration_timestamp\x18\x02 \x01(\x03R\x13\x65xpirationTimestamp\x12\x30\n\x14twap_start_timestamp\x18\x03 \x01(\x03R\x12twapStartTimestamp\x12y\n&expiration_twap_start_price_cumulative\x18\x04 \x01(\tB%\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\"expirationTwapStartPriceCumulative\x12N\n\x10settlement_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x80\x01\n+expiration_twap_start_base_cumulative_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR&expirationTwapStartBaseCumulativePrice\x12\x82\x01\n,expiration_twap_start_quote_cumulative_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\'expirationTwapStartQuoteCumulativePrice\"\xc6\x02\n\x13PerpetualMarketInfo\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12Z\n\x17hourly_funding_rate_cap\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14hourlyFundingRateCap\x12U\n\x14hourly_interest_rate\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12hourlyInterestRate\x12\x34\n\x16next_funding_timestamp\x18\x04 \x01(\x03R\x14nextFundingTimestamp\x12)\n\x10\x66unding_interval\x18\x05 \x01(\x03R\x0f\x66undingInterval\"\xe3\x01\n\x16PerpetualMarketFunding\x12R\n\x12\x63umulative_funding\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x63umulativeFunding\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12%\n\x0elast_timestamp\x18\x03 \x01(\x03R\rlastTimestamp*e\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\x12\x0f\n\x0b\x46orcePaused\x10\x05*)\n\x11\x46orcePausedReason\x12\x14\n\x10QuoteDenomPaused\x10\x00\x42\xf1\x01\n\x19\x63om.injective.exchange.v2B\x0bMarketProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -119,10 +119,10 @@ _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_funding']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._loaded_options = None _globals['_PERPETUALMARKETFUNDING'].fields_by_name['cumulative_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_MARKETSTATUS']._serialized_start=6660 - _globals['_MARKETSTATUS']._serialized_end=6761 - _globals['_FORCEPAUSEDREASON']._serialized_start=6763 - _globals['_FORCEPAUSEDREASON']._serialized_end=6804 + _globals['_MARKETSTATUS']._serialized_start=6762 + _globals['_MARKETSTATUS']._serialized_end=6863 + _globals['_FORCEPAUSEDREASON']._serialized_start=6865 + _globals['_FORCEPAUSEDREASON']._serialized_end=6906 _globals['_FORCEPAUSEDINFO']._serialized_start=142 _globals['_FORCEPAUSEDINFO']._serialized_end=313 _globals['_OPENNOTIONALCAP']._serialized_start=316 @@ -138,21 +138,21 @@ _globals['_BINARYOPTIONSMARKET']._serialized_start=1885 _globals['_BINARYOPTIONSMARKET']._serialized_end=3278 _globals['_DERIVATIVEMARKET']._serialized_start=3281 - _globals['_DERIVATIVEMARKET']._serialized_end=4780 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=4783 - _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=4924 - _globals['_MARKETVOLUME']._serialized_start=4926 - _globals['_MARKETVOLUME']._serialized_end=5036 - _globals['_VOLUMERECORD']._serialized_start=5039 - _globals['_VOLUMERECORD']._serialized_end=5197 - _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_start=5200 - _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_end=5340 - _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_start=5343 - _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_end=5474 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=5477 - _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=6099 - _globals['_PERPETUALMARKETINFO']._serialized_start=6102 - _globals['_PERPETUALMARKETINFO']._serialized_end=6428 - _globals['_PERPETUALMARKETFUNDING']._serialized_start=6431 - _globals['_PERPETUALMARKETFUNDING']._serialized_end=6658 + _globals['_DERIVATIVEMARKET']._serialized_end=4832 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_start=4835 + _globals['_DERIVATIVEMARKETSETTLEMENTINFO']._serialized_end=5026 + _globals['_MARKETVOLUME']._serialized_start=5028 + _globals['_MARKETVOLUME']._serialized_end=5138 + _globals['_VOLUMERECORD']._serialized_start=5141 + _globals['_VOLUMERECORD']._serialized_end=5299 + _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_start=5302 + _globals['_EXPIRYFUTURESMARKETINFOSTATE']._serialized_end=5442 + _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_start=5445 + _globals['_PERPETUALMARKETFUNDINGSTATE']._serialized_end=5576 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_start=5579 + _globals['_EXPIRYFUTURESMARKETINFO']._serialized_end=6201 + _globals['_PERPETUALMARKETINFO']._serialized_start=6204 + _globals['_PERPETUALMARKETINFO']._serialized_end=6530 + _globals['_PERPETUALMARKETFUNDING']._serialized_start=6533 + _globals['_PERPETUALMARKETFUNDING']._serialized_end=6760 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v2/proposal_pb2.py b/pyinjective/proto/injective/exchange/v2/proposal_pb2.py index 5189fbb2..6235d36e 100644 --- a/pyinjective/proto/injective/exchange/v2/proposal_pb2.py +++ b/pyinjective/proto/injective/exchange/v2/proposal_pb2.py @@ -23,7 +23,7 @@ from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/exchange/v2/proposal.proto\x12\x15injective.exchange.v2\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a$injective/exchange/v2/exchange.proto\x1a\"injective/exchange/v2/market.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\x9e\x08\n\x1dSpotMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12;\n\x06status\x18\t \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12\x1c\n\x06ticker\x18\n \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x0c \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12#\n\rbase_decimals\x18\r \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x0e \x01(\rR\rquoteDecimals\x12\x86\x01\n!has_disabled_minimal_protocol_fee\x18\x0f \x01(\x0e\x32\x36.injective.exchange.v2.DisableMinimalProtocolFeeUpdateB\x04\xc8\xde\x1f\x01R\x1dhasDisabledMinimalProtocolFee:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/SpotMarketParamUpdateProposal\"\xc7\x01\n\x16\x45xchangeEnableProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32#.injective.exchange.v2.ExchangeTypeR\x0c\x65xchangeType:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x1f\x65xchange/ExchangeEnableProposal\"\x97\x0e\n!BatchExchangeModificationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x80\x01\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x34.injective.exchange.v2.SpotMarketParamUpdateProposalR\x1espotMarketParamUpdateProposals\x12\x92\x01\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32:.injective.exchange.v2.DerivativeMarketParamUpdateProposalR$derivativeMarketParamUpdateProposals\x12p\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32/.injective.exchange.v2.SpotMarketLaunchProposalR\x19spotMarketLaunchProposals\x12\x7f\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x34.injective.exchange.v2.PerpetualMarketLaunchProposalR\x1eperpetualMarketLaunchProposals\x12\x8c\x01\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32\x38.injective.exchange.v2.ExpiryFuturesMarketLaunchProposalR\"expiryFuturesMarketLaunchProposals\x12\x90\x01\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32:.injective.exchange.v2.TradingRewardCampaignUpdateProposalR#tradingRewardCampaignUpdateProposal\x12\x8c\x01\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32\x38.injective.exchange.v2.BinaryOptionsMarketLaunchProposalR\"binaryOptionsMarketLaunchProposals\x12\x8f\x01\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32=.injective.exchange.v2.BinaryOptionsMarketParamUpdateProposalR!binaryOptionsParamUpdateProposals\x12\xbf\x01\n8auction_exchange_transfer_denom_decimals_update_proposal\x18\x0b \x01(\x0b\x32I.injective.exchange.v2.UpdateAuctionExchangeTransferDenomDecimalsProposalR2auctionExchangeTransferDenomDecimalsUpdateProposal\x12^\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountProposalR\x13\x66\x65\x65\x44iscountProposal\x12\x82\x01\n\"market_forced_settlement_proposals\x18\r \x03(\x0b\x32\x35.injective.exchange.v2.MarketForcedSettlementProposalR\x1fmarketForcedSettlementProposals\x12n\n\x1b\x64\x65nom_min_notional_proposal\x18\x0e \x01(\x0b\x32/.injective.exchange.v2.DenomMinNotionalProposalR\x18\x64\x65nomMinNotionalProposal:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BatchExchangeModificationProposal\"\x91\x06\n\x18SpotMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x05 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x46\n\x0cmin_notional\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x0b \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12#\n\rbase_decimals\x18\x0e \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x0f \x01(\rR\rquoteDecimals:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/SpotMarketLaunchProposal\"\xd0\t\n\x1dPerpetualMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12U\n\x14initial_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x10 \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12S\n\x13reduce_margin_ratio\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x12 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/PerpetualMarketLaunchProposal\"\xbf\x08\n!BinaryOptionsMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\n \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0b \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x11 \x01(\rR\x10\x61\x64minPermissions\x12X\n\x11open_notional_cap\x18\x12 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BinaryOptionsMarketLaunchProposal\"\xf0\t\n!ExpiryFuturesMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\t \x01(\x03R\x06\x65xpiry\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x11 \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12S\n\x13reduce_margin_ratio\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x13 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/ExpiryFuturesMarketLaunchProposal\"\xbb\x0c\n#DerivativeMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12S\n\x12HourlyInterestRate\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12HourlyInterestRate\x12W\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14HourlyFundingRateCap\x12;\n\x06status\x18\r \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12H\n\roracle_params\x18\x0e \x01(\x0b\x32#.injective.exchange.v2.OracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x11 \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12S\n\x13reduce_margin_ratio\x18\x12 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x13 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x01R\x0fopenNotionalCap\x12\x86\x01\n!has_disabled_minimal_protocol_fee\x18\x14 \x01(\x0e\x32\x36.injective.exchange.v2.DisableMinimalProtocolFeeUpdateB\x04\xc8\xde\x1f\x01R\x1dhasDisabledMinimalProtocolFee:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/DerivativeMarketParamUpdateProposal\"N\n\tAdminInfo\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x02 \x01(\rR\x10\x61\x64minPermissions\"\x99\x02\n\x1eMarketForcedSettlementProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'exchange/MarketForcedSettlementProposal\"\xa1\x02\n2UpdateAuctionExchangeTransferDenomDecimalsProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32$.injective.exchange.v2.DenomDecimalsR\rdenomDecimals:f\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*;exchange/UpdateAuctionExchangeTransferDenomDecimalsProposal\"\x9b\n\n&BinaryOptionsMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12N\n\x10settlement_price\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12;\n\x06status\x18\r \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12P\n\roracle_params\x18\x0e \x01(\x0b\x32+.injective.exchange.v2.ProviderOracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12X\n\x11open_notional_cap\x18\x11 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x01R\x0fopenNotionalCap\x12\x86\x01\n!has_disabled_minimal_protocol_fee\x18\x12 \x01(\x0e\x32\x36.injective.exchange.v2.DisableMinimalProtocolFeeUpdateB\x04\xc8\xde\x1f\x01R\x1dhasDisabledMinimalProtocolFee:Z\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*/exchange/BinaryOptionsMarketParamUpdateProposal\"\xc1\x01\n\x14ProviderOracleParams\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xc9\x01\n\x0cOracleParams\x12\x1f\n\x0boracle_base\x18\x01 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x02 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xec\x02\n#TradingRewardCampaignLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12]\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignLaunchProposal\"\xed\x03\n#TradingRewardCampaignUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12p\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR\x1c\x63\x61mpaignRewardPoolsAdditions\x12l\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR\x1a\x63\x61mpaignRewardPoolsUpdates:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignUpdateProposal\"\x80\x01\n\x11RewardPointUpdate\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\nnew_points\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tnewPoints\"\xd2\x02\n(TradingRewardPendingPointsUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x16pending_pool_timestamp\x18\x03 \x01(\x03R\x14pendingPoolTimestamp\x12Z\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32(.injective.exchange.v2.RewardPointUpdateR\x12rewardPointUpdates:\\\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*1exchange/TradingRewardPendingPointsUpdateProposal\"\xde\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x46\n\x08schedule\x18\x03 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountScheduleR\x08schedule:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1c\x65xchange/FeeDiscountProposal\"\x85\x02\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposalR\tproposals:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(exchange/BatchCommunityPoolSpendProposal\"\xae\x02\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12`\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32*.injective.exchange.v2.MarketFeeMultiplierR\x14marketFeeMultipliers:b\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal\"\xf9\x01\n\x18\x44\x65nomMinNotionalProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12W\n\x13\x64\x65nom_min_notionals\x18\x03 \x03(\x0b\x32\'.injective.exchange.v2.DenomMinNotionalR\x11\x64\x65nomMinNotionals:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/DenomMinNotionalProposal*D\n\x1f\x44isableMinimalProtocolFeeUpdate\x12\x0c\n\x08NoUpdate\x10\x00\x12\t\n\x05\x46\x61lse\x10\x01\x12\x08\n\x04True\x10\x02*x\n\x0c\x45xchangeType\x12\x32\n\x14\x45XCHANGE_UNSPECIFIED\x10\x00\x1a\x18\x8a\x9d \x14\x45XCHANGE_UNSPECIFIED\x12\x12\n\x04SPOT\x10\x01\x1a\x08\x8a\x9d \x04SPOT\x12 \n\x0b\x44\x45RIVATIVES\x10\x02\x1a\x0f\x8a\x9d \x0b\x44\x45RIVATIVESB\xf3\x01\n\x19\x63om.injective.exchange.v2B\rProposalProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/exchange/v2/proposal.proto\x12\x15injective.exchange.v2\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x14gogoproto/gogo.proto\x1a\x11\x61mino/amino.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a.cosmos/distribution/v1beta1/distribution.proto\x1a$injective/exchange/v2/exchange.proto\x1a\"injective/exchange/v2/market.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\x9e\x08\n\x1dSpotMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12;\n\x06status\x18\t \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12\x1c\n\x06ticker\x18\n \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x0c \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12#\n\rbase_decimals\x18\r \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x0e \x01(\rR\rquoteDecimals\x12\x86\x01\n!has_disabled_minimal_protocol_fee\x18\x0f \x01(\x0e\x32\x36.injective.exchange.v2.DisableMinimalProtocolFeeUpdateB\x04\xc8\xde\x1f\x01R\x1dhasDisabledMinimalProtocolFee:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/SpotMarketParamUpdateProposal\"\xc7\x01\n\x16\x45xchangeEnableProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12G\n\x0c\x65xchangeType\x18\x03 \x01(\x0e\x32#.injective.exchange.v2.ExchangeTypeR\x0c\x65xchangeType:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x8a\xe7\xb0*\x1f\x65xchange/ExchangeEnableProposal\"\x97\x0e\n!BatchExchangeModificationProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x80\x01\n\"spot_market_param_update_proposals\x18\x03 \x03(\x0b\x32\x34.injective.exchange.v2.SpotMarketParamUpdateProposalR\x1espotMarketParamUpdateProposals\x12\x92\x01\n(derivative_market_param_update_proposals\x18\x04 \x03(\x0b\x32:.injective.exchange.v2.DerivativeMarketParamUpdateProposalR$derivativeMarketParamUpdateProposals\x12p\n\x1cspot_market_launch_proposals\x18\x05 \x03(\x0b\x32/.injective.exchange.v2.SpotMarketLaunchProposalR\x19spotMarketLaunchProposals\x12\x7f\n!perpetual_market_launch_proposals\x18\x06 \x03(\x0b\x32\x34.injective.exchange.v2.PerpetualMarketLaunchProposalR\x1eperpetualMarketLaunchProposals\x12\x8c\x01\n&expiry_futures_market_launch_proposals\x18\x07 \x03(\x0b\x32\x38.injective.exchange.v2.ExpiryFuturesMarketLaunchProposalR\"expiryFuturesMarketLaunchProposals\x12\x90\x01\n\'trading_reward_campaign_update_proposal\x18\x08 \x01(\x0b\x32:.injective.exchange.v2.TradingRewardCampaignUpdateProposalR#tradingRewardCampaignUpdateProposal\x12\x8c\x01\n&binary_options_market_launch_proposals\x18\t \x03(\x0b\x32\x38.injective.exchange.v2.BinaryOptionsMarketLaunchProposalR\"binaryOptionsMarketLaunchProposals\x12\x8f\x01\n%binary_options_param_update_proposals\x18\n \x03(\x0b\x32=.injective.exchange.v2.BinaryOptionsMarketParamUpdateProposalR!binaryOptionsParamUpdateProposals\x12\xbf\x01\n8auction_exchange_transfer_denom_decimals_update_proposal\x18\x0b \x01(\x0b\x32I.injective.exchange.v2.UpdateAuctionExchangeTransferDenomDecimalsProposalR2auctionExchangeTransferDenomDecimalsUpdateProposal\x12^\n\x15\x66\x65\x65_discount_proposal\x18\x0c \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountProposalR\x13\x66\x65\x65\x44iscountProposal\x12\x82\x01\n\"market_forced_settlement_proposals\x18\r \x03(\x0b\x32\x35.injective.exchange.v2.MarketForcedSettlementProposalR\x1fmarketForcedSettlementProposals\x12n\n\x1b\x64\x65nom_min_notional_proposal\x18\x0e \x01(\x0b\x32/.injective.exchange.v2.DenomMinNotionalProposalR\x18\x64\x65nomMinNotionalProposal:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BatchExchangeModificationProposal\"\x91\x06\n\x18SpotMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x04 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x05 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x46\n\x0cmin_notional\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x0b \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12#\n\rbase_decimals\x18\x0e \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x0f \x01(\rR\rquoteDecimals:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/SpotMarketLaunchProposal\"\x84\n\n\x1dPerpetualMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12U\n\x14initial_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x10 \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12S\n\x13reduce_margin_ratio\x18\x11 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x12 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap\x12\x32\n\x15\x63ross_margin_eligible\x18\x13 \x01(\x08R\x13\x63rossMarginEligible:Q\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*&exchange/PerpetualMarketLaunchProposal\"\xbf\x08\n!BinaryOptionsMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x04 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x05 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x31\n\x14\x65xpiration_timestamp\x18\x08 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\t \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\n \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0b \x01(\tR\nquoteDenom\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12+\n\x11\x61\x64min_permissions\x18\x11 \x01(\rR\x10\x61\x64minPermissions\x12X\n\x11open_notional_cap\x18\x12 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/BinaryOptionsMarketLaunchProposal\"\xa4\n\n!ExpiryFuturesMarketLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06ticker\x18\x03 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x05 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x06 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x08 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x16\n\x06\x65xpiry\x18\t \x01(\x03R\x06\x65xpiry\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12R\n\x13min_price_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x11 \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12S\n\x13reduce_margin_ratio\x18\x12 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x13 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap\x12\x32\n\x15\x63ross_margin_eligible\x18\x14 \x01(\x08R\x13\x63rossMarginEligible:U\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0**exchange/ExpiryFuturesMarketLaunchProposal\"\xa4\r\n#DerivativeMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12U\n\x14initial_margin_ratio\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12I\n\x0emaker_fee_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\t \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\n \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12S\n\x12HourlyInterestRate\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12HourlyInterestRate\x12W\n\x14HourlyFundingRateCap\x18\x0c \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14HourlyFundingRateCap\x12;\n\x06status\x18\r \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12H\n\roracle_params\x18\x0e \x01(\x0b\x32#.injective.exchange.v2.OracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12?\n\nadmin_info\x18\x11 \x01(\x0b\x32 .injective.exchange.v2.AdminInfoR\tadminInfo\x12S\n\x13reduce_margin_ratio\x18\x12 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x13 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x01R\x0fopenNotionalCap\x12\x86\x01\n!has_disabled_minimal_protocol_fee\x18\x14 \x01(\x0e\x32\x36.injective.exchange.v2.DisableMinimalProtocolFeeUpdateB\x04\xc8\xde\x1f\x01R\x1dhasDisabledMinimalProtocolFee\x12g\n\x18\x63ross_margin_eligibility\x18\x15 \x01(\x0e\x32-.injective.exchange.v2.CrossMarginEligibilityR\x16\x63rossMarginEligibility:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/DerivativeMarketParamUpdateProposal\"N\n\tAdminInfo\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12+\n\x11\x61\x64min_permissions\x18\x02 \x01(\rR\x10\x61\x64minPermissions\"\x99\x02\n\x1eMarketForcedSettlementProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice:R\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\'exchange/MarketForcedSettlementProposal\"\xa1\x02\n2UpdateAuctionExchangeTransferDenomDecimalsProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12K\n\x0e\x64\x65nom_decimals\x18\x03 \x03(\x0b\x32$.injective.exchange.v2.DenomDecimalsR\rdenomDecimals:f\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*;exchange/UpdateAuctionExchangeTransferDenomDecimalsProposal\"\x9b\n\n&BinaryOptionsMarketParamUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12I\n\x0emaker_fee_rate\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12X\n\x16relayer_fee_share_rate\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13relayerFeeShareRate\x12R\n\x13min_price_tick_size\x18\x07 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x08 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12N\n\x10settlement_price\x18\x0b \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x14\n\x05\x61\x64min\x18\x0c \x01(\tR\x05\x61\x64min\x12;\n\x06status\x18\r \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status\x12P\n\roracle_params\x18\x0e \x01(\x0b\x32+.injective.exchange.v2.ProviderOracleParamsR\x0coracleParams\x12\x1c\n\x06ticker\x18\x0f \x01(\tB\x04\xc8\xde\x1f\x01R\x06ticker\x12\x46\n\x0cmin_notional\x18\x10 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12X\n\x11open_notional_cap\x18\x11 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x01R\x0fopenNotionalCap\x12\x86\x01\n!has_disabled_minimal_protocol_fee\x18\x12 \x01(\x0e\x32\x36.injective.exchange.v2.DisableMinimalProtocolFeeUpdateB\x04\xc8\xde\x1f\x01R\x1dhasDisabledMinimalProtocolFee:Z\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*/exchange/BinaryOptionsMarketParamUpdateProposal\"\xc1\x01\n\x14ProviderOracleParams\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xc9\x01\n\x0cOracleParams\x12\x1f\n\x0boracle_base\x18\x01 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x02 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x03 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x04 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xec\x02\n#TradingRewardCampaignLaunchProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12]\n\x15\x63\x61mpaign_reward_pools\x18\x04 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR\x13\x63\x61mpaignRewardPools:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignLaunchProposal\"\xed\x03\n#TradingRewardCampaignUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\rcampaign_info\x18\x03 \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x0c\x63\x61mpaignInfo\x12p\n\x1f\x63\x61mpaign_reward_pools_additions\x18\x04 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR\x1c\x63\x61mpaignRewardPoolsAdditions\x12l\n\x1d\x63\x61mpaign_reward_pools_updates\x18\x05 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR\x1a\x63\x61mpaignRewardPoolsUpdates:W\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*,exchange/TradingRewardCampaignUpdateProposal\"\x80\x01\n\x11RewardPointUpdate\x12\'\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\tR\x0e\x61\x63\x63ountAddress\x12\x42\n\nnew_points\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tnewPoints\"\xd2\x02\n(TradingRewardPendingPointsUpdateProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x34\n\x16pending_pool_timestamp\x18\x03 \x01(\x03R\x14pendingPoolTimestamp\x12Z\n\x14reward_point_updates\x18\x04 \x03(\x0b\x32(.injective.exchange.v2.RewardPointUpdateR\x12rewardPointUpdates:\\\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*1exchange/TradingRewardPendingPointsUpdateProposal\"\xde\x01\n\x13\x46\x65\x65\x44iscountProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x46\n\x08schedule\x18\x03 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountScheduleR\x08schedule:G\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*\x1c\x65xchange/FeeDiscountProposal\"\x85\x02\n\x1f\x42\x61tchCommunityPoolSpendProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12U\n\tproposals\x18\x03 \x03(\x0b\x32\x37.cosmos.distribution.v1beta1.CommunityPoolSpendProposalR\tproposals:S\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*(exchange/BatchCommunityPoolSpendProposal\"\xae\x02\n.AtomicMarketOrderFeeMultiplierScheduleProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12`\n\x16market_fee_multipliers\x18\x03 \x03(\x0b\x32*.injective.exchange.v2.MarketFeeMultiplierR\x14marketFeeMultipliers:b\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal\"\xf9\x01\n\x18\x44\x65nomMinNotionalProposal\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12W\n\x13\x64\x65nom_min_notionals\x18\x03 \x03(\x0b\x32\'.injective.exchange.v2.DenomMinNotionalR\x11\x64\x65nomMinNotionals:L\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\xca\xb4-\x1a\x63osmos.gov.v1beta1.Content\x8a\xe7\xb0*!exchange/DenomMinNotionalProposal*D\n\x1f\x44isableMinimalProtocolFeeUpdate\x12\x0c\n\x08NoUpdate\x10\x00\x12\t\n\x05\x46\x61lse\x10\x01\x12\x08\n\x04True\x10\x02*t\n\x16\x43rossMarginEligibility\x12\x1e\n\x1a\x43M_ELIGIBILITY_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43M_ELIGIBILITY_ELIGIBLE\x10\x01\x12\x1d\n\x19\x43M_ELIGIBILITY_INELIGIBLE\x10\x02*x\n\x0c\x45xchangeType\x12\x32\n\x14\x45XCHANGE_UNSPECIFIED\x10\x00\x1a\x18\x8a\x9d \x14\x45XCHANGE_UNSPECIFIED\x12\x12\n\x04SPOT\x10\x01\x1a\x08\x8a\x9d \x04SPOT\x12 \n\x0b\x44\x45RIVATIVES\x10\x02\x1a\x0f\x8a\x9d \x0b\x44\x45RIVATIVESB\xf3\x01\n\x19\x63om.injective.exchange.v2B\rProposalProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -199,10 +199,12 @@ _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*7exchange/AtomicMarketOrderFeeMultiplierScheduleProposal' _globals['_DENOMMINNOTIONALPROPOSAL']._loaded_options = None _globals['_DENOMMINNOTIONALPROPOSAL']._serialized_options = b'\210\240\037\000\350\240\037\000\312\264-\032cosmos.gov.v1beta1.Content\212\347\260*!exchange/DenomMinNotionalProposal' - _globals['_DISABLEMINIMALPROTOCOLFEEUPDATE']._serialized_start=14151 - _globals['_DISABLEMINIMALPROTOCOLFEEUPDATE']._serialized_end=14219 - _globals['_EXCHANGETYPE']._serialized_start=14221 - _globals['_EXCHANGETYPE']._serialized_end=14341 + _globals['_DISABLEMINIMALPROTOCOLFEEUPDATE']._serialized_start=14360 + _globals['_DISABLEMINIMALPROTOCOLFEEUPDATE']._serialized_end=14428 + _globals['_CROSSMARGINELIGIBILITY']._serialized_start=14430 + _globals['_CROSSMARGINELIGIBILITY']._serialized_end=14546 + _globals['_EXCHANGETYPE']._serialized_start=14548 + _globals['_EXCHANGETYPE']._serialized_end=14668 _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_start=350 _globals['_SPOTMARKETPARAMUPDATEPROPOSAL']._serialized_end=1404 _globals['_EXCHANGEENABLEPROPOSAL']._serialized_start=1407 @@ -212,39 +214,39 @@ _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_start=3427 _globals['_SPOTMARKETLAUNCHPROPOSAL']._serialized_end=4212 _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_start=4215 - _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=5447 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=5450 - _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=6537 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=6540 - _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=7804 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=7807 - _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=9402 - _globals['_ADMININFO']._serialized_start=9404 - _globals['_ADMININFO']._serialized_end=9482 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=9485 - _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=9766 - _globals['_UPDATEAUCTIONEXCHANGETRANSFERDENOMDECIMALSPROPOSAL']._serialized_start=9769 - _globals['_UPDATEAUCTIONEXCHANGETRANSFERDENOMDECIMALSPROPOSAL']._serialized_end=10058 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=10061 - _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=11368 - _globals['_PROVIDERORACLEPARAMS']._serialized_start=11371 - _globals['_PROVIDERORACLEPARAMS']._serialized_end=11564 - _globals['_ORACLEPARAMS']._serialized_start=11567 - _globals['_ORACLEPARAMS']._serialized_end=11768 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=11771 - _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=12135 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=12138 - _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=12631 - _globals['_REWARDPOINTUPDATE']._serialized_start=12634 - _globals['_REWARDPOINTUPDATE']._serialized_end=12762 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=12765 - _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=13103 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=13106 - _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=13328 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=13331 - _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=13592 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=13595 - _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=13897 - _globals['_DENOMMINNOTIONALPROPOSAL']._serialized_start=13900 - _globals['_DENOMMINNOTIONALPROPOSAL']._serialized_end=14149 + _globals['_PERPETUALMARKETLAUNCHPROPOSAL']._serialized_end=5499 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_start=5502 + _globals['_BINARYOPTIONSMARKETLAUNCHPROPOSAL']._serialized_end=6589 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_start=6592 + _globals['_EXPIRYFUTURESMARKETLAUNCHPROPOSAL']._serialized_end=7908 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_start=7911 + _globals['_DERIVATIVEMARKETPARAMUPDATEPROPOSAL']._serialized_end=9611 + _globals['_ADMININFO']._serialized_start=9613 + _globals['_ADMININFO']._serialized_end=9691 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_start=9694 + _globals['_MARKETFORCEDSETTLEMENTPROPOSAL']._serialized_end=9975 + _globals['_UPDATEAUCTIONEXCHANGETRANSFERDENOMDECIMALSPROPOSAL']._serialized_start=9978 + _globals['_UPDATEAUCTIONEXCHANGETRANSFERDENOMDECIMALSPROPOSAL']._serialized_end=10267 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_start=10270 + _globals['_BINARYOPTIONSMARKETPARAMUPDATEPROPOSAL']._serialized_end=11577 + _globals['_PROVIDERORACLEPARAMS']._serialized_start=11580 + _globals['_PROVIDERORACLEPARAMS']._serialized_end=11773 + _globals['_ORACLEPARAMS']._serialized_start=11776 + _globals['_ORACLEPARAMS']._serialized_end=11977 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_start=11980 + _globals['_TRADINGREWARDCAMPAIGNLAUNCHPROPOSAL']._serialized_end=12344 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_start=12347 + _globals['_TRADINGREWARDCAMPAIGNUPDATEPROPOSAL']._serialized_end=12840 + _globals['_REWARDPOINTUPDATE']._serialized_start=12843 + _globals['_REWARDPOINTUPDATE']._serialized_end=12971 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_start=12974 + _globals['_TRADINGREWARDPENDINGPOINTSUPDATEPROPOSAL']._serialized_end=13312 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_start=13315 + _globals['_FEEDISCOUNTPROPOSAL']._serialized_end=13537 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_start=13540 + _globals['_BATCHCOMMUNITYPOOLSPENDPROPOSAL']._serialized_end=13801 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_start=13804 + _globals['_ATOMICMARKETORDERFEEMULTIPLIERSCHEDULEPROPOSAL']._serialized_end=14106 + _globals['_DENOMMINNOTIONALPROPOSAL']._serialized_start=14109 + _globals['_DENOMMINNOTIONALPROPOSAL']._serialized_end=14358 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v2/query_pb2.py b/pyinjective/proto/injective/exchange/v2/query_pb2.py index 6bcf77ed..e7c75fc6 100644 --- a/pyinjective/proto/injective/exchange/v2/query_pb2.py +++ b/pyinjective/proto/injective/exchange/v2/query_pb2.py @@ -21,7 +21,7 @@ from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_dot_oracle_dot_v1beta1_dot_oracle__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/exchange/v2/query.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a$injective/exchange/v2/exchange.proto\x1a%injective/exchange/v2/orderbook.proto\x1a\"injective/exchange/v2/market.proto\x1a#injective/exchange/v2/genesis.proto\x1a%injective/oracle/v1beta1/oracle.proto\"O\n\nSubaccount\x12\x16\n\x06trader\x18\x01 \x01(\tR\x06trader\x12)\n\x10subaccount_nonce\x18\x02 \x01(\rR\x0fsubaccountNonce\"`\n\x1cQuerySubaccountOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\xb7\x01\n\x1dQuerySubaccountOrdersResponse\x12I\n\nbuy_orders\x18\x01 \x03(\x0b\x32*.injective.exchange.v2.SubaccountOrderDataR\tbuyOrders\x12K\n\x0bsell_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v2.SubaccountOrderDataR\nsellOrders\"\xaa\x01\n%SubaccountOrderbookMetadataWithMarket\x12N\n\x08metadata\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v2.SubaccountOrderbookMetadataR\x08metadata\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x03 \x01(\x08R\x05isBuy\"\x1c\n\x1aQueryExchangeParamsRequest\"Z\n\x1bQueryExchangeParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.exchange.v2.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x8e\x01\n\x1eQuerySubaccountDepositsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12G\n\nsubaccount\x18\x02 \x01(\x0b\x32!.injective.exchange.v2.SubaccountB\x04\xc8\xde\x1f\x01R\nsubaccount\"\xe0\x01\n\x1fQuerySubaccountDepositsResponse\x12`\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x44.injective.exchange.v2.QuerySubaccountDepositsResponse.DepositsEntryR\x08\x64\x65posits\x1a[\n\rDepositsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositR\x05value:\x02\x38\x01\"\x1e\n\x1cQueryExchangeBalancesRequest\"a\n\x1dQueryExchangeBalancesResponse\x12@\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x1e.injective.exchange.v2.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\"7\n\x1bQueryAggregateVolumeRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"p\n\x1cQueryAggregateVolumeResponse\x12P\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\x10\x61ggregateVolumes\"Y\n\x1cQueryAggregateVolumesRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\xef\x01\n\x1dQueryAggregateVolumesResponse\x12o\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x33.injective.exchange.v2.AggregateAccountVolumeRecordR\x17\x61ggregateAccountVolumes\x12]\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\x16\x61ggregateMarketVolumes\"@\n!QueryAggregateMarketVolumeRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"g\n\"QueryAggregateMarketVolumeResponse\x12\x41\n\x06volume\x18\x01 \x01(\x0b\x32#.injective.exchange.v2.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"G\n/QueryAuctionExchangeTransferDenomDecimalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"L\n0QueryAuctionExchangeTransferDenomDecimalResponse\x12\x18\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04R\x07\x64\x65\x63imal\"J\n0QueryAuctionExchangeTransferDenomDecimalsRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\"\x86\x01\n1QueryAuctionExchangeTransferDenomDecimalsResponse\x12Q\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32$.injective.exchange.v2.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\"C\n\"QueryAggregateMarketVolumesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"d\n#QueryAggregateMarketVolumesResponse\x12=\n\x07volumes\x18\x01 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\x07volumes\"Z\n\x1dQuerySubaccountDepositRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"\\\n\x1eQuerySubaccountDepositResponse\x12:\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositR\x08\x64\x65posits\"P\n\x17QuerySpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"W\n\x18QuerySpotMarketsResponse\x12;\n\x07markets\x18\x01 \x03(\x0b\x32!.injective.exchange.v2.SpotMarketR\x07markets\"5\n\x16QuerySpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"T\n\x17QuerySpotMarketResponse\x12\x39\n\x06market\x18\x01 \x01(\x0b\x32!.injective.exchange.v2.SpotMarketR\x06market\"\xd1\x02\n\x19QuerySpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12?\n\norder_side\x18\x03 \x01(\x0e\x32 .injective.exchange.v2.OrderSideR\torderSide\x12_\n\x19limit_cumulative_notional\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\x12_\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeQuantity\"\xc0\x01\n\x1aQuerySpotOrderbookResponse\x12\x46\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\x0e\x62uysPriceLevel\x12H\n\x11sells_price_level\x18\x02 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\x0fsellsPriceLevel\x12\x10\n\x03seq\x18\x03 \x01(\x04R\x03seq\"\xa3\x01\n\x0e\x46ullSpotMarket\x12\x39\n\x06market\x18\x01 \x01(\x0b\x32!.injective.exchange.v2.SpotMarketR\x06market\x12V\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32%.injective.exchange.v2.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTob\"\x88\x01\n\x1bQueryFullSpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"_\n\x1cQueryFullSpotMarketsResponse\x12?\n\x07markets\x18\x01 \x03(\x0b\x32%.injective.exchange.v2.FullSpotMarketR\x07markets\"m\n\x1aQueryFullSpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x32\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08R\x12withMidPriceAndTob\"\\\n\x1bQueryFullSpotMarketResponse\x12=\n\x06market\x18\x01 \x01(\x0b\x32%.injective.exchange.v2.FullSpotMarketR\x06market\"\x85\x01\n\x1eQuerySpotOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"g\n\x1fQuerySpotOrdersByHashesResponse\x12\x44\n\x06orders\x18\x01 \x03(\x0b\x32,.injective.exchange.v2.TrimmedSpotLimitOrderR\x06orders\"`\n\x1cQueryTraderSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"l\n$QueryAccountAddressSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x9b\x02\n\x15TrimmedSpotLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x14\n\x05isBuy\x18\x04 \x01(\x08R\x05isBuy\x12\x1d\n\norder_hash\x18\x05 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"e\n\x1dQueryTraderSpotOrdersResponse\x12\x44\n\x06orders\x18\x01 \x03(\x0b\x32,.injective.exchange.v2.TrimmedSpotLimitOrderR\x06orders\"m\n%QueryAccountAddressSpotOrdersResponse\x12\x44\n\x06orders\x18\x01 \x03(\x0b\x32,.injective.exchange.v2.TrimmedSpotLimitOrderR\x06orders\"=\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xfb\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"C\n$QueryDerivativeMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\x81\x02\n%QueryDerivativeMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xb5\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12_\n\x19limit_cumulative_notional\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\"\xc6\x01\n QueryDerivativeOrderbookResponse\x12\x46\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\x0e\x62uysPriceLevel\x12H\n\x11sells_price_level\x18\x02 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\x0fsellsPriceLevel\x12\x10\n\x03seq\x18\x03 \x01(\x04R\x03seq\"\x97\x03\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x44\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nbaseAmount\x12\x46\n\x0cquote_amount\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12G\n\x08strategy\x18\x05 \x01(\x0e\x32+.injective.exchange.v2.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"\xd7\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x46\n\x0cquote_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12G\n\x08strategy\x18\x04 \x01(\x0e\x32+.injective.exchange.v2.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"f\n\"QueryTraderDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"r\n*QueryAccountAddressDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xe9\x02\n\x1bTrimmedDerivativeLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12\x1d\n\norder_hash\x18\x06 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"q\n#QueryTraderDerivativeOrdersResponse\x12J\n\x06orders\x18\x01 \x03(\x0b\x32\x32.injective.exchange.v2.TrimmedDerivativeLimitOrderR\x06orders\"y\n+QueryAccountAddressDerivativeOrdersResponse\x12J\n\x06orders\x18\x01 \x03(\x0b\x32\x32.injective.exchange.v2.TrimmedDerivativeLimitOrderR\x06orders\"\x8b\x01\n$QueryDerivativeOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"s\n%QueryDerivativeOrdersByHashesResponse\x12J\n\x06orders\x18\x01 \x03(\x0b\x32\x32.injective.exchange.v2.TrimmedDerivativeLimitOrderR\x06orders\"\x8a\x01\n\x1dQueryDerivativeMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"\x88\x01\n\nPriceLevel\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"\xb5\x01\n\x14PerpetualMarketState\x12K\n\x0bmarket_info\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.PerpetualMarketInfoR\nmarketInfo\x12P\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingR\x0b\x66undingInfo\"\xa6\x03\n\x14\x46ullDerivativeMarket\x12?\n\x06market\x18\x01 \x01(\x0b\x32\'.injective.exchange.v2.DerivativeMarketR\x06market\x12T\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32+.injective.exchange.v2.PerpetualMarketStateH\x00R\rperpetualInfo\x12S\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32..injective.exchange.v2.ExpiryFuturesMarketInfoH\x00R\x0b\x66uturesInfo\x12\x42\n\nmark_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12V\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32%.injective.exchange.v2.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTobB\x06\n\x04info\"g\n\x1eQueryDerivativeMarketsResponse\x12\x45\n\x07markets\x18\x01 \x03(\x0b\x32+.injective.exchange.v2.FullDerivativeMarketR\x07markets\";\n\x1cQueryDerivativeMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"d\n\x1dQueryDerivativeMarketResponse\x12\x43\n\x06market\x18\x01 \x01(\x0b\x32+.injective.exchange.v2.FullDerivativeMarketR\x06market\"B\n#QueryDerivativeMarketAddressRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"e\n$QueryDerivativeMarketAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"G\n QuerySubaccountTradeNonceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"<\n\x1dQueryPositionsInMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"g\n\x1eQueryPositionsInMarketResponse\x12\x45\n\x05state\x18\x01 \x03(\x0b\x32).injective.exchange.v2.DerivativePositionB\x04\xc8\xde\x1f\x01R\x05state\"F\n\x1fQuerySubaccountPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"j\n&QuerySubaccountPositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"s\n/QuerySubaccountEffectivePositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"J\n#QuerySubaccountOrderMetadataRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"i\n QuerySubaccountPositionsResponse\x12\x45\n\x05state\x18\x01 \x03(\x0b\x32).injective.exchange.v2.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"f\n\'QuerySubaccountPositionInMarketResponse\x12;\n\x05state\x18\x01 \x01(\x0b\x32\x1f.injective.exchange.v2.PositionB\x04\xc8\xde\x1f\x01R\x05state\"\x83\x02\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12N\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65\x66\x66\x65\x63tiveMargin\"x\n0QuerySubaccountEffectivePositionInMarketResponse\x12\x44\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v2.EffectivePositionB\x04\xc8\xde\x1f\x01R\x05state\">\n\x1fQueryPerpetualMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"h\n QueryPerpetualMarketInfoResponse\x12\x44\n\x04info\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"B\n#QueryExpiryFuturesMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"p\n$QueryExpiryFuturesMarketInfoResponse\x12H\n\x04info\x18\x01 \x01(\x0b\x32..injective.exchange.v2.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"A\n\"QueryPerpetualMarketFundingRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"p\n#QueryPerpetualMarketFundingResponse\x12I\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x05state\"\x86\x01\n$QuerySubaccountOrderMetadataResponse\x12^\n\x08metadata\x18\x01 \x03(\x0b\x32<.injective.exchange.v2.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00R\x08metadata\"9\n!QuerySubaccountTradeNonceResponse\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"\x19\n\x17QueryModuleStateRequest\"U\n\x18QueryModuleStateResponse\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32#.injective.exchange.v2.GenesisStateR\x05state\"\x17\n\x15QueryPositionsRequest\"_\n\x16QueryPositionsResponse\x12\x45\n\x05state\x18\x01 \x03(\x0b\x32).injective.exchange.v2.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"q\n\x1dQueryTradeRewardPointsRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x34\n\x16pending_pool_timestamp\x18\x02 \x01(\x03R\x14pendingPoolTimestamp\"\x84\x01\n\x1eQueryTradeRewardPointsResponse\x12\x62\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61\x63\x63ountTradeRewardPoints\"!\n\x1fQueryTradeRewardCampaignRequest\"\xee\x04\n QueryTradeRewardCampaignResponse\x12q\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12{\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12^\n\x19total_trade_reward_points\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16totalTradeRewardPoints\x12\x8a\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12m\n!pending_total_trade_reward_points\x18\x05 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dpendingTotalTradeRewardPoints\";\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"D\n QueryIsOptedOutOfRewardsResponse\x12 \n\x0cis_opted_out\x18\x01 \x01(\x08R\nisOptedOut\"\'\n%QueryOptedOutOfRewardsAccountsRequest\"D\n&QueryOptedOutOfRewardsAccountsResponse\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\">\n\"QueryFeeDiscountAccountInfoRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"\xdf\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x1d\n\ntier_level\x18\x01 \x01(\x04R\ttierLevel\x12M\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountTierInfoR\x0b\x61\x63\x63ountInfo\x12J\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32).injective.exchange.v2.FeeDiscountTierTTLR\naccountTtl\"!\n\x1fQueryFeeDiscountScheduleRequest\"\x82\x01\n QueryFeeDiscountScheduleResponse\x12^\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\"@\n\x1dQueryBalanceMismatchesRequest\x12\x1f\n\x0b\x64ust_factor\x18\x01 \x01(\x03R\ndustFactor\"\xa2\x03\n\x0f\x42\x61lanceMismatch\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12J\n\x0e\x65xpected_total\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rexpectedTotal\x12\x43\n\ndifference\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\ndifference\"w\n\x1eQueryBalanceMismatchesResponse\x12U\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32&.injective.exchange.v2.BalanceMismatchR\x11\x62\x61lanceMismatches\"%\n#QueryBalanceWithBalanceHoldsRequest\"\x97\x02\n\x15\x42\x61lanceWithMarginHold\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\"\x91\x01\n$QueryBalanceWithBalanceHoldsResponse\x12i\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32,.injective.exchange.v2.BalanceWithMarginHoldR\x17\x62\x61lanceWithBalanceHolds\"\'\n%QueryFeeDiscountTierStatisticsRequest\"9\n\rTierStatistic\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"n\n&QueryFeeDiscountTierStatisticsResponse\x12\x44\n\nstatistics\x18\x01 \x03(\x0b\x32$.injective.exchange.v2.TierStatisticR\nstatistics\"\x17\n\x15MitoVaultInfosRequest\"\xc4\x01\n\x16MitoVaultInfosResponse\x12)\n\x10master_addresses\x18\x01 \x03(\tR\x0fmasterAddresses\x12\x31\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\tR\x13\x64\x65rivativeAddresses\x12%\n\x0espot_addresses\x18\x03 \x03(\tR\rspotAddresses\x12%\n\x0e\x63w20_addresses\x18\x04 \x03(\tR\rcw20Addresses\"D\n\x1dQueryMarketIDFromVaultRequest\x12#\n\rvault_address\x18\x01 \x01(\tR\x0cvaultAddress\"=\n\x1eQueryMarketIDFromVaultResponse\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"A\n\"QueryHistoricalTradeRecordsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"o\n#QueryHistoricalTradeRecordsResponse\x12H\n\rtrade_records\x18\x01 \x03(\x0b\x32#.injective.exchange.v2.TradeRecordsR\x0ctradeRecords\"\xb7\x01\n\x13TradeHistoryOptions\x12,\n\x12trade_grouping_sec\x18\x01 \x01(\x04R\x10tradeGroupingSec\x12\x17\n\x07max_age\x18\x02 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x04 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x05 \x01(\x08R\x0fincludeMetadata\"\x9b\x01\n\x1cQueryMarketVolatilityRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12^\n\x15trade_history_options\x18\x02 \x01(\x0b\x32*.injective.exchange.v2.TradeHistoryOptionsR\x13tradeHistoryOptions\"\xfe\x01\n\x1dQueryMarketVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x43\n\x0braw_history\x18\x03 \x03(\x0b\x32\".injective.exchange.v2.TradeRecordR\nrawHistory\"3\n\x19QueryBinaryMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"b\n\x1aQueryBinaryMarketsResponse\x12\x44\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v2.BinaryOptionsMarketR\x07markets\"q\n-QueryTraderDerivativeConditionalOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x9e\x03\n!TrimmedDerivativeConditionalOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12G\n\x0ctriggerPrice\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12%\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimitR\x07isLimit\x12\x1d\n\norder_hash\x18\x07 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x08 \x01(\tR\x03\x63id\"\x82\x01\n.QueryTraderDerivativeConditionalOrdersResponse\x12P\n\x06orders\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v2.TrimmedDerivativeConditionalOrderR\x06orders\"<\n\x1dQueryFullSpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xae\x01\n\x1eQueryFullSpotOrderbookResponse\x12<\n\x04\x42ids\x18\x01 \x03(\x0b\x32(.injective.exchange.v2.TrimmedLimitOrderR\x04\x42ids\x12<\n\x04\x41sks\x18\x02 \x03(\x0b\x32(.injective.exchange.v2.TrimmedLimitOrderR\x04\x41sks\x12\x10\n\x03seq\x18\x03 \x01(\x04R\x03seq\"B\n#QueryFullDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xb4\x01\n$QueryFullDerivativeOrderbookResponse\x12<\n\x04\x42ids\x18\x01 \x03(\x0b\x32(.injective.exchange.v2.TrimmedLimitOrderR\x04\x42ids\x12<\n\x04\x41sks\x18\x02 \x03(\x0b\x32(.injective.exchange.v2.TrimmedLimitOrderR\x04\x41sks\x12\x10\n\x03seq\x18\x03 \x01(\x04R\x03seq\"\xd3\x01\n\x11TrimmedLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\"M\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"v\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x43\n\nmultiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmultiplier\"8\n\x1cQueryActiveStakeGrantRequest\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\"\xa9\x01\n\x1dQueryActiveStakeGrantResponse\x12\x38\n\x05grant\x18\x01 \x01(\x0b\x32\".injective.exchange.v2.ActiveGrantR\x05grant\x12N\n\x0f\x65\x66\x66\x65\x63tive_grant\x18\x02 \x01(\x0b\x32%.injective.exchange.v2.EffectiveGrantR\x0e\x65\x66\x66\x65\x63tiveGrant\"T\n\x1eQueryGrantAuthorizationRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\"X\n\x1fQueryGrantAuthorizationResponse\x12\x35\n\x06\x61mount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\";\n\x1fQueryGrantAuthorizationsRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\"\xb2\x01\n QueryGrantAuthorizationsResponse\x12K\n\x12total_grant_amount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x06grants\x18\x02 \x03(\x0b\x32).injective.exchange.v2.GrantAuthorizationR\x06grants\"8\n\x19QueryMarketBalanceRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\\\n\x1aQueryMarketBalanceResponse\x12>\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32$.injective.exchange.v2.MarketBalanceR\x07\x62\x61lance\"\x1c\n\x1aQueryMarketBalancesRequest\"_\n\x1bQueryMarketBalancesResponse\x12@\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32$.injective.exchange.v2.MarketBalanceR\x08\x62\x61lances\"k\n\rMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12=\n\x07\x62\x61lance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x62\x61lance\"4\n\x1cQueryDenomMinNotionalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"\\\n\x1dQueryDenomMinNotionalResponse\x12;\n\x06\x61mount\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount\"\x1f\n\x1dQueryDenomMinNotionalsRequest\"y\n\x1eQueryDenomMinNotionalsResponse\x12W\n\x13\x64\x65nom_min_notionals\x18\x01 \x03(\x0b\x32\'.injective.exchange.v2.DenomMinNotionalR\x11\x64\x65nomMinNotionals\"j\n\x0cOpenInterest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12=\n\x07\x62\x61lance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x62\x61lance\"7\n\x18QueryOpenInterestRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"X\n\x19QueryOpenInterestResponse\x12;\n\x06\x61mount\x18\x01 \x01(\x0b\x32#.injective.exchange.v2.OpenInterestR\x06\x61mount*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\xd9k\n\x05Query\x12\xd3\x01\n\x15L3DerivativeOrderBook\x12:.injective.exchange.v2.QueryFullDerivativeOrderbookRequest\x1a;.injective.exchange.v2.QueryFullDerivativeOrderbookResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v2/derivative/L3OrderBook/{market_id}\x12\xbb\x01\n\x0fL3SpotOrderBook\x12\x34.injective.exchange.v2.QueryFullSpotOrderbookRequest\x1a\x35.injective.exchange.v2.QueryFullSpotOrderbookResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v2/spot/L3OrderBook/{market_id}\x12\xab\x01\n\x13QueryExchangeParams\x12\x31.injective.exchange.v2.QueryExchangeParamsRequest\x1a\x32.injective.exchange.v2.QueryExchangeParamsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/exchange/v2/exchangeParams\x12\xbf\x01\n\x12SubaccountDeposits\x12\x35.injective.exchange.v2.QuerySubaccountDepositsRequest\x1a\x36.injective.exchange.v2.QuerySubaccountDepositsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v2/exchange/subaccountDeposits\x12\xbb\x01\n\x11SubaccountDeposit\x12\x34.injective.exchange.v2.QuerySubaccountDepositRequest\x1a\x35.injective.exchange.v2.QuerySubaccountDepositResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v2/exchange/subaccountDeposit\x12\xb7\x01\n\x10\x45xchangeBalances\x12\x33.injective.exchange.v2.QueryExchangeBalancesRequest\x1a\x34.injective.exchange.v2.QueryExchangeBalancesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/exchange/v2/exchange/exchangeBalances\x12\xbd\x01\n\x0f\x41ggregateVolume\x12\x32.injective.exchange.v2.QueryAggregateVolumeRequest\x1a\x33.injective.exchange.v2.QueryAggregateVolumeResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v2/exchange/aggregateVolume/{account}\x12\xb7\x01\n\x10\x41ggregateVolumes\x12\x33.injective.exchange.v2.QueryAggregateVolumesRequest\x1a\x34.injective.exchange.v2.QueryAggregateVolumesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/exchange/v2/exchange/aggregateVolumes\x12\xd7\x01\n\x15\x41ggregateMarketVolume\x12\x38.injective.exchange.v2.QueryAggregateMarketVolumeRequest\x1a\x39.injective.exchange.v2.QueryAggregateMarketVolumeResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v2/exchange/aggregateMarketVolume/{market_id}\x12\xcf\x01\n\x16\x41ggregateMarketVolumes\x12\x39.injective.exchange.v2.QueryAggregateMarketVolumesRequest\x1a:.injective.exchange.v2.QueryAggregateMarketVolumesResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v2/exchange/aggregateMarketVolumes\x12\x8f\x02\n#AuctionExchangeTransferDenomDecimal\x12\x46.injective.exchange.v2.QueryAuctionExchangeTransferDenomDecimalRequest\x1aG.injective.exchange.v2.QueryAuctionExchangeTransferDenomDecimalResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/injective/exchange/v2/exchange/auction_exchange_transfer_denom_decimal/{denom}\x12\x8b\x02\n$AuctionExchangeTransferDenomDecimals\x12G.injective.exchange.v2.QueryAuctionExchangeTransferDenomDecimalsRequest\x1aH.injective.exchange.v2.QueryAuctionExchangeTransferDenomDecimalsResponse\"P\x82\xd3\xe4\x93\x02J\x12H/injective/exchange/v2/exchange/auction_exchange_transfer_denom_decimals\x12\x9b\x01\n\x0bSpotMarkets\x12..injective.exchange.v2.QuerySpotMarketsRequest\x1a/.injective.exchange.v2.QuerySpotMarketsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/exchange/v2/spot/markets\x12\xa4\x01\n\nSpotMarket\x12-.injective.exchange.v2.QuerySpotMarketRequest\x1a..injective.exchange.v2.QuerySpotMarketResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v2/spot/markets/{market_id}\x12\xac\x01\n\x0f\x46ullSpotMarkets\x12\x32.injective.exchange.v2.QueryFullSpotMarketsRequest\x1a\x33.injective.exchange.v2.QueryFullSpotMarketsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v2/spot/full_markets\x12\xb4\x01\n\x0e\x46ullSpotMarket\x12\x31.injective.exchange.v2.QueryFullSpotMarketRequest\x1a\x32.injective.exchange.v2.QueryFullSpotMarketResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v2/spot/full_market/{market_id}\x12\xaf\x01\n\rSpotOrderbook\x12\x30.injective.exchange.v2.QuerySpotOrderbookRequest\x1a\x31.injective.exchange.v2.QuerySpotOrderbookResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v2/spot/orderbook/{market_id}\x12\xc5\x01\n\x10TraderSpotOrders\x12\x33.injective.exchange.v2.QueryTraderSpotOrdersRequest\x1a\x34.injective.exchange.v2.QueryTraderSpotOrdersResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v2/spot/orders/{market_id}/{subaccount_id}\x12\xe7\x01\n\x18\x41\x63\x63ountAddressSpotOrders\x12;.injective.exchange.v2.QueryAccountAddressSpotOrdersRequest\x1a<.injective.exchange.v2.QueryAccountAddressSpotOrdersResponse\"P\x82\xd3\xe4\x93\x02J\x12H/injective/exchange/v2/spot/orders/{market_id}/account/{account_address}\x12\xd5\x01\n\x12SpotOrdersByHashes\x12\x35.injective.exchange.v2.QuerySpotOrdersByHashesRequest\x1a\x36.injective.exchange.v2.QuerySpotOrdersByHashesResponse\"P\x82\xd3\xe4\x93\x02J\x12H/injective/exchange/v2/spot/orders_by_hashes/{market_id}/{subaccount_id}\x12\xb4\x01\n\x10SubaccountOrders\x12\x33.injective.exchange.v2.QuerySubaccountOrdersRequest\x1a\x34.injective.exchange.v2.QuerySubaccountOrdersResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v2/orders/{subaccount_id}\x12\xd8\x01\n\x19TraderSpotTransientOrders\x12\x33.injective.exchange.v2.QueryTraderSpotOrdersRequest\x1a\x34.injective.exchange.v2.QueryTraderSpotOrdersResponse\"P\x82\xd3\xe4\x93\x02J\x12H/injective/exchange/v2/spot/transient_orders/{market_id}/{subaccount_id}\x12\xc6\x01\n\x12SpotMidPriceAndTOB\x12\x35.injective.exchange.v2.QuerySpotMidPriceAndTOBRequest\x1a\x36.injective.exchange.v2.QuerySpotMidPriceAndTOBResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v2/spot/mid_price_and_tob/{market_id}\x12\xde\x01\n\x18\x44\x65rivativeMidPriceAndTOB\x12;.injective.exchange.v2.QueryDerivativeMidPriceAndTOBRequest\x1a<.injective.exchange.v2.QueryDerivativeMidPriceAndTOBResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/injective/exchange/v2/derivative/mid_price_and_tob/{market_id}\x12\xc7\x01\n\x13\x44\x65rivativeOrderbook\x12\x36.injective.exchange.v2.QueryDerivativeOrderbookRequest\x1a\x37.injective.exchange.v2.QueryDerivativeOrderbookResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v2/derivative/orderbook/{market_id}\x12\xdd\x01\n\x16TraderDerivativeOrders\x12\x39.injective.exchange.v2.QueryTraderDerivativeOrdersRequest\x1a:.injective.exchange.v2.QueryTraderDerivativeOrdersResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/injective/exchange/v2/derivative/orders/{market_id}/{subaccount_id}\x12\xff\x01\n\x1e\x41\x63\x63ountAddressDerivativeOrders\x12\x41.injective.exchange.v2.QueryAccountAddressDerivativeOrdersRequest\x1a\x42.injective.exchange.v2.QueryAccountAddressDerivativeOrdersResponse\"V\x82\xd3\xe4\x93\x02P\x12N/injective/exchange/v2/derivative/orders/{market_id}/account/{account_address}\x12\xed\x01\n\x18\x44\x65rivativeOrdersByHashes\x12;.injective.exchange.v2.QueryDerivativeOrdersByHashesRequest\x1a<.injective.exchange.v2.QueryDerivativeOrdersByHashesResponse\"V\x82\xd3\xe4\x93\x02P\x12N/injective/exchange/v2/derivative/orders_by_hashes/{market_id}/{subaccount_id}\x12\xf0\x01\n\x1fTraderDerivativeTransientOrders\x12\x39.injective.exchange.v2.QueryTraderDerivativeOrdersRequest\x1a:.injective.exchange.v2.QueryTraderDerivativeOrdersResponse\"V\x82\xd3\xe4\x93\x02P\x12N/injective/exchange/v2/derivative/transient_orders/{market_id}/{subaccount_id}\x12\xb3\x01\n\x11\x44\x65rivativeMarkets\x12\x34.injective.exchange.v2.QueryDerivativeMarketsRequest\x1a\x35.injective.exchange.v2.QueryDerivativeMarketsResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/exchange/v2/derivative/markets\x12\xbc\x01\n\x10\x44\x65rivativeMarket\x12\x33.injective.exchange.v2.QueryDerivativeMarketRequest\x1a\x34.injective.exchange.v2.QueryDerivativeMarketResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v2/derivative/markets/{market_id}\x12\xd8\x01\n\x17\x44\x65rivativeMarketAddress\x12:.injective.exchange.v2.QueryDerivativeMarketAddressRequest\x1a;.injective.exchange.v2.QueryDerivativeMarketAddressResponse\"D\x82\xd3\xe4\x93\x02>\x12\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v2/positions_in_market/{market_id}\x12\xcb\x01\n\x13SubaccountPositions\x12\x36.injective.exchange.v2.QuerySubaccountPositionsRequest\x1a\x37.injective.exchange.v2.QuerySubaccountPositionsResponse\"C\x82\xd3\xe4\x93\x02=\x12;/injective/exchange/v2/subaccount_positions/{subaccount_id}\x12\xe1\x01\n\x1aSubaccountPositionInMarket\x12=.injective.exchange.v2.QuerySubaccountPositionInMarketRequest\x1a>.injective.exchange.v2.QuerySubaccountPositionInMarketResponse\"D\x82\xd3\xe4\x93\x02>\x12\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v2/vault_market_id/{vault_address}\x12\xc8\x01\n\x16HistoricalTradeRecords\x12\x39.injective.exchange.v2.QueryHistoricalTradeRecordsRequest\x1a:.injective.exchange.v2.QueryHistoricalTradeRecordsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v2/historical_trade_records\x12\xc8\x01\n\x13IsOptedOutOfRewards\x12\x36.injective.exchange.v2.QueryIsOptedOutOfRewardsRequest\x1a\x37.injective.exchange.v2.QueryIsOptedOutOfRewardsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v2/is_opted_out_of_rewards/{account}\x12\xd6\x01\n\x19OptedOutOfRewardsAccounts\x12<.injective.exchange.v2.QueryOptedOutOfRewardsAccountsRequest\x1a=.injective.exchange.v2.QueryOptedOutOfRewardsAccountsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v2/opted_out_of_rewards_accounts\x12\xbb\x01\n\x10MarketVolatility\x12\x33.injective.exchange.v2.QueryMarketVolatilityRequest\x1a\x34.injective.exchange.v2.QueryMarketVolatilityResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v2/market_volatility/{market_id}\x12\xb2\x01\n\x14\x42inaryOptionsMarkets\x12\x30.injective.exchange.v2.QueryBinaryMarketsRequest\x1a\x31.injective.exchange.v2.QueryBinaryMarketsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v2/binary_options/markets\x12\x8a\x02\n!TraderDerivativeConditionalOrders\x12\x44.injective.exchange.v2.QueryTraderDerivativeConditionalOrdersRequest\x1a\x45.injective.exchange.v2.QueryTraderDerivativeConditionalOrdersResponse\"X\x82\xd3\xe4\x93\x02R\x12P/injective/exchange/v2/derivative/orders/conditional/{market_id}/{subaccount_id}\x12\xef\x01\n\"MarketAtomicExecutionFeeMultiplier\x12\x45.injective.exchange.v2.QueryMarketAtomicExecutionFeeMultiplierRequest\x1a\x46.injective.exchange.v2.QueryMarketAtomicExecutionFeeMultiplierResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v2/atomic_order_fee_multiplier\x12\xba\x01\n\x10\x41\x63tiveStakeGrant\x12\x33.injective.exchange.v2.QueryActiveStakeGrantRequest\x1a\x34.injective.exchange.v2.QueryActiveStakeGrantResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v2/active_stake_grant/{grantee}\x12\xcb\x01\n\x12GrantAuthorization\x12\x35.injective.exchange.v2.QueryGrantAuthorizationRequest\x1a\x36.injective.exchange.v2.QueryGrantAuthorizationResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v2/grant_authorization/{granter}/{grantee}\x12\xc5\x01\n\x13GrantAuthorizations\x12\x36.injective.exchange.v2.QueryGrantAuthorizationsRequest\x1a\x37.injective.exchange.v2.QueryGrantAuthorizationsResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v2/grant_authorizations/{granter}\x12\xaf\x01\n\rMarketBalance\x12\x30.injective.exchange.v2.QueryMarketBalanceRequest\x1a\x31.injective.exchange.v2.QueryMarketBalanceResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v2/market_balance/{market_id}\x12\xa7\x01\n\x0eMarketBalances\x12\x31.injective.exchange.v2.QueryMarketBalancesRequest\x1a\x32.injective.exchange.v2.QueryMarketBalancesResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/exchange/v2/market_balances\x12\xb8\x01\n\x10\x44\x65nomMinNotional\x12\x33.injective.exchange.v2.QueryDenomMinNotionalRequest\x1a\x34.injective.exchange.v2.QueryDenomMinNotionalResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v2/denom_min_notional/{denom}\x12\xb4\x01\n\x11\x44\x65nomMinNotionals\x12\x34.injective.exchange.v2.QueryDenomMinNotionalsRequest\x1a\x35.injective.exchange.v2.QueryDenomMinNotionalsResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/exchange/v2/denom_min_notionals\x12\x9f\x01\n\x0cOpenInterest\x12/.injective.exchange.v2.QueryOpenInterestRequest\x1a\x30.injective.exchange.v2.QueryOpenInterestResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/exchange/v2/open_interestB\xf0\x01\n\x19\x63om.injective.exchange.v2B\nQueryProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/exchange/v2/query.proto\x12\x15injective.exchange.v2\x1a\x14gogoproto/gogo.proto\x1a\x1cgoogle/api/annotations.proto\x1a$injective/exchange/v2/exchange.proto\x1a%injective/exchange/v2/orderbook.proto\x1a\"injective/exchange/v2/market.proto\x1a#injective/exchange/v2/genesis.proto\x1a%injective/oracle/v1beta1/oracle.proto\"O\n\nSubaccount\x12\x16\n\x06trader\x18\x01 \x01(\tR\x06trader\x12)\n\x10subaccount_nonce\x18\x02 \x01(\rR\x0fsubaccountNonce\"`\n\x1cQuerySubaccountOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\xb7\x01\n\x1dQuerySubaccountOrdersResponse\x12I\n\nbuy_orders\x18\x01 \x03(\x0b\x32*.injective.exchange.v2.SubaccountOrderDataR\tbuyOrders\x12K\n\x0bsell_orders\x18\x02 \x03(\x0b\x32*.injective.exchange.v2.SubaccountOrderDataR\nsellOrders\"\xaa\x01\n%SubaccountOrderbookMetadataWithMarket\x12N\n\x08metadata\x18\x01 \x01(\x0b\x32\x32.injective.exchange.v2.SubaccountOrderbookMetadataR\x08metadata\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x14\n\x05isBuy\x18\x03 \x01(\x08R\x05isBuy\"\x1c\n\x1aQueryExchangeParamsRequest\"Z\n\x1bQueryExchangeParamsResponse\x12;\n\x06params\x18\x01 \x01(\x0b\x32\x1d.injective.exchange.v2.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x8e\x01\n\x1eQuerySubaccountDepositsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12G\n\nsubaccount\x18\x02 \x01(\x0b\x32!.injective.exchange.v2.SubaccountB\x04\xc8\xde\x1f\x01R\nsubaccount\"\xe0\x01\n\x1fQuerySubaccountDepositsResponse\x12`\n\x08\x64\x65posits\x18\x01 \x03(\x0b\x32\x44.injective.exchange.v2.QuerySubaccountDepositsResponse.DepositsEntryR\x08\x64\x65posits\x1a[\n\rDepositsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositR\x05value:\x02\x38\x01\"\x1e\n\x1cQueryExchangeBalancesRequest\"a\n\x1dQueryExchangeBalancesResponse\x12@\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32\x1e.injective.exchange.v2.BalanceB\x04\xc8\xde\x1f\x00R\x08\x62\x61lances\"7\n\x1bQueryAggregateVolumeRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"p\n\x1cQueryAggregateVolumeResponse\x12P\n\x11\x61ggregate_volumes\x18\x01 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\x10\x61ggregateVolumes\"Y\n\x1cQueryAggregateVolumesRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"\xef\x01\n\x1dQueryAggregateVolumesResponse\x12o\n\x19\x61ggregate_account_volumes\x18\x01 \x03(\x0b\x32\x33.injective.exchange.v2.AggregateAccountVolumeRecordR\x17\x61ggregateAccountVolumes\x12]\n\x18\x61ggregate_market_volumes\x18\x02 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\x16\x61ggregateMarketVolumes\"@\n!QueryAggregateMarketVolumeRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"g\n\"QueryAggregateMarketVolumeResponse\x12\x41\n\x06volume\x18\x01 \x01(\x0b\x32#.injective.exchange.v2.VolumeRecordB\x04\xc8\xde\x1f\x00R\x06volume\"G\n/QueryAuctionExchangeTransferDenomDecimalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"L\n0QueryAuctionExchangeTransferDenomDecimalResponse\x12\x18\n\x07\x64\x65\x63imal\x18\x01 \x01(\x04R\x07\x64\x65\x63imal\"J\n0QueryAuctionExchangeTransferDenomDecimalsRequest\x12\x16\n\x06\x64\x65noms\x18\x01 \x03(\tR\x06\x64\x65noms\"\x86\x01\n1QueryAuctionExchangeTransferDenomDecimalsResponse\x12Q\n\x0e\x64\x65nom_decimals\x18\x01 \x03(\x0b\x32$.injective.exchange.v2.DenomDecimalsB\x04\xc8\xde\x1f\x00R\rdenomDecimals\"C\n\"QueryAggregateMarketVolumesRequest\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"d\n#QueryAggregateMarketVolumesResponse\x12=\n\x07volumes\x18\x01 \x03(\x0b\x32#.injective.exchange.v2.MarketVolumeR\x07volumes\"Z\n\x1dQuerySubaccountDepositRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\"\\\n\x1eQuerySubaccountDepositResponse\x12:\n\x08\x64\x65posits\x18\x01 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositR\x08\x64\x65posits\"P\n\x17QuerySpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"W\n\x18QuerySpotMarketsResponse\x12;\n\x07markets\x18\x01 \x03(\x0b\x32!.injective.exchange.v2.SpotMarketR\x07markets\"5\n\x16QuerySpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"T\n\x17QuerySpotMarketResponse\x12\x39\n\x06market\x18\x01 \x01(\x0b\x32!.injective.exchange.v2.SpotMarketR\x06market\"\xd1\x02\n\x19QuerySpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12?\n\norder_side\x18\x03 \x01(\x0e\x32 .injective.exchange.v2.OrderSideR\torderSide\x12_\n\x19limit_cumulative_notional\x18\x04 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\x12_\n\x19limit_cumulative_quantity\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeQuantity\"\xc0\x01\n\x1aQuerySpotOrderbookResponse\x12\x46\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\x0e\x62uysPriceLevel\x12H\n\x11sells_price_level\x18\x02 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\x0fsellsPriceLevel\x12\x10\n\x03seq\x18\x03 \x01(\x04R\x03seq\"\xa3\x01\n\x0e\x46ullSpotMarket\x12\x39\n\x06market\x18\x01 \x01(\x0b\x32!.injective.exchange.v2.SpotMarketR\x06market\x12V\n\x11mid_price_and_tob\x18\x02 \x01(\x0b\x32%.injective.exchange.v2.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTob\"\x88\x01\n\x1bQueryFullSpotMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"_\n\x1cQueryFullSpotMarketsResponse\x12?\n\x07markets\x18\x01 \x03(\x0b\x32%.injective.exchange.v2.FullSpotMarketR\x07markets\"m\n\x1aQueryFullSpotMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x32\n\x16with_mid_price_and_tob\x18\x02 \x01(\x08R\x12withMidPriceAndTob\"\\\n\x1bQueryFullSpotMarketResponse\x12=\n\x06market\x18\x01 \x01(\x0b\x32%.injective.exchange.v2.FullSpotMarketR\x06market\"\x85\x01\n\x1eQuerySpotOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"g\n\x1fQuerySpotOrdersByHashesResponse\x12\x44\n\x06orders\x18\x01 \x03(\x0b\x32,.injective.exchange.v2.TrimmedSpotLimitOrderR\x06orders\"`\n\x1cQueryTraderSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"l\n$QueryAccountAddressSpotOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\x9b\x02\n\x15TrimmedSpotLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12?\n\x08\x66illable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x14\n\x05isBuy\x18\x04 \x01(\x08R\x05isBuy\x12\x1d\n\norder_hash\x18\x05 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id\"e\n\x1dQueryTraderSpotOrdersResponse\x12\x44\n\x06orders\x18\x01 \x03(\x0b\x32,.injective.exchange.v2.TrimmedSpotLimitOrderR\x06orders\"m\n%QueryAccountAddressSpotOrdersResponse\x12\x44\n\x06orders\x18\x01 \x03(\x0b\x32,.injective.exchange.v2.TrimmedSpotLimitOrderR\x06orders\"=\n\x1eQuerySpotMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xfb\x01\n\x1fQuerySpotMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"C\n$QueryDerivativeMidPriceAndTOBRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\x81\x02\n%QueryDerivativeMidPriceAndTOBResponse\x12@\n\tmid_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08midPrice\x12I\n\x0e\x62\x65st_buy_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0c\x62\x65stBuyPrice\x12K\n\x0f\x62\x65st_sell_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rbestSellPrice\"\xb5\x01\n\x1fQueryDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12_\n\x19limit_cumulative_notional\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17limitCumulativeNotional\"\xc6\x01\n QueryDerivativeOrderbookResponse\x12\x46\n\x10\x62uys_price_level\x18\x01 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\x0e\x62uysPriceLevel\x12H\n\x11sells_price_level\x18\x02 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\x0fsellsPriceLevel\x12\x10\n\x03seq\x18\x03 \x01(\x04R\x03seq\"\x97\x03\n.QueryTraderSpotOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x44\n\x0b\x62\x61se_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nbaseAmount\x12\x46\n\x0cquote_amount\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12G\n\x08strategy\x18\x05 \x01(\x0e\x32+.injective.exchange.v2.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x06 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"\xd7\x02\n4QueryTraderDerivativeOrdersToCancelUpToAmountRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x46\n\x0cquote_amount\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bquoteAmount\x12G\n\x08strategy\x18\x04 \x01(\x0e\x32+.injective.exchange.v2.CancellationStrategyR\x08strategy\x12L\n\x0freference_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ereferencePrice\"f\n\"QueryTraderDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"r\n*QueryAccountAddressDerivativeOrdersRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\'\n\x0f\x61\x63\x63ount_address\x18\x02 \x01(\tR\x0e\x61\x63\x63ountAddress\"\xe9\x02\n\x1bTrimmedDerivativeLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12?\n\x08\x66illable\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x66illable\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12\x1d\n\norder_hash\x18\x06 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x07 \x01(\tR\x03\x63id\"q\n#QueryTraderDerivativeOrdersResponse\x12J\n\x06orders\x18\x01 \x03(\x0b\x32\x32.injective.exchange.v2.TrimmedDerivativeLimitOrderR\x06orders\"y\n+QueryAccountAddressDerivativeOrdersResponse\x12J\n\x06orders\x18\x01 \x03(\x0b\x32\x32.injective.exchange.v2.TrimmedDerivativeLimitOrderR\x06orders\"\x8b\x01\n$QueryDerivativeOrdersByHashesRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12!\n\x0corder_hashes\x18\x03 \x03(\tR\x0borderHashes\"s\n%QueryDerivativeOrdersByHashesResponse\x12J\n\x06orders\x18\x01 \x03(\x0b\x32\x32.injective.exchange.v2.TrimmedDerivativeLimitOrderR\x06orders\"\x8a\x01\n\x1dQueryDerivativeMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\x12\x32\n\x16with_mid_price_and_tob\x18\x03 \x01(\x08R\x12withMidPriceAndTob\"\x88\x01\n\nPriceLevel\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\"\xb5\x01\n\x14PerpetualMarketState\x12K\n\x0bmarket_info\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.PerpetualMarketInfoR\nmarketInfo\x12P\n\x0c\x66unding_info\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingR\x0b\x66undingInfo\"\xa6\x03\n\x14\x46ullDerivativeMarket\x12?\n\x06market\x18\x01 \x01(\x0b\x32\'.injective.exchange.v2.DerivativeMarketR\x06market\x12T\n\x0eperpetual_info\x18\x02 \x01(\x0b\x32+.injective.exchange.v2.PerpetualMarketStateH\x00R\rperpetualInfo\x12S\n\x0c\x66utures_info\x18\x03 \x01(\x0b\x32..injective.exchange.v2.ExpiryFuturesMarketInfoH\x00R\x0b\x66uturesInfo\x12\x42\n\nmark_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12V\n\x11mid_price_and_tob\x18\x05 \x01(\x0b\x32%.injective.exchange.v2.MidPriceAndTOBB\x04\xc8\xde\x1f\x01R\x0emidPriceAndTobB\x06\n\x04info\"g\n\x1eQueryDerivativeMarketsResponse\x12\x45\n\x07markets\x18\x01 \x03(\x0b\x32+.injective.exchange.v2.FullDerivativeMarketR\x07markets\";\n\x1cQueryDerivativeMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"d\n\x1dQueryDerivativeMarketResponse\x12\x43\n\x06market\x18\x01 \x01(\x0b\x32+.injective.exchange.v2.FullDerivativeMarketR\x06market\"B\n#QueryDerivativeMarketAddressRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"e\n$QueryDerivativeMarketAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\"G\n QuerySubaccountTradeNonceRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"<\n\x1dQueryPositionsInMarketRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"g\n\x1eQueryPositionsInMarketResponse\x12\x45\n\x05state\x18\x01 \x03(\x0b\x32).injective.exchange.v2.DerivativePositionB\x04\xc8\xde\x1f\x01R\x05state\"F\n\x1fQuerySubaccountPositionsRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"j\n&QuerySubaccountPositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"s\n/QuerySubaccountEffectivePositionInMarketRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"J\n#QuerySubaccountOrderMetadataRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"i\n QuerySubaccountPositionsResponse\x12\x45\n\x05state\x18\x01 \x03(\x0b\x32).injective.exchange.v2.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"\xa4\x01\n\'QuerySubaccountPositionInMarketResponse\x12;\n\x05state\x18\x01 \x01(\x0b\x32\x1f.injective.exchange.v2.PositionB\x04\xc8\xde\x1f\x01R\x05state\x12<\n\trisk_mode\x18\x02 \x01(\x0e\x32\x1f.injective.exchange.v2.RiskModeR\x08riskMode\"\x83\x02\n\x11\x45\x66\x66\x65\x63tivePosition\x12\x17\n\x07is_long\x18\x01 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12N\n\x10\x65\x66\x66\x65\x63tive_margin\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65\x66\x66\x65\x63tiveMargin\"\xb6\x01\n0QuerySubaccountEffectivePositionInMarketResponse\x12\x44\n\x05state\x18\x01 \x01(\x0b\x32(.injective.exchange.v2.EffectivePositionB\x04\xc8\xde\x1f\x01R\x05state\x12<\n\trisk_mode\x18\x02 \x01(\x0e\x32\x1f.injective.exchange.v2.RiskModeR\x08riskMode\">\n\x1fQueryPerpetualMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"h\n QueryPerpetualMarketInfoResponse\x12\x44\n\x04info\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.PerpetualMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"B\n#QueryExpiryFuturesMarketInfoRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"p\n$QueryExpiryFuturesMarketInfoResponse\x12H\n\x04info\x18\x01 \x01(\x0b\x32..injective.exchange.v2.ExpiryFuturesMarketInfoB\x04\xc8\xde\x1f\x00R\x04info\"A\n\"QueryPerpetualMarketFundingRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"p\n#QueryPerpetualMarketFundingResponse\x12I\n\x05state\x18\x01 \x01(\x0b\x32-.injective.exchange.v2.PerpetualMarketFundingB\x04\xc8\xde\x1f\x00R\x05state\"\x86\x01\n$QuerySubaccountOrderMetadataResponse\x12^\n\x08metadata\x18\x01 \x03(\x0b\x32<.injective.exchange.v2.SubaccountOrderbookMetadataWithMarketB\x04\xc8\xde\x1f\x00R\x08metadata\"9\n!QuerySubaccountTradeNonceResponse\x12\x14\n\x05nonce\x18\x01 \x01(\rR\x05nonce\"H\n!QuerySubaccountRiskProfileRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\"\x8b\x01\n\"QuerySubaccountRiskProfileResponse\x12\x46\n\x07profile\x18\x01 \x01(\x0b\x32,.injective.exchange.v2.SubaccountRiskProfileR\x07profile\x12\x1d\n\nis_default\x18\x02 \x01(\x08R\tisDefault\"k\n#QueryCrossMarginPoolSnapshotRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1f\n\x0bquote_denom\x18\x02 \x01(\tR\nquoteDenom\"\x89\n\n$QueryCrossMarginPoolSnapshotResponse\x12\x1f\n\x0bquote_denom\x18\x01 \x01(\tR\nquoteDenom\x12H\n\rquote_balance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cquoteBalance\x12W\n\x15position_margin_total\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13positionMarginTotal\x12J\n\x0eunrealized_pnl\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\runrealizedPnl\x12]\n\x18unrealized_pnl_effective\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16unrealizedPnlEffective\x12N\n\x10\x65quity_admission\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x65quityAdmission\x12R\n\x12\x65quity_liquidation\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11\x65quityLiquidation\x12U\n\x14initial_margin_total\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginTotal\x12]\n\x18maintenance_margin_total\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginTotal\x12k\n initial_margin_with_orders_total\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cinitialMarginWithOrdersTotal\x12M\n\x10\x65ntry_loss_total\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0e\x65ntryLossTotal\x12O\n\x11\x66\x65\x65_reserve_total\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x66\x65\x65ReserveTotal\x12Y\n\x16order_lock_requirement\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14orderLockRequirement\x12`\n\x1apositive_upnl_haircut_rate\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x17positiveUpnlHaircutRate\x12H\n\rhealth_factor\x18\x0f \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0chealthFactorJ\x04\x08\x10\x10\x11\"\x19\n\x17QueryModuleStateRequest\"U\n\x18QueryModuleStateResponse\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32#.injective.exchange.v2.GenesisStateR\x05state\"\x17\n\x15QueryPositionsRequest\"_\n\x16QueryPositionsResponse\x12\x45\n\x05state\x18\x01 \x03(\x0b\x32).injective.exchange.v2.DerivativePositionB\x04\xc8\xde\x1f\x00R\x05state\"q\n\x1dQueryTradeRewardPointsRequest\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\x12\x34\n\x16pending_pool_timestamp\x18\x02 \x01(\x03R\x14pendingPoolTimestamp\"\x84\x01\n\x1eQueryTradeRewardPointsResponse\x12\x62\n\x1b\x61\x63\x63ount_trade_reward_points\x18\x01 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x18\x61\x63\x63ountTradeRewardPoints\"!\n\x1fQueryTradeRewardCampaignRequest\"\xee\x04\n QueryTradeRewardCampaignResponse\x12q\n\x1ctrading_reward_campaign_info\x18\x01 \x01(\x0b\x32\x30.injective.exchange.v2.TradingRewardCampaignInfoR\x19tradingRewardCampaignInfo\x12{\n%trading_reward_pool_campaign_schedule\x18\x02 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR!tradingRewardPoolCampaignSchedule\x12^\n\x19total_trade_reward_points\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16totalTradeRewardPoints\x12\x8a\x01\n-pending_trading_reward_pool_campaign_schedule\x18\x04 \x03(\x0b\x32).injective.exchange.v2.CampaignRewardPoolR(pendingTradingRewardPoolCampaignSchedule\x12m\n!pending_total_trade_reward_points\x18\x05 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dpendingTotalTradeRewardPoints\";\n\x1fQueryIsOptedOutOfRewardsRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"D\n QueryIsOptedOutOfRewardsResponse\x12 \n\x0cis_opted_out\x18\x01 \x01(\x08R\nisOptedOut\"\'\n%QueryOptedOutOfRewardsAccountsRequest\"D\n&QueryOptedOutOfRewardsAccountsResponse\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\">\n\"QueryFeeDiscountAccountInfoRequest\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\"\xdf\x01\n#QueryFeeDiscountAccountInfoResponse\x12\x1d\n\ntier_level\x18\x01 \x01(\x04R\ttierLevel\x12M\n\x0c\x61\x63\x63ount_info\x18\x02 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountTierInfoR\x0b\x61\x63\x63ountInfo\x12J\n\x0b\x61\x63\x63ount_ttl\x18\x03 \x01(\x0b\x32).injective.exchange.v2.FeeDiscountTierTTLR\naccountTtl\"!\n\x1fQueryFeeDiscountScheduleRequest\"\x82\x01\n QueryFeeDiscountScheduleResponse\x12^\n\x15\x66\x65\x65_discount_schedule\x18\x01 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountScheduleR\x13\x66\x65\x65\x44iscountSchedule\"@\n\x1dQueryBalanceMismatchesRequest\x12\x1f\n\x0b\x64ust_factor\x18\x01 \x01(\x03R\ndustFactor\"\xa2\x03\n\x0f\x42\x61lanceMismatch\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\x12J\n\x0e\x65xpected_total\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\rexpectedTotal\x12\x43\n\ndifference\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\ndifference\"w\n\x1eQueryBalanceMismatchesResponse\x12U\n\x12\x62\x61lance_mismatches\x18\x01 \x03(\x0b\x32&.injective.exchange.v2.BalanceMismatchR\x11\x62\x61lanceMismatches\"%\n#QueryBalanceWithBalanceHoldsRequest\"\x97\x02\n\x15\x42\x61lanceWithMarginHold\x12\"\n\x0csubaccountId\x18\x01 \x01(\tR\x0csubaccountId\x12\x14\n\x05\x64\x65nom\x18\x02 \x01(\tR\x05\x64\x65nom\x12\x41\n\tavailable\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tavailable\x12\x39\n\x05total\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05total\x12\x46\n\x0c\x62\x61lance_hold\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0b\x62\x61lanceHold\"\x91\x01\n$QueryBalanceWithBalanceHoldsResponse\x12i\n\x1a\x62\x61lance_with_balance_holds\x18\x01 \x03(\x0b\x32,.injective.exchange.v2.BalanceWithMarginHoldR\x17\x62\x61lanceWithBalanceHolds\"\'\n%QueryFeeDiscountTierStatisticsRequest\"9\n\rTierStatistic\x12\x12\n\x04tier\x18\x01 \x01(\x04R\x04tier\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\"n\n&QueryFeeDiscountTierStatisticsResponse\x12\x44\n\nstatistics\x18\x01 \x03(\x0b\x32$.injective.exchange.v2.TierStatisticR\nstatistics\"\x17\n\x15MitoVaultInfosRequest\"\xc4\x01\n\x16MitoVaultInfosResponse\x12)\n\x10master_addresses\x18\x01 \x03(\tR\x0fmasterAddresses\x12\x31\n\x14\x64\x65rivative_addresses\x18\x02 \x03(\tR\x13\x64\x65rivativeAddresses\x12%\n\x0espot_addresses\x18\x03 \x03(\tR\rspotAddresses\x12%\n\x0e\x63w20_addresses\x18\x04 \x03(\tR\rcw20Addresses\"D\n\x1dQueryMarketIDFromVaultRequest\x12#\n\rvault_address\x18\x01 \x01(\tR\x0cvaultAddress\"=\n\x1eQueryMarketIDFromVaultResponse\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"A\n\"QueryHistoricalTradeRecordsRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"o\n#QueryHistoricalTradeRecordsResponse\x12H\n\rtrade_records\x18\x01 \x03(\x0b\x32#.injective.exchange.v2.TradeRecordsR\x0ctradeRecords\"\xb7\x01\n\x13TradeHistoryOptions\x12,\n\x12trade_grouping_sec\x18\x01 \x01(\x04R\x10tradeGroupingSec\x12\x17\n\x07max_age\x18\x02 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x04 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x05 \x01(\x08R\x0fincludeMetadata\"\x9b\x01\n\x1cQueryMarketVolatilityRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12^\n\x15trade_history_options\x18\x02 \x01(\x0b\x32*.injective.exchange.v2.TradeHistoryOptionsR\x13tradeHistoryOptions\"\xfe\x01\n\x1dQueryMarketVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x43\n\x0braw_history\x18\x03 \x03(\x0b\x32\".injective.exchange.v2.TradeRecordR\nrawHistory\"3\n\x19QueryBinaryMarketsRequest\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\"b\n\x1aQueryBinaryMarketsResponse\x12\x44\n\x07markets\x18\x01 \x03(\x0b\x32*.injective.exchange.v2.BinaryOptionsMarketR\x07markets\"q\n-QueryTraderDerivativeConditionalOrdersRequest\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\"\x9e\x03\n!TrimmedDerivativeConditionalOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12;\n\x06margin\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12G\n\x0ctriggerPrice\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctriggerPrice\x12\x1f\n\x05isBuy\x18\x05 \x01(\x08\x42\t\xea\xde\x1f\x05isBuyR\x05isBuy\x12%\n\x07isLimit\x18\x06 \x01(\x08\x42\x0b\xea\xde\x1f\x07isLimitR\x07isLimit\x12\x1d\n\norder_hash\x18\x07 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x08 \x01(\tR\x03\x63id\"\x82\x01\n.QueryTraderDerivativeConditionalOrdersResponse\x12P\n\x06orders\x18\x01 \x03(\x0b\x32\x38.injective.exchange.v2.TrimmedDerivativeConditionalOrderR\x06orders\"<\n\x1dQueryFullSpotOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xae\x01\n\x1eQueryFullSpotOrderbookResponse\x12<\n\x04\x42ids\x18\x01 \x03(\x0b\x32(.injective.exchange.v2.TrimmedLimitOrderR\x04\x42ids\x12<\n\x04\x41sks\x18\x02 \x03(\x0b\x32(.injective.exchange.v2.TrimmedLimitOrderR\x04\x41sks\x12\x10\n\x03seq\x18\x03 \x01(\x04R\x03seq\"B\n#QueryFullDerivativeOrderbookRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\xb4\x01\n$QueryFullDerivativeOrderbookResponse\x12<\n\x04\x42ids\x18\x01 \x03(\x0b\x32(.injective.exchange.v2.TrimmedLimitOrderR\x04\x42ids\x12<\n\x04\x41sks\x18\x02 \x03(\x0b\x32(.injective.exchange.v2.TrimmedLimitOrderR\x04\x41sks\x12\x10\n\x03seq\x18\x03 \x01(\x04R\x03seq\"\xd3\x01\n\x11TrimmedLimitOrder\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12?\n\x08quantity\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\"M\n.QueryMarketAtomicExecutionFeeMultiplierRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"v\n/QueryMarketAtomicExecutionFeeMultiplierResponse\x12\x43\n\nmultiplier\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nmultiplier\"8\n\x1cQueryActiveStakeGrantRequest\x12\x18\n\x07grantee\x18\x01 \x01(\tR\x07grantee\"\xa9\x01\n\x1dQueryActiveStakeGrantResponse\x12\x38\n\x05grant\x18\x01 \x01(\x0b\x32\".injective.exchange.v2.ActiveGrantR\x05grant\x12N\n\x0f\x65\x66\x66\x65\x63tive_grant\x18\x02 \x01(\x0b\x32%.injective.exchange.v2.EffectiveGrantR\x0e\x65\x66\x66\x65\x63tiveGrant\"T\n\x1eQueryGrantAuthorizationRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\x12\x18\n\x07grantee\x18\x02 \x01(\tR\x07grantee\"X\n\x1fQueryGrantAuthorizationResponse\x12\x35\n\x06\x61mount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x06\x61mount\";\n\x1fQueryGrantAuthorizationsRequest\x12\x18\n\x07granter\x18\x01 \x01(\tR\x07granter\"\xb2\x01\n QueryGrantAuthorizationsResponse\x12K\n\x12total_grant_amount\x18\x01 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x10totalGrantAmount\x12\x41\n\x06grants\x18\x02 \x03(\x0b\x32).injective.exchange.v2.GrantAuthorizationR\x06grants\"8\n\x19QueryMarketBalanceRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"\\\n\x1aQueryMarketBalanceResponse\x12>\n\x07\x62\x61lance\x18\x01 \x01(\x0b\x32$.injective.exchange.v2.MarketBalanceR\x07\x62\x61lance\"\x1c\n\x1aQueryMarketBalancesRequest\"_\n\x1bQueryMarketBalancesResponse\x12@\n\x08\x62\x61lances\x18\x01 \x03(\x0b\x32$.injective.exchange.v2.MarketBalanceR\x08\x62\x61lances\"k\n\rMarketBalance\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12=\n\x07\x62\x61lance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x62\x61lance\"4\n\x1cQueryDenomMinNotionalRequest\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\"\\\n\x1dQueryDenomMinNotionalResponse\x12;\n\x06\x61mount\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount\"\x1f\n\x1dQueryDenomMinNotionalsRequest\"y\n\x1eQueryDenomMinNotionalsResponse\x12W\n\x13\x64\x65nom_min_notionals\x18\x01 \x03(\x0b\x32\'.injective.exchange.v2.DenomMinNotionalR\x11\x64\x65nomMinNotionals\"j\n\x0cOpenInterest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12=\n\x07\x62\x61lance\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x62\x61lance\"7\n\x18QueryOpenInterestRequest\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\"X\n\x19QueryOpenInterestResponse\x12;\n\x06\x61mount\x18\x01 \x01(\x0b\x32#.injective.exchange.v2.OpenInterestR\x06\x61mount*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\xa2o\n\x05Query\x12\xd3\x01\n\x15L3DerivativeOrderBook\x12:.injective.exchange.v2.QueryFullDerivativeOrderbookRequest\x1a;.injective.exchange.v2.QueryFullDerivativeOrderbookResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v2/derivative/L3OrderBook/{market_id}\x12\xbb\x01\n\x0fL3SpotOrderBook\x12\x34.injective.exchange.v2.QueryFullSpotOrderbookRequest\x1a\x35.injective.exchange.v2.QueryFullSpotOrderbookResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v2/spot/L3OrderBook/{market_id}\x12\xab\x01\n\x13QueryExchangeParams\x12\x31.injective.exchange.v2.QueryExchangeParamsRequest\x1a\x32.injective.exchange.v2.QueryExchangeParamsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/injective/exchange/v2/exchangeParams\x12\xbf\x01\n\x12SubaccountDeposits\x12\x35.injective.exchange.v2.QuerySubaccountDepositsRequest\x1a\x36.injective.exchange.v2.QuerySubaccountDepositsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v2/exchange/subaccountDeposits\x12\xbb\x01\n\x11SubaccountDeposit\x12\x34.injective.exchange.v2.QuerySubaccountDepositRequest\x1a\x35.injective.exchange.v2.QuerySubaccountDepositResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v2/exchange/subaccountDeposit\x12\xb7\x01\n\x10\x45xchangeBalances\x12\x33.injective.exchange.v2.QueryExchangeBalancesRequest\x1a\x34.injective.exchange.v2.QueryExchangeBalancesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/exchange/v2/exchange/exchangeBalances\x12\xbd\x01\n\x0f\x41ggregateVolume\x12\x32.injective.exchange.v2.QueryAggregateVolumeRequest\x1a\x33.injective.exchange.v2.QueryAggregateVolumeResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v2/exchange/aggregateVolume/{account}\x12\xb7\x01\n\x10\x41ggregateVolumes\x12\x33.injective.exchange.v2.QueryAggregateVolumesRequest\x1a\x34.injective.exchange.v2.QueryAggregateVolumesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/exchange/v2/exchange/aggregateVolumes\x12\xd7\x01\n\x15\x41ggregateMarketVolume\x12\x38.injective.exchange.v2.QueryAggregateMarketVolumeRequest\x1a\x39.injective.exchange.v2.QueryAggregateMarketVolumeResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/injective/exchange/v2/exchange/aggregateMarketVolume/{market_id}\x12\xcf\x01\n\x16\x41ggregateMarketVolumes\x12\x39.injective.exchange.v2.QueryAggregateMarketVolumesRequest\x1a:.injective.exchange.v2.QueryAggregateMarketVolumesResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v2/exchange/aggregateMarketVolumes\x12\x8f\x02\n#AuctionExchangeTransferDenomDecimal\x12\x46.injective.exchange.v2.QueryAuctionExchangeTransferDenomDecimalRequest\x1aG.injective.exchange.v2.QueryAuctionExchangeTransferDenomDecimalResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/injective/exchange/v2/exchange/auction_exchange_transfer_denom_decimal/{denom}\x12\x8b\x02\n$AuctionExchangeTransferDenomDecimals\x12G.injective.exchange.v2.QueryAuctionExchangeTransferDenomDecimalsRequest\x1aH.injective.exchange.v2.QueryAuctionExchangeTransferDenomDecimalsResponse\"P\x82\xd3\xe4\x93\x02J\x12H/injective/exchange/v2/exchange/auction_exchange_transfer_denom_decimals\x12\x9b\x01\n\x0bSpotMarkets\x12..injective.exchange.v2.QuerySpotMarketsRequest\x1a/.injective.exchange.v2.QuerySpotMarketsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/injective/exchange/v2/spot/markets\x12\xa4\x01\n\nSpotMarket\x12-.injective.exchange.v2.QuerySpotMarketRequest\x1a..injective.exchange.v2.QuerySpotMarketResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v2/spot/markets/{market_id}\x12\xac\x01\n\x0f\x46ullSpotMarkets\x12\x32.injective.exchange.v2.QueryFullSpotMarketsRequest\x1a\x33.injective.exchange.v2.QueryFullSpotMarketsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/injective/exchange/v2/spot/full_markets\x12\xb4\x01\n\x0e\x46ullSpotMarket\x12\x31.injective.exchange.v2.QueryFullSpotMarketRequest\x1a\x32.injective.exchange.v2.QueryFullSpotMarketResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v2/spot/full_market/{market_id}\x12\xaf\x01\n\rSpotOrderbook\x12\x30.injective.exchange.v2.QuerySpotOrderbookRequest\x1a\x31.injective.exchange.v2.QuerySpotOrderbookResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v2/spot/orderbook/{market_id}\x12\xc5\x01\n\x10TraderSpotOrders\x12\x33.injective.exchange.v2.QueryTraderSpotOrdersRequest\x1a\x34.injective.exchange.v2.QueryTraderSpotOrdersResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v2/spot/orders/{market_id}/{subaccount_id}\x12\xe7\x01\n\x18\x41\x63\x63ountAddressSpotOrders\x12;.injective.exchange.v2.QueryAccountAddressSpotOrdersRequest\x1a<.injective.exchange.v2.QueryAccountAddressSpotOrdersResponse\"P\x82\xd3\xe4\x93\x02J\x12H/injective/exchange/v2/spot/orders/{market_id}/account/{account_address}\x12\xd5\x01\n\x12SpotOrdersByHashes\x12\x35.injective.exchange.v2.QuerySpotOrdersByHashesRequest\x1a\x36.injective.exchange.v2.QuerySpotOrdersByHashesResponse\"P\x82\xd3\xe4\x93\x02J\x12H/injective/exchange/v2/spot/orders_by_hashes/{market_id}/{subaccount_id}\x12\xb4\x01\n\x10SubaccountOrders\x12\x33.injective.exchange.v2.QuerySubaccountOrdersRequest\x1a\x34.injective.exchange.v2.QuerySubaccountOrdersResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v2/orders/{subaccount_id}\x12\xd8\x01\n\x19TraderSpotTransientOrders\x12\x33.injective.exchange.v2.QueryTraderSpotOrdersRequest\x1a\x34.injective.exchange.v2.QueryTraderSpotOrdersResponse\"P\x82\xd3\xe4\x93\x02J\x12H/injective/exchange/v2/spot/transient_orders/{market_id}/{subaccount_id}\x12\xc6\x01\n\x12SpotMidPriceAndTOB\x12\x35.injective.exchange.v2.QuerySpotMidPriceAndTOBRequest\x1a\x36.injective.exchange.v2.QuerySpotMidPriceAndTOBResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/injective/exchange/v2/spot/mid_price_and_tob/{market_id}\x12\xde\x01\n\x18\x44\x65rivativeMidPriceAndTOB\x12;.injective.exchange.v2.QueryDerivativeMidPriceAndTOBRequest\x1a<.injective.exchange.v2.QueryDerivativeMidPriceAndTOBResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/injective/exchange/v2/derivative/mid_price_and_tob/{market_id}\x12\xc7\x01\n\x13\x44\x65rivativeOrderbook\x12\x36.injective.exchange.v2.QueryDerivativeOrderbookRequest\x1a\x37.injective.exchange.v2.QueryDerivativeOrderbookResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/injective/exchange/v2/derivative/orderbook/{market_id}\x12\xdd\x01\n\x16TraderDerivativeOrders\x12\x39.injective.exchange.v2.QueryTraderDerivativeOrdersRequest\x1a:.injective.exchange.v2.QueryTraderDerivativeOrdersResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/injective/exchange/v2/derivative/orders/{market_id}/{subaccount_id}\x12\xff\x01\n\x1e\x41\x63\x63ountAddressDerivativeOrders\x12\x41.injective.exchange.v2.QueryAccountAddressDerivativeOrdersRequest\x1a\x42.injective.exchange.v2.QueryAccountAddressDerivativeOrdersResponse\"V\x82\xd3\xe4\x93\x02P\x12N/injective/exchange/v2/derivative/orders/{market_id}/account/{account_address}\x12\xed\x01\n\x18\x44\x65rivativeOrdersByHashes\x12;.injective.exchange.v2.QueryDerivativeOrdersByHashesRequest\x1a<.injective.exchange.v2.QueryDerivativeOrdersByHashesResponse\"V\x82\xd3\xe4\x93\x02P\x12N/injective/exchange/v2/derivative/orders_by_hashes/{market_id}/{subaccount_id}\x12\xf0\x01\n\x1fTraderDerivativeTransientOrders\x12\x39.injective.exchange.v2.QueryTraderDerivativeOrdersRequest\x1a:.injective.exchange.v2.QueryTraderDerivativeOrdersResponse\"V\x82\xd3\xe4\x93\x02P\x12N/injective/exchange/v2/derivative/transient_orders/{market_id}/{subaccount_id}\x12\xb3\x01\n\x11\x44\x65rivativeMarkets\x12\x34.injective.exchange.v2.QueryDerivativeMarketsRequest\x1a\x35.injective.exchange.v2.QueryDerivativeMarketsResponse\"1\x82\xd3\xe4\x93\x02+\x12)/injective/exchange/v2/derivative/markets\x12\xbc\x01\n\x10\x44\x65rivativeMarket\x12\x33.injective.exchange.v2.QueryDerivativeMarketRequest\x1a\x34.injective.exchange.v2.QueryDerivativeMarketResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v2/derivative/markets/{market_id}\x12\xd8\x01\n\x17\x44\x65rivativeMarketAddress\x12:.injective.exchange.v2.QueryDerivativeMarketAddressRequest\x1a;.injective.exchange.v2.QueryDerivativeMarketAddressResponse\"D\x82\xd3\xe4\x93\x02>\x12\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v2/positions_in_market/{market_id}\x12\xcb\x01\n\x13SubaccountPositions\x12\x36.injective.exchange.v2.QuerySubaccountPositionsRequest\x1a\x37.injective.exchange.v2.QuerySubaccountPositionsResponse\"C\x82\xd3\xe4\x93\x02=\x12;/injective/exchange/v2/subaccount_positions/{subaccount_id}\x12\xe1\x01\n\x1aSubaccountPositionInMarket\x12=.injective.exchange.v2.QuerySubaccountPositionInMarketRequest\x1a>.injective.exchange.v2.QuerySubaccountPositionInMarketResponse\"D\x82\xd3\xe4\x93\x02>\x12\x82\xd3\xe4\x93\x02\x38\x12\x36/injective/exchange/v2/vault_market_id/{vault_address}\x12\xc8\x01\n\x16HistoricalTradeRecords\x12\x39.injective.exchange.v2.QueryHistoricalTradeRecordsRequest\x1a:.injective.exchange.v2.QueryHistoricalTradeRecordsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/exchange/v2/historical_trade_records\x12\xc8\x01\n\x13IsOptedOutOfRewards\x12\x36.injective.exchange.v2.QueryIsOptedOutOfRewardsRequest\x1a\x37.injective.exchange.v2.QueryIsOptedOutOfRewardsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/injective/exchange/v2/is_opted_out_of_rewards/{account}\x12\xd6\x01\n\x19OptedOutOfRewardsAccounts\x12<.injective.exchange.v2.QueryOptedOutOfRewardsAccountsRequest\x1a=.injective.exchange.v2.QueryOptedOutOfRewardsAccountsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v2/opted_out_of_rewards_accounts\x12\xbb\x01\n\x10MarketVolatility\x12\x33.injective.exchange.v2.QueryMarketVolatilityRequest\x1a\x34.injective.exchange.v2.QueryMarketVolatilityResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/injective/exchange/v2/market_volatility/{market_id}\x12\xb2\x01\n\x14\x42inaryOptionsMarkets\x12\x30.injective.exchange.v2.QueryBinaryMarketsRequest\x1a\x31.injective.exchange.v2.QueryBinaryMarketsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/injective/exchange/v2/binary_options/markets\x12\x8a\x02\n!TraderDerivativeConditionalOrders\x12\x44.injective.exchange.v2.QueryTraderDerivativeConditionalOrdersRequest\x1a\x45.injective.exchange.v2.QueryTraderDerivativeConditionalOrdersResponse\"X\x82\xd3\xe4\x93\x02R\x12P/injective/exchange/v2/derivative/orders/conditional/{market_id}/{subaccount_id}\x12\xef\x01\n\"MarketAtomicExecutionFeeMultiplier\x12\x45.injective.exchange.v2.QueryMarketAtomicExecutionFeeMultiplierRequest\x1a\x46.injective.exchange.v2.QueryMarketAtomicExecutionFeeMultiplierResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/injective/exchange/v2/atomic_order_fee_multiplier\x12\xba\x01\n\x10\x41\x63tiveStakeGrant\x12\x33.injective.exchange.v2.QueryActiveStakeGrantRequest\x1a\x34.injective.exchange.v2.QueryActiveStakeGrantResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/injective/exchange/v2/active_stake_grant/{grantee}\x12\xcb\x01\n\x12GrantAuthorization\x12\x35.injective.exchange.v2.QueryGrantAuthorizationRequest\x1a\x36.injective.exchange.v2.QueryGrantAuthorizationResponse\"F\x82\xd3\xe4\x93\x02@\x12>/injective/exchange/v2/grant_authorization/{granter}/{grantee}\x12\xc5\x01\n\x13GrantAuthorizations\x12\x36.injective.exchange.v2.QueryGrantAuthorizationsRequest\x1a\x37.injective.exchange.v2.QueryGrantAuthorizationsResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/injective/exchange/v2/grant_authorizations/{granter}\x12\xaf\x01\n\rMarketBalance\x12\x30.injective.exchange.v2.QueryMarketBalanceRequest\x1a\x31.injective.exchange.v2.QueryMarketBalanceResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v2/market_balance/{market_id}\x12\xa7\x01\n\x0eMarketBalances\x12\x31.injective.exchange.v2.QueryMarketBalancesRequest\x1a\x32.injective.exchange.v2.QueryMarketBalancesResponse\".\x82\xd3\xe4\x93\x02(\x12&/injective/exchange/v2/market_balances\x12\xb8\x01\n\x10\x44\x65nomMinNotional\x12\x33.injective.exchange.v2.QueryDenomMinNotionalRequest\x1a\x34.injective.exchange.v2.QueryDenomMinNotionalResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/injective/exchange/v2/denom_min_notional/{denom}\x12\xb4\x01\n\x11\x44\x65nomMinNotionals\x12\x34.injective.exchange.v2.QueryDenomMinNotionalsRequest\x1a\x35.injective.exchange.v2.QueryDenomMinNotionalsResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/exchange/v2/denom_min_notionals\x12\x9f\x01\n\x0cOpenInterest\x12/.injective.exchange.v2.QueryOpenInterestRequest\x1a\x30.injective.exchange.v2.QueryOpenInterestResponse\",\x82\xd3\xe4\x93\x02&\x12$/injective/exchange/v2/open_interestB\xf0\x01\n\x19\x63om.injective.exchange.v2B\nQueryProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -117,6 +117,34 @@ _globals['_QUERYPERPETUALMARKETFUNDINGRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE'].fields_by_name['metadata']._loaded_options = None _globals['_QUERYSUBACCOUNTORDERMETADATARESPONSE'].fields_by_name['metadata']._serialized_options = b'\310\336\037\000' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['quote_balance']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['quote_balance']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['position_margin_total']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['position_margin_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['unrealized_pnl']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['unrealized_pnl']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['unrealized_pnl_effective']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['unrealized_pnl_effective']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['equity_admission']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['equity_admission']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['equity_liquidation']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['equity_liquidation']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['initial_margin_total']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['initial_margin_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['maintenance_margin_total']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['maintenance_margin_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['initial_margin_with_orders_total']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['initial_margin_with_orders_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['entry_loss_total']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['entry_loss_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['fee_reserve_total']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['fee_reserve_total']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['order_lock_requirement']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['order_lock_requirement']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['positive_upnl_haircut_rate']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['positive_upnl_haircut_rate']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['health_factor']._loaded_options = None + _globals['_QUERYCROSSMARGINPOOLSNAPSHOTRESPONSE'].fields_by_name['health_factor']._serialized_options = b'\310\336\037\001\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_QUERYPOSITIONSRESPONSE'].fields_by_name['state']._loaded_options = None _globals['_QUERYPOSITIONSRESPONSE'].fields_by_name['state']._serialized_options = b'\310\336\037\000' _globals['_QUERYTRADEREWARDPOINTSRESPONSE'].fields_by_name['account_trade_reward_points']._loaded_options = None @@ -237,6 +265,10 @@ _globals['_QUERY'].methods_by_name['DerivativeMarketAddress']._serialized_options = b'\202\323\344\223\002>\022\n\x06orders\x18\x02 \x03(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x00R\x06orders:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgBatchCreateSpotLimitOrders\"\xb2\x01\n%MsgBatchCreateSpotLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8b\x04\n\x1aMsgInstantSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x03 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12#\n\rbase_decimals\x18\x08 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\t \x01(\rR\rquoteDecimals:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgInstantSpotMarketLaunch\"$\n\"MsgInstantSpotMarketLaunchResponse\"\xe0\x08\n\x1fMsgInstantPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12S\n\x13reduce_margin_ratio\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x10 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*(exchange/MsgInstantPerpetualMarketLaunch\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xe3\x07\n#MsgInstantBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x03 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x04 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12I\n\x0emaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0c \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12X\n\x11open_notional_cap\x18\x10 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantBinaryOptionsMarketLaunch\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\x80\t\n#MsgInstantExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x03R\x06\x65xpiry\x12I\n\x0emaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12S\n\x13reduce_margin_ratio\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x11 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantExpiryFuturesMarketLaunch\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"\xab\x01\n\x18MsgCreateSpotMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12<\n\x05order\x18\x02 \x01(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCreateSpotMarketOrder\"\xac\x01\n MsgCreateSpotMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12M\n\x07results\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x16SpotMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb7\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x42\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order::\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgCreateDerivativeLimitOrder\"b\n%MsgCreateDerivativeLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbd\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x42\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:=\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)exchange/MsgCreateBinaryOptionsLimitOrder\"e\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc5\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x06orders\x18\x02 \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x06orders:@\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgBatchCreateDerivativeLimitOrders\"\xb8\x01\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd0\x01\n\x12MsgCancelSpotOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id:/\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1b\x65xchange/MsgCancelSpotOrder\"\x1c\n\x1aMsgCancelSpotOrderResponse\"\xa5\x01\n\x18MsgBatchCancelSpotOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12:\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgBatchCancelSpotOrders\"F\n MsgBatchCancelSpotOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb7\x01\n!MsgBatchCancelBinaryOptionsOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12:\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBatchCancelBinaryOptionsOrders\"O\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb7\n\n\x14MsgBatchUpdateOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12?\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\tR\x18spotMarketIdsToCancelAll\x12K\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\tR\x1e\x64\x65rivativeMarketIdsToCancelAll\x12Y\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCancel\x12\x65\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCancel\x12Y\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCreate\x12k\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCreate\x12l\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCancel\x12R\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\tR!binaryOptionsMarketIdsToCancelAll\x12r\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCreate\x12\x66\n\x1cspot_market_orders_to_create\x18\x0c \x03(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x01R\x18spotMarketOrdersToCreate\x12x\n\"derivative_market_orders_to_create\x18\r \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1e\x64\x65rivativeMarketOrdersToCreate\x12\x7f\n&binary_options_market_orders_to_create\x18\x0e \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R!binaryOptionsMarketOrdersToCreate:1\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgBatchUpdateOrders\"\xae\x0b\n\x1cMsgBatchUpdateOrdersResponse\x12.\n\x13spot_cancel_success\x18\x01 \x03(\x08R\x11spotCancelSuccess\x12:\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08R\x17\x64\x65rivativeCancelSuccess\x12*\n\x11spot_order_hashes\x18\x03 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\tR\x15\x64\x65rivativeOrderHashes\x12\x41\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08R\x1a\x62inaryOptionsCancelSuccess\x12=\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\tR\x18\x62inaryOptionsOrderHashes\x12\x37\n\x18\x63reated_spot_orders_cids\x18\x07 \x03(\tR\x15\x63reatedSpotOrdersCids\x12\x35\n\x17\x66\x61iled_spot_orders_cids\x18\x08 \x03(\tR\x14\x66\x61iledSpotOrdersCids\x12\x43\n\x1e\x63reated_derivative_orders_cids\x18\t \x03(\tR\x1b\x63reatedDerivativeOrdersCids\x12\x41\n\x1d\x66\x61iled_derivative_orders_cids\x18\n \x03(\tR\x1a\x66\x61iledDerivativeOrdersCids\x12J\n\"created_binary_options_orders_cids\x18\x0b \x03(\tR\x1e\x63reatedBinaryOptionsOrdersCids\x12H\n!failed_binary_options_orders_cids\x18\x0c \x03(\tR\x1d\x66\x61iledBinaryOptionsOrdersCids\x12\x37\n\x18spot_market_order_hashes\x18\r \x03(\tR\x15spotMarketOrderHashes\x12\x44\n\x1f\x63reated_spot_market_orders_cids\x18\x0e \x03(\tR\x1b\x63reatedSpotMarketOrdersCids\x12\x42\n\x1e\x66\x61iled_spot_market_orders_cids\x18\x0f \x03(\tR\x1a\x66\x61iledSpotMarketOrdersCids\x12\x43\n\x1e\x64\x65rivative_market_order_hashes\x18\x10 \x03(\tR\x1b\x64\x65rivativeMarketOrderHashes\x12P\n%created_derivative_market_orders_cids\x18\x11 \x03(\tR!createdDerivativeMarketOrdersCids\x12N\n$failed_derivative_market_orders_cids\x18\x12 \x03(\tR failedDerivativeMarketOrdersCids\x12J\n\"binary_options_market_order_hashes\x18\x13 \x03(\tR\x1e\x62inaryOptionsMarketOrderHashes\x12W\n)created_binary_options_market_orders_cids\x18\x14 \x03(\tR$createdBinaryOptionsMarketOrdersCids\x12U\n(failed_binary_options_market_orders_cids\x18\x15 \x03(\tR#failedBinaryOptionsMarketOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb9\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x42\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgCreateDerivativeMarketOrder\"\xb8\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12S\n\x07results\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v2.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xeb\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12Q\n\x0eposition_delta\x18\x04 \x01(\x0b\x32$.injective.exchange.v2.PositionDeltaB\x04\xc8\xde\x1f\x00R\rpositionDelta\x12;\n\x06payout\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbf\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x42\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgCreateBinaryOptionsMarketOrder\"\xbb\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12S\n\x07results\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v2.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xfb\x01\n\x18MsgCancelDerivativeOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCancelDerivativeOrder\"\"\n MsgCancelDerivativeOrderResponse\"\x81\x02\n\x1bMsgCancelBinaryOptionsOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:8\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgCancelBinaryOptionsOrder\"%\n#MsgCancelBinaryOptionsOrderResponse\"\x9d\x01\n\tOrderData\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x04 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\xb1\x01\n\x1eMsgBatchCancelDerivativeOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12:\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgBatchCancelDerivativeOrders\"L\n&MsgBatchCancelDerivativeOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x02\n\x15MsgSubaccountTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgSubaccountTransfer\"\x1f\n\x1dMsgSubaccountTransferResponse\"\x82\x02\n\x13MsgExternalTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgExternalTransfer\"\x1d\n\x1bMsgExternalTransferResponse\"\xe3\x01\n\x14MsgLiquidatePosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x42\n\x05order\x18\x04 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order:-\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgLiquidatePosition\"\x1e\n\x1cMsgLiquidatePositionResponse\"\xd5\x01\n\x11MsgOffsetPosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12:\n\x19offsetting_subaccount_ids\x18\x04 \x03(\tR\x17offsettingSubaccountIds:*\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1a\x65xchange/MsgOffsetPosition\"\x1b\n\x19MsgOffsetPositionResponse\"\xa7\x01\n\x18MsgEmergencySettleMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgEmergencySettleMarket\"\"\n MsgEmergencySettleMarketResponse\"\xaf\x02\n\x19MsgIncreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgIncreasePositionMargin\"#\n!MsgIncreasePositionMarginResponse\"\xaf\x02\n\x19MsgDecreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgDecreasePositionMargin\"#\n!MsgDecreasePositionMarginResponse\"\xca\x01\n\x1cMsgPrivilegedExecuteContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05\x66unds\x18\x02 \x01(\tR\x05\x66unds\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgPrivilegedExecuteContract\"\xa7\x01\n$MsgPrivilegedExecuteContractResponse\x12j\n\nfunds_diff\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\tfundsDiff:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"]\n\x10MsgRewardsOptOut\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19\x65xchange/MsgRewardsOptOut\"\x1a\n\x18MsgRewardsOptOutResponse\"\xaf\x01\n\x15MsgReclaimLockedFunds\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x13lockedAccountPubKey\x18\x02 \x01(\x0cR\x13lockedAccountPubKey\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgReclaimLockedFunds\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"\x80\x01\n\x0bMsgSignData\x12S\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddressR\x06Signer\x12\x1c\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x44\x61ta\"s\n\nMsgSignDoc\x12%\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04typeR\x08signType\x12>\n\x05value\x18\x02 \x01(\x0b\x32\".injective.exchange.v2.MsgSignDataB\x04\xc8\xde\x1f\x00R\x05value\"\x87\x03\n!MsgAdminUpdateBinaryOptionsMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x31\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x05 \x01(\x03R\x13settlementTimestamp\x12;\n\x06status\x18\x06 \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status::\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgAdminUpdateBinaryOptionsMarket\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xa6\x01\n\x17MsgAuthorizeStakeGrants\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x06grants\x18\x02 \x03(\x0b\x32).injective.exchange.v2.GrantAuthorizationR\x06grants:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgAuthorizeStakeGrants\"!\n\x1fMsgAuthorizeStakeGrantsResponse\"y\n\x15MsgActivateStakeGrant\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgActivateStakeGrant\"\x1f\n\x1dMsgActivateStakeGrantResponse\"\xcb\x01\n\x1cMsgBatchExchangeModification\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12T\n\x08proposal\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v2.BatchExchangeModificationProposalR\x08proposal:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgBatchExchangeModification\"&\n$MsgBatchExchangeModificationResponse\"\xb0\x01\n\x13MsgSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12K\n\x08proposal\x18\x02 \x01(\x0b\x32/.injective.exchange.v2.SpotMarketLaunchProposalR\x08proposal:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgSpotMarketLaunch\"\x1d\n\x1bMsgSpotMarketLaunchResponse\"\xbf\x01\n\x18MsgPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12P\n\x08proposal\x18\x02 \x01(\x0b\x32\x34.injective.exchange.v2.PerpetualMarketLaunchProposalR\x08proposal:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgPerpetualMarketLaunch\"\"\n MsgPerpetualMarketLaunchResponse\"\xcb\x01\n\x1cMsgExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12T\n\x08proposal\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v2.ExpiryFuturesMarketLaunchProposalR\x08proposal:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgExpiryFuturesMarketLaunch\"&\n$MsgExpiryFuturesMarketLaunchResponse\"\xcb\x01\n\x1cMsgBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12T\n\x08proposal\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v2.BinaryOptionsMarketLaunchProposalR\x08proposal:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgBinaryOptionsMarketLaunch\"&\n$MsgBinaryOptionsMarketLaunchResponse\"\xc5\x01\n\x1aMsgBatchCommunityPoolSpend\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12R\n\x08proposal\x18\x02 \x01(\x0b\x32\x36.injective.exchange.v2.BatchCommunityPoolSpendProposalR\x08proposal:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgBatchCommunityPoolSpend\"$\n\"MsgBatchCommunityPoolSpendResponse\"\xbf\x01\n\x18MsgSpotMarketParamUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12P\n\x08proposal\x18\x02 \x01(\x0b\x32\x34.injective.exchange.v2.SpotMarketParamUpdateProposalR\x08proposal:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgSpotMarketParamUpdate\"\"\n MsgSpotMarketParamUpdateResponse\"\xd1\x01\n\x1eMsgDerivativeMarketParamUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12V\n\x08proposal\x18\x02 \x01(\x0b\x32:.injective.exchange.v2.DerivativeMarketParamUpdateProposalR\x08proposal:?\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgDerivativeMarketParamUpdate\"(\n&MsgDerivativeMarketParamUpdateResponse\"\xda\x01\n!MsgBinaryOptionsMarketParamUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x08proposal\x18\x02 \x01(\x0b\x32=.injective.exchange.v2.BinaryOptionsMarketParamUpdateProposalR\x08proposal:B\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBinaryOptionsMarketParamUpdate\"+\n)MsgBinaryOptionsMarketParamUpdateResponse\"\xc2\x01\n\x19MsgMarketForcedSettlement\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Q\n\x08proposal\x18\x02 \x01(\x0b\x32\x35.injective.exchange.v2.MarketForcedSettlementProposalR\x08proposal::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgMarketForcedSettlement\"#\n!MsgMarketForcedSettlementResponse\"\xd1\x01\n\x1eMsgTradingRewardCampaignLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12V\n\x08proposal\x18\x02 \x01(\x0b\x32:.injective.exchange.v2.TradingRewardCampaignLaunchProposalR\x08proposal:?\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgTradingRewardCampaignLaunch\"(\n&MsgTradingRewardCampaignLaunchResponse\"\xaa\x01\n\x11MsgExchangeEnable\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12I\n\x08proposal\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.ExchangeEnableProposalR\x08proposal:2\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1a\x65xchange/MsgExchangeEnable\"\x1b\n\x19MsgExchangeEnableResponse\"\xd1\x01\n\x1eMsgTradingRewardCampaignUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12V\n\x08proposal\x18\x02 \x01(\x0b\x32:.injective.exchange.v2.TradingRewardCampaignUpdateProposalR\x08proposal:?\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgTradingRewardCampaignUpdate\"(\n&MsgTradingRewardCampaignUpdateResponse\"\xe0\x01\n#MsgTradingRewardPendingPointsUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12[\n\x08proposal\x18\x02 \x01(\x0b\x32?.injective.exchange.v2.TradingRewardPendingPointsUpdateProposalR\x08proposal:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgTradingRewardPendingPointsUpdate\"-\n+MsgTradingRewardPendingPointsUpdateResponse\"\xa1\x01\n\x0eMsgFeeDiscount\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x46\n\x08proposal\x18\x02 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountProposalR\x08proposal:/\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17\x65xchange/MsgFeeDiscount\"\x18\n\x16MsgFeeDiscountResponse\"\xf2\x01\n)MsgAtomicMarketOrderFeeMultiplierSchedule\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x61\n\x08proposal\x18\x02 \x01(\x0b\x32\x45.injective.exchange.v2.AtomicMarketOrderFeeMultiplierScheduleProposalR\x08proposal:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*2exchange/MsgAtomicMarketOrderFeeMultiplierSchedule\"3\n1MsgAtomicMarketOrderFeeMultiplierScheduleResponse\"_\n\x15MsgCancelPostOnlyMode\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgCancelPostOnlyMode\"\x1f\n\x1dMsgCancelPostOnlyModeResponse\"\x88\x01\n\x17MsgActivatePostOnlyMode\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rblocks_amount\x18\x02 \x01(\rR\x0c\x62locksAmount:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgActivatePostOnlyMode\"!\n\x1fMsgActivatePostOnlyModeResponse2\xa9\x39\n\x03Msg\x12W\n\x07\x44\x65posit\x12!.injective.exchange.v2.MsgDeposit\x1a).injective.exchange.v2.MsgDepositResponse\x12Z\n\x08Withdraw\x12\".injective.exchange.v2.MsgWithdraw\x1a*.injective.exchange.v2.MsgWithdrawResponse\x12\x87\x01\n\x17InstantSpotMarketLaunch\x12\x31.injective.exchange.v2.MsgInstantSpotMarketLaunch\x1a\x39.injective.exchange.v2.MsgInstantSpotMarketLaunchResponse\x12\x96\x01\n\x1cInstantPerpetualMarketLaunch\x12\x36.injective.exchange.v2.MsgInstantPerpetualMarketLaunch\x1a>.injective.exchange.v2.MsgInstantPerpetualMarketLaunchResponse\x12\xa2\x01\n InstantExpiryFuturesMarketLaunch\x12:.injective.exchange.v2.MsgInstantExpiryFuturesMarketLaunch\x1a\x42.injective.exchange.v2.MsgInstantExpiryFuturesMarketLaunchResponse\x12~\n\x14\x43reateSpotLimitOrder\x12..injective.exchange.v2.MsgCreateSpotLimitOrder\x1a\x36.injective.exchange.v2.MsgCreateSpotLimitOrderResponse\x12\x90\x01\n\x1a\x42\x61tchCreateSpotLimitOrders\x12\x34.injective.exchange.v2.MsgBatchCreateSpotLimitOrders\x1a<.injective.exchange.v2.MsgBatchCreateSpotLimitOrdersResponse\x12\x81\x01\n\x15\x43reateSpotMarketOrder\x12/.injective.exchange.v2.MsgCreateSpotMarketOrder\x1a\x37.injective.exchange.v2.MsgCreateSpotMarketOrderResponse\x12o\n\x0f\x43\x61ncelSpotOrder\x12).injective.exchange.v2.MsgCancelSpotOrder\x1a\x31.injective.exchange.v2.MsgCancelSpotOrderResponse\x12\x81\x01\n\x15\x42\x61tchCancelSpotOrders\x12/.injective.exchange.v2.MsgBatchCancelSpotOrders\x1a\x37.injective.exchange.v2.MsgBatchCancelSpotOrdersResponse\x12u\n\x11\x42\x61tchUpdateOrders\x12+.injective.exchange.v2.MsgBatchUpdateOrders\x1a\x33.injective.exchange.v2.MsgBatchUpdateOrdersResponse\x12\x8d\x01\n\x19PrivilegedExecuteContract\x12\x33.injective.exchange.v2.MsgPrivilegedExecuteContract\x1a;.injective.exchange.v2.MsgPrivilegedExecuteContractResponse\x12\x90\x01\n\x1a\x43reateDerivativeLimitOrder\x12\x34.injective.exchange.v2.MsgCreateDerivativeLimitOrder\x1a<.injective.exchange.v2.MsgCreateDerivativeLimitOrderResponse\x12\xa2\x01\n BatchCreateDerivativeLimitOrders\x12:.injective.exchange.v2.MsgBatchCreateDerivativeLimitOrders\x1a\x42.injective.exchange.v2.MsgBatchCreateDerivativeLimitOrdersResponse\x12\x93\x01\n\x1b\x43reateDerivativeMarketOrder\x12\x35.injective.exchange.v2.MsgCreateDerivativeMarketOrder\x1a=.injective.exchange.v2.MsgCreateDerivativeMarketOrderResponse\x12\x81\x01\n\x15\x43\x61ncelDerivativeOrder\x12/.injective.exchange.v2.MsgCancelDerivativeOrder\x1a\x37.injective.exchange.v2.MsgCancelDerivativeOrderResponse\x12\x93\x01\n\x1b\x42\x61tchCancelDerivativeOrders\x12\x35.injective.exchange.v2.MsgBatchCancelDerivativeOrders\x1a=.injective.exchange.v2.MsgBatchCancelDerivativeOrdersResponse\x12\xa2\x01\n InstantBinaryOptionsMarketLaunch\x12:.injective.exchange.v2.MsgInstantBinaryOptionsMarketLaunch\x1a\x42.injective.exchange.v2.MsgInstantBinaryOptionsMarketLaunchResponse\x12\x99\x01\n\x1d\x43reateBinaryOptionsLimitOrder\x12\x37.injective.exchange.v2.MsgCreateBinaryOptionsLimitOrder\x1a?.injective.exchange.v2.MsgCreateBinaryOptionsLimitOrderResponse\x12\x9c\x01\n\x1e\x43reateBinaryOptionsMarketOrder\x12\x38.injective.exchange.v2.MsgCreateBinaryOptionsMarketOrder\x1a@.injective.exchange.v2.MsgCreateBinaryOptionsMarketOrderResponse\x12\x8a\x01\n\x18\x43\x61ncelBinaryOptionsOrder\x12\x32.injective.exchange.v2.MsgCancelBinaryOptionsOrder\x1a:.injective.exchange.v2.MsgCancelBinaryOptionsOrderResponse\x12\x9c\x01\n\x1e\x42\x61tchCancelBinaryOptionsOrders\x12\x38.injective.exchange.v2.MsgBatchCancelBinaryOptionsOrders\x1a@.injective.exchange.v2.MsgBatchCancelBinaryOptionsOrdersResponse\x12x\n\x12SubaccountTransfer\x12,.injective.exchange.v2.MsgSubaccountTransfer\x1a\x34.injective.exchange.v2.MsgSubaccountTransferResponse\x12r\n\x10\x45xternalTransfer\x12*.injective.exchange.v2.MsgExternalTransfer\x1a\x32.injective.exchange.v2.MsgExternalTransferResponse\x12u\n\x11LiquidatePosition\x12+.injective.exchange.v2.MsgLiquidatePosition\x1a\x33.injective.exchange.v2.MsgLiquidatePositionResponse\x12\x81\x01\n\x15\x45mergencySettleMarket\x12/.injective.exchange.v2.MsgEmergencySettleMarket\x1a\x37.injective.exchange.v2.MsgEmergencySettleMarketResponse\x12l\n\x0eOffsetPosition\x12(.injective.exchange.v2.MsgOffsetPosition\x1a\x30.injective.exchange.v2.MsgOffsetPositionResponse\x12\x84\x01\n\x16IncreasePositionMargin\x12\x30.injective.exchange.v2.MsgIncreasePositionMargin\x1a\x38.injective.exchange.v2.MsgIncreasePositionMarginResponse\x12\x84\x01\n\x16\x44\x65\x63reasePositionMargin\x12\x30.injective.exchange.v2.MsgDecreasePositionMargin\x1a\x38.injective.exchange.v2.MsgDecreasePositionMarginResponse\x12i\n\rRewardsOptOut\x12\'.injective.exchange.v2.MsgRewardsOptOut\x1a/.injective.exchange.v2.MsgRewardsOptOutResponse\x12\x9c\x01\n\x1e\x41\x64minUpdateBinaryOptionsMarket\x12\x38.injective.exchange.v2.MsgAdminUpdateBinaryOptionsMarket\x1a@.injective.exchange.v2.MsgAdminUpdateBinaryOptionsMarketResponse\x12\x66\n\x0cUpdateParams\x12&.injective.exchange.v2.MsgUpdateParams\x1a..injective.exchange.v2.MsgUpdateParamsResponse\x12r\n\x10UpdateSpotMarket\x12*.injective.exchange.v2.MsgUpdateSpotMarket\x1a\x32.injective.exchange.v2.MsgUpdateSpotMarketResponse\x12\x84\x01\n\x16UpdateDerivativeMarket\x12\x30.injective.exchange.v2.MsgUpdateDerivativeMarket\x1a\x38.injective.exchange.v2.MsgUpdateDerivativeMarketResponse\x12~\n\x14\x41uthorizeStakeGrants\x12..injective.exchange.v2.MsgAuthorizeStakeGrants\x1a\x36.injective.exchange.v2.MsgAuthorizeStakeGrantsResponse\x12x\n\x12\x41\x63tivateStakeGrant\x12,.injective.exchange.v2.MsgActivateStakeGrant\x1a\x34.injective.exchange.v2.MsgActivateStakeGrantResponse\x12\x8d\x01\n\x19\x42\x61tchExchangeModification\x12\x33.injective.exchange.v2.MsgBatchExchangeModification\x1a;.injective.exchange.v2.MsgBatchExchangeModificationResponse\x12r\n\x10LaunchSpotMarket\x12*.injective.exchange.v2.MsgSpotMarketLaunch\x1a\x32.injective.exchange.v2.MsgSpotMarketLaunchResponse\x12\x81\x01\n\x15LaunchPerpetualMarket\x12/.injective.exchange.v2.MsgPerpetualMarketLaunch\x1a\x37.injective.exchange.v2.MsgPerpetualMarketLaunchResponse\x12\x8d\x01\n\x19LaunchExpiryFuturesMarket\x12\x33.injective.exchange.v2.MsgExpiryFuturesMarketLaunch\x1a;.injective.exchange.v2.MsgExpiryFuturesMarketLaunchResponse\x12\x8d\x01\n\x19LaunchBinaryOptionsMarket\x12\x33.injective.exchange.v2.MsgBinaryOptionsMarketLaunch\x1a;.injective.exchange.v2.MsgBinaryOptionsMarketLaunchResponse\x12\x87\x01\n\x17\x42\x61tchSpendCommunityPool\x12\x31.injective.exchange.v2.MsgBatchCommunityPoolSpend\x1a\x39.injective.exchange.v2.MsgBatchCommunityPoolSpendResponse\x12\x81\x01\n\x15SpotMarketParamUpdate\x12/.injective.exchange.v2.MsgSpotMarketParamUpdate\x1a\x37.injective.exchange.v2.MsgSpotMarketParamUpdateResponse\x12\x93\x01\n\x1b\x44\x65rivativeMarketParamUpdate\x12\x35.injective.exchange.v2.MsgDerivativeMarketParamUpdate\x1a=.injective.exchange.v2.MsgDerivativeMarketParamUpdateResponse\x12\x9c\x01\n\x1e\x42inaryOptionsMarketParamUpdate\x12\x38.injective.exchange.v2.MsgBinaryOptionsMarketParamUpdate\x1a@.injective.exchange.v2.MsgBinaryOptionsMarketParamUpdateResponse\x12\x7f\n\x11\x46orceSettleMarket\x12\x30.injective.exchange.v2.MsgMarketForcedSettlement\x1a\x38.injective.exchange.v2.MsgMarketForcedSettlementResponse\x12\x93\x01\n\x1bLaunchTradingRewardCampaign\x12\x35.injective.exchange.v2.MsgTradingRewardCampaignLaunch\x1a=.injective.exchange.v2.MsgTradingRewardCampaignLaunchResponse\x12l\n\x0e\x45nableExchange\x12(.injective.exchange.v2.MsgExchangeEnable\x1a\x30.injective.exchange.v2.MsgExchangeEnableResponse\x12\x93\x01\n\x1bUpdateTradingRewardCampaign\x12\x35.injective.exchange.v2.MsgTradingRewardCampaignUpdate\x1a=.injective.exchange.v2.MsgTradingRewardCampaignUpdateResponse\x12\xa2\x01\n UpdateTradingRewardPendingPoints\x12:.injective.exchange.v2.MsgTradingRewardPendingPointsUpdate\x1a\x42.injective.exchange.v2.MsgTradingRewardPendingPointsUpdateResponse\x12i\n\x11UpdateFeeDiscount\x12%.injective.exchange.v2.MsgFeeDiscount\x1a-.injective.exchange.v2.MsgFeeDiscountResponse\x12\xba\x01\n,UpdateAtomicMarketOrderFeeMultiplierSchedule\x12@.injective.exchange.v2.MsgAtomicMarketOrderFeeMultiplierSchedule\x1aH.injective.exchange.v2.MsgAtomicMarketOrderFeeMultiplierScheduleResponse\x12x\n\x12\x43\x61ncelPostOnlyMode\x12,.injective.exchange.v2.MsgCancelPostOnlyMode\x1a\x34.injective.exchange.v2.MsgCancelPostOnlyModeResponse\x12~\n\x14\x41\x63tivatePostOnlyMode\x12..injective.exchange.v2.MsgActivatePostOnlyMode\x1a\x36.injective.exchange.v2.MsgActivatePostOnlyModeResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xed\x01\n\x19\x63om.injective.exchange.v2B\x07TxProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1einjective/exchange/v2/tx.proto\x12\x15injective.exchange.v2\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/v2/exchange.proto\x1a!injective/exchange/v2/order.proto\x1a\"injective/exchange/v2/market.proto\x1a$injective/exchange/v2/proposal.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x11\x61mino/amino.proto\"\xa3\x03\n\x13MsgUpdateSpotMarket\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1d\n\nnew_ticker\x18\x03 \x01(\tR\tnewTicker\x12Y\n\x17new_min_price_tick_size\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13newMinPriceTickSize\x12_\n\x1anew_min_quantity_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16newMinQuantityTickSize\x12M\n\x10new_min_notional\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0enewMinNotional:/\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\x1c\x65xchange/MsgUpdateSpotMarket\"\x1d\n\x1bMsgUpdateSpotMarketResponse\"\x9d\x07\n\x19MsgUpdateDerivativeMarket\x12\x14\n\x05\x61\x64min\x18\x01 \x01(\tR\x05\x61\x64min\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x1d\n\nnew_ticker\x18\x03 \x01(\tR\tnewTicker\x12Y\n\x17new_min_price_tick_size\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13newMinPriceTickSize\x12_\n\x1anew_min_quantity_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16newMinQuantityTickSize\x12M\n\x10new_min_notional\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0enewMinNotional\x12\\\n\x18new_initial_margin_ratio\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x15newInitialMarginRatio\x12\x64\n\x1cnew_maintenance_margin_ratio\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x19newMaintenanceMarginRatio\x12Z\n\x17new_reduce_margin_ratio\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14newReduceMarginRatio\x12_\n\x15new_open_notional_cap\x18\n \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x12newOpenNotionalCap\x12g\n\x18\x63ross_margin_eligibility\x18\x0b \x01(\x0e\x32-.injective.exchange.v2.CrossMarginEligibilityR\x16\x63rossMarginEligibility:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x05\x61\x64min\x8a\xe7\xb0*\"exchange/MsgUpdateDerivativeMarket\"#\n!MsgUpdateDerivativeMarketResponse\"\xb3\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12;\n\x06params\x18\x02 \x01(\x0b\x32\x1d.injective.exchange.v2.ParamsB\x04\xc8\xde\x1f\x00R\x06params:+\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x18\x65xchange/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse\"\xaf\x01\n\nMsgDeposit\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:+\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x13\x65xchange/MsgDeposit\"\x14\n\x12MsgDepositResponse\"\xb1\x01\n\x0bMsgWithdraw\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x37\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x14\x65xchange/MsgWithdraw\"\x15\n\x13MsgWithdrawResponse\"\xf5\x01\n\x1eMsgUpdateSubaccountRiskProfile\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12U\n\x0crisk_profile\x18\x03 \x01(\x0b\x32,.injective.exchange.v2.SubaccountRiskProfileB\x04\xc8\xde\x1f\x00R\x0briskProfile:?\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgUpdateSubaccountRiskProfile\"(\n&MsgUpdateSubaccountRiskProfileResponse\"\xa9\x01\n\x17MsgCreateSpotLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12<\n\x05order\x18\x02 \x01(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:8\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgCreateSpotLimitOrder\"\\\n\x1fMsgCreateSpotLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb7\x01\n\x1dMsgBatchCreateSpotLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12>\n\x06orders\x18\x02 \x03(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x00R\x06orders:>\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgBatchCreateSpotLimitOrders\"\xb2\x01\n%MsgBatchCreateSpotLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x8b\x04\n\x1aMsgInstantSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1d\n\nbase_denom\x18\x03 \x01(\tR\tbaseDenom\x12\x1f\n\x0bquote_denom\x18\x04 \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12#\n\rbase_decimals\x18\x08 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\t \x01(\rR\rquoteDecimals:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgInstantSpotMarketLaunch\"$\n\"MsgInstantSpotMarketLaunchResponse\"\x94\t\n\x1fMsgInstantPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12\x45\n\x0boracle_type\x18\x07 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12I\n\x0emaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12S\n\x13reduce_margin_ratio\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x10 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap\x12\x32\n\x15\x63ross_margin_eligible\x18\x11 \x01(\x08R\x13\x63rossMarginEligible:@\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*(exchange/MsgInstantPerpetualMarketLaunch\")\n\'MsgInstantPerpetualMarketLaunchResponse\"\xe3\x07\n#MsgInstantBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12#\n\roracle_symbol\x18\x03 \x01(\tR\x0coracleSymbol\x12\'\n\x0foracle_provider\x18\x04 \x01(\tR\x0eoracleProvider\x12\x45\n\x0boracle_type\x18\x05 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x06 \x01(\rR\x11oracleScaleFactor\x12I\n\x0emaker_fee_rate\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12\x31\n\x14\x65xpiration_timestamp\x18\t \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\n \x01(\x03R\x13settlementTimestamp\x12\x14\n\x05\x61\x64min\x18\x0b \x01(\tR\x05\x61\x64min\x12\x1f\n\x0bquote_denom\x18\x0c \x01(\tR\nquoteDenom\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12X\n\x11open_notional_cap\x18\x10 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantBinaryOptionsMarketLaunch\"-\n+MsgInstantBinaryOptionsMarketLaunchResponse\"\xb4\t\n#MsgInstantExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x16\n\x06ticker\x18\x02 \x01(\tR\x06ticker\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom\x12\x1f\n\x0boracle_base\x18\x04 \x01(\tR\noracleBase\x12!\n\x0coracle_quote\x18\x05 \x01(\tR\x0boracleQuote\x12\x45\n\x0boracle_type\x18\x06 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12.\n\x13oracle_scale_factor\x18\x07 \x01(\rR\x11oracleScaleFactor\x12\x16\n\x06\x65xpiry\x18\x08 \x01(\x03R\x06\x65xpiry\x12I\n\x0emaker_fee_rate\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0cmakerFeeRate\x12I\n\x0etaker_fee_rate\x18\n \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0ctakerFeeRate\x12U\n\x14initial_margin_ratio\x18\x0b \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12initialMarginRatio\x12]\n\x18maintenance_margin_ratio\x18\x0c \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16maintenanceMarginRatio\x12R\n\x13min_price_tick_size\x18\r \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x10minPriceTickSize\x12X\n\x16min_quantity_tick_size\x18\x0e \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13minQuantityTickSize\x12\x46\n\x0cmin_notional\x18\x0f \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bminNotional\x12S\n\x13reduce_margin_ratio\x18\x10 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x11reduceMarginRatio\x12X\n\x11open_notional_cap\x18\x11 \x01(\x0b\x32&.injective.exchange.v2.OpenNotionalCapB\x04\xc8\xde\x1f\x00R\x0fopenNotionalCap\x12\x32\n\x15\x63ross_margin_eligible\x18\x12 \x01(\x08R\x13\x63rossMarginEligible:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgInstantExpiryFuturesMarketLaunch\"-\n+MsgInstantExpiryFuturesMarketLaunchResponse\"\xab\x01\n\x18MsgCreateSpotMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12<\n\x05order\x18\x02 \x01(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x00R\x05order:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCreateSpotMarketOrder\"\xac\x01\n MsgCreateSpotMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12M\n\x07results\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.SpotMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd5\x01\n\x16SpotMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb7\x01\n\x1dMsgCreateDerivativeLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x42\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order::\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*&exchange/MsgCreateDerivativeLimitOrder\"b\n%MsgCreateDerivativeLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbd\x01\n MsgCreateBinaryOptionsLimitOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x42\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:=\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*)exchange/MsgCreateBinaryOptionsLimitOrder\"e\n(MsgCreateBinaryOptionsLimitOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x02 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xc5\x01\n#MsgBatchCreateDerivativeLimitOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x06orders\x18\x02 \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x06orders:@\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgBatchCreateDerivativeLimitOrders\"\xb8\x01\n+MsgBatchCreateDerivativeLimitOrdersResponse\x12!\n\x0corder_hashes\x18\x01 \x03(\tR\x0borderHashes\x12.\n\x13\x63reated_orders_cids\x18\x02 \x03(\tR\x11\x63reatedOrdersCids\x12,\n\x12\x66\x61iled_orders_cids\x18\x03 \x03(\tR\x10\x66\x61iledOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xd0\x01\n\x12MsgCancelSpotOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id:/\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1b\x65xchange/MsgCancelSpotOrder\"\x1c\n\x1aMsgCancelSpotOrderResponse\"\xa5\x01\n\x18MsgBatchCancelSpotOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12:\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgBatchCancelSpotOrders\"F\n MsgBatchCancelSpotOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb7\x01\n!MsgBatchCancelBinaryOptionsOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12:\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBatchCancelBinaryOptionsOrders\"O\n)MsgBatchCancelBinaryOptionsOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb7\n\n\x14MsgBatchUpdateOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12?\n\x1dspot_market_ids_to_cancel_all\x18\x03 \x03(\tR\x18spotMarketIdsToCancelAll\x12K\n#derivative_market_ids_to_cancel_all\x18\x04 \x03(\tR\x1e\x64\x65rivativeMarketIdsToCancelAll\x12Y\n\x15spot_orders_to_cancel\x18\x05 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCancel\x12\x65\n\x1b\x64\x65rivative_orders_to_cancel\x18\x06 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCancel\x12Y\n\x15spot_orders_to_create\x18\x07 \x03(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x01R\x12spotOrdersToCreate\x12k\n\x1b\x64\x65rivative_orders_to_create\x18\x08 \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x18\x64\x65rivativeOrdersToCreate\x12l\n\x1f\x62inary_options_orders_to_cancel\x18\t \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCancel\x12R\n\'binary_options_market_ids_to_cancel_all\x18\n \x03(\tR!binaryOptionsMarketIdsToCancelAll\x12r\n\x1f\x62inary_options_orders_to_create\x18\x0b \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1b\x62inaryOptionsOrdersToCreate\x12\x66\n\x1cspot_market_orders_to_create\x18\x0c \x03(\x0b\x32 .injective.exchange.v2.SpotOrderB\x04\xc8\xde\x1f\x01R\x18spotMarketOrdersToCreate\x12x\n\"derivative_market_orders_to_create\x18\r \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x1e\x64\x65rivativeMarketOrdersToCreate\x12\x7f\n&binary_options_market_orders_to_create\x18\x0e \x03(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R!binaryOptionsMarketOrdersToCreate:1\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgBatchUpdateOrders\"\xae\x0b\n\x1cMsgBatchUpdateOrdersResponse\x12.\n\x13spot_cancel_success\x18\x01 \x03(\x08R\x11spotCancelSuccess\x12:\n\x19\x64\x65rivative_cancel_success\x18\x02 \x03(\x08R\x17\x64\x65rivativeCancelSuccess\x12*\n\x11spot_order_hashes\x18\x03 \x03(\tR\x0fspotOrderHashes\x12\x36\n\x17\x64\x65rivative_order_hashes\x18\x04 \x03(\tR\x15\x64\x65rivativeOrderHashes\x12\x41\n\x1d\x62inary_options_cancel_success\x18\x05 \x03(\x08R\x1a\x62inaryOptionsCancelSuccess\x12=\n\x1b\x62inary_options_order_hashes\x18\x06 \x03(\tR\x18\x62inaryOptionsOrderHashes\x12\x37\n\x18\x63reated_spot_orders_cids\x18\x07 \x03(\tR\x15\x63reatedSpotOrdersCids\x12\x35\n\x17\x66\x61iled_spot_orders_cids\x18\x08 \x03(\tR\x14\x66\x61iledSpotOrdersCids\x12\x43\n\x1e\x63reated_derivative_orders_cids\x18\t \x03(\tR\x1b\x63reatedDerivativeOrdersCids\x12\x41\n\x1d\x66\x61iled_derivative_orders_cids\x18\n \x03(\tR\x1a\x66\x61iledDerivativeOrdersCids\x12J\n\"created_binary_options_orders_cids\x18\x0b \x03(\tR\x1e\x63reatedBinaryOptionsOrdersCids\x12H\n!failed_binary_options_orders_cids\x18\x0c \x03(\tR\x1d\x66\x61iledBinaryOptionsOrdersCids\x12\x37\n\x18spot_market_order_hashes\x18\r \x03(\tR\x15spotMarketOrderHashes\x12\x44\n\x1f\x63reated_spot_market_orders_cids\x18\x0e \x03(\tR\x1b\x63reatedSpotMarketOrdersCids\x12\x42\n\x1e\x66\x61iled_spot_market_orders_cids\x18\x0f \x03(\tR\x1a\x66\x61iledSpotMarketOrdersCids\x12\x43\n\x1e\x64\x65rivative_market_order_hashes\x18\x10 \x03(\tR\x1b\x64\x65rivativeMarketOrderHashes\x12P\n%created_derivative_market_orders_cids\x18\x11 \x03(\tR!createdDerivativeMarketOrdersCids\x12N\n$failed_derivative_market_orders_cids\x18\x12 \x03(\tR failedDerivativeMarketOrdersCids\x12J\n\"binary_options_market_order_hashes\x18\x13 \x03(\tR\x1e\x62inaryOptionsMarketOrderHashes\x12W\n)created_binary_options_market_orders_cids\x18\x14 \x03(\tR$createdBinaryOptionsMarketOrdersCids\x12U\n(failed_binary_options_market_orders_cids\x18\x15 \x03(\tR#failedBinaryOptionsMarketOrdersCids:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xb9\x01\n\x1eMsgCreateDerivativeMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x42\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgCreateDerivativeMarketOrder\"\xb8\x01\n&MsgCreateDerivativeMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12S\n\x07results\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v2.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xeb\x02\n\x1c\x44\x65rivativeMarketOrderResults\x12?\n\x08quantity\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x35\n\x03\x66\x65\x65\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12Q\n\x0eposition_delta\x18\x04 \x01(\x0b\x32$.injective.exchange.v2.PositionDeltaB\x04\xc8\xde\x1f\x00R\rpositionDelta\x12;\n\x06payout\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xbf\x01\n!MsgCreateBinaryOptionsMarketOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x42\n\x05order\x18\x02 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x00R\x05order:>\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgCreateBinaryOptionsMarketOrder\"\xbb\x01\n)MsgCreateBinaryOptionsMarketOrderResponse\x12\x1d\n\norder_hash\x18\x01 \x01(\tR\torderHash\x12S\n\x07results\x18\x02 \x01(\x0b\x32\x33.injective.exchange.v2.DerivativeMarketOrderResultsB\x04\xc8\xde\x1f\x01R\x07results\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\xfb\x01\n\x18MsgCancelDerivativeOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:5\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgCancelDerivativeOrder\"\"\n MsgCancelDerivativeOrderResponse\"\x81\x02\n\x1bMsgCancelBinaryOptionsOrder\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x03 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x05 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x06 \x01(\tR\x03\x63id:8\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgCancelBinaryOptionsOrder\"%\n#MsgCancelBinaryOptionsOrderResponse\"\x9d\x01\n\tOrderData\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1d\n\norder_hash\x18\x03 \x01(\tR\torderHash\x12\x1d\n\norder_mask\x18\x04 \x01(\x05R\torderMask\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\"\xb1\x01\n\x1eMsgBatchCancelDerivativeOrders\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12:\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .injective.exchange.v2.OrderDataB\x04\xc8\xde\x1f\x00R\x04\x64\x61ta:;\x88\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgBatchCancelDerivativeOrders\"L\n&MsgBatchCancelDerivativeOrdersResponse\x12\x18\n\x07success\x18\x01 \x03(\x08R\x07success:\x08\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\"\x86\x02\n\x15MsgSubaccountTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgSubaccountTransfer\"\x1f\n\x1dMsgSubaccountTransferResponse\"\x82\x02\n\x13MsgExternalTransfer\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x37\n\x06\x61mount\x18\x04 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x06\x61mount:,\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgExternalTransfer\"\x1d\n\x1bMsgExternalTransferResponse\"\xe3\x01\n\x14MsgLiquidatePosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12\x42\n\x05order\x18\x04 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order:-\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1d\x65xchange/MsgLiquidatePosition\"\x1e\n\x1cMsgLiquidatePositionResponse\"\x9d\x01\n\x15LiquidatePositionData\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x42\n\x05order\x18\x03 \x01(\x0b\x32&.injective.exchange.v2.DerivativeOrderB\x04\xc8\xde\x1f\x01R\x05order\"\xc1\x01\n\x1aMsgBatchLiquidatePositions\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12V\n\x0cliquidations\x18\x02 \x03(\x0b\x32,.injective.exchange.v2.LiquidatePositionDataB\x04\xc8\xde\x1f\x00R\x0cliquidations:3\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgBatchLiquidatePositions\"\x8b\x01\n\x17LiquidatePositionResult\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12\x18\n\x07success\x18\x03 \x01(\x08R\x07success\x12\x14\n\x05\x65rror\x18\x04 \x01(\tR\x05\x65rror\"t\n\"MsgBatchLiquidatePositionsResponse\x12N\n\x07results\x18\x01 \x03(\x0b\x32..injective.exchange.v2.LiquidatePositionResultB\x04\xc8\xde\x1f\x00R\x07results\"\xd5\x01\n\x11MsgOffsetPosition\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId\x12:\n\x19offsetting_subaccount_ids\x18\x04 \x03(\tR\x17offsettingSubaccountIds:*\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1a\x65xchange/MsgOffsetPosition\"\x1b\n\x19MsgOffsetPositionResponse\"\xa7\x01\n\x18MsgEmergencySettleMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1b\n\tmarket_id\x18\x03 \x01(\tR\x08marketId:1\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgEmergencySettleMarket\"\"\n MsgEmergencySettleMarketResponse\"\xaf\x02\n\x19MsgIncreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgIncreasePositionMargin\"#\n!MsgIncreasePositionMarginResponse\"\xaf\x02\n\x19MsgDecreasePositionMargin\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x14source_subaccount_id\x18\x02 \x01(\tR\x12sourceSubaccountId\x12:\n\x19\x64\x65stination_subaccount_id\x18\x03 \x01(\tR\x17\x64\x65stinationSubaccountId\x12\x1b\n\tmarket_id\x18\x04 \x01(\tR\x08marketId\x12;\n\x06\x61mount\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61mount:2\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgDecreasePositionMargin\"#\n!MsgDecreasePositionMarginResponse\"\xca\x01\n\x1cMsgPrivilegedExecuteContract\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x14\n\x05\x66unds\x18\x02 \x01(\tR\x05\x66unds\x12)\n\x10\x63ontract_address\x18\x03 \x01(\tR\x0f\x63ontractAddress\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\tR\x04\x64\x61ta:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgPrivilegedExecuteContract\"\xa7\x01\n$MsgPrivilegedExecuteContractResponse\x12j\n\nfunds_diff\x18\x01 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\tfundsDiff:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"]\n\x10MsgRewardsOptOut\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19\x65xchange/MsgRewardsOptOut\"\x1a\n\x18MsgRewardsOptOutResponse\"\xaf\x01\n\x15MsgReclaimLockedFunds\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x30\n\x13lockedAccountPubKey\x18\x02 \x01(\x0cR\x13lockedAccountPubKey\x12\x1c\n\tsignature\x18\x03 \x01(\x0cR\tsignature:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgReclaimLockedFunds\"\x1f\n\x1dMsgReclaimLockedFundsResponse\"\x80\x01\n\x0bMsgSignData\x12S\n\x06Signer\x18\x01 \x01(\x0c\x42;\xea\xde\x1f\x06signer\xfa\xde\x1f-github.com/cosmos/cosmos-sdk/types.AccAddressR\x06Signer\x12\x1c\n\x04\x44\x61ta\x18\x02 \x01(\x0c\x42\x08\xea\xde\x1f\x04\x64\x61taR\x04\x44\x61ta\"s\n\nMsgSignDoc\x12%\n\tsign_type\x18\x01 \x01(\tB\x08\xea\xde\x1f\x04typeR\x08signType\x12>\n\x05value\x18\x02 \x01(\x0b\x32\".injective.exchange.v2.MsgSignDataB\x04\xc8\xde\x1f\x00R\x05value\"\x87\x03\n!MsgAdminUpdateBinaryOptionsMarket\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1b\n\tmarket_id\x18\x02 \x01(\tR\x08marketId\x12N\n\x10settlement_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x01\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0fsettlementPrice\x12\x31\n\x14\x65xpiration_timestamp\x18\x04 \x01(\x03R\x13\x65xpirationTimestamp\x12\x31\n\x14settlement_timestamp\x18\x05 \x01(\x03R\x13settlementTimestamp\x12;\n\x06status\x18\x06 \x01(\x0e\x32#.injective.exchange.v2.MarketStatusR\x06status::\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgAdminUpdateBinaryOptionsMarket\"+\n)MsgAdminUpdateBinaryOptionsMarketResponse\"\xa6\x01\n\x17MsgAuthorizeStakeGrants\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x41\n\x06grants\x18\x02 \x03(\x0b\x32).injective.exchange.v2.GrantAuthorizationR\x06grants:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgAuthorizeStakeGrants\"!\n\x1fMsgAuthorizeStakeGrantsResponse\"y\n\x15MsgActivateStakeGrant\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07granter\x18\x02 \x01(\tR\x07granter:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgActivateStakeGrant\"\x1f\n\x1dMsgActivateStakeGrantResponse\"\xcb\x01\n\x1cMsgBatchExchangeModification\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12T\n\x08proposal\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v2.BatchExchangeModificationProposalR\x08proposal:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgBatchExchangeModification\"&\n$MsgBatchExchangeModificationResponse\"\xb0\x01\n\x13MsgSpotMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12K\n\x08proposal\x18\x02 \x01(\x0b\x32/.injective.exchange.v2.SpotMarketLaunchProposalR\x08proposal:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1c\x65xchange/MsgSpotMarketLaunch\"\x1d\n\x1bMsgSpotMarketLaunchResponse\"\xbf\x01\n\x18MsgPerpetualMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12P\n\x08proposal\x18\x02 \x01(\x0b\x32\x34.injective.exchange.v2.PerpetualMarketLaunchProposalR\x08proposal:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgPerpetualMarketLaunch\"\"\n MsgPerpetualMarketLaunchResponse\"\xcb\x01\n\x1cMsgExpiryFuturesMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12T\n\x08proposal\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v2.ExpiryFuturesMarketLaunchProposalR\x08proposal:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgExpiryFuturesMarketLaunch\"&\n$MsgExpiryFuturesMarketLaunchResponse\"\xcb\x01\n\x1cMsgBinaryOptionsMarketLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12T\n\x08proposal\x18\x02 \x01(\x0b\x32\x38.injective.exchange.v2.BinaryOptionsMarketLaunchProposalR\x08proposal:=\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*%exchange/MsgBinaryOptionsMarketLaunch\"&\n$MsgBinaryOptionsMarketLaunchResponse\"\xc5\x01\n\x1aMsgBatchCommunityPoolSpend\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12R\n\x08proposal\x18\x02 \x01(\x0b\x32\x36.injective.exchange.v2.BatchCommunityPoolSpendProposalR\x08proposal:;\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*#exchange/MsgBatchCommunityPoolSpend\"$\n\"MsgBatchCommunityPoolSpendResponse\"\xbf\x01\n\x18MsgSpotMarketParamUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12P\n\x08proposal\x18\x02 \x01(\x0b\x32\x34.injective.exchange.v2.SpotMarketParamUpdateProposalR\x08proposal:9\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*!exchange/MsgSpotMarketParamUpdate\"\"\n MsgSpotMarketParamUpdateResponse\"\xd1\x01\n\x1eMsgDerivativeMarketParamUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12V\n\x08proposal\x18\x02 \x01(\x0b\x32:.injective.exchange.v2.DerivativeMarketParamUpdateProposalR\x08proposal:?\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgDerivativeMarketParamUpdate\"(\n&MsgDerivativeMarketParamUpdateResponse\"\xda\x01\n!MsgBinaryOptionsMarketParamUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x08proposal\x18\x02 \x01(\x0b\x32=.injective.exchange.v2.BinaryOptionsMarketParamUpdateProposalR\x08proposal:B\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgBinaryOptionsMarketParamUpdate\"+\n)MsgBinaryOptionsMarketParamUpdateResponse\"\xc2\x01\n\x19MsgMarketForcedSettlement\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Q\n\x08proposal\x18\x02 \x01(\x0b\x32\x35.injective.exchange.v2.MarketForcedSettlementProposalR\x08proposal::\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\"exchange/MsgMarketForcedSettlement\"#\n!MsgMarketForcedSettlementResponse\"\xd1\x01\n\x1eMsgTradingRewardCampaignLaunch\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12V\n\x08proposal\x18\x02 \x01(\x0b\x32:.injective.exchange.v2.TradingRewardCampaignLaunchProposalR\x08proposal:?\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgTradingRewardCampaignLaunch\"(\n&MsgTradingRewardCampaignLaunchResponse\"\xaa\x01\n\x11MsgExchangeEnable\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12I\n\x08proposal\x18\x02 \x01(\x0b\x32-.injective.exchange.v2.ExchangeEnableProposalR\x08proposal:2\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1a\x65xchange/MsgExchangeEnable\"\x1b\n\x19MsgExchangeEnableResponse\"\xd1\x01\n\x1eMsgTradingRewardCampaignUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12V\n\x08proposal\x18\x02 \x01(\x0b\x32:.injective.exchange.v2.TradingRewardCampaignUpdateProposalR\x08proposal:?\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\'exchange/MsgTradingRewardCampaignUpdate\"(\n&MsgTradingRewardCampaignUpdateResponse\"\xe0\x01\n#MsgTradingRewardPendingPointsUpdate\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12[\n\x08proposal\x18\x02 \x01(\x0b\x32?.injective.exchange.v2.TradingRewardPendingPointsUpdateProposalR\x08proposal:D\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*,exchange/MsgTradingRewardPendingPointsUpdate\"-\n+MsgTradingRewardPendingPointsUpdateResponse\"\xa1\x01\n\x0eMsgFeeDiscount\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x46\n\x08proposal\x18\x02 \x01(\x0b\x32*.injective.exchange.v2.FeeDiscountProposalR\x08proposal:/\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x17\x65xchange/MsgFeeDiscount\"\x18\n\x16MsgFeeDiscountResponse\"\xf2\x01\n)MsgAtomicMarketOrderFeeMultiplierSchedule\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x61\n\x08proposal\x18\x02 \x01(\x0b\x32\x45.injective.exchange.v2.AtomicMarketOrderFeeMultiplierScheduleProposalR\x08proposal:J\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*2exchange/MsgAtomicMarketOrderFeeMultiplierSchedule\"3\n1MsgAtomicMarketOrderFeeMultiplierScheduleResponse\"\x97\x01\n!MsgSetDelegationTransferReceivers\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1c\n\treceivers\x18\x02 \x03(\tR\treceivers:<\x18\x01\x82\xe7\xb0*\x06sender\x8a\xe7\xb0**exchange/MsgSetDelegationTransferReceivers\"/\n)MsgSetDelegationTransferReceiversResponse:\x02\x18\x01\"_\n\x15MsgCancelPostOnlyMode\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender:.\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1e\x65xchange/MsgCancelPostOnlyMode\"\x1f\n\x1dMsgCancelPostOnlyModeResponse\"\x88\x01\n\x17MsgActivatePostOnlyMode\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rblocks_amount\x18\x02 \x01(\rR\x0c\x62locksAmount:0\x82\xe7\xb0*\x06sender\x8a\xe7\xb0* exchange/MsgActivatePostOnlyMode\"!\n\x1fMsgActivatePostOnlyModeResponse\"\xb1\x01\n\x1bMsgLiquidateCrossMarginPool\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x1f\n\x0bquote_denom\x18\x03 \x01(\tR\nquoteDenom:4\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*$exchange/MsgLiquidateCrossMarginPool\"%\n#MsgLiquidateCrossMarginPoolResponse2\xd6<\n\x03Msg\x12W\n\x07\x44\x65posit\x12!.injective.exchange.v2.MsgDeposit\x1a).injective.exchange.v2.MsgDepositResponse\x12Z\n\x08Withdraw\x12\".injective.exchange.v2.MsgWithdraw\x1a*.injective.exchange.v2.MsgWithdrawResponse\x12\x87\x01\n\x17InstantSpotMarketLaunch\x12\x31.injective.exchange.v2.MsgInstantSpotMarketLaunch\x1a\x39.injective.exchange.v2.MsgInstantSpotMarketLaunchResponse\x12\x96\x01\n\x1cInstantPerpetualMarketLaunch\x12\x36.injective.exchange.v2.MsgInstantPerpetualMarketLaunch\x1a>.injective.exchange.v2.MsgInstantPerpetualMarketLaunchResponse\x12\xa2\x01\n InstantExpiryFuturesMarketLaunch\x12:.injective.exchange.v2.MsgInstantExpiryFuturesMarketLaunch\x1a\x42.injective.exchange.v2.MsgInstantExpiryFuturesMarketLaunchResponse\x12~\n\x14\x43reateSpotLimitOrder\x12..injective.exchange.v2.MsgCreateSpotLimitOrder\x1a\x36.injective.exchange.v2.MsgCreateSpotLimitOrderResponse\x12\x90\x01\n\x1a\x42\x61tchCreateSpotLimitOrders\x12\x34.injective.exchange.v2.MsgBatchCreateSpotLimitOrders\x1a<.injective.exchange.v2.MsgBatchCreateSpotLimitOrdersResponse\x12\x81\x01\n\x15\x43reateSpotMarketOrder\x12/.injective.exchange.v2.MsgCreateSpotMarketOrder\x1a\x37.injective.exchange.v2.MsgCreateSpotMarketOrderResponse\x12o\n\x0f\x43\x61ncelSpotOrder\x12).injective.exchange.v2.MsgCancelSpotOrder\x1a\x31.injective.exchange.v2.MsgCancelSpotOrderResponse\x12\x81\x01\n\x15\x42\x61tchCancelSpotOrders\x12/.injective.exchange.v2.MsgBatchCancelSpotOrders\x1a\x37.injective.exchange.v2.MsgBatchCancelSpotOrdersResponse\x12u\n\x11\x42\x61tchUpdateOrders\x12+.injective.exchange.v2.MsgBatchUpdateOrders\x1a\x33.injective.exchange.v2.MsgBatchUpdateOrdersResponse\x12\x8d\x01\n\x19PrivilegedExecuteContract\x12\x33.injective.exchange.v2.MsgPrivilegedExecuteContract\x1a;.injective.exchange.v2.MsgPrivilegedExecuteContractResponse\x12\x90\x01\n\x1a\x43reateDerivativeLimitOrder\x12\x34.injective.exchange.v2.MsgCreateDerivativeLimitOrder\x1a<.injective.exchange.v2.MsgCreateDerivativeLimitOrderResponse\x12\xa2\x01\n BatchCreateDerivativeLimitOrders\x12:.injective.exchange.v2.MsgBatchCreateDerivativeLimitOrders\x1a\x42.injective.exchange.v2.MsgBatchCreateDerivativeLimitOrdersResponse\x12\x93\x01\n\x1b\x43reateDerivativeMarketOrder\x12\x35.injective.exchange.v2.MsgCreateDerivativeMarketOrder\x1a=.injective.exchange.v2.MsgCreateDerivativeMarketOrderResponse\x12\x81\x01\n\x15\x43\x61ncelDerivativeOrder\x12/.injective.exchange.v2.MsgCancelDerivativeOrder\x1a\x37.injective.exchange.v2.MsgCancelDerivativeOrderResponse\x12\x93\x01\n\x1b\x42\x61tchCancelDerivativeOrders\x12\x35.injective.exchange.v2.MsgBatchCancelDerivativeOrders\x1a=.injective.exchange.v2.MsgBatchCancelDerivativeOrdersResponse\x12\xa2\x01\n InstantBinaryOptionsMarketLaunch\x12:.injective.exchange.v2.MsgInstantBinaryOptionsMarketLaunch\x1a\x42.injective.exchange.v2.MsgInstantBinaryOptionsMarketLaunchResponse\x12\x99\x01\n\x1d\x43reateBinaryOptionsLimitOrder\x12\x37.injective.exchange.v2.MsgCreateBinaryOptionsLimitOrder\x1a?.injective.exchange.v2.MsgCreateBinaryOptionsLimitOrderResponse\x12\x9c\x01\n\x1e\x43reateBinaryOptionsMarketOrder\x12\x38.injective.exchange.v2.MsgCreateBinaryOptionsMarketOrder\x1a@.injective.exchange.v2.MsgCreateBinaryOptionsMarketOrderResponse\x12\x8a\x01\n\x18\x43\x61ncelBinaryOptionsOrder\x12\x32.injective.exchange.v2.MsgCancelBinaryOptionsOrder\x1a:.injective.exchange.v2.MsgCancelBinaryOptionsOrderResponse\x12\x9c\x01\n\x1e\x42\x61tchCancelBinaryOptionsOrders\x12\x38.injective.exchange.v2.MsgBatchCancelBinaryOptionsOrders\x1a@.injective.exchange.v2.MsgBatchCancelBinaryOptionsOrdersResponse\x12x\n\x12SubaccountTransfer\x12,.injective.exchange.v2.MsgSubaccountTransfer\x1a\x34.injective.exchange.v2.MsgSubaccountTransferResponse\x12r\n\x10\x45xternalTransfer\x12*.injective.exchange.v2.MsgExternalTransfer\x1a\x32.injective.exchange.v2.MsgExternalTransferResponse\x12u\n\x11LiquidatePosition\x12+.injective.exchange.v2.MsgLiquidatePosition\x1a\x33.injective.exchange.v2.MsgLiquidatePositionResponse\x12\x87\x01\n\x17\x42\x61tchLiquidatePositions\x12\x31.injective.exchange.v2.MsgBatchLiquidatePositions\x1a\x39.injective.exchange.v2.MsgBatchLiquidatePositionsResponse\x12\x81\x01\n\x15\x45mergencySettleMarket\x12/.injective.exchange.v2.MsgEmergencySettleMarket\x1a\x37.injective.exchange.v2.MsgEmergencySettleMarketResponse\x12l\n\x0eOffsetPosition\x12(.injective.exchange.v2.MsgOffsetPosition\x1a\x30.injective.exchange.v2.MsgOffsetPositionResponse\x12\x84\x01\n\x16IncreasePositionMargin\x12\x30.injective.exchange.v2.MsgIncreasePositionMargin\x1a\x38.injective.exchange.v2.MsgIncreasePositionMarginResponse\x12\x84\x01\n\x16\x44\x65\x63reasePositionMargin\x12\x30.injective.exchange.v2.MsgDecreasePositionMargin\x1a\x38.injective.exchange.v2.MsgDecreasePositionMarginResponse\x12i\n\rRewardsOptOut\x12\'.injective.exchange.v2.MsgRewardsOptOut\x1a/.injective.exchange.v2.MsgRewardsOptOutResponse\x12\x9c\x01\n\x1e\x41\x64minUpdateBinaryOptionsMarket\x12\x38.injective.exchange.v2.MsgAdminUpdateBinaryOptionsMarket\x1a@.injective.exchange.v2.MsgAdminUpdateBinaryOptionsMarketResponse\x12\x66\n\x0cUpdateParams\x12&.injective.exchange.v2.MsgUpdateParams\x1a..injective.exchange.v2.MsgUpdateParamsResponse\x12r\n\x10UpdateSpotMarket\x12*.injective.exchange.v2.MsgUpdateSpotMarket\x1a\x32.injective.exchange.v2.MsgUpdateSpotMarketResponse\x12\x84\x01\n\x16UpdateDerivativeMarket\x12\x30.injective.exchange.v2.MsgUpdateDerivativeMarket\x1a\x38.injective.exchange.v2.MsgUpdateDerivativeMarketResponse\x12~\n\x14\x41uthorizeStakeGrants\x12..injective.exchange.v2.MsgAuthorizeStakeGrants\x1a\x36.injective.exchange.v2.MsgAuthorizeStakeGrantsResponse\x12x\n\x12\x41\x63tivateStakeGrant\x12,.injective.exchange.v2.MsgActivateStakeGrant\x1a\x34.injective.exchange.v2.MsgActivateStakeGrantResponse\x12\x8d\x01\n\x19\x42\x61tchExchangeModification\x12\x33.injective.exchange.v2.MsgBatchExchangeModification\x1a;.injective.exchange.v2.MsgBatchExchangeModificationResponse\x12r\n\x10LaunchSpotMarket\x12*.injective.exchange.v2.MsgSpotMarketLaunch\x1a\x32.injective.exchange.v2.MsgSpotMarketLaunchResponse\x12\x81\x01\n\x15LaunchPerpetualMarket\x12/.injective.exchange.v2.MsgPerpetualMarketLaunch\x1a\x37.injective.exchange.v2.MsgPerpetualMarketLaunchResponse\x12\x8d\x01\n\x19LaunchExpiryFuturesMarket\x12\x33.injective.exchange.v2.MsgExpiryFuturesMarketLaunch\x1a;.injective.exchange.v2.MsgExpiryFuturesMarketLaunchResponse\x12\x8d\x01\n\x19LaunchBinaryOptionsMarket\x12\x33.injective.exchange.v2.MsgBinaryOptionsMarketLaunch\x1a;.injective.exchange.v2.MsgBinaryOptionsMarketLaunchResponse\x12\x87\x01\n\x17\x42\x61tchSpendCommunityPool\x12\x31.injective.exchange.v2.MsgBatchCommunityPoolSpend\x1a\x39.injective.exchange.v2.MsgBatchCommunityPoolSpendResponse\x12\x81\x01\n\x15SpotMarketParamUpdate\x12/.injective.exchange.v2.MsgSpotMarketParamUpdate\x1a\x37.injective.exchange.v2.MsgSpotMarketParamUpdateResponse\x12\x93\x01\n\x1b\x44\x65rivativeMarketParamUpdate\x12\x35.injective.exchange.v2.MsgDerivativeMarketParamUpdate\x1a=.injective.exchange.v2.MsgDerivativeMarketParamUpdateResponse\x12\x9c\x01\n\x1e\x42inaryOptionsMarketParamUpdate\x12\x38.injective.exchange.v2.MsgBinaryOptionsMarketParamUpdate\x1a@.injective.exchange.v2.MsgBinaryOptionsMarketParamUpdateResponse\x12\x7f\n\x11\x46orceSettleMarket\x12\x30.injective.exchange.v2.MsgMarketForcedSettlement\x1a\x38.injective.exchange.v2.MsgMarketForcedSettlementResponse\x12\x93\x01\n\x1bLaunchTradingRewardCampaign\x12\x35.injective.exchange.v2.MsgTradingRewardCampaignLaunch\x1a=.injective.exchange.v2.MsgTradingRewardCampaignLaunchResponse\x12l\n\x0e\x45nableExchange\x12(.injective.exchange.v2.MsgExchangeEnable\x1a\x30.injective.exchange.v2.MsgExchangeEnableResponse\x12\x93\x01\n\x1bUpdateTradingRewardCampaign\x12\x35.injective.exchange.v2.MsgTradingRewardCampaignUpdate\x1a=.injective.exchange.v2.MsgTradingRewardCampaignUpdateResponse\x12\xa2\x01\n UpdateTradingRewardPendingPoints\x12:.injective.exchange.v2.MsgTradingRewardPendingPointsUpdate\x1a\x42.injective.exchange.v2.MsgTradingRewardPendingPointsUpdateResponse\x12i\n\x11UpdateFeeDiscount\x12%.injective.exchange.v2.MsgFeeDiscount\x1a-.injective.exchange.v2.MsgFeeDiscountResponse\x12\xba\x01\n,UpdateAtomicMarketOrderFeeMultiplierSchedule\x12@.injective.exchange.v2.MsgAtomicMarketOrderFeeMultiplierSchedule\x1aH.injective.exchange.v2.MsgAtomicMarketOrderFeeMultiplierScheduleResponse\x12x\n\x12\x43\x61ncelPostOnlyMode\x12,.injective.exchange.v2.MsgCancelPostOnlyMode\x1a\x34.injective.exchange.v2.MsgCancelPostOnlyModeResponse\x12~\n\x14\x41\x63tivatePostOnlyMode\x12..injective.exchange.v2.MsgActivatePostOnlyMode\x1a\x36.injective.exchange.v2.MsgActivatePostOnlyModeResponse\x12\x8a\x01\n\x18LiquidateCrossMarginPool\x12\x32.injective.exchange.v2.MsgLiquidateCrossMarginPool\x1a:.injective.exchange.v2.MsgLiquidateCrossMarginPoolResponse\x12\x93\x01\n\x1bUpdateSubaccountRiskProfile\x12\x35.injective.exchange.v2.MsgUpdateSubaccountRiskProfile\x1a=.injective.exchange.v2.MsgUpdateSubaccountRiskProfileResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xed\x01\n\x19\x63om.injective.exchange.v2B\x07TxProtoP\x01ZQgithub.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types/v2\xa2\x02\x03IEX\xaa\x02\x15Injective.Exchange.V2\xca\x02\x15Injective\\Exchange\\V2\xe2\x02!Injective\\Exchange\\V2\\GPBMetadata\xea\x02\x17Injective::Exchange::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -71,6 +71,10 @@ _globals['_MSGWITHDRAW'].fields_by_name['amount']._serialized_options = b'\310\336\037\000' _globals['_MSGWITHDRAW']._loaded_options = None _globals['_MSGWITHDRAW']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\024exchange/MsgWithdraw' + _globals['_MSGUPDATESUBACCOUNTRISKPROFILE'].fields_by_name['risk_profile']._loaded_options = None + _globals['_MSGUPDATESUBACCOUNTRISKPROFILE'].fields_by_name['risk_profile']._serialized_options = b'\310\336\037\000' + _globals['_MSGUPDATESUBACCOUNTRISKPROFILE']._loaded_options = None + _globals['_MSGUPDATESUBACCOUNTRISKPROFILE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\'exchange/MsgUpdateSubaccountRiskProfile' _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._loaded_options = None _globals['_MSGCREATESPOTLIMITORDER'].fields_by_name['order']._serialized_options = b'\310\336\037\000' _globals['_MSGCREATESPOTLIMITORDER']._loaded_options = None @@ -265,6 +269,14 @@ _globals['_MSGLIQUIDATEPOSITION'].fields_by_name['order']._serialized_options = b'\310\336\037\001' _globals['_MSGLIQUIDATEPOSITION']._loaded_options = None _globals['_MSGLIQUIDATEPOSITION']._serialized_options = b'\202\347\260*\006sender\212\347\260*\035exchange/MsgLiquidatePosition' + _globals['_LIQUIDATEPOSITIONDATA'].fields_by_name['order']._loaded_options = None + _globals['_LIQUIDATEPOSITIONDATA'].fields_by_name['order']._serialized_options = b'\310\336\037\001' + _globals['_MSGBATCHLIQUIDATEPOSITIONS'].fields_by_name['liquidations']._loaded_options = None + _globals['_MSGBATCHLIQUIDATEPOSITIONS'].fields_by_name['liquidations']._serialized_options = b'\310\336\037\000' + _globals['_MSGBATCHLIQUIDATEPOSITIONS']._loaded_options = None + _globals['_MSGBATCHLIQUIDATEPOSITIONS']._serialized_options = b'\202\347\260*\006sender\212\347\260*#exchange/MsgBatchLiquidatePositions' + _globals['_MSGBATCHLIQUIDATEPOSITIONSRESPONSE'].fields_by_name['results']._loaded_options = None + _globals['_MSGBATCHLIQUIDATEPOSITIONSRESPONSE'].fields_by_name['results']._serialized_options = b'\310\336\037\000' _globals['_MSGOFFSETPOSITION']._loaded_options = None _globals['_MSGOFFSETPOSITION']._serialized_options = b'\202\347\260*\006sender\212\347\260*\032exchange/MsgOffsetPosition' _globals['_MSGEMERGENCYSETTLEMARKET']._loaded_options = None @@ -335,10 +347,16 @@ _globals['_MSGFEEDISCOUNT']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\027exchange/MsgFeeDiscount' _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULE']._loaded_options = None _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*2exchange/MsgAtomicMarketOrderFeeMultiplierSchedule' + _globals['_MSGSETDELEGATIONTRANSFERRECEIVERS']._loaded_options = None + _globals['_MSGSETDELEGATIONTRANSFERRECEIVERS']._serialized_options = b'\030\001\202\347\260*\006sender\212\347\260**exchange/MsgSetDelegationTransferReceivers' + _globals['_MSGSETDELEGATIONTRANSFERRECEIVERSRESPONSE']._loaded_options = None + _globals['_MSGSETDELEGATIONTRANSFERRECEIVERSRESPONSE']._serialized_options = b'\030\001' _globals['_MSGCANCELPOSTONLYMODE']._loaded_options = None _globals['_MSGCANCELPOSTONLYMODE']._serialized_options = b'\202\347\260*\006sender\212\347\260*\036exchange/MsgCancelPostOnlyMode' _globals['_MSGACTIVATEPOSTONLYMODE']._loaded_options = None _globals['_MSGACTIVATEPOSTONLYMODE']._serialized_options = b'\202\347\260*\006sender\212\347\260* exchange/MsgActivatePostOnlyMode' + _globals['_MSGLIQUIDATECROSSMARGINPOOL']._loaded_options = None + _globals['_MSGLIQUIDATECROSSMARGINPOOL']._serialized_options = b'\202\347\260*\006sender\212\347\260*$exchange/MsgLiquidateCrossMarginPool' _globals['_MSG']._loaded_options = None _globals['_MSG']._serialized_options = b'\200\347\260*\001' _globals['_MSGUPDATESPOTMARKET']._serialized_start=417 @@ -346,231 +364,251 @@ _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_start=838 _globals['_MSGUPDATESPOTMARKETRESPONSE']._serialized_end=867 _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_start=870 - _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_end=1690 - _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_start=1692 - _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_end=1727 - _globals['_MSGUPDATEPARAMS']._serialized_start=1730 - _globals['_MSGUPDATEPARAMS']._serialized_end=1909 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1911 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1936 - _globals['_MSGDEPOSIT']._serialized_start=1939 - _globals['_MSGDEPOSIT']._serialized_end=2114 - _globals['_MSGDEPOSITRESPONSE']._serialized_start=2116 - _globals['_MSGDEPOSITRESPONSE']._serialized_end=2136 - _globals['_MSGWITHDRAW']._serialized_start=2139 - _globals['_MSGWITHDRAW']._serialized_end=2316 - _globals['_MSGWITHDRAWRESPONSE']._serialized_start=2318 - _globals['_MSGWITHDRAWRESPONSE']._serialized_end=2339 - _globals['_MSGCREATESPOTLIMITORDER']._serialized_start=2342 - _globals['_MSGCREATESPOTLIMITORDER']._serialized_end=2511 - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_start=2513 - _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_end=2605 - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_start=2608 - _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_end=2791 - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_start=2794 - _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_end=2972 - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_start=2975 - _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_end=3498 - _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_start=3500 - _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_end=3536 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_start=3539 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_end=4659 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=4661 - _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=4702 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_start=4705 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_end=5700 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=5702 - _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=5747 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_start=5750 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_end=6902 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=6904 - _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=6949 - _globals['_MSGCREATESPOTMARKETORDER']._serialized_start=6952 - _globals['_MSGCREATESPOTMARKETORDER']._serialized_end=7123 - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_start=7126 - _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_end=7298 - _globals['_SPOTMARKETORDERRESULTS']._serialized_start=7301 - _globals['_SPOTMARKETORDERRESULTS']._serialized_end=7514 - _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_start=7517 - _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_end=7700 - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_start=7702 - _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_end=7800 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_start=7803 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_end=7992 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_start=7994 - _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_end=8095 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_start=8098 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_end=8295 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_start=8298 - _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_end=8482 - _globals['_MSGCANCELSPOTORDER']._serialized_start=8485 - _globals['_MSGCANCELSPOTORDER']._serialized_end=8693 - _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=8695 - _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=8723 - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=8726 - _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=8891 - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=8893 - _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=8963 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=8966 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=9149 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=9151 - _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=9230 - _globals['_MSGBATCHUPDATEORDERS']._serialized_start=9233 - _globals['_MSGBATCHUPDATEORDERS']._serialized_end=10568 - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=10571 - _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=12025 - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=12028 - _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=12213 - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=12216 - _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=12400 - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=12403 - _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=12766 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=12769 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=12960 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=12963 - _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=13150 - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=13153 - _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=13404 - _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=13406 - _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=13440 - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=13443 - _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=13700 - _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=13702 - _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=13739 - _globals['_ORDERDATA']._serialized_start=13742 - _globals['_ORDERDATA']._serialized_end=13899 - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=13902 - _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=14079 - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=14081 - _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=14157 - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=14160 - _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=14422 - _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=14424 - _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=14455 - _globals['_MSGEXTERNALTRANSFER']._serialized_start=14458 - _globals['_MSGEXTERNALTRANSFER']._serialized_end=14716 - _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=14718 - _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=14747 - _globals['_MSGLIQUIDATEPOSITION']._serialized_start=14750 - _globals['_MSGLIQUIDATEPOSITION']._serialized_end=14977 - _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=14979 - _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=15009 - _globals['_MSGOFFSETPOSITION']._serialized_start=15012 - _globals['_MSGOFFSETPOSITION']._serialized_end=15225 - _globals['_MSGOFFSETPOSITIONRESPONSE']._serialized_start=15227 - _globals['_MSGOFFSETPOSITIONRESPONSE']._serialized_end=15254 - _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_start=15257 - _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_end=15424 - _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_start=15426 - _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_end=15460 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=15463 - _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=15766 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=15768 - _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=15803 - _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_start=15806 - _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_end=16109 - _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_start=16111 - _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_end=16146 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=16149 - _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=16351 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=16354 - _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=16521 - _globals['_MSGREWARDSOPTOUT']._serialized_start=16523 - _globals['_MSGREWARDSOPTOUT']._serialized_end=16616 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=16618 - _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=16644 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=16647 - _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=16822 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=16824 - _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=16855 - _globals['_MSGSIGNDATA']._serialized_start=16858 - _globals['_MSGSIGNDATA']._serialized_end=16986 - _globals['_MSGSIGNDOC']._serialized_start=16988 - _globals['_MSGSIGNDOC']._serialized_end=17103 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=17106 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=17497 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=17499 - _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=17542 - _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_start=17545 - _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_end=17711 - _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_start=17713 - _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_end=17746 - _globals['_MSGACTIVATESTAKEGRANT']._serialized_start=17748 - _globals['_MSGACTIVATESTAKEGRANT']._serialized_end=17869 - _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_start=17871 - _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_end=17902 - _globals['_MSGBATCHEXCHANGEMODIFICATION']._serialized_start=17905 - _globals['_MSGBATCHEXCHANGEMODIFICATION']._serialized_end=18108 - _globals['_MSGBATCHEXCHANGEMODIFICATIONRESPONSE']._serialized_start=18110 - _globals['_MSGBATCHEXCHANGEMODIFICATIONRESPONSE']._serialized_end=18148 - _globals['_MSGSPOTMARKETLAUNCH']._serialized_start=18151 - _globals['_MSGSPOTMARKETLAUNCH']._serialized_end=18327 - _globals['_MSGSPOTMARKETLAUNCHRESPONSE']._serialized_start=18329 - _globals['_MSGSPOTMARKETLAUNCHRESPONSE']._serialized_end=18358 - _globals['_MSGPERPETUALMARKETLAUNCH']._serialized_start=18361 - _globals['_MSGPERPETUALMARKETLAUNCH']._serialized_end=18552 - _globals['_MSGPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=18554 - _globals['_MSGPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=18588 - _globals['_MSGEXPIRYFUTURESMARKETLAUNCH']._serialized_start=18591 - _globals['_MSGEXPIRYFUTURESMARKETLAUNCH']._serialized_end=18794 - _globals['_MSGEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=18796 - _globals['_MSGEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=18834 - _globals['_MSGBINARYOPTIONSMARKETLAUNCH']._serialized_start=18837 - _globals['_MSGBINARYOPTIONSMARKETLAUNCH']._serialized_end=19040 - _globals['_MSGBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=19042 - _globals['_MSGBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=19080 - _globals['_MSGBATCHCOMMUNITYPOOLSPEND']._serialized_start=19083 - _globals['_MSGBATCHCOMMUNITYPOOLSPEND']._serialized_end=19280 - _globals['_MSGBATCHCOMMUNITYPOOLSPENDRESPONSE']._serialized_start=19282 - _globals['_MSGBATCHCOMMUNITYPOOLSPENDRESPONSE']._serialized_end=19318 - _globals['_MSGSPOTMARKETPARAMUPDATE']._serialized_start=19321 - _globals['_MSGSPOTMARKETPARAMUPDATE']._serialized_end=19512 - _globals['_MSGSPOTMARKETPARAMUPDATERESPONSE']._serialized_start=19514 - _globals['_MSGSPOTMARKETPARAMUPDATERESPONSE']._serialized_end=19548 - _globals['_MSGDERIVATIVEMARKETPARAMUPDATE']._serialized_start=19551 - _globals['_MSGDERIVATIVEMARKETPARAMUPDATE']._serialized_end=19760 - _globals['_MSGDERIVATIVEMARKETPARAMUPDATERESPONSE']._serialized_start=19762 - _globals['_MSGDERIVATIVEMARKETPARAMUPDATERESPONSE']._serialized_end=19802 - _globals['_MSGBINARYOPTIONSMARKETPARAMUPDATE']._serialized_start=19805 - _globals['_MSGBINARYOPTIONSMARKETPARAMUPDATE']._serialized_end=20023 - _globals['_MSGBINARYOPTIONSMARKETPARAMUPDATERESPONSE']._serialized_start=20025 - _globals['_MSGBINARYOPTIONSMARKETPARAMUPDATERESPONSE']._serialized_end=20068 - _globals['_MSGMARKETFORCEDSETTLEMENT']._serialized_start=20071 - _globals['_MSGMARKETFORCEDSETTLEMENT']._serialized_end=20265 - _globals['_MSGMARKETFORCEDSETTLEMENTRESPONSE']._serialized_start=20267 - _globals['_MSGMARKETFORCEDSETTLEMENTRESPONSE']._serialized_end=20302 - _globals['_MSGTRADINGREWARDCAMPAIGNLAUNCH']._serialized_start=20305 - _globals['_MSGTRADINGREWARDCAMPAIGNLAUNCH']._serialized_end=20514 - _globals['_MSGTRADINGREWARDCAMPAIGNLAUNCHRESPONSE']._serialized_start=20516 - _globals['_MSGTRADINGREWARDCAMPAIGNLAUNCHRESPONSE']._serialized_end=20556 - _globals['_MSGEXCHANGEENABLE']._serialized_start=20559 - _globals['_MSGEXCHANGEENABLE']._serialized_end=20729 - _globals['_MSGEXCHANGEENABLERESPONSE']._serialized_start=20731 - _globals['_MSGEXCHANGEENABLERESPONSE']._serialized_end=20758 - _globals['_MSGTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=20761 - _globals['_MSGTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=20970 - _globals['_MSGTRADINGREWARDCAMPAIGNUPDATERESPONSE']._serialized_start=20972 - _globals['_MSGTRADINGREWARDCAMPAIGNUPDATERESPONSE']._serialized_end=21012 - _globals['_MSGTRADINGREWARDPENDINGPOINTSUPDATE']._serialized_start=21015 - _globals['_MSGTRADINGREWARDPENDINGPOINTSUPDATE']._serialized_end=21239 - _globals['_MSGTRADINGREWARDPENDINGPOINTSUPDATERESPONSE']._serialized_start=21241 - _globals['_MSGTRADINGREWARDPENDINGPOINTSUPDATERESPONSE']._serialized_end=21286 - _globals['_MSGFEEDISCOUNT']._serialized_start=21289 - _globals['_MSGFEEDISCOUNT']._serialized_end=21450 - _globals['_MSGFEEDISCOUNTRESPONSE']._serialized_start=21452 - _globals['_MSGFEEDISCOUNTRESPONSE']._serialized_end=21476 - _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULE']._serialized_start=21479 - _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULE']._serialized_end=21721 - _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULERESPONSE']._serialized_start=21723 - _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULERESPONSE']._serialized_end=21774 - _globals['_MSGCANCELPOSTONLYMODE']._serialized_start=21776 - _globals['_MSGCANCELPOSTONLYMODE']._serialized_end=21871 - _globals['_MSGCANCELPOSTONLYMODERESPONSE']._serialized_start=21873 - _globals['_MSGCANCELPOSTONLYMODERESPONSE']._serialized_end=21904 - _globals['_MSGACTIVATEPOSTONLYMODE']._serialized_start=21907 - _globals['_MSGACTIVATEPOSTONLYMODE']._serialized_end=22043 - _globals['_MSGACTIVATEPOSTONLYMODERESPONSE']._serialized_start=22045 - _globals['_MSGACTIVATEPOSTONLYMODERESPONSE']._serialized_end=22078 - _globals['_MSG']._serialized_start=22081 - _globals['_MSG']._serialized_end=29418 + _globals['_MSGUPDATEDERIVATIVEMARKET']._serialized_end=1795 + _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_start=1797 + _globals['_MSGUPDATEDERIVATIVEMARKETRESPONSE']._serialized_end=1832 + _globals['_MSGUPDATEPARAMS']._serialized_start=1835 + _globals['_MSGUPDATEPARAMS']._serialized_end=2014 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2016 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2041 + _globals['_MSGDEPOSIT']._serialized_start=2044 + _globals['_MSGDEPOSIT']._serialized_end=2219 + _globals['_MSGDEPOSITRESPONSE']._serialized_start=2221 + _globals['_MSGDEPOSITRESPONSE']._serialized_end=2241 + _globals['_MSGWITHDRAW']._serialized_start=2244 + _globals['_MSGWITHDRAW']._serialized_end=2421 + _globals['_MSGWITHDRAWRESPONSE']._serialized_start=2423 + _globals['_MSGWITHDRAWRESPONSE']._serialized_end=2444 + _globals['_MSGUPDATESUBACCOUNTRISKPROFILE']._serialized_start=2447 + _globals['_MSGUPDATESUBACCOUNTRISKPROFILE']._serialized_end=2692 + _globals['_MSGUPDATESUBACCOUNTRISKPROFILERESPONSE']._serialized_start=2694 + _globals['_MSGUPDATESUBACCOUNTRISKPROFILERESPONSE']._serialized_end=2734 + _globals['_MSGCREATESPOTLIMITORDER']._serialized_start=2737 + _globals['_MSGCREATESPOTLIMITORDER']._serialized_end=2906 + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_start=2908 + _globals['_MSGCREATESPOTLIMITORDERRESPONSE']._serialized_end=3000 + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_start=3003 + _globals['_MSGBATCHCREATESPOTLIMITORDERS']._serialized_end=3186 + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_start=3189 + _globals['_MSGBATCHCREATESPOTLIMITORDERSRESPONSE']._serialized_end=3367 + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_start=3370 + _globals['_MSGINSTANTSPOTMARKETLAUNCH']._serialized_end=3893 + _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_start=3895 + _globals['_MSGINSTANTSPOTMARKETLAUNCHRESPONSE']._serialized_end=3931 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_start=3934 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCH']._serialized_end=5106 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=5108 + _globals['_MSGINSTANTPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=5149 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_start=5152 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCH']._serialized_end=6147 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=6149 + _globals['_MSGINSTANTBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=6194 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_start=6197 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCH']._serialized_end=7401 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=7403 + _globals['_MSGINSTANTEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=7448 + _globals['_MSGCREATESPOTMARKETORDER']._serialized_start=7451 + _globals['_MSGCREATESPOTMARKETORDER']._serialized_end=7622 + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_start=7625 + _globals['_MSGCREATESPOTMARKETORDERRESPONSE']._serialized_end=7797 + _globals['_SPOTMARKETORDERRESULTS']._serialized_start=7800 + _globals['_SPOTMARKETORDERRESULTS']._serialized_end=8013 + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_start=8016 + _globals['_MSGCREATEDERIVATIVELIMITORDER']._serialized_end=8199 + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_start=8201 + _globals['_MSGCREATEDERIVATIVELIMITORDERRESPONSE']._serialized_end=8299 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_start=8302 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDER']._serialized_end=8491 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_start=8493 + _globals['_MSGCREATEBINARYOPTIONSLIMITORDERRESPONSE']._serialized_end=8594 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_start=8597 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERS']._serialized_end=8794 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_start=8797 + _globals['_MSGBATCHCREATEDERIVATIVELIMITORDERSRESPONSE']._serialized_end=8981 + _globals['_MSGCANCELSPOTORDER']._serialized_start=8984 + _globals['_MSGCANCELSPOTORDER']._serialized_end=9192 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_start=9194 + _globals['_MSGCANCELSPOTORDERRESPONSE']._serialized_end=9222 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_start=9225 + _globals['_MSGBATCHCANCELSPOTORDERS']._serialized_end=9390 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_start=9392 + _globals['_MSGBATCHCANCELSPOTORDERSRESPONSE']._serialized_end=9462 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_start=9465 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERS']._serialized_end=9648 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_start=9650 + _globals['_MSGBATCHCANCELBINARYOPTIONSORDERSRESPONSE']._serialized_end=9729 + _globals['_MSGBATCHUPDATEORDERS']._serialized_start=9732 + _globals['_MSGBATCHUPDATEORDERS']._serialized_end=11067 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_start=11070 + _globals['_MSGBATCHUPDATEORDERSRESPONSE']._serialized_end=12524 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_start=12527 + _globals['_MSGCREATEDERIVATIVEMARKETORDER']._serialized_end=12712 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_start=12715 + _globals['_MSGCREATEDERIVATIVEMARKETORDERRESPONSE']._serialized_end=12899 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_start=12902 + _globals['_DERIVATIVEMARKETORDERRESULTS']._serialized_end=13265 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_start=13268 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDER']._serialized_end=13459 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_start=13462 + _globals['_MSGCREATEBINARYOPTIONSMARKETORDERRESPONSE']._serialized_end=13649 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_start=13652 + _globals['_MSGCANCELDERIVATIVEORDER']._serialized_end=13903 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_start=13905 + _globals['_MSGCANCELDERIVATIVEORDERRESPONSE']._serialized_end=13939 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_start=13942 + _globals['_MSGCANCELBINARYOPTIONSORDER']._serialized_end=14199 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_start=14201 + _globals['_MSGCANCELBINARYOPTIONSORDERRESPONSE']._serialized_end=14238 + _globals['_ORDERDATA']._serialized_start=14241 + _globals['_ORDERDATA']._serialized_end=14398 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_start=14401 + _globals['_MSGBATCHCANCELDERIVATIVEORDERS']._serialized_end=14578 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_start=14580 + _globals['_MSGBATCHCANCELDERIVATIVEORDERSRESPONSE']._serialized_end=14656 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_start=14659 + _globals['_MSGSUBACCOUNTTRANSFER']._serialized_end=14921 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_start=14923 + _globals['_MSGSUBACCOUNTTRANSFERRESPONSE']._serialized_end=14954 + _globals['_MSGEXTERNALTRANSFER']._serialized_start=14957 + _globals['_MSGEXTERNALTRANSFER']._serialized_end=15215 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_start=15217 + _globals['_MSGEXTERNALTRANSFERRESPONSE']._serialized_end=15246 + _globals['_MSGLIQUIDATEPOSITION']._serialized_start=15249 + _globals['_MSGLIQUIDATEPOSITION']._serialized_end=15476 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_start=15478 + _globals['_MSGLIQUIDATEPOSITIONRESPONSE']._serialized_end=15508 + _globals['_LIQUIDATEPOSITIONDATA']._serialized_start=15511 + _globals['_LIQUIDATEPOSITIONDATA']._serialized_end=15668 + _globals['_MSGBATCHLIQUIDATEPOSITIONS']._serialized_start=15671 + _globals['_MSGBATCHLIQUIDATEPOSITIONS']._serialized_end=15864 + _globals['_LIQUIDATEPOSITIONRESULT']._serialized_start=15867 + _globals['_LIQUIDATEPOSITIONRESULT']._serialized_end=16006 + _globals['_MSGBATCHLIQUIDATEPOSITIONSRESPONSE']._serialized_start=16008 + _globals['_MSGBATCHLIQUIDATEPOSITIONSRESPONSE']._serialized_end=16124 + _globals['_MSGOFFSETPOSITION']._serialized_start=16127 + _globals['_MSGOFFSETPOSITION']._serialized_end=16340 + _globals['_MSGOFFSETPOSITIONRESPONSE']._serialized_start=16342 + _globals['_MSGOFFSETPOSITIONRESPONSE']._serialized_end=16369 + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_start=16372 + _globals['_MSGEMERGENCYSETTLEMARKET']._serialized_end=16539 + _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_start=16541 + _globals['_MSGEMERGENCYSETTLEMARKETRESPONSE']._serialized_end=16575 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_start=16578 + _globals['_MSGINCREASEPOSITIONMARGIN']._serialized_end=16881 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_start=16883 + _globals['_MSGINCREASEPOSITIONMARGINRESPONSE']._serialized_end=16918 + _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_start=16921 + _globals['_MSGDECREASEPOSITIONMARGIN']._serialized_end=17224 + _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_start=17226 + _globals['_MSGDECREASEPOSITIONMARGINRESPONSE']._serialized_end=17261 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_start=17264 + _globals['_MSGPRIVILEGEDEXECUTECONTRACT']._serialized_end=17466 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_start=17469 + _globals['_MSGPRIVILEGEDEXECUTECONTRACTRESPONSE']._serialized_end=17636 + _globals['_MSGREWARDSOPTOUT']._serialized_start=17638 + _globals['_MSGREWARDSOPTOUT']._serialized_end=17731 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_start=17733 + _globals['_MSGREWARDSOPTOUTRESPONSE']._serialized_end=17759 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_start=17762 + _globals['_MSGRECLAIMLOCKEDFUNDS']._serialized_end=17937 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_start=17939 + _globals['_MSGRECLAIMLOCKEDFUNDSRESPONSE']._serialized_end=17970 + _globals['_MSGSIGNDATA']._serialized_start=17973 + _globals['_MSGSIGNDATA']._serialized_end=18101 + _globals['_MSGSIGNDOC']._serialized_start=18103 + _globals['_MSGSIGNDOC']._serialized_end=18218 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_start=18221 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKET']._serialized_end=18612 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_start=18614 + _globals['_MSGADMINUPDATEBINARYOPTIONSMARKETRESPONSE']._serialized_end=18657 + _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_start=18660 + _globals['_MSGAUTHORIZESTAKEGRANTS']._serialized_end=18826 + _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_start=18828 + _globals['_MSGAUTHORIZESTAKEGRANTSRESPONSE']._serialized_end=18861 + _globals['_MSGACTIVATESTAKEGRANT']._serialized_start=18863 + _globals['_MSGACTIVATESTAKEGRANT']._serialized_end=18984 + _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_start=18986 + _globals['_MSGACTIVATESTAKEGRANTRESPONSE']._serialized_end=19017 + _globals['_MSGBATCHEXCHANGEMODIFICATION']._serialized_start=19020 + _globals['_MSGBATCHEXCHANGEMODIFICATION']._serialized_end=19223 + _globals['_MSGBATCHEXCHANGEMODIFICATIONRESPONSE']._serialized_start=19225 + _globals['_MSGBATCHEXCHANGEMODIFICATIONRESPONSE']._serialized_end=19263 + _globals['_MSGSPOTMARKETLAUNCH']._serialized_start=19266 + _globals['_MSGSPOTMARKETLAUNCH']._serialized_end=19442 + _globals['_MSGSPOTMARKETLAUNCHRESPONSE']._serialized_start=19444 + _globals['_MSGSPOTMARKETLAUNCHRESPONSE']._serialized_end=19473 + _globals['_MSGPERPETUALMARKETLAUNCH']._serialized_start=19476 + _globals['_MSGPERPETUALMARKETLAUNCH']._serialized_end=19667 + _globals['_MSGPERPETUALMARKETLAUNCHRESPONSE']._serialized_start=19669 + _globals['_MSGPERPETUALMARKETLAUNCHRESPONSE']._serialized_end=19703 + _globals['_MSGEXPIRYFUTURESMARKETLAUNCH']._serialized_start=19706 + _globals['_MSGEXPIRYFUTURESMARKETLAUNCH']._serialized_end=19909 + _globals['_MSGEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_start=19911 + _globals['_MSGEXPIRYFUTURESMARKETLAUNCHRESPONSE']._serialized_end=19949 + _globals['_MSGBINARYOPTIONSMARKETLAUNCH']._serialized_start=19952 + _globals['_MSGBINARYOPTIONSMARKETLAUNCH']._serialized_end=20155 + _globals['_MSGBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_start=20157 + _globals['_MSGBINARYOPTIONSMARKETLAUNCHRESPONSE']._serialized_end=20195 + _globals['_MSGBATCHCOMMUNITYPOOLSPEND']._serialized_start=20198 + _globals['_MSGBATCHCOMMUNITYPOOLSPEND']._serialized_end=20395 + _globals['_MSGBATCHCOMMUNITYPOOLSPENDRESPONSE']._serialized_start=20397 + _globals['_MSGBATCHCOMMUNITYPOOLSPENDRESPONSE']._serialized_end=20433 + _globals['_MSGSPOTMARKETPARAMUPDATE']._serialized_start=20436 + _globals['_MSGSPOTMARKETPARAMUPDATE']._serialized_end=20627 + _globals['_MSGSPOTMARKETPARAMUPDATERESPONSE']._serialized_start=20629 + _globals['_MSGSPOTMARKETPARAMUPDATERESPONSE']._serialized_end=20663 + _globals['_MSGDERIVATIVEMARKETPARAMUPDATE']._serialized_start=20666 + _globals['_MSGDERIVATIVEMARKETPARAMUPDATE']._serialized_end=20875 + _globals['_MSGDERIVATIVEMARKETPARAMUPDATERESPONSE']._serialized_start=20877 + _globals['_MSGDERIVATIVEMARKETPARAMUPDATERESPONSE']._serialized_end=20917 + _globals['_MSGBINARYOPTIONSMARKETPARAMUPDATE']._serialized_start=20920 + _globals['_MSGBINARYOPTIONSMARKETPARAMUPDATE']._serialized_end=21138 + _globals['_MSGBINARYOPTIONSMARKETPARAMUPDATERESPONSE']._serialized_start=21140 + _globals['_MSGBINARYOPTIONSMARKETPARAMUPDATERESPONSE']._serialized_end=21183 + _globals['_MSGMARKETFORCEDSETTLEMENT']._serialized_start=21186 + _globals['_MSGMARKETFORCEDSETTLEMENT']._serialized_end=21380 + _globals['_MSGMARKETFORCEDSETTLEMENTRESPONSE']._serialized_start=21382 + _globals['_MSGMARKETFORCEDSETTLEMENTRESPONSE']._serialized_end=21417 + _globals['_MSGTRADINGREWARDCAMPAIGNLAUNCH']._serialized_start=21420 + _globals['_MSGTRADINGREWARDCAMPAIGNLAUNCH']._serialized_end=21629 + _globals['_MSGTRADINGREWARDCAMPAIGNLAUNCHRESPONSE']._serialized_start=21631 + _globals['_MSGTRADINGREWARDCAMPAIGNLAUNCHRESPONSE']._serialized_end=21671 + _globals['_MSGEXCHANGEENABLE']._serialized_start=21674 + _globals['_MSGEXCHANGEENABLE']._serialized_end=21844 + _globals['_MSGEXCHANGEENABLERESPONSE']._serialized_start=21846 + _globals['_MSGEXCHANGEENABLERESPONSE']._serialized_end=21873 + _globals['_MSGTRADINGREWARDCAMPAIGNUPDATE']._serialized_start=21876 + _globals['_MSGTRADINGREWARDCAMPAIGNUPDATE']._serialized_end=22085 + _globals['_MSGTRADINGREWARDCAMPAIGNUPDATERESPONSE']._serialized_start=22087 + _globals['_MSGTRADINGREWARDCAMPAIGNUPDATERESPONSE']._serialized_end=22127 + _globals['_MSGTRADINGREWARDPENDINGPOINTSUPDATE']._serialized_start=22130 + _globals['_MSGTRADINGREWARDPENDINGPOINTSUPDATE']._serialized_end=22354 + _globals['_MSGTRADINGREWARDPENDINGPOINTSUPDATERESPONSE']._serialized_start=22356 + _globals['_MSGTRADINGREWARDPENDINGPOINTSUPDATERESPONSE']._serialized_end=22401 + _globals['_MSGFEEDISCOUNT']._serialized_start=22404 + _globals['_MSGFEEDISCOUNT']._serialized_end=22565 + _globals['_MSGFEEDISCOUNTRESPONSE']._serialized_start=22567 + _globals['_MSGFEEDISCOUNTRESPONSE']._serialized_end=22591 + _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULE']._serialized_start=22594 + _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULE']._serialized_end=22836 + _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULERESPONSE']._serialized_start=22838 + _globals['_MSGATOMICMARKETORDERFEEMULTIPLIERSCHEDULERESPONSE']._serialized_end=22889 + _globals['_MSGSETDELEGATIONTRANSFERRECEIVERS']._serialized_start=22892 + _globals['_MSGSETDELEGATIONTRANSFERRECEIVERS']._serialized_end=23043 + _globals['_MSGSETDELEGATIONTRANSFERRECEIVERSRESPONSE']._serialized_start=23045 + _globals['_MSGSETDELEGATIONTRANSFERRECEIVERSRESPONSE']._serialized_end=23092 + _globals['_MSGCANCELPOSTONLYMODE']._serialized_start=23094 + _globals['_MSGCANCELPOSTONLYMODE']._serialized_end=23189 + _globals['_MSGCANCELPOSTONLYMODERESPONSE']._serialized_start=23191 + _globals['_MSGCANCELPOSTONLYMODERESPONSE']._serialized_end=23222 + _globals['_MSGACTIVATEPOSTONLYMODE']._serialized_start=23225 + _globals['_MSGACTIVATEPOSTONLYMODE']._serialized_end=23361 + _globals['_MSGACTIVATEPOSTONLYMODERESPONSE']._serialized_start=23363 + _globals['_MSGACTIVATEPOSTONLYMODERESPONSE']._serialized_end=23396 + _globals['_MSGLIQUIDATECROSSMARGINPOOL']._serialized_start=23399 + _globals['_MSGLIQUIDATECROSSMARGINPOOL']._serialized_end=23576 + _globals['_MSGLIQUIDATECROSSMARGINPOOLRESPONSE']._serialized_start=23578 + _globals['_MSGLIQUIDATECROSSMARGINPOOLRESPONSE']._serialized_end=23615 + _globals['_MSG']._serialized_start=23618 + _globals['_MSG']._serialized_end=31384 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/exchange/v2/tx_pb2_grpc.py b/pyinjective/proto/injective/exchange/v2/tx_pb2_grpc.py index 096a5240..38bbbb4d 100644 --- a/pyinjective/proto/injective/exchange/v2/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/exchange/v2/tx_pb2_grpc.py @@ -140,6 +140,11 @@ def __init__(self, channel): request_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidatePosition.SerializeToString, response_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidatePositionResponse.FromString, _registered_method=True) + self.BatchLiquidatePositions = channel.unary_unary( + '/injective.exchange.v2.Msg/BatchLiquidatePositions', + request_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgBatchLiquidatePositions.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgBatchLiquidatePositionsResponse.FromString, + _registered_method=True) self.EmergencySettleMarket = channel.unary_unary( '/injective.exchange.v2.Msg/EmergencySettleMarket', request_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgEmergencySettleMarket.SerializeToString, @@ -285,6 +290,16 @@ def __init__(self, channel): request_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgActivatePostOnlyMode.SerializeToString, response_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgActivatePostOnlyModeResponse.FromString, _registered_method=True) + self.LiquidateCrossMarginPool = channel.unary_unary( + '/injective.exchange.v2.Msg/LiquidateCrossMarginPool', + request_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidateCrossMarginPool.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidateCrossMarginPoolResponse.FromString, + _registered_method=True) + self.UpdateSubaccountRiskProfile = channel.unary_unary( + '/injective.exchange.v2.Msg/UpdateSubaccountRiskProfile', + request_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgUpdateSubaccountRiskProfile.SerializeToString, + response_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgUpdateSubaccountRiskProfileResponse.FromString, + _registered_method=True) class MsgServicer(object): @@ -485,6 +500,14 @@ def LiquidatePosition(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def BatchLiquidatePositions(self, request, context): + """BatchLiquidatePositions defines a method for liquidating multiple positions + in a best-effort manner + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def EmergencySettleMarket(self, request, context): """EmergencySettleMarket defines a method for emergency settling a market """ @@ -672,6 +695,23 @@ def ActivatePostOnlyMode(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def LiquidateCrossMarginPool(self, request, context): + """LiquidateCrossMarginPool atomically closes all positions in a cross-margin + pool, netting surplus from profitable positions against deficits before + touching the insurance fund. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateSubaccountRiskProfile(self, request, context): + """UpdateSubaccountRiskProfile allows a user (subject to eligibility & safety + gates) to set the subaccount's risk profile (e.g. opt into cross-margin). + """ + 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 = { @@ -800,6 +840,11 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidatePosition.FromString, response_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidatePositionResponse.SerializeToString, ), + 'BatchLiquidatePositions': grpc.unary_unary_rpc_method_handler( + servicer.BatchLiquidatePositions, + request_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgBatchLiquidatePositions.FromString, + response_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgBatchLiquidatePositionsResponse.SerializeToString, + ), 'EmergencySettleMarket': grpc.unary_unary_rpc_method_handler( servicer.EmergencySettleMarket, request_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgEmergencySettleMarket.FromString, @@ -945,6 +990,16 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgActivatePostOnlyMode.FromString, response_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgActivatePostOnlyModeResponse.SerializeToString, ), + 'LiquidateCrossMarginPool': grpc.unary_unary_rpc_method_handler( + servicer.LiquidateCrossMarginPool, + request_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidateCrossMarginPool.FromString, + response_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidateCrossMarginPoolResponse.SerializeToString, + ), + 'UpdateSubaccountRiskProfile': grpc.unary_unary_rpc_method_handler( + servicer.UpdateSubaccountRiskProfile, + request_deserializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgUpdateSubaccountRiskProfile.FromString, + response_serializer=injective_dot_exchange_dot_v2_dot_tx__pb2.MsgUpdateSubaccountRiskProfileResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'injective.exchange.v2.Msg', rpc_method_handlers) @@ -1632,6 +1687,33 @@ def LiquidatePosition(request, metadata, _registered_method=True) + @staticmethod + def BatchLiquidatePositions(request, + target, + options=(), + channel_credentials=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.v2.Msg/BatchLiquidatePositions', + injective_dot_exchange_dot_v2_dot_tx__pb2.MsgBatchLiquidatePositions.SerializeToString, + injective_dot_exchange_dot_v2_dot_tx__pb2.MsgBatchLiquidatePositionsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + @staticmethod def EmergencySettleMarket(request, target, @@ -2414,3 +2496,57 @@ def ActivatePostOnlyMode(request, timeout, metadata, _registered_method=True) + + @staticmethod + def LiquidateCrossMarginPool(request, + target, + options=(), + channel_credentials=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.v2.Msg/LiquidateCrossMarginPool', + injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidateCrossMarginPool.SerializeToString, + injective_dot_exchange_dot_v2_dot_tx__pb2.MsgLiquidateCrossMarginPoolResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateSubaccountRiskProfile(request, + target, + options=(), + channel_credentials=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.v2.Msg/UpdateSubaccountRiskProfile', + injective_dot_exchange_dot_v2_dot_tx__pb2.MsgUpdateSubaccountRiskProfile.SerializeToString, + injective_dot_exchange_dot_v2_dot_tx__pb2.MsgUpdateSubaccountRiskProfileResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/pyinjective/proto/injective/oracle/v1beta1/events_pb2.py b/pyinjective/proto/injective/oracle/v1beta1/events_pb2.py index f50e5ecb..edf31f28 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/events_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/events_pb2.py @@ -17,7 +17,7 @@ from pyinjective.proto.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/events.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\x90\x01\n\x16SetChainlinkPriceEvent\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x02\x18\x01\"\xc6\x01\n\x11SetBandPriceEvent\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12!\n\x0cresolve_time\x18\x04 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_id\x18\x05 \x01(\x04R\trequestId:\x02\x18\x01\"\xea\x01\n\x14SetBandIBCPriceEvent\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x03 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices\x12!\n\x0cresolve_time\x18\x04 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_id\x18\x05 \x01(\x04R\trequestId\x12\x1b\n\tclient_id\x18\x06 \x01(\x03R\x08\x63lientId:\x02\x18\x01\"X\n\x16\x45ventBandIBCAckSuccess\x12\x1d\n\nack_result\x18\x01 \x01(\tR\tackResult\x12\x1b\n\tclient_id\x18\x02 \x01(\x03R\x08\x63lientId:\x02\x18\x01\"T\n\x14\x45ventBandIBCAckError\x12\x1b\n\tack_error\x18\x01 \x01(\tR\x08\x61\x63kError\x12\x1b\n\tclient_id\x18\x02 \x01(\x03R\x08\x63lientId:\x02\x18\x01\">\n\x1b\x45ventBandIBCResponseTimeout\x12\x1b\n\tclient_id\x18\x01 \x01(\x03R\x08\x63lientId:\x02\x18\x01\"\x97\x01\n\x16SetPriceFeedPriceEvent\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xa0\x01\n\x15SetProviderPriceEvent\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\x88\x01\n\x15SetCoinbasePriceEvent\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\"X\n\x13\x45ventSetStorkPrices\x12\x41\n\x06prices\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x06prices\"V\n\x12\x45ventSetPythPrices\x12@\n\x06prices\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x06prices\"v\n\"EventSetChainlinkDataStreamsPrices\x12P\n\x06prices\x18\x01 \x03(\x0b\x32\x38.injective.oracle.v1beta1.ChainlinkDataStreamsPriceStateR\x06pricesB\xfb\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0b\x45ventsProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/oracle/v1beta1/events.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a%injective/oracle/v1beta1/oracle.proto\"\x90\x01\n\x16SetChainlinkPriceEvent\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp:\x02\x18\x01\"\xc6\x01\n\x11SetBandPriceEvent\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12!\n\x0cresolve_time\x18\x04 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_id\x18\x05 \x01(\x04R\trequestId:\x02\x18\x01\"\xea\x01\n\x14SetBandIBCPriceEvent\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x03 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices\x12!\n\x0cresolve_time\x18\x04 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_id\x18\x05 \x01(\x04R\trequestId\x12\x1b\n\tclient_id\x18\x06 \x01(\x03R\x08\x63lientId:\x02\x18\x01\"X\n\x16\x45ventBandIBCAckSuccess\x12\x1d\n\nack_result\x18\x01 \x01(\tR\tackResult\x12\x1b\n\tclient_id\x18\x02 \x01(\x03R\x08\x63lientId:\x02\x18\x01\"T\n\x14\x45ventBandIBCAckError\x12\x1b\n\tack_error\x18\x01 \x01(\tR\x08\x61\x63kError\x12\x1b\n\tclient_id\x18\x02 \x01(\x03R\x08\x63lientId:\x02\x18\x01\">\n\x1b\x45ventBandIBCResponseTimeout\x12\x1b\n\tclient_id\x18\x01 \x01(\x03R\x08\x63lientId:\x02\x18\x01\"\x97\x01\n\x16SetPriceFeedPriceEvent\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xa0\x01\n\x15SetProviderPriceEvent\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x18\n\x07relayer\x18\x02 \x01(\tR\x07relayer\x12\x16\n\x06symbol\x18\x03 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\x88\x01\n\x15SetCoinbasePriceEvent\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\"X\n\x13\x45ventSetStorkPrices\x12\x41\n\x06prices\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x06prices\"V\n\x12\x45ventSetPythPrices\x12@\n\x06prices\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x06prices\"v\n\"EventSetChainlinkDataStreamsPrices\x12P\n\x06prices\x18\x01 \x03(\x0b\x32\x38.injective.oracle.v1beta1.ChainlinkDataStreamsPriceStateR\x06prices\"\xbc\x01\n\x16\x45ventOraclePriceUpdate\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12K\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceStateB\xfb\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0b\x45ventsProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -49,6 +49,8 @@ _globals['_SETPROVIDERPRICEEVENT'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_SETCOINBASEPRICEEVENT'].fields_by_name['price']._loaded_options = None _globals['_SETCOINBASEPRICEEVENT'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_EVENTORACLEPRICEUPDATE'].fields_by_name['price_state']._loaded_options = None + _globals['_EVENTORACLEPRICEUPDATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' _globals['_SETCHAINLINKPRICEEVENT']._serialized_start=161 _globals['_SETCHAINLINKPRICEEVENT']._serialized_end=305 _globals['_SETBANDPRICEEVENT']._serialized_start=308 @@ -73,4 +75,6 @@ _globals['_EVENTSETPYTHPRICES']._serialized_end=1617 _globals['_EVENTSETCHAINLINKDATASTREAMSPRICES']._serialized_start=1619 _globals['_EVENTSETCHAINLINKDATASTREAMSPRICES']._serialized_end=1737 + _globals['_EVENTORACLEPRICEUPDATE']._serialized_start=1740 + _globals['_EVENTORACLEPRICEUPDATE']._serialized_end=1928 # @@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 c3248b58..cb4233e6 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/genesis_pb2.py @@ -16,7 +16,7 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -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\"\x8f\x0c\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\'\n\rband_relayers\x18\x02 \x03(\tB\x02\x18\x01R\x0c\x62\x61ndRelayers\x12X\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateB\x02\x18\x01R\x0f\x62\x61ndPriceStates\x12_\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x14priceFeedPriceStates\x12`\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x13\x63oinbasePriceStates\x12_\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateB\x02\x18\x01R\x12\x62\x61ndIbcPriceStates\x12h\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x02\x18\x01R\x15\x62\x61ndIbcOracleRequests\x12W\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x06\x18\x01\xc8\xde\x1f\x00R\rbandIbcParams\x12<\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04\x42\x02\x18\x01R\x15\x62\x61ndIbcLatestClientId\x12W\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecordB\x02\x18\x01R\x0f\x63\x61lldataRecords\x12>\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04\x42\x02\x18\x01R\x16\x62\x61ndIbcLatestRequestId\x12g\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceStateB\x02\x18\x01R\x14\x63hainlinkPriceStates\x12`\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x16historicalPriceRecords\x12P\n\x0fprovider_states\x18\x0e \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\x0eproviderStates\x12T\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0fpythPriceStates\x12W\n\x12stork_price_states\x18\x10 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x10storkPriceStates\x12)\n\x10stork_publishers\x18\x11 \x03(\tR\x0fstorkPublishers\x12\x86\x01\n#chainlink_data_streams_price_states\x18\x12 \x03(\x0b\x32\x38.injective.oracle.v1beta1.ChainlinkDataStreamsPriceStateR\x1f\x63hainlinkDataStreamsPriceStates\"I\n\x0e\x43\x61lldataRecord\x12\x1b\n\tclient_id\x18\x01 \x01(\x04R\x08\x63lientId\x12\x1a\n\x08\x63\x61lldata\x18\x02 \x01(\x0cR\x08\x63\x61lldataB\xfc\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0cGenesisProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&injective/oracle/v1beta1/genesis.proto\x12\x18injective.oracle.v1beta1\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x14gogoproto/gogo.proto\"\xd2\r\n\x0cGenesisState\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\x12\'\n\rband_relayers\x18\x02 \x03(\tB\x02\x18\x01R\x0c\x62\x61ndRelayers\x12X\n\x11\x62\x61nd_price_states\x18\x03 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateB\x02\x18\x01R\x0f\x62\x61ndPriceStates\x12_\n\x17price_feed_price_states\x18\x04 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x14priceFeedPriceStates\x12`\n\x15\x63oinbase_price_states\x18\x05 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x13\x63oinbasePriceStates\x12_\n\x15\x62\x61nd_ibc_price_states\x18\x06 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateB\x02\x18\x01R\x12\x62\x61ndIbcPriceStates\x12h\n\x18\x62\x61nd_ibc_oracle_requests\x18\x07 \x03(\x0b\x32+.injective.oracle.v1beta1.BandOracleRequestB\x02\x18\x01R\x15\x62\x61ndIbcOracleRequests\x12W\n\x0f\x62\x61nd_ibc_params\x18\x08 \x01(\x0b\x32\'.injective.oracle.v1beta1.BandIBCParamsB\x06\x18\x01\xc8\xde\x1f\x00R\rbandIbcParams\x12<\n\x19\x62\x61nd_ibc_latest_client_id\x18\t \x01(\x04\x42\x02\x18\x01R\x15\x62\x61ndIbcLatestClientId\x12W\n\x10\x63\x61lldata_records\x18\n \x03(\x0b\x32(.injective.oracle.v1beta1.CalldataRecordB\x02\x18\x01R\x0f\x63\x61lldataRecords\x12>\n\x1a\x62\x61nd_ibc_latest_request_id\x18\x0b \x01(\x04\x42\x02\x18\x01R\x16\x62\x61ndIbcLatestRequestId\x12g\n\x16\x63hainlink_price_states\x18\x0c \x03(\x0b\x32-.injective.oracle.v1beta1.ChainlinkPriceStateB\x02\x18\x01R\x14\x63hainlinkPriceStates\x12`\n\x18historical_price_records\x18\r \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x16historicalPriceRecords\x12P\n\x0fprovider_states\x18\x0e \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\x0eproviderStates\x12T\n\x11pyth_price_states\x18\x0f \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0fpythPriceStates\x12W\n\x12stork_price_states\x18\x10 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x10storkPriceStates\x12)\n\x10stork_publishers\x18\x11 \x03(\tR\x0fstorkPublishers\x12\x86\x01\n#chainlink_data_streams_price_states\x18\x12 \x03(\x0b\x32\x38.injective.oracle.v1beta1.ChainlinkDataStreamsPriceStateR\x1f\x63hainlinkDataStreamsPriceStates\x12^\n\x15pyth_pro_price_states\x18\x13 \x03(\x0b\x32+.injective.oracle.v1beta1.PythProPriceStateR\x12pythProPriceStates\x12\x61\n\x16seda_fast_price_states\x18\x14 \x03(\x0b\x32,.injective.oracle.v1beta1.SedaFastPriceStateR\x13sedaFastPriceStates\"I\n\x0e\x43\x61lldataRecord\x12\x1b\n\tclient_id\x18\x01 \x01(\x04R\x08\x63lientId\x12\x1a\n\x08\x63\x61lldata\x18\x02 \x01(\x0cR\x08\x63\x61lldataB\xfc\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0cGenesisProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -45,7 +45,7 @@ _globals['_GENESISSTATE'].fields_by_name['chainlink_price_states']._loaded_options = None _globals['_GENESISSTATE'].fields_by_name['chainlink_price_states']._serialized_options = b'\030\001' _globals['_GENESISSTATE']._serialized_start=130 - _globals['_GENESISSTATE']._serialized_end=1681 - _globals['_CALLDATARECORD']._serialized_start=1683 - _globals['_CALLDATARECORD']._serialized_end=1756 + _globals['_GENESISSTATE']._serialized_end=1876 + _globals['_CALLDATARECORD']._serialized_start=1878 + _globals['_CALLDATARECORD']._serialized_end=1951 # @@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 af317638..9990943c 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/oracle_pb2.py @@ -17,7 +17,7 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/oracle/v1beta1/oracle.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xf7\x01\n\x06Params\x12#\n\rpyth_contract\x18\x01 \x01(\tR\x0cpythContract\x12I\n!chainlink_verifier_proxy_contract\x18\x02 \x01(\tR\x1e\x63hainlinkVerifierProxyContract\x12_\n-chainlink_data_streams_verification_gas_limit\x18\x04 \x01(\x04R(chainlinkDataStreamsVerificationGasLimit:\x16\xe8\xa0\x1f\x01\x8a\xe7\xb0*\roracle/ParamsJ\x04\x08\x03\x10\x04\"k\n\nOracleInfo\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x45\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xda\x01\n\x13\x43hainlinkPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState:\x02\x18\x01\"\xee\x01\n\x0e\x42\x61ndPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x31\n\x04rate\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x04rate\x12!\n\x0cresolve_time\x18\x03 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_ID\x18\x04 \x01(\x04R\trequestID\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState:\x02\x18\x01\"\x9d\x01\n\x0ePriceFeedState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\x12\x45\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers\"F\n\x0cProviderInfo\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x02 \x03(\tR\x08relayers\"\xbe\x01\n\rProviderState\x12K\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\x0cproviderInfo\x12`\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceStateR\x13providerPriceStates\"h\n\x12ProviderPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12:\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\x05state\"9\n\rPriceFeedInfo\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\"K\n\x0ePriceFeedPrice\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xbb\x01\n\x12\x43oinbasePriceState\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x04R\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xcf\x01\n\x0fStorkPriceState\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05value\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xb5\x01\n\nPriceState\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"\xd6\x02\n\x0ePythPriceState\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12@\n\tema_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x65maPrice\x12>\n\x08\x65ma_conf\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x65maConf\x12\x37\n\x04\x63onf\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04\x63onf\x12!\n\x0cpublish_time\x18\x05 \x01(\x04R\x0bpublishTime\x12K\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xd0\x02\n\x1e\x43hainlinkDataStreamsPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12@\n\x0creport_price\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0breportPrice\x12\x30\n\x14valid_from_timestamp\x18\x03 \x01(\x04R\x12validFromTimestamp\x12\x35\n\x16observations_timestamp\x18\x04 \x01(\x04R\x15observationsTimestamp\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\x12\x1d\n\nexpires_at\x18\x06 \x01(\x04R\texpiresAt\"\x8a\x03\n\x11\x42\x61ndOracleRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\x04R\trequestId\x12(\n\x10oracle_script_id\x18\x02 \x01(\x03R\x0eoracleScriptId\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12\x1b\n\task_count\x18\x04 \x01(\x04R\x08\x61skCount\x12\x1b\n\tmin_count\x18\x05 \x01(\x04R\x08minCount\x12h\n\tfee_limit\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x66\x65\x65Limit\x12\x1f\n\x0bprepare_gas\x18\x07 \x01(\x04R\nprepareGas\x12\x1f\n\x0b\x65xecute_gas\x18\x08 \x01(\x04R\nexecuteGas\x12(\n\x10min_source_count\x18\t \x01(\x04R\x0eminSourceCount:\x02\x18\x01\"\x8a\x02\n\rBandIBCParams\x12(\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08R\x0e\x62\x61ndIbcEnabled\x12\x30\n\x14ibc_request_interval\x18\x02 \x01(\x03R\x12ibcRequestInterval\x12,\n\x12ibc_source_channel\x18\x03 \x01(\tR\x10ibcSourceChannel\x12\x1f\n\x0bibc_version\x18\x04 \x01(\tR\nibcVersion\x12\x1e\n\x0bibc_port_id\x18\x05 \x01(\tR\tibcPortId\x12*\n\x11legacy_oracle_ids\x18\x06 \x03(\x03R\x0flegacyOracleIds:\x02\x18\x01\"\x8f\x01\n\x14SymbolPriceTimestamp\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"y\n\x13LastPriceTimestamps\x12\x62\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestampR\x13lastPriceTimestamps\"\xc2\x01\n\x0cPriceRecords\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12W\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\x12latestPriceRecords\"f\n\x0bPriceRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xf3\x03\n\x12MetadataStatistics\x12\x1f\n\x0bgroup_count\x18\x01 \x01(\rR\ngroupCount\x12.\n\x13records_sample_size\x18\x02 \x01(\rR\x11recordsSampleSize\x12\x37\n\x04mean\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04mean\x12\x37\n\x04twap\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04twap\x12\'\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03R\x0e\x66irstTimestamp\x12%\n\x0elast_timestamp\x18\x06 \x01(\x03R\rlastTimestamp\x12@\n\tmin_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08minPrice\x12@\n\tmax_price\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08maxPrice\x12\x46\n\x0cmedian_price\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmedianPrice\"\xe1\x01\n\x10PriceAttestation\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x14\n\x05price\x18\x02 \x01(\x03R\x05price\x12\x12\n\x04\x63onf\x18\x03 \x01(\x04R\x04\x63onf\x12\x12\n\x04\x65xpo\x18\x04 \x01(\x05R\x04\x65xpo\x12\x1b\n\tema_price\x18\x05 \x01(\x03R\x08\x65maPrice\x12\x19\n\x08\x65ma_conf\x18\x06 \x01(\x04R\x07\x65maConf\x12\x19\n\x08\x65ma_expo\x18\x07 \x01(\x05R\x07\x65maExpo\x12!\n\x0cpublish_time\x18\x08 \x01(\x03R\x0bpublishTime\"}\n\tAssetPair\x12\x19\n\x08\x61sset_id\x18\x01 \x01(\tR\x07\x61ssetId\x12U\n\rsigned_prices\x18\x02 \x03(\x0b\x32\x30.injective.oracle.v1beta1.SignedPriceOfAssetPairR\x0csignedPrices\"\xb4\x01\n\x16SignedPriceOfAssetPair\x12#\n\rpublisher_key\x18\x01 \x01(\tR\x0cpublisherKey\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\"\xb4\x01\n\x0f\x43hainlinkReport\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\x0cR\x06\x66\x65\x65\x64Id\x12\x1f\n\x0b\x66ull_report\x18\x02 \x01(\x0cR\nfullReport\x12\x30\n\x14valid_from_timestamp\x18\x03 \x01(\x04R\x12validFromTimestamp\x12\x35\n\x16observations_timestamp\x18\x04 \x01(\x04R\x15observationsTimestamp*\xd0\x01\n\nOracleType\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0c\n\x04\x42\x61nd\x10\x01\x1a\x02\x08\x01\x12\r\n\tPriceFeed\x10\x02\x12\x0c\n\x08\x43oinbase\x10\x03\x12\x11\n\tChainlink\x10\x04\x1a\x02\x08\x01\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\x0f\n\x07\x42\x61ndIBC\x10\n\x1a\x02\x08\x01\x12\x0c\n\x08Provider\x10\x0b\x12\t\n\x05Stork\x10\x0c\x12\x18\n\x14\x43hainlinkDataStreams\x10\rB\xff\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0bOracleProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1\xc0\xe3\x1e\x01\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%injective/oracle/v1beta1/oracle.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\x8f\x04\n\x06Params\x12#\n\rpyth_contract\x18\x01 \x01(\tR\x0cpythContract\x12I\n!chainlink_verifier_proxy_contract\x18\x02 \x01(\tR\x1e\x63hainlinkVerifierProxyContract\x12_\n-chainlink_data_streams_verification_gas_limit\x18\x04 \x01(\x04R(chainlinkDataStreamsVerificationGasLimit\x12;\n\x1apyth_pro_verifier_contract\x18\x05 \x01(\tR\x17pythProVerifierContract\x12\x44\n\x1fpyth_pro_verification_gas_limit\x18\x06 \x01(\x04R\x1bpythProVerificationGasLimit\x12\x39\n\x19pyth_pro_verification_fee\x18\x07 \x01(\x04R\x16pythProVerificationFee\x12X\n\x10seda_fast_params\x18\x08 \x01(\x0b\x32(.injective.oracle.v1beta1.SedaFastParamsB\x04\xc8\xde\x1f\x00R\x0esedaFastParams:\x16\xe8\xa0\x1f\x01\x8a\xe7\xb0*\roracle/ParamsJ\x04\x08\x03\x10\x04\"\x8d\x01\n\x0eSedaFastParams\x12\x1d\n\npublic_key\x18\x01 \x01(\x0cR\tpublicKey\x12,\n\x12simple_program_ids\x18\x02 \x03(\tR\x10simpleProgramIds\x12(\n\x10json_program_ids\x18\x03 \x03(\tR\x0ejsonProgramIds:\x04\xe8\xa0\x1f\x01\"k\n\nOracleInfo\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x45\n\x0boracle_type\x18\x02 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\"\xda\x01\n\x13\x43hainlinkPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12;\n\x06\x61nswer\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06\x61nswer\x12\x1c\n\ttimestamp\x18\x03 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x04 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState:\x02\x18\x01\"\xee\x01\n\x0e\x42\x61ndPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x31\n\x04rate\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x04rate\x12!\n\x0cresolve_time\x18\x03 \x01(\x04R\x0bresolveTime\x12\x1d\n\nrequest_ID\x18\x04 \x01(\x04R\trequestID\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState:\x02\x18\x01\"\x9d\x01\n\x0ePriceFeedState\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\x12\x45\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\x12\x1a\n\x08relayers\x18\x04 \x03(\tR\x08relayers\"F\n\x0cProviderInfo\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x1a\n\x08relayers\x18\x02 \x03(\tR\x08relayers\"\xbe\x01\n\rProviderState\x12K\n\rprovider_info\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\x0cproviderInfo\x12`\n\x15provider_price_states\x18\x02 \x03(\x0b\x32,.injective.oracle.v1beta1.ProviderPriceStateR\x13providerPriceStates\"h\n\x12ProviderPriceState\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12:\n\x05state\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\x05state\"9\n\rPriceFeedInfo\x12\x12\n\x04\x62\x61se\x18\x01 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x02 \x01(\tR\x05quote\"K\n\x0ePriceFeedPrice\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xbb\x01\n\x12\x43oinbasePriceState\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x14\n\x05value\x18\x04 \x01(\x04R\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xcf\x01\n\x0fStorkPriceState\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\x12\x39\n\x05value\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05value\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xb5\x01\n\nPriceState\x12\x39\n\x05price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12N\n\x10\x63umulative_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0f\x63umulativePrice\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"\xd6\x02\n\x0ePythPriceState\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12@\n\tema_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08\x65maPrice\x12>\n\x08\x65ma_conf\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x07\x65maConf\x12\x37\n\x04\x63onf\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04\x63onf\x12!\n\x0cpublish_time\x18\x05 \x01(\x04R\x0bpublishTime\x12K\n\x0bprice_state\x18\x06 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\xd0\x02\n\x1e\x43hainlinkDataStreamsPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12@\n\x0creport_price\x18\x02 \x01(\tB\x1d\xc8\xde\x1f\x00\xda\xde\x1f\x15\x63osmossdk.io/math.IntR\x0breportPrice\x12\x30\n\x14valid_from_timestamp\x18\x03 \x01(\x04R\x12validFromTimestamp\x12\x35\n\x16observations_timestamp\x18\x04 \x01(\x04R\x15observationsTimestamp\x12K\n\x0bprice_state\x18\x05 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\x12\x1d\n\nexpires_at\x18\x06 \x01(\x04R\texpiresAt\"\x8a\x03\n\x11\x42\x61ndOracleRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\x04R\trequestId\x12(\n\x10oracle_script_id\x18\x02 \x01(\x03R\x0eoracleScriptId\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12\x1b\n\task_count\x18\x04 \x01(\x04R\x08\x61skCount\x12\x1b\n\tmin_count\x18\x05 \x01(\x04R\x08minCount\x12h\n\tfee_limit\x18\x06 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x66\x65\x65Limit\x12\x1f\n\x0bprepare_gas\x18\x07 \x01(\x04R\nprepareGas\x12\x1f\n\x0b\x65xecute_gas\x18\x08 \x01(\x04R\nexecuteGas\x12(\n\x10min_source_count\x18\t \x01(\x04R\x0eminSourceCount:\x02\x18\x01\"\x8a\x02\n\rBandIBCParams\x12(\n\x10\x62\x61nd_ibc_enabled\x18\x01 \x01(\x08R\x0e\x62\x61ndIbcEnabled\x12\x30\n\x14ibc_request_interval\x18\x02 \x01(\x03R\x12ibcRequestInterval\x12,\n\x12ibc_source_channel\x18\x03 \x01(\tR\x10ibcSourceChannel\x12\x1f\n\x0bibc_version\x18\x04 \x01(\tR\nibcVersion\x12\x1e\n\x0bibc_port_id\x18\x05 \x01(\tR\tibcPortId\x12*\n\x11legacy_oracle_ids\x18\x06 \x03(\x03R\x0flegacyOracleIds:\x02\x18\x01\"\x8f\x01\n\x14SymbolPriceTimestamp\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12\x1c\n\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"y\n\x13LastPriceTimestamps\x12\x62\n\x15last_price_timestamps\x18\x01 \x03(\x0b\x32..injective.oracle.v1beta1.SymbolPriceTimestampR\x13lastPriceTimestamps\"\xc2\x01\n\x0cPriceRecords\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\x12W\n\x14latest_price_records\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\x12latestPriceRecords\"f\n\x0bPriceRecord\x12\x1c\n\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\"\xf3\x03\n\x12MetadataStatistics\x12\x1f\n\x0bgroup_count\x18\x01 \x01(\rR\ngroupCount\x12.\n\x13records_sample_size\x18\x02 \x01(\rR\x11recordsSampleSize\x12\x37\n\x04mean\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04mean\x12\x37\n\x04twap\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x04twap\x12\'\n\x0f\x66irst_timestamp\x18\x05 \x01(\x03R\x0e\x66irstTimestamp\x12%\n\x0elast_timestamp\x18\x06 \x01(\x03R\rlastTimestamp\x12@\n\tmin_price\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08minPrice\x12@\n\tmax_price\x18\x08 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08maxPrice\x12\x46\n\x0cmedian_price\x18\t \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x0bmedianPrice\"\xe1\x01\n\x10PriceAttestation\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\x12\x14\n\x05price\x18\x02 \x01(\x03R\x05price\x12\x12\n\x04\x63onf\x18\x03 \x01(\x04R\x04\x63onf\x12\x12\n\x04\x65xpo\x18\x04 \x01(\x05R\x04\x65xpo\x12\x1b\n\tema_price\x18\x05 \x01(\x03R\x08\x65maPrice\x12\x19\n\x08\x65ma_conf\x18\x06 \x01(\x04R\x07\x65maConf\x12\x19\n\x08\x65ma_expo\x18\x07 \x01(\x05R\x07\x65maExpo\x12!\n\x0cpublish_time\x18\x08 \x01(\x03R\x0bpublishTime\"}\n\tAssetPair\x12\x19\n\x08\x61sset_id\x18\x01 \x01(\tR\x07\x61ssetId\x12U\n\rsigned_prices\x18\x02 \x03(\x0b\x32\x30.injective.oracle.v1beta1.SignedPriceOfAssetPairR\x0csignedPrices\"\xb4\x01\n\x16SignedPriceOfAssetPair\x12#\n\rpublisher_key\x18\x01 \x01(\tR\x0cpublisherKey\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12\x39\n\x05price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x1c\n\tsignature\x18\x04 \x01(\x0cR\tsignature\"\xb4\x01\n\x0f\x43hainlinkReport\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\x0cR\x06\x66\x65\x65\x64Id\x12\x1f\n\x0b\x66ull_report\x18\x02 \x01(\x0cR\nfullReport\x12\x30\n\x14valid_from_timestamp\x18\x03 \x01(\x04R\x12validFromTimestamp\x12\x35\n\x16observations_timestamp\x18\x04 \x01(\x04R\x15observationsTimestamp\"\x97\x01\n\x11PythProPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\rR\x06\x66\x65\x65\x64Id\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState\"\x98\x01\n\x12SedaFastPriceState\x12\x17\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\tR\x06\x66\x65\x65\x64Id\x12\x1c\n\ttimestamp\x18\x02 \x01(\x04R\ttimestamp\x12K\n\x0bprice_state\x18\x03 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateB\x04\xc8\xde\x1f\x00R\npriceState*\xeb\x01\n\nOracleType\x12\x0f\n\x0bUnspecified\x10\x00\x12\x0c\n\x04\x42\x61nd\x10\x01\x1a\x02\x08\x01\x12\r\n\tPriceFeed\x10\x02\x12\x0c\n\x08\x43oinbase\x10\x03\x12\x11\n\tChainlink\x10\x04\x1a\x02\x08\x01\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\x0f\n\x07\x42\x61ndIBC\x10\n\x1a\x02\x08\x01\x12\x0c\n\x08Provider\x10\x0b\x12\t\n\x05Stork\x10\x0c\x12\x18\n\x14\x43hainlinkDataStreams\x10\r\x12\x0b\n\x07PythPro\x10\x0e\x12\x0c\n\x08SedaFast\x10\x0f\x42\xff\x01\n\x1c\x63om.injective.oracle.v1beta1B\x0bOracleProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1\xc0\xe3\x1e\x01\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -31,8 +31,12 @@ _globals['_ORACLETYPE'].values_by_name["Chainlink"]._serialized_options = b'\010\001' _globals['_ORACLETYPE'].values_by_name["BandIBC"]._loaded_options = None _globals['_ORACLETYPE'].values_by_name["BandIBC"]._serialized_options = b'\010\001' + _globals['_PARAMS'].fields_by_name['seda_fast_params']._loaded_options = None + _globals['_PARAMS'].fields_by_name['seda_fast_params']._serialized_options = b'\310\336\037\000' _globals['_PARAMS']._loaded_options = None _globals['_PARAMS']._serialized_options = b'\350\240\037\001\212\347\260*\roracle/Params' + _globals['_SEDAFASTPARAMS']._loaded_options = None + _globals['_SEDAFASTPARAMS']._serialized_options = b'\350\240\037\001' _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._loaded_options = None _globals['_CHAINLINKPRICESTATE'].fields_by_name['answer']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_CHAINLINKPRICESTATE'].fields_by_name['price_state']._loaded_options = None @@ -89,58 +93,68 @@ _globals['_METADATASTATISTICS'].fields_by_name['median_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._loaded_options = None _globals['_SIGNEDPRICEOFASSETPAIR'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORACLETYPE']._serialized_start=5356 - _globals['_ORACLETYPE']._serialized_end=5564 + _globals['_PYTHPROPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_PYTHPROPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_SEDAFASTPRICESTATE'].fields_by_name['price_state']._loaded_options = None + _globals['_SEDAFASTPRICESTATE'].fields_by_name['price_state']._serialized_options = b'\310\336\037\000' + _globals['_ORACLETYPE']._serialized_start=6089 + _globals['_ORACLETYPE']._serialized_end=6324 _globals['_PARAMS']._serialized_start=141 - _globals['_PARAMS']._serialized_end=388 - _globals['_ORACLEINFO']._serialized_start=390 - _globals['_ORACLEINFO']._serialized_end=497 - _globals['_CHAINLINKPRICESTATE']._serialized_start=500 - _globals['_CHAINLINKPRICESTATE']._serialized_end=718 - _globals['_BANDPRICESTATE']._serialized_start=721 - _globals['_BANDPRICESTATE']._serialized_end=959 - _globals['_PRICEFEEDSTATE']._serialized_start=962 - _globals['_PRICEFEEDSTATE']._serialized_end=1119 - _globals['_PROVIDERINFO']._serialized_start=1121 - _globals['_PROVIDERINFO']._serialized_end=1191 - _globals['_PROVIDERSTATE']._serialized_start=1194 - _globals['_PROVIDERSTATE']._serialized_end=1384 - _globals['_PROVIDERPRICESTATE']._serialized_start=1386 - _globals['_PROVIDERPRICESTATE']._serialized_end=1490 - _globals['_PRICEFEEDINFO']._serialized_start=1492 - _globals['_PRICEFEEDINFO']._serialized_end=1549 - _globals['_PRICEFEEDPRICE']._serialized_start=1551 - _globals['_PRICEFEEDPRICE']._serialized_end=1626 - _globals['_COINBASEPRICESTATE']._serialized_start=1629 - _globals['_COINBASEPRICESTATE']._serialized_end=1816 - _globals['_STORKPRICESTATE']._serialized_start=1819 - _globals['_STORKPRICESTATE']._serialized_end=2026 - _globals['_PRICESTATE']._serialized_start=2029 - _globals['_PRICESTATE']._serialized_end=2210 - _globals['_PYTHPRICESTATE']._serialized_start=2213 - _globals['_PYTHPRICESTATE']._serialized_end=2555 - _globals['_CHAINLINKDATASTREAMSPRICESTATE']._serialized_start=2558 - _globals['_CHAINLINKDATASTREAMSPRICESTATE']._serialized_end=2894 - _globals['_BANDORACLEREQUEST']._serialized_start=2897 - _globals['_BANDORACLEREQUEST']._serialized_end=3291 - _globals['_BANDIBCPARAMS']._serialized_start=3294 - _globals['_BANDIBCPARAMS']._serialized_end=3560 - _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=3563 - _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=3706 - _globals['_LASTPRICETIMESTAMPS']._serialized_start=3708 - _globals['_LASTPRICETIMESTAMPS']._serialized_end=3829 - _globals['_PRICERECORDS']._serialized_start=3832 - _globals['_PRICERECORDS']._serialized_end=4026 - _globals['_PRICERECORD']._serialized_start=4028 - _globals['_PRICERECORD']._serialized_end=4130 - _globals['_METADATASTATISTICS']._serialized_start=4133 - _globals['_METADATASTATISTICS']._serialized_end=4632 - _globals['_PRICEATTESTATION']._serialized_start=4635 - _globals['_PRICEATTESTATION']._serialized_end=4860 - _globals['_ASSETPAIR']._serialized_start=4862 - _globals['_ASSETPAIR']._serialized_end=4987 - _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_start=4990 - _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_end=5170 - _globals['_CHAINLINKREPORT']._serialized_start=5173 - _globals['_CHAINLINKREPORT']._serialized_end=5353 + _globals['_PARAMS']._serialized_end=668 + _globals['_SEDAFASTPARAMS']._serialized_start=671 + _globals['_SEDAFASTPARAMS']._serialized_end=812 + _globals['_ORACLEINFO']._serialized_start=814 + _globals['_ORACLEINFO']._serialized_end=921 + _globals['_CHAINLINKPRICESTATE']._serialized_start=924 + _globals['_CHAINLINKPRICESTATE']._serialized_end=1142 + _globals['_BANDPRICESTATE']._serialized_start=1145 + _globals['_BANDPRICESTATE']._serialized_end=1383 + _globals['_PRICEFEEDSTATE']._serialized_start=1386 + _globals['_PRICEFEEDSTATE']._serialized_end=1543 + _globals['_PROVIDERINFO']._serialized_start=1545 + _globals['_PROVIDERINFO']._serialized_end=1615 + _globals['_PROVIDERSTATE']._serialized_start=1618 + _globals['_PROVIDERSTATE']._serialized_end=1808 + _globals['_PROVIDERPRICESTATE']._serialized_start=1810 + _globals['_PROVIDERPRICESTATE']._serialized_end=1914 + _globals['_PRICEFEEDINFO']._serialized_start=1916 + _globals['_PRICEFEEDINFO']._serialized_end=1973 + _globals['_PRICEFEEDPRICE']._serialized_start=1975 + _globals['_PRICEFEEDPRICE']._serialized_end=2050 + _globals['_COINBASEPRICESTATE']._serialized_start=2053 + _globals['_COINBASEPRICESTATE']._serialized_end=2240 + _globals['_STORKPRICESTATE']._serialized_start=2243 + _globals['_STORKPRICESTATE']._serialized_end=2450 + _globals['_PRICESTATE']._serialized_start=2453 + _globals['_PRICESTATE']._serialized_end=2634 + _globals['_PYTHPRICESTATE']._serialized_start=2637 + _globals['_PYTHPRICESTATE']._serialized_end=2979 + _globals['_CHAINLINKDATASTREAMSPRICESTATE']._serialized_start=2982 + _globals['_CHAINLINKDATASTREAMSPRICESTATE']._serialized_end=3318 + _globals['_BANDORACLEREQUEST']._serialized_start=3321 + _globals['_BANDORACLEREQUEST']._serialized_end=3715 + _globals['_BANDIBCPARAMS']._serialized_start=3718 + _globals['_BANDIBCPARAMS']._serialized_end=3984 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_start=3987 + _globals['_SYMBOLPRICETIMESTAMP']._serialized_end=4130 + _globals['_LASTPRICETIMESTAMPS']._serialized_start=4132 + _globals['_LASTPRICETIMESTAMPS']._serialized_end=4253 + _globals['_PRICERECORDS']._serialized_start=4256 + _globals['_PRICERECORDS']._serialized_end=4450 + _globals['_PRICERECORD']._serialized_start=4452 + _globals['_PRICERECORD']._serialized_end=4554 + _globals['_METADATASTATISTICS']._serialized_start=4557 + _globals['_METADATASTATISTICS']._serialized_end=5056 + _globals['_PRICEATTESTATION']._serialized_start=5059 + _globals['_PRICEATTESTATION']._serialized_end=5284 + _globals['_ASSETPAIR']._serialized_start=5286 + _globals['_ASSETPAIR']._serialized_end=5411 + _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_start=5414 + _globals['_SIGNEDPRICEOFASSETPAIR']._serialized_end=5594 + _globals['_CHAINLINKREPORT']._serialized_start=5597 + _globals['_CHAINLINKREPORT']._serialized_end=5777 + _globals['_PYTHPROPRICESTATE']._serialized_start=5780 + _globals['_PYTHPROPRICESTATE']._serialized_end=5931 + _globals['_SEDAFASTPRICESTATE']._serialized_start=5934 + _globals['_SEDAFASTPRICESTATE']._serialized_end=6086 # @@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 e23e4fa4..1a32807d 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py +++ b/pyinjective/proto/injective/oracle/v1beta1/query_pb2.py @@ -18,7 +18,7 @@ from pyinjective.proto.gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$injective/oracle/v1beta1/query.proto\x12\x18injective.oracle.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a&injective/oracle/v1beta1/genesis.proto\x1a\x14gogoproto/gogo.proto\"2\n\x15QueryPythPriceRequest\x12\x19\n\x08price_id\x18\x01 \x01(\tR\x07priceId\"c\n\x16QueryPythPriceResponse\x12I\n\x0bprice_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\npriceState\"\x14\n\x12QueryParamsRequest\"U\n\x13QueryParamsResponse\x12>\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1a\n\x18QueryBandRelayersRequest\"7\n\x19QueryBandRelayersResponse\x12\x1a\n\x08relayers\x18\x01 \x03(\tR\x08relayers\"\x1d\n\x1bQueryBandPriceStatesRequest\"k\n\x1cQueryBandPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\" \n\x1eQueryBandIBCPriceStatesRequest\"n\n\x1fQueryBandIBCPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\"\"\n QueryPriceFeedPriceStatesRequest\"p\n!QueryPriceFeedPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x0bpriceStates\"!\n\x1fQueryCoinbasePriceStatesRequest\"s\n QueryCoinbasePriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x0bpriceStates\"\x1d\n\x1bQueryPythPriceStatesRequest\"k\n\x1cQueryPythPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0bpriceStates\"\x1e\n\x1cQueryStorkPriceStatesRequest\"m\n\x1dQueryStorkPriceStatesResponse\x12L\n\x0cprice_states\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x0bpriceStates\"\x1d\n\x1bQueryStorkPublishersRequest\">\n\x1cQueryStorkPublishersResponse\x12\x1e\n\npublishers\x18\x01 \x03(\tR\npublishers\"T\n\x1eQueryProviderPriceStateRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\"h\n\x1fQueryProviderPriceStateResponse\x12\x45\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\"-\n+QueryChainlinkDataStreamsPriceStatesRequest\"\x8b\x01\n,QueryChainlinkDataStreamsPriceStatesResponse\x12[\n\x0cprice_states\x18\x01 \x03(\x0b\x32\x38.injective.oracle.v1beta1.ChainlinkDataStreamsPriceStateR\x0bpriceStates\"\x19\n\x17QueryModuleStateRequest\"X\n\x18QueryModuleStateResponse\x12<\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisStateR\x05state\"\x7f\n\"QueryHistoricalPriceRecordsRequest\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\"r\n#QueryHistoricalPriceRecordsResponse\x12K\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x0cpriceRecords\"\x8a\x01\n\x14OracleHistoryOptions\x12\x17\n\x07max_age\x18\x01 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x02 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x03 \x01(\x08R\x0fincludeMetadata\"\x8c\x02\n\x1cQueryOracleVolatilityRequest\x12\x41\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\x08\x62\x61seInfo\x12\x43\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\tquoteInfo\x12\x64\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptionsR\x14oracleHistoryOptions\"\x81\x02\n\x1dQueryOracleVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x46\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\nrawHistory\"!\n\x1fQueryOracleProvidersInfoRequest\"h\n QueryOracleProvidersInfoResponse\x12\x44\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\tproviders\">\n QueryOracleProviderPricesRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\"r\n!QueryOracleProviderPricesResponse\x12M\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\rproviderState\"\\\n\x0eScalingOptions\x12#\n\rbase_decimals\x18\x01 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x02 \x01(\rR\rquoteDecimals\"\xe3\x01\n\x17QueryOraclePriceRequest\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12W\n\x0fscaling_options\x18\x04 \x01(\x0b\x32(.injective.oracle.v1beta1.ScalingOptionsB\x04\xc8\xde\x1f\x01R\x0escalingOptions\"\xe2\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tpairPrice\x12\x42\n\nbase_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tbasePrice\x12\x44\n\x0bquote_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nquotePrice\x12W\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13\x62\x61seCumulativePrice\x12Y\n\x16quote_cumulative_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14quoteCumulativePrice\x12%\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03R\rbaseTimestamp\x12\'\n\x0fquote_timestamp\x18\x07 \x01(\x03R\x0equoteTimestamp\"n\n\x18QueryOraclePriceResponse\x12R\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairStateR\x0epricePairState2\xc6\x1a\n\x05Query\x12\x8f\x01\n\x06Params\x12,.injective.oracle.v1beta1.QueryParamsRequest\x1a-.injective.oracle.v1beta1.QueryParamsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /injective/oracle/v1beta1/params\x12\xa8\x01\n\x0c\x42\x61ndRelayers\x12\x32.injective.oracle.v1beta1.QueryBandRelayersRequest\x1a\x33.injective.oracle.v1beta1.QueryBandRelayersResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/injective/oracle/v1beta1/band_relayers\x12\xb5\x01\n\x0f\x42\x61ndPriceStates\x12\x35.injective.oracle.v1beta1.QueryBandPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryBandPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/band_price_states\x12\xc2\x01\n\x12\x42\x61ndIBCPriceStates\x12\x38.injective.oracle.v1beta1.QueryBandIBCPriceStatesRequest\x1a\x39.injective.oracle.v1beta1.QueryBandIBCPriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/band_ibc_price_states\x12\xc9\x01\n\x14PriceFeedPriceStates\x12:.injective.oracle.v1beta1.QueryPriceFeedPriceStatesRequest\x1a;.injective.oracle.v1beta1.QueryPriceFeedPriceStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/oracle/v1beta1/pricefeed_price_states\x12\xc5\x01\n\x13\x43oinbasePriceStates\x12\x39.injective.oracle.v1beta1.QueryCoinbasePriceStatesRequest\x1a:.injective.oracle.v1beta1.QueryCoinbasePriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/coinbase_price_states\x12\xb5\x01\n\x0fPythPriceStates\x12\x35.injective.oracle.v1beta1.QueryPythPriceStatesRequest\x1a\x36.injective.oracle.v1beta1.QueryPythPriceStatesResponse\"3\x82\xd3\xe4\x93\x02-\x12+/injective/oracle/v1beta1/pyth_price_states\x12\xb9\x01\n\x10StorkPriceStates\x12\x36.injective.oracle.v1beta1.QueryStorkPriceStatesRequest\x1a\x37.injective.oracle.v1beta1.QueryStorkPriceStatesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/oracle/v1beta1/stork_price_states\x12\xb4\x01\n\x0fStorkPublishers\x12\x35.injective.oracle.v1beta1.QueryStorkPublishersRequest\x1a\x36.injective.oracle.v1beta1.QueryStorkPublishersResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/oracle/v1beta1/stork_publishers\x12\xd5\x01\n\x12ProviderPriceState\x12\x38.injective.oracle.v1beta1.QueryProviderPriceStateRequest\x1a\x39.injective.oracle.v1beta1.QueryProviderPriceStateResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}\x12\xf6\x01\n\x1f\x43hainlinkDataStreamsPriceStates\x12\x45.injective.oracle.v1beta1.QueryChainlinkDataStreamsPriceStatesRequest\x1a\x46.injective.oracle.v1beta1.QueryChainlinkDataStreamsPriceStatesResponse\"D\x82\xd3\xe4\x93\x02>\x12\n\x06params\x18\x01 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params\"\x1a\n\x18QueryBandRelayersRequest\"7\n\x19QueryBandRelayersResponse\x12\x1a\n\x08relayers\x18\x01 \x03(\tR\x08relayers\"\x1d\n\x1bQueryBandPriceStatesRequest\"k\n\x1cQueryBandPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\" \n\x1eQueryBandIBCPriceStatesRequest\"n\n\x1fQueryBandIBCPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.BandPriceStateR\x0bpriceStates\"\"\n QueryPriceFeedPriceStatesRequest\"p\n!QueryPriceFeedPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PriceFeedStateR\x0bpriceStates\"!\n\x1fQueryCoinbasePriceStatesRequest\"s\n QueryCoinbasePriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.CoinbasePriceStateR\x0bpriceStates\"\x1d\n\x1bQueryPythPriceStatesRequest\"k\n\x1cQueryPythPriceStatesResponse\x12K\n\x0cprice_states\x18\x01 \x03(\x0b\x32(.injective.oracle.v1beta1.PythPriceStateR\x0bpriceStates\" \n\x1eQueryPythProPriceStatesRequest\"q\n\x1fQueryPythProPriceStatesResponse\x12N\n\x0cprice_states\x18\x01 \x03(\x0b\x32+.injective.oracle.v1beta1.PythProPriceStateR\x0bpriceStates\"!\n\x1fQuerySedaFastPriceStatesRequest\"s\n QuerySedaFastPriceStatesResponse\x12O\n\x0cprice_states\x18\x01 \x03(\x0b\x32,.injective.oracle.v1beta1.SedaFastPriceStateR\x0bpriceStates\"\x1e\n\x1cQueryStorkPriceStatesRequest\"m\n\x1dQueryStorkPriceStatesResponse\x12L\n\x0cprice_states\x18\x01 \x03(\x0b\x32).injective.oracle.v1beta1.StorkPriceStateR\x0bpriceStates\"\x1d\n\x1bQueryStorkPublishersRequest\">\n\x1cQueryStorkPublishersResponse\x12\x1e\n\npublishers\x18\x01 \x03(\tR\npublishers\"T\n\x1eQueryProviderPriceStateRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x16\n\x06symbol\x18\x02 \x01(\tR\x06symbol\"h\n\x1fQueryProviderPriceStateResponse\x12\x45\n\x0bprice_state\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.PriceStateR\npriceState\"-\n+QueryChainlinkDataStreamsPriceStatesRequest\"\x8b\x01\n,QueryChainlinkDataStreamsPriceStatesResponse\x12[\n\x0cprice_states\x18\x01 \x03(\x0b\x32\x38.injective.oracle.v1beta1.ChainlinkDataStreamsPriceStateR\x0bpriceStates\"\x19\n\x17QueryModuleStateRequest\"X\n\x18QueryModuleStateResponse\x12<\n\x05state\x18\x01 \x01(\x0b\x32&.injective.oracle.v1beta1.GenesisStateR\x05state\"\x7f\n\"QueryHistoricalPriceRecordsRequest\x12<\n\x06oracle\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\x06oracle\x12\x1b\n\tsymbol_id\x18\x02 \x01(\tR\x08symbolId\"r\n#QueryHistoricalPriceRecordsResponse\x12K\n\rprice_records\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.PriceRecordsR\x0cpriceRecords\"\x8a\x01\n\x14OracleHistoryOptions\x12\x17\n\x07max_age\x18\x01 \x01(\x04R\x06maxAge\x12.\n\x13include_raw_history\x18\x02 \x01(\x08R\x11includeRawHistory\x12)\n\x10include_metadata\x18\x03 \x01(\x08R\x0fincludeMetadata\"\x8c\x02\n\x1cQueryOracleVolatilityRequest\x12\x41\n\tbase_info\x18\x01 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\x08\x62\x61seInfo\x12\x43\n\nquote_info\x18\x02 \x01(\x0b\x32$.injective.oracle.v1beta1.OracleInfoR\tquoteInfo\x12\x64\n\x16oracle_history_options\x18\x03 \x01(\x0b\x32..injective.oracle.v1beta1.OracleHistoryOptionsR\x14oracleHistoryOptions\"\x81\x02\n\x1dQueryOracleVolatilityResponse\x12?\n\nvolatility\x18\x01 \x01(\tB\x1f\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nvolatility\x12W\n\x10history_metadata\x18\x02 \x01(\x0b\x32,.injective.oracle.v1beta1.MetadataStatisticsR\x0fhistoryMetadata\x12\x46\n\x0braw_history\x18\x03 \x03(\x0b\x32%.injective.oracle.v1beta1.PriceRecordR\nrawHistory\"!\n\x1fQueryOracleProvidersInfoRequest\"h\n QueryOracleProvidersInfoResponse\x12\x44\n\tproviders\x18\x01 \x03(\x0b\x32&.injective.oracle.v1beta1.ProviderInfoR\tproviders\">\n QueryOracleProviderPricesRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\"r\n!QueryOracleProviderPricesResponse\x12M\n\rproviderState\x18\x01 \x03(\x0b\x32\'.injective.oracle.v1beta1.ProviderStateR\rproviderState\"\\\n\x0eScalingOptions\x12#\n\rbase_decimals\x18\x01 \x01(\rR\x0c\x62\x61seDecimals\x12%\n\x0equote_decimals\x18\x02 \x01(\rR\rquoteDecimals\"\xe3\x01\n\x17QueryOraclePriceRequest\x12\x45\n\x0boracle_type\x18\x01 \x01(\x0e\x32$.injective.oracle.v1beta1.OracleTypeR\noracleType\x12\x12\n\x04\x62\x61se\x18\x02 \x01(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x01(\tR\x05quote\x12W\n\x0fscaling_options\x18\x04 \x01(\x0b\x32(.injective.oracle.v1beta1.ScalingOptionsB\x04\xc8\xde\x1f\x01R\x0escalingOptions\"\xe2\x03\n\x0ePricePairState\x12\x42\n\npair_price\x18\x01 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tpairPrice\x12\x42\n\nbase_price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tbasePrice\x12\x44\n\x0bquote_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nquotePrice\x12W\n\x15\x62\x61se_cumulative_price\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13\x62\x61seCumulativePrice\x12Y\n\x16quote_cumulative_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x14quoteCumulativePrice\x12%\n\x0e\x62\x61se_timestamp\x18\x06 \x01(\x03R\rbaseTimestamp\x12\'\n\x0fquote_timestamp\x18\x07 \x01(\x03R\x0equoteTimestamp\"n\n\x18QueryOraclePriceResponse\x12R\n\x10price_pair_state\x18\x01 \x01(\x0b\x32(.injective.oracle.v1beta1.PricePairStateR\x0epricePairState2\xd4\x1d\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\xc2\x01\n\x12PythProPriceStates\x12\x38.injective.oracle.v1beta1.QueryPythProPriceStatesRequest\x1a\x39.injective.oracle.v1beta1.QueryPythProPriceStatesResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//injective/oracle/v1beta1/pyth_pro_price_states\x12\xc6\x01\n\x13SedaFastPriceStates\x12\x39.injective.oracle.v1beta1.QuerySedaFastPriceStatesRequest\x1a:.injective.oracle.v1beta1.QuerySedaFastPriceStatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/injective/oracle/v1beta1/seda_fast_price_states\x12\xb9\x01\n\x10StorkPriceStates\x12\x36.injective.oracle.v1beta1.QueryStorkPriceStatesRequest\x1a\x37.injective.oracle.v1beta1.QueryStorkPriceStatesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/injective/oracle/v1beta1/stork_price_states\x12\xb4\x01\n\x0fStorkPublishers\x12\x35.injective.oracle.v1beta1.QueryStorkPublishersRequest\x1a\x36.injective.oracle.v1beta1.QueryStorkPublishersResponse\"2\x82\xd3\xe4\x93\x02,\x12*/injective/oracle/v1beta1/stork_publishers\x12\xd5\x01\n\x12ProviderPriceState\x12\x38.injective.oracle.v1beta1.QueryProviderPriceStateRequest\x1a\x39.injective.oracle.v1beta1.QueryProviderPriceStateResponse\"J\x82\xd3\xe4\x93\x02\x44\x12\x42/injective/oracle/v1beta1/provider_price_state/{provider}/{symbol}\x12\xf6\x01\n\x1f\x43hainlinkDataStreamsPriceStates\x12\x45.injective.oracle.v1beta1.QueryChainlinkDataStreamsPriceStatesRequest\x1a\x46.injective.oracle.v1beta1.QueryChainlinkDataStreamsPriceStatesResponse\"D\x82\xd3\xe4\x93\x02>\x12\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:)\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x16oracle/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\x85\x07\n\x03Msg\x12\x81\x01\n\x13RelayProviderPrices\x12\x30.injective.oracle.v1beta1.MsgRelayProviderPrices\x1a\x38.injective.oracle.v1beta1.MsgRelayProviderPricesResponse\x12\x81\x01\n\x13RelayPriceFeedPrice\x12\x30.injective.oracle.v1beta1.MsgRelayPriceFeedPrice\x1a\x38.injective.oracle.v1beta1.MsgRelayPriceFeedPriceResponse\x12\x87\x01\n\x15RelayCoinbaseMessages\x12\x32.injective.oracle.v1beta1.MsgRelayCoinbaseMessages\x1a:.injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse\x12y\n\x11RelayStorkMessage\x12-.injective.oracle.v1beta1.MsgRelayStorkPrices\x1a\x35.injective.oracle.v1beta1.MsgRelayStorkPricesResponse\x12u\n\x0fRelayPythPrices\x12,.injective.oracle.v1beta1.MsgRelayPythPrices\x1a\x34.injective.oracle.v1beta1.MsgRelayPythPricesResponse\x12\x84\x01\n\x14RelayChainlinkPrices\x12\x31.injective.oracle.v1beta1.MsgRelayChainlinkPrices\x1a\x39.injective.oracle.v1beta1.MsgRelayChainlinkPricesResponse\x12l\n\x0cUpdateParams\x12).injective.oracle.v1beta1.MsgUpdateParams\x1a\x31.injective.oracle.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xf7\x01\n\x1c\x63om.injective.oracle.v1beta1B\x07TxProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!injective/oracle/v1beta1/tx.proto\x12\x18injective.oracle.v1beta1\x1a\x14gogoproto/gogo.proto\x1a%injective/oracle/v1beta1/oracle.proto\x1a\x17\x63osmos/msg/v1/msg.proto\x1a\x19\x63osmos_proto/cosmos.proto\x1a\x11\x61mino/amino.proto\"\xda\x01\n\x16MsgRelayProviderPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x18\n\x07symbols\x18\x03 \x03(\tR\x07symbols\x12;\n\x06prices\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06prices:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayProviderPrices\" \n\x1eMsgRelayProviderPricesResponse\"\xcc\x01\n\x16MsgRelayPriceFeedPrice\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x12\n\x04\x62\x61se\x18\x02 \x03(\tR\x04\x62\x61se\x12\x14\n\x05quote\x18\x03 \x03(\tR\x05quote\x12\x39\n\x05price\x18\x04 \x03(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelayPriceFeedPrice\" \n\x1eMsgRelayPriceFeedPriceResponse\"\xcf\x01\n\x11MsgRelayBandRates\x12\x18\n\x07relayer\x18\x01 \x01(\tR\x07relayer\x12\x18\n\x07symbols\x18\x02 \x03(\tR\x07symbols\x12\x14\n\x05rates\x18\x03 \x03(\x04R\x05rates\x12#\n\rresolve_times\x18\x04 \x03(\x04R\x0cresolveTimes\x12\x1e\n\nrequestIDs\x18\x05 \x03(\x04R\nrequestIDs:+\x18\x01\x82\xe7\xb0*\x07relayer\x8a\xe7\xb0*\x18oracle/MsgRelayBandRates\"\x1f\n\x19MsgRelayBandRatesResponse:\x02\x18\x01\"\xa7\x01\n\x18MsgRelayCoinbaseMessages\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1a\n\x08messages\x18\x02 \x03(\x0cR\x08messages\x12\x1e\n\nsignatures\x18\x03 \x03(\x0cR\nsignatures:7\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1foracle/MsgRelayCoinbaseMessages\"\"\n MsgRelayCoinbaseMessagesResponse\"\x88\x01\n\x13MsgRelayStorkPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x44\n\x0b\x61sset_pairs\x18\x02 \x03(\x0b\x32#.injective.oracle.v1beta1.AssetPairR\nassetPairs:\x13\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\"\x1d\n\x1bMsgRelayStorkPricesResponse\"\x88\x01\n\x16MsgRequestBandIBCRates\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x1d\n\nrequest_id\x18\x02 \x01(\x04R\trequestId:7\x18\x01\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRequestBandIBCRates\"$\n\x1eMsgRequestBandIBCRatesResponse:\x02\x18\x01\"\xba\x01\n\x12MsgRelayPythPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12Y\n\x12price_attestations\x18\x02 \x03(\x0b\x32*.injective.oracle.v1beta1.PriceAttestationR\x11priceAttestations:1\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x19oracle/MsgRelayPythPrices\"\x1c\n\x1aMsgRelayPythPricesResponse\"\xae\x01\n\x17MsgRelayChainlinkPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x43\n\x07reports\x18\x02 \x03(\x0b\x32).injective.oracle.v1beta1.ChainlinkReportR\x07reports:6\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1eoracle/MsgRelayChainlinkPrices\"!\n\x1fMsgRelayChainlinkPricesResponse\"\x7f\n\x15MsgRelayPythProPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07updates\x18\x02 \x03(\x0cR\x07updates:4\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1coracle/MsgRelayPythProPrices\"\x1f\n\x1dMsgRelayPythProPricesResponse\"\x81\x01\n\x16MsgRelaySedaFastPrices\x12\x16\n\x06sender\x18\x01 \x01(\tR\x06sender\x12\x18\n\x07updates\x18\x02 \x03(\x0cR\x07updates:5\x88\xa0\x1f\x00\xe8\xa0\x1f\x00\x82\xe7\xb0*\x06sender\x8a\xe7\xb0*\x1doracle/MsgRelaySedaFastPrices\" \n\x1eMsgRelaySedaFastPricesResponse\"\xb4\x01\n\x0fMsgUpdateParams\x12\x36\n\tauthority\x18\x01 \x01(\tB\x18\xd2\xb4-\x14\x63osmos.AddressStringR\tauthority\x12>\n\x06params\x18\x02 \x01(\x0b\x32 .injective.oracle.v1beta1.ParamsB\x04\xc8\xde\x1f\x00R\x06params:)\x82\xe7\xb0*\tauthority\x8a\xe7\xb0*\x16oracle/MsgUpdateParams\"\x19\n\x17MsgUpdateParamsResponse2\x89\t\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\x12\x87\x01\n\x15RelayCoinbaseMessages\x12\x32.injective.oracle.v1beta1.MsgRelayCoinbaseMessages\x1a:.injective.oracle.v1beta1.MsgRelayCoinbaseMessagesResponse\x12y\n\x11RelayStorkMessage\x12-.injective.oracle.v1beta1.MsgRelayStorkPrices\x1a\x35.injective.oracle.v1beta1.MsgRelayStorkPricesResponse\x12u\n\x0fRelayPythPrices\x12,.injective.oracle.v1beta1.MsgRelayPythPrices\x1a\x34.injective.oracle.v1beta1.MsgRelayPythPricesResponse\x12\x84\x01\n\x14RelayChainlinkPrices\x12\x31.injective.oracle.v1beta1.MsgRelayChainlinkPrices\x1a\x39.injective.oracle.v1beta1.MsgRelayChainlinkPricesResponse\x12~\n\x12RelayPythProPrices\x12/.injective.oracle.v1beta1.MsgRelayPythProPrices\x1a\x37.injective.oracle.v1beta1.MsgRelayPythProPricesResponse\x12\x81\x01\n\x13RelaySedaFastPrices\x12\x30.injective.oracle.v1beta1.MsgRelaySedaFastPrices\x1a\x38.injective.oracle.v1beta1.MsgRelaySedaFastPricesResponse\x12l\n\x0cUpdateParams\x12).injective.oracle.v1beta1.MsgUpdateParams\x1a\x31.injective.oracle.v1beta1.MsgUpdateParamsResponse\x1a\x05\x80\xe7\xb0*\x01\x42\xf7\x01\n\x1c\x63om.injective.oracle.v1beta1B\x07TxProtoP\x01ZLgithub.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types\xa2\x02\x03IOX\xaa\x02\x18Injective.Oracle.V1beta1\xca\x02\x18Injective\\Oracle\\V1beta1\xe2\x02$Injective\\Oracle\\V1beta1\\GPBMetadata\xea\x02\x1aInjective::Oracle::V1beta1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -35,14 +35,26 @@ _globals['_MSGRELAYPRICEFEEDPRICE'].fields_by_name['price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_MSGRELAYPRICEFEEDPRICE']._loaded_options = None _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelayPriceFeedPrice' + _globals['_MSGRELAYBANDRATES']._loaded_options = None + _globals['_MSGRELAYBANDRATES']._serialized_options = b'\030\001\202\347\260*\007relayer\212\347\260*\030oracle/MsgRelayBandRates' + _globals['_MSGRELAYBANDRATESRESPONSE']._loaded_options = None + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_options = b'\030\001' _globals['_MSGRELAYCOINBASEMESSAGES']._loaded_options = None _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\037oracle/MsgRelayCoinbaseMessages' _globals['_MSGRELAYSTORKPRICES']._loaded_options = None _globals['_MSGRELAYSTORKPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender' + _globals['_MSGREQUESTBANDIBCRATES']._loaded_options = None + _globals['_MSGREQUESTBANDIBCRATES']._serialized_options = b'\030\001\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRequestBandIBCRates' + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._loaded_options = None + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_options = b'\030\001' _globals['_MSGRELAYPYTHPRICES']._loaded_options = None _globals['_MSGRELAYPYTHPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\031oracle/MsgRelayPythPrices' _globals['_MSGRELAYCHAINLINKPRICES']._loaded_options = None _globals['_MSGRELAYCHAINLINKPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\036oracle/MsgRelayChainlinkPrices' + _globals['_MSGRELAYPYTHPROPRICES']._loaded_options = None + _globals['_MSGRELAYPYTHPROPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\034oracle/MsgRelayPythProPrices' + _globals['_MSGRELAYSEDAFASTPRICES']._loaded_options = None + _globals['_MSGRELAYSEDAFASTPRICES']._serialized_options = b'\210\240\037\000\350\240\037\000\202\347\260*\006sender\212\347\260*\035oracle/MsgRelaySedaFastPrices' _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._loaded_options = None _globals['_MSGUPDATEPARAMS'].fields_by_name['authority']._serialized_options = b'\322\264-\024cosmos.AddressString' _globals['_MSGUPDATEPARAMS'].fields_by_name['params']._loaded_options = None @@ -59,26 +71,42 @@ _globals['_MSGRELAYPRICEFEEDPRICE']._serialized_end=655 _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_start=657 _globals['_MSGRELAYPRICEFEEDPRICERESPONSE']._serialized_end=689 - _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_start=692 - _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_end=859 - _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_start=861 - _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_end=895 - _globals['_MSGRELAYSTORKPRICES']._serialized_start=898 - _globals['_MSGRELAYSTORKPRICES']._serialized_end=1034 - _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_start=1036 - _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_end=1065 - _globals['_MSGRELAYPYTHPRICES']._serialized_start=1068 - _globals['_MSGRELAYPYTHPRICES']._serialized_end=1254 - _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_start=1256 - _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_end=1284 - _globals['_MSGRELAYCHAINLINKPRICES']._serialized_start=1287 - _globals['_MSGRELAYCHAINLINKPRICES']._serialized_end=1461 - _globals['_MSGRELAYCHAINLINKPRICESRESPONSE']._serialized_start=1463 - _globals['_MSGRELAYCHAINLINKPRICESRESPONSE']._serialized_end=1496 - _globals['_MSGUPDATEPARAMS']._serialized_start=1499 - _globals['_MSGUPDATEPARAMS']._serialized_end=1679 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=1681 - _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=1706 - _globals['_MSG']._serialized_start=1709 - _globals['_MSG']._serialized_end=2610 + _globals['_MSGRELAYBANDRATES']._serialized_start=692 + _globals['_MSGRELAYBANDRATES']._serialized_end=899 + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_start=901 + _globals['_MSGRELAYBANDRATESRESPONSE']._serialized_end=932 + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_start=935 + _globals['_MSGRELAYCOINBASEMESSAGES']._serialized_end=1102 + _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_start=1104 + _globals['_MSGRELAYCOINBASEMESSAGESRESPONSE']._serialized_end=1138 + _globals['_MSGRELAYSTORKPRICES']._serialized_start=1141 + _globals['_MSGRELAYSTORKPRICES']._serialized_end=1277 + _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_start=1279 + _globals['_MSGRELAYSTORKPRICESRESPONSE']._serialized_end=1308 + _globals['_MSGREQUESTBANDIBCRATES']._serialized_start=1311 + _globals['_MSGREQUESTBANDIBCRATES']._serialized_end=1447 + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_start=1449 + _globals['_MSGREQUESTBANDIBCRATESRESPONSE']._serialized_end=1485 + _globals['_MSGRELAYPYTHPRICES']._serialized_start=1488 + _globals['_MSGRELAYPYTHPRICES']._serialized_end=1674 + _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_start=1676 + _globals['_MSGRELAYPYTHPRICESRESPONSE']._serialized_end=1704 + _globals['_MSGRELAYCHAINLINKPRICES']._serialized_start=1707 + _globals['_MSGRELAYCHAINLINKPRICES']._serialized_end=1881 + _globals['_MSGRELAYCHAINLINKPRICESRESPONSE']._serialized_start=1883 + _globals['_MSGRELAYCHAINLINKPRICESRESPONSE']._serialized_end=1916 + _globals['_MSGRELAYPYTHPROPRICES']._serialized_start=1918 + _globals['_MSGRELAYPYTHPROPRICES']._serialized_end=2045 + _globals['_MSGRELAYPYTHPROPRICESRESPONSE']._serialized_start=2047 + _globals['_MSGRELAYPYTHPROPRICESRESPONSE']._serialized_end=2078 + _globals['_MSGRELAYSEDAFASTPRICES']._serialized_start=2081 + _globals['_MSGRELAYSEDAFASTPRICES']._serialized_end=2210 + _globals['_MSGRELAYSEDAFASTPRICESRESPONSE']._serialized_start=2212 + _globals['_MSGRELAYSEDAFASTPRICESRESPONSE']._serialized_end=2244 + _globals['_MSGUPDATEPARAMS']._serialized_start=2247 + _globals['_MSGUPDATEPARAMS']._serialized_end=2427 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_start=2429 + _globals['_MSGUPDATEPARAMSRESPONSE']._serialized_end=2454 + _globals['_MSG']._serialized_start=2457 + _globals['_MSG']._serialized_end=3618 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py index 9aa8597a..1e60f762 100644 --- a/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py +++ b/pyinjective/proto/injective/oracle/v1beta1/tx_pb2_grpc.py @@ -45,6 +45,16 @@ def __init__(self, channel): request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayChainlinkPrices.SerializeToString, response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayChainlinkPricesResponse.FromString, _registered_method=True) + self.RelayPythProPrices = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RelayPythProPrices', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythProPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythProPricesResponse.FromString, + _registered_method=True) + self.RelaySedaFastPrices = channel.unary_unary( + '/injective.oracle.v1beta1.Msg/RelaySedaFastPrices', + request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelaySedaFastPrices.SerializeToString, + response_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelaySedaFastPricesResponse.FromString, + _registered_method=True) self.UpdateParams = channel.unary_unary( '/injective.oracle.v1beta1.Msg/UpdateParams', request_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.SerializeToString, @@ -103,6 +113,24 @@ def RelayChainlinkPrices(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def RelayPythProPrices(self, request, context): + """RelayPythProPrices defines a method for relaying price updates from the + Pyth Pro (Lazer) service, verified via the PythLazer EVM contract. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RelaySedaFastPrices(self, request, context): + """RelaySedaFastPrices defines a method for relaying price updates from the + SEDA Fast WebSocket stream. Each update carries the raw JSON envelope + received from SEDA Fast; the chain verifies the secp256k1 signature and + decodes the price on-chain. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def UpdateParams(self, request, context): """UpdateParams enables updating oracle module's params via governance """ @@ -143,6 +171,16 @@ def add_MsgServicer_to_server(servicer, server): request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayChainlinkPrices.FromString, response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayChainlinkPricesResponse.SerializeToString, ), + 'RelayPythProPrices': grpc.unary_unary_rpc_method_handler( + servicer.RelayPythProPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythProPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythProPricesResponse.SerializeToString, + ), + 'RelaySedaFastPrices': grpc.unary_unary_rpc_method_handler( + servicer.RelaySedaFastPrices, + request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelaySedaFastPrices.FromString, + response_serializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelaySedaFastPricesResponse.SerializeToString, + ), 'UpdateParams': grpc.unary_unary_rpc_method_handler( servicer.UpdateParams, request_deserializer=injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgUpdateParams.FromString, @@ -322,6 +360,60 @@ def RelayChainlinkPrices(request, metadata, _registered_method=True) + @staticmethod + def RelayPythProPrices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RelayPythProPrices', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythProPrices.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelayPythProPricesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RelaySedaFastPrices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/injective.oracle.v1beta1.Msg/RelaySedaFastPrices', + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelaySedaFastPrices.SerializeToString, + injective_dot_oracle_dot_v1beta1_dot_tx__pb2.MsgRelaySedaFastPricesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + @staticmethod def UpdateParams(request, target, diff --git a/pyinjective/proto/injective/peggy/v1/params_pb2.py b/pyinjective/proto/injective/peggy/v1/params_pb2.py index 5d33a1e8..f2db4bea 100644 --- a/pyinjective/proto/injective/peggy/v1/params_pb2.py +++ b/pyinjective/proto/injective/peggy/v1/params_pb2.py @@ -17,7 +17,7 @@ from pyinjective.proto.amino import amino_pb2 as amino_dot_amino__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/params.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xa6\x0b\n\x06Params\x12\x19\n\x08peggy_id\x18\x01 \x01(\tR\x07peggyId\x12\x30\n\x14\x63ontract_source_hash\x18\x02 \x01(\tR\x12\x63ontractSourceHash\x12\x36\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\tR\x15\x62ridgeEthereumAddress\x12&\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04R\rbridgeChainId\x12\x32\n\x15signed_valsets_window\x18\x05 \x01(\x04R\x13signedValsetsWindow\x12\x32\n\x15signed_batches_window\x18\x06 \x01(\x04R\x13signedBatchesWindow\x12\x30\n\x14signed_claims_window\x18\x07 \x01(\x04R\x12signedClaimsWindow\x12\x30\n\x14target_batch_timeout\x18\x08 \x01(\x04R\x12targetBatchTimeout\x12,\n\x12\x61verage_block_time\x18\t \x01(\x04R\x10\x61verageBlockTime\x12=\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04R\x18\x61verageEthereumBlockTime\x12W\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13slashFractionValset\x12U\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionBatch\x12U\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionClaim\x12l\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dslashFractionConflictingClaim\x12\x43\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04R\x1bunbondSlashingValsetsWindow\x12k\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cslashFractionBadEthSignature\x12*\n\x11\x63osmos_coin_denom\x18\x11 \x01(\tR\x0f\x63osmosCoinDenom\x12;\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\tR\x17\x63osmosCoinErc20Contract\x12\x34\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08R\x14\x63laimSlashingEnabled\x12?\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04R\x19\x62ridgeContractStartHeight\x12\x44\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0cvalsetReward\x12\x16\n\x06\x61\x64mins\x18\x16 \x03(\tR\x06\x61\x64mins\x12:\n\x19segregated_wallet_address\x18\x17 \x01(\tR\x17segregatedWalletAddress:\x15\x80\xdc \x00\x8a\xe7\xb0*\x0cpeggy/ParamsB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0bParamsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/peggy/v1/params.proto\x12\x12injective.peggy.v1\x1a\x14gogoproto/gogo.proto\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x11\x61mino/amino.proto\"\xb4\x0b\n\x06Params\x12\x19\n\x08peggy_id\x18\x01 \x01(\tR\x07peggyId\x12\x30\n\x14\x63ontract_source_hash\x18\x02 \x01(\tR\x12\x63ontractSourceHash\x12\x36\n\x17\x62ridge_ethereum_address\x18\x03 \x01(\tR\x15\x62ridgeEthereumAddress\x12&\n\x0f\x62ridge_chain_id\x18\x04 \x01(\x04R\rbridgeChainId\x12\x32\n\x15signed_valsets_window\x18\x05 \x01(\x04R\x13signedValsetsWindow\x12\x32\n\x15signed_batches_window\x18\x06 \x01(\x04R\x13signedBatchesWindow\x12\x30\n\x14signed_claims_window\x18\x07 \x01(\x04R\x12signedClaimsWindow\x12\x30\n\x14target_batch_timeout\x18\x08 \x01(\x04R\x12targetBatchTimeout\x12,\n\x12\x61verage_block_time\x18\t \x01(\x04R\x10\x61verageBlockTime\x12=\n\x1b\x61verage_ethereum_block_time\x18\n \x01(\x04R\x18\x61verageEthereumBlockTime\x12Y\n\x15slash_fraction_valset\x18\x0b \x01(\x0c\x42%\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x13slashFractionValset\x12W\n\x14slash_fraction_batch\x18\x0c \x01(\x0c\x42%\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionBatch\x12W\n\x14slash_fraction_claim\x18\r \x01(\x0c\x42%\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x12slashFractionClaim\x12n\n slash_fraction_conflicting_claim\x18\x0e \x01(\x0c\x42%\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1dslashFractionConflictingClaim\x12\x43\n\x1eunbond_slashing_valsets_window\x18\x0f \x01(\x04R\x1bunbondSlashingValsetsWindow\x12m\n slash_fraction_bad_eth_signature\x18\x10 \x01(\x0c\x42%\x18\x01\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x1cslashFractionBadEthSignature\x12*\n\x11\x63osmos_coin_denom\x18\x11 \x01(\tR\x0f\x63osmosCoinDenom\x12;\n\x1a\x63osmos_coin_erc20_contract\x18\x12 \x01(\tR\x17\x63osmosCoinErc20Contract\x12\x38\n\x16\x63laim_slashing_enabled\x18\x13 \x01(\x08\x42\x02\x18\x01R\x14\x63laimSlashingEnabled\x12?\n\x1c\x62ridge_contract_start_height\x18\x14 \x01(\x04R\x19\x62ridgeContractStartHeight\x12\x44\n\rvalset_reward\x18\x15 \x01(\x0b\x32\x19.cosmos.base.v1beta1.CoinB\x04\xc8\xde\x1f\x00R\x0cvalsetReward\x12\x16\n\x06\x61\x64mins\x18\x16 \x03(\tR\x06\x61\x64mins\x12:\n\x19segregated_wallet_address\x18\x17 \x01(\tR\x17segregatedWalletAddress:\x15\x80\xdc \x00\x8a\xe7\xb0*\x0cpeggy/ParamsB\xdc\x01\n\x16\x63om.injective.peggy.v1B\x0bParamsProtoP\x01ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\xa2\x02\x03IPX\xaa\x02\x12Injective.Peggy.V1\xca\x02\x12Injective\\Peggy\\V1\xe2\x02\x1eInjective\\Peggy\\V1\\GPBMetadata\xea\x02\x14Injective::Peggy::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,19 +26,21 @@ _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n\026com.injective.peggy.v1B\013ParamsProtoP\001ZKgithub.com/InjectiveLabs/injective-core/injective-chain/modules/peggy/types\242\002\003IPX\252\002\022Injective.Peggy.V1\312\002\022Injective\\Peggy\\V1\342\002\036Injective\\Peggy\\V1\\GPBMetadata\352\002\024Injective::Peggy::V1' _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_valset']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_batch']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_claim']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_conflicting_claim']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._loaded_options = None - _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['slash_fraction_bad_eth_signature']._serialized_options = b'\030\001\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' + _globals['_PARAMS'].fields_by_name['claim_slashing_enabled']._loaded_options = None + _globals['_PARAMS'].fields_by_name['claim_slashing_enabled']._serialized_options = b'\030\001' _globals['_PARAMS'].fields_by_name['valset_reward']._loaded_options = None _globals['_PARAMS'].fields_by_name['valset_reward']._serialized_options = b'\310\336\037\000' _globals['_PARAMS']._loaded_options = None _globals['_PARAMS']._serialized_options = b'\200\334 \000\212\347\260*\014peggy/Params' _globals['_PARAMS']._serialized_start=129 - _globals['_PARAMS']._serialized_end=1575 + _globals['_PARAMS']._serialized_end=1589 # @@protoc_insertion_point(module_scope) diff --git a/pyinjective/proto/injective/stream/v2/query_pb2.py b/pyinjective/proto/injective/stream/v2/query_pb2.py index b79774c3..cca264d1 100644 --- a/pyinjective/proto/injective/stream/v2/query_pb2.py +++ b/pyinjective/proto/injective/stream/v2/query_pb2.py @@ -19,7 +19,7 @@ from pyinjective.proto.injective.exchange.v2 import order_pb2 as injective_dot_exchange_dot_v2_dot_order__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/stream/v2/query.proto\x12\x13injective.stream.v2\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\"injective/exchange/v2/events.proto\x1a$injective/exchange/v2/exchange.proto\x1a!injective/exchange/v2/order.proto\"\xdd\t\n\rStreamRequest\x12_\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32\'.injective.stream.v2.BankBalancesFilterB\x04\xc8\xde\x1f\x01R\x12\x62\x61nkBalancesFilter\x12q\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32-.injective.stream.v2.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01R\x18subaccountDepositsFilter\x12U\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32!.injective.stream.v2.TradesFilterB\x04\xc8\xde\x1f\x01R\x10spotTradesFilter\x12\x61\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32!.injective.stream.v2.TradesFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeTradesFilter\x12U\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32!.injective.stream.v2.OrdersFilterB\x04\xc8\xde\x1f\x01R\x10spotOrdersFilter\x12\x61\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32!.injective.stream.v2.OrdersFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeOrdersFilter\x12`\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32$.injective.stream.v2.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x14spotOrderbooksFilter\x12l\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32$.injective.stream.v2.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x1a\x64\x65rivativeOrderbooksFilter\x12U\n\x10positions_filter\x18\t \x01(\x0b\x32$.injective.stream.v2.PositionsFilterB\x04\xc8\xde\x1f\x01R\x0fpositionsFilter\x12\\\n\x13oracle_price_filter\x18\n \x01(\x0b\x32&.injective.stream.v2.OraclePriceFilterB\x04\xc8\xde\x1f\x01R\x11oraclePriceFilter\x12\x62\n\x15order_failures_filter\x18\x0b \x01(\x0b\x32(.injective.stream.v2.OrderFailuresFilterB\x04\xc8\xde\x1f\x01R\x13orderFailuresFilter\x12\x9a\x01\n)conditional_order_trigger_failures_filter\x18\x0c \x01(\x0b\x32:.injective.stream.v2.ConditionalOrderTriggerFailuresFilterB\x04\xc8\xde\x1f\x01R%conditionalOrderTriggerFailuresFilter\"\xe5\x08\n\x0eStreamResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x02 \x01(\x03R\tblockTime\x12\x45\n\rbank_balances\x18\x03 \x03(\x0b\x32 .injective.stream.v2.BankBalanceR\x0c\x62\x61nkBalances\x12X\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32\'.injective.stream.v2.SubaccountDepositsR\x12subaccountDeposits\x12?\n\x0bspot_trades\x18\x05 \x03(\x0b\x32\x1e.injective.stream.v2.SpotTradeR\nspotTrades\x12Q\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32$.injective.stream.v2.DerivativeTradeR\x10\x64\x65rivativeTrades\x12\x45\n\x0bspot_orders\x18\x07 \x03(\x0b\x32$.injective.stream.v2.SpotOrderUpdateR\nspotOrders\x12W\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32*.injective.stream.v2.DerivativeOrderUpdateR\x10\x64\x65rivativeOrders\x12Z\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32$.injective.stream.v2.OrderbookUpdateR\x14spotOrderbookUpdates\x12\x66\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32$.injective.stream.v2.OrderbookUpdateR\x1a\x64\x65rivativeOrderbookUpdates\x12;\n\tpositions\x18\x0b \x03(\x0b\x32\x1d.injective.stream.v2.PositionR\tpositions\x12\x45\n\roracle_prices\x18\x0c \x03(\x0b\x32 .injective.stream.v2.OraclePriceR\x0coraclePrices\x12\x1b\n\tgas_price\x18\r \x01(\tR\x08gasPrice\x12N\n\x0eorder_failures\x18\x0e \x03(\x0b\x32\'.injective.stream.v2.OrderFailureUpdateR\rorderFailures\x12\x86\x01\n\"conditional_order_trigger_failures\x18\x0f \x03(\x0b\x32\x39.injective.stream.v2.ConditionalOrderTriggerFailureUpdateR\x1f\x63onditionalOrderTriggerFailures\"a\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12<\n\torderbook\x18\x02 \x01(\x0b\x32\x1e.injective.stream.v2.OrderbookR\torderbook\"\xa4\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12;\n\nbuy_levels\x18\x02 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\tbuyLevels\x12=\n\x0bsell_levels\x18\x03 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\nsellLevels\"\x90\x01\n\x0b\x42\x61nkBalance\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12g\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x62\x61lances\"\x83\x01\n\x12SubaccountDeposits\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12H\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32&.injective.stream.v2.SubaccountDepositB\x04\xc8\xde\x1f\x00R\x08\x64\x65posits\"i\n\x11SubaccountDeposit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12>\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\"\xb8\x01\n\x0fSpotOrderUpdate\x12>\n\x06status\x18\x01 \x01(\x0e\x32&.injective.stream.v2.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x34\n\x05order\x18\x04 \x01(\x0b\x32\x1e.injective.stream.v2.SpotOrderR\x05order\"k\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v2.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"\xc4\x01\n\x15\x44\x65rivativeOrderUpdate\x12>\n\x06status\x18\x01 \x01(\x0e\x32&.injective.stream.v2.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12:\n\x05order\x18\x04 \x01(\x0b\x32$.injective.stream.v2.DerivativeOrderR\x05order\"\x94\x01\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\x12\x1b\n\tis_market\x18\x03 \x01(\x08R\x08isMarket\"\x87\x03\n\x08Position\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06isLong\x18\x03 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"t\n\x0bOraclePrice\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\"\xc3\x03\n\tSpotTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x06 \x01(\tR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"\xd7\x03\n\x0f\x44\x65rivativeTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12K\n\x0eposition_delta\x18\x05 \x01(\x0b\x32$.injective.exchange.v2.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"~\n\x12OrderFailureUpdate\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x1d\n\norder_hash\x18\x02 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x1d\n\nerror_code\x18\x04 \x01(\rR\terrorCode\"\x8a\x02\n$ConditionalOrderTriggerFailureUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x42\n\nmark_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\x12+\n\x11\x65rror_description\x18\x06 \x01(\tR\x10\x65rrorDescription\"T\n\x0cTradesFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"W\n\x0fPositionsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"T\n\x0cOrdersFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"0\n\x0fOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"0\n\x12\x42\x61nkBalancesFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\"A\n\x18SubaccountDepositsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\"+\n\x11OraclePriceFilter\x12\x16\n\x06symbol\x18\x01 \x03(\tR\x06symbol\"1\n\x13OrderFailuresFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\"m\n%ConditionalOrderTriggerFailuresFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds*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\x32_\n\x06Stream\x12U\n\x08StreamV2\x12\".injective.stream.v2.StreamRequest\x1a#.injective.stream.v2.StreamResponse0\x01\x42\xdc\x01\n\x17\x63om.injective.stream.v2B\nQueryProtoP\x01ZGgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types/v2\xa2\x02\x03ISX\xaa\x02\x13Injective.Stream.V2\xca\x02\x13Injective\\Stream\\V2\xe2\x02\x1fInjective\\Stream\\V2\\GPBMetadata\xea\x02\x15Injective::Stream::V2b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1finjective/stream/v2/query.proto\x12\x13injective.stream.v2\x1a\x1e\x63osmos/base/v1beta1/coin.proto\x1a\x14gogoproto/gogo.proto\x1a\"injective/exchange/v2/events.proto\x1a$injective/exchange/v2/exchange.proto\x1a!injective/exchange/v2/order.proto\"\xdd\t\n\rStreamRequest\x12_\n\x14\x62\x61nk_balances_filter\x18\x01 \x01(\x0b\x32\'.injective.stream.v2.BankBalancesFilterB\x04\xc8\xde\x1f\x01R\x12\x62\x61nkBalancesFilter\x12q\n\x1asubaccount_deposits_filter\x18\x02 \x01(\x0b\x32-.injective.stream.v2.SubaccountDepositsFilterB\x04\xc8\xde\x1f\x01R\x18subaccountDepositsFilter\x12U\n\x12spot_trades_filter\x18\x03 \x01(\x0b\x32!.injective.stream.v2.TradesFilterB\x04\xc8\xde\x1f\x01R\x10spotTradesFilter\x12\x61\n\x18\x64\x65rivative_trades_filter\x18\x04 \x01(\x0b\x32!.injective.stream.v2.TradesFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeTradesFilter\x12U\n\x12spot_orders_filter\x18\x05 \x01(\x0b\x32!.injective.stream.v2.OrdersFilterB\x04\xc8\xde\x1f\x01R\x10spotOrdersFilter\x12\x61\n\x18\x64\x65rivative_orders_filter\x18\x06 \x01(\x0b\x32!.injective.stream.v2.OrdersFilterB\x04\xc8\xde\x1f\x01R\x16\x64\x65rivativeOrdersFilter\x12`\n\x16spot_orderbooks_filter\x18\x07 \x01(\x0b\x32$.injective.stream.v2.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x14spotOrderbooksFilter\x12l\n\x1c\x64\x65rivative_orderbooks_filter\x18\x08 \x01(\x0b\x32$.injective.stream.v2.OrderbookFilterB\x04\xc8\xde\x1f\x01R\x1a\x64\x65rivativeOrderbooksFilter\x12U\n\x10positions_filter\x18\t \x01(\x0b\x32$.injective.stream.v2.PositionsFilterB\x04\xc8\xde\x1f\x01R\x0fpositionsFilter\x12\\\n\x13oracle_price_filter\x18\n \x01(\x0b\x32&.injective.stream.v2.OraclePriceFilterB\x04\xc8\xde\x1f\x01R\x11oraclePriceFilter\x12\x62\n\x15order_failures_filter\x18\x0b \x01(\x0b\x32(.injective.stream.v2.OrderFailuresFilterB\x04\xc8\xde\x1f\x01R\x13orderFailuresFilter\x12\x9a\x01\n)conditional_order_trigger_failures_filter\x18\x0c \x01(\x0b\x32:.injective.stream.v2.ConditionalOrderTriggerFailuresFilterB\x04\xc8\xde\x1f\x01R%conditionalOrderTriggerFailuresFilter\"\xe5\x08\n\x0eStreamResponse\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\x12\x1d\n\nblock_time\x18\x02 \x01(\x03R\tblockTime\x12\x45\n\rbank_balances\x18\x03 \x03(\x0b\x32 .injective.stream.v2.BankBalanceR\x0c\x62\x61nkBalances\x12X\n\x13subaccount_deposits\x18\x04 \x03(\x0b\x32\'.injective.stream.v2.SubaccountDepositsR\x12subaccountDeposits\x12?\n\x0bspot_trades\x18\x05 \x03(\x0b\x32\x1e.injective.stream.v2.SpotTradeR\nspotTrades\x12Q\n\x11\x64\x65rivative_trades\x18\x06 \x03(\x0b\x32$.injective.stream.v2.DerivativeTradeR\x10\x64\x65rivativeTrades\x12\x45\n\x0bspot_orders\x18\x07 \x03(\x0b\x32$.injective.stream.v2.SpotOrderUpdateR\nspotOrders\x12W\n\x11\x64\x65rivative_orders\x18\x08 \x03(\x0b\x32*.injective.stream.v2.DerivativeOrderUpdateR\x10\x64\x65rivativeOrders\x12Z\n\x16spot_orderbook_updates\x18\t \x03(\x0b\x32$.injective.stream.v2.OrderbookUpdateR\x14spotOrderbookUpdates\x12\x66\n\x1c\x64\x65rivative_orderbook_updates\x18\n \x03(\x0b\x32$.injective.stream.v2.OrderbookUpdateR\x1a\x64\x65rivativeOrderbookUpdates\x12;\n\tpositions\x18\x0b \x03(\x0b\x32\x1d.injective.stream.v2.PositionR\tpositions\x12\x45\n\roracle_prices\x18\x0c \x03(\x0b\x32 .injective.stream.v2.OraclePriceR\x0coraclePrices\x12\x1b\n\tgas_price\x18\r \x01(\tR\x08gasPrice\x12N\n\x0eorder_failures\x18\x0e \x03(\x0b\x32\'.injective.stream.v2.OrderFailureUpdateR\rorderFailures\x12\x86\x01\n\"conditional_order_trigger_failures\x18\x0f \x03(\x0b\x32\x39.injective.stream.v2.ConditionalOrderTriggerFailureUpdateR\x1f\x63onditionalOrderTriggerFailures\"a\n\x0fOrderbookUpdate\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12<\n\torderbook\x18\x02 \x01(\x0b\x32\x1e.injective.stream.v2.OrderbookR\torderbook\"\xa4\x01\n\tOrderbook\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12;\n\nbuy_levels\x18\x02 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\tbuyLevels\x12=\n\x0bsell_levels\x18\x03 \x03(\x0b\x32\x1c.injective.exchange.v2.LevelR\nsellLevels\"\x90\x01\n\x0b\x42\x61nkBalance\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12g\n\x08\x62\x61lances\x18\x02 \x03(\x0b\x32\x19.cosmos.base.v1beta1.CoinB0\xc8\xde\x1f\x00\xaa\xdf\x1f(github.com/cosmos/cosmos-sdk/types.CoinsR\x08\x62\x61lances\"\x83\x01\n\x12SubaccountDeposits\x12#\n\rsubaccount_id\x18\x01 \x01(\tR\x0csubaccountId\x12H\n\x08\x64\x65posits\x18\x02 \x03(\x0b\x32&.injective.stream.v2.SubaccountDepositB\x04\xc8\xde\x1f\x00R\x08\x64\x65posits\"i\n\x11SubaccountDeposit\x12\x14\n\x05\x64\x65nom\x18\x01 \x01(\tR\x05\x64\x65nom\x12>\n\x07\x64\x65posit\x18\x02 \x01(\x0b\x32\x1e.injective.exchange.v2.DepositB\x04\xc8\xde\x1f\x00R\x07\x64\x65posit\"\xb8\x01\n\x0fSpotOrderUpdate\x12>\n\x06status\x18\x01 \x01(\x0e\x32&.injective.stream.v2.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x34\n\x05order\x18\x04 \x01(\x0b\x32\x1e.injective.stream.v2.SpotOrderR\x05order\"k\n\tSpotOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x41\n\x05order\x18\x02 \x01(\x0b\x32%.injective.exchange.v2.SpotLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\"\xc4\x01\n\x15\x44\x65rivativeOrderUpdate\x12>\n\x06status\x18\x01 \x01(\x0e\x32&.injective.stream.v2.OrderUpdateStatusR\x06status\x12\x1d\n\norder_hash\x18\x02 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12:\n\x05order\x18\x04 \x01(\x0b\x32$.injective.stream.v2.DerivativeOrderR\x05order\"\x94\x01\n\x0f\x44\x65rivativeOrder\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12G\n\x05order\x18\x02 \x01(\x0b\x32+.injective.exchange.v2.DerivativeLimitOrderB\x04\xc8\xde\x1f\x00R\x05order\x12\x1b\n\tis_market\x18\x03 \x01(\x08R\x08isMarket\"\x87\x03\n\x08Position\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x16\n\x06isLong\x18\x03 \x01(\x08R\x06isLong\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x44\n\x0b\x65ntry_price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\nentryPrice\x12;\n\x06margin\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06margin\x12]\n\x18\x63umulative_funding_entry\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x16\x63umulativeFundingEntry\"t\n\x0bOraclePrice\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x39\n\x05price\x18\x02 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\"\xc3\x03\n\tSpotTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12?\n\x08quantity\x18\x04 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x08quantity\x12\x39\n\x05price\x18\x05 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x05price\x12#\n\rsubaccount_id\x18\x06 \x01(\tR\x0csubaccountId\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\"\xfe\x03\n\x0f\x44\x65rivativeTrade\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12\x15\n\x06is_buy\x18\x02 \x01(\x08R\x05isBuy\x12$\n\rexecutionType\x18\x03 \x01(\tR\rexecutionType\x12#\n\rsubaccount_id\x18\x04 \x01(\tR\x0csubaccountId\x12K\n\x0eposition_delta\x18\x05 \x01(\x0b\x32$.injective.exchange.v2.PositionDeltaR\rpositionDelta\x12;\n\x06payout\x18\x06 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x06payout\x12\x35\n\x03\x66\x65\x65\x18\x07 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\x03\x66\x65\x65\x12\x1d\n\norder_hash\x18\x08 \x01(\tR\torderHash\x12\x38\n\x15\x66\x65\x65_recipient_address\x18\t \x01(\tB\x04\xc8\xde\x1f\x01R\x13\x66\x65\x65RecipientAddress\x12\x10\n\x03\x63id\x18\n \x01(\tR\x03\x63id\x12\x19\n\x08trade_id\x18\x0b \x01(\tR\x07tradeId\x12%\n\x0eis_liquidation\x18\x0c \x01(\x08R\risLiquidation\"~\n\x12OrderFailureUpdate\x12\x18\n\x07\x61\x63\x63ount\x18\x01 \x01(\tR\x07\x61\x63\x63ount\x12\x1d\n\norder_hash\x18\x02 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x03 \x01(\tR\x03\x63id\x12\x1d\n\nerror_code\x18\x04 \x01(\rR\terrorCode\"\x8a\x02\n$ConditionalOrderTriggerFailureUpdate\x12\x1b\n\tmarket_id\x18\x01 \x01(\tR\x08marketId\x12#\n\rsubaccount_id\x18\x02 \x01(\tR\x0csubaccountId\x12\x42\n\nmark_price\x18\x03 \x01(\tB#\xc8\xde\x1f\x00\xda\xde\x1f\x1b\x63osmossdk.io/math.LegacyDecR\tmarkPrice\x12\x1d\n\norder_hash\x18\x04 \x01(\tR\torderHash\x12\x10\n\x03\x63id\x18\x05 \x01(\tR\x03\x63id\x12+\n\x11\x65rror_description\x18\x06 \x01(\tR\x10\x65rrorDescription\"T\n\x0cTradesFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"W\n\x0fPositionsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"T\n\x0cOrdersFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds\"0\n\x0fOrderbookFilter\x12\x1d\n\nmarket_ids\x18\x01 \x03(\tR\tmarketIds\"0\n\x12\x42\x61nkBalancesFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\"A\n\x18SubaccountDepositsFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\"+\n\x11OraclePriceFilter\x12\x16\n\x06symbol\x18\x01 \x03(\tR\x06symbol\"1\n\x13OrderFailuresFilter\x12\x1a\n\x08\x61\x63\x63ounts\x18\x01 \x03(\tR\x08\x61\x63\x63ounts\"m\n%ConditionalOrderTriggerFailuresFilter\x12%\n\x0esubaccount_ids\x18\x01 \x03(\tR\rsubaccountIds\x12\x1d\n\nmarket_ids\x18\x02 \x03(\tR\tmarketIds*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\x32_\n\x06Stream\x12U\n\x08StreamV2\x12\".injective.stream.v2.StreamRequest\x1a#.injective.stream.v2.StreamResponse0\x01\x42\xdc\x01\n\x17\x63om.injective.stream.v2B\nQueryProtoP\x01ZGgithub.com/InjectiveLabs/injective-core/injective-chain/stream/types/v2\xa2\x02\x03ISX\xaa\x02\x13Injective.Stream.V2\xca\x02\x13Injective\\Stream\\V2\xe2\x02\x1fInjective\\Stream\\V2\\GPBMetadata\xea\x02\x15Injective::Stream::V2b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -87,8 +87,8 @@ _globals['_DERIVATIVETRADE'].fields_by_name['fee_recipient_address']._serialized_options = b'\310\336\037\001' _globals['_CONDITIONALORDERTRIGGERFAILUREUPDATE'].fields_by_name['mark_price']._loaded_options = None _globals['_CONDITIONALORDERTRIGGERFAILUREUPDATE'].fields_by_name['mark_price']._serialized_options = b'\310\336\037\000\332\336\037\033cosmossdk.io/math.LegacyDec' - _globals['_ORDERUPDATESTATUS']._serialized_start=6367 - _globals['_ORDERUPDATESTATUS']._serialized_end=6443 + _globals['_ORDERUPDATESTATUS']._serialized_start=6406 + _globals['_ORDERUPDATESTATUS']._serialized_end=6482 _globals['_STREAMREQUEST']._serialized_start=220 _globals['_STREAMREQUEST']._serialized_end=1465 _globals['_STREAMRESPONSE']._serialized_start=1468 @@ -118,29 +118,29 @@ _globals['_SPOTTRADE']._serialized_start=4408 _globals['_SPOTTRADE']._serialized_end=4859 _globals['_DERIVATIVETRADE']._serialized_start=4862 - _globals['_DERIVATIVETRADE']._serialized_end=5333 - _globals['_ORDERFAILUREUPDATE']._serialized_start=5335 - _globals['_ORDERFAILUREUPDATE']._serialized_end=5461 - _globals['_CONDITIONALORDERTRIGGERFAILUREUPDATE']._serialized_start=5464 - _globals['_CONDITIONALORDERTRIGGERFAILUREUPDATE']._serialized_end=5730 - _globals['_TRADESFILTER']._serialized_start=5732 - _globals['_TRADESFILTER']._serialized_end=5816 - _globals['_POSITIONSFILTER']._serialized_start=5818 - _globals['_POSITIONSFILTER']._serialized_end=5905 - _globals['_ORDERSFILTER']._serialized_start=5907 - _globals['_ORDERSFILTER']._serialized_end=5991 - _globals['_ORDERBOOKFILTER']._serialized_start=5993 - _globals['_ORDERBOOKFILTER']._serialized_end=6041 - _globals['_BANKBALANCESFILTER']._serialized_start=6043 - _globals['_BANKBALANCESFILTER']._serialized_end=6091 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=6093 - _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=6158 - _globals['_ORACLEPRICEFILTER']._serialized_start=6160 - _globals['_ORACLEPRICEFILTER']._serialized_end=6203 - _globals['_ORDERFAILURESFILTER']._serialized_start=6205 - _globals['_ORDERFAILURESFILTER']._serialized_end=6254 - _globals['_CONDITIONALORDERTRIGGERFAILURESFILTER']._serialized_start=6256 - _globals['_CONDITIONALORDERTRIGGERFAILURESFILTER']._serialized_end=6365 - _globals['_STREAM']._serialized_start=6445 - _globals['_STREAM']._serialized_end=6540 + _globals['_DERIVATIVETRADE']._serialized_end=5372 + _globals['_ORDERFAILUREUPDATE']._serialized_start=5374 + _globals['_ORDERFAILUREUPDATE']._serialized_end=5500 + _globals['_CONDITIONALORDERTRIGGERFAILUREUPDATE']._serialized_start=5503 + _globals['_CONDITIONALORDERTRIGGERFAILUREUPDATE']._serialized_end=5769 + _globals['_TRADESFILTER']._serialized_start=5771 + _globals['_TRADESFILTER']._serialized_end=5855 + _globals['_POSITIONSFILTER']._serialized_start=5857 + _globals['_POSITIONSFILTER']._serialized_end=5944 + _globals['_ORDERSFILTER']._serialized_start=5946 + _globals['_ORDERSFILTER']._serialized_end=6030 + _globals['_ORDERBOOKFILTER']._serialized_start=6032 + _globals['_ORDERBOOKFILTER']._serialized_end=6080 + _globals['_BANKBALANCESFILTER']._serialized_start=6082 + _globals['_BANKBALANCESFILTER']._serialized_end=6130 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_start=6132 + _globals['_SUBACCOUNTDEPOSITSFILTER']._serialized_end=6197 + _globals['_ORACLEPRICEFILTER']._serialized_start=6199 + _globals['_ORACLEPRICEFILTER']._serialized_end=6242 + _globals['_ORDERFAILURESFILTER']._serialized_start=6244 + _globals['_ORDERFAILURESFILTER']._serialized_end=6293 + _globals['_CONDITIONALORDERTRIGGERFAILURESFILTER']._serialized_start=6295 + _globals['_CONDITIONALORDERTRIGGERFAILURESFILTER']._serialized_end=6404 + _globals['_STREAM']._serialized_start=6484 + _globals['_STREAM']._serialized_end=6579 # @@protoc_insertion_point(module_scope) diff --git a/pyproject.toml b/pyproject.toml index 74c40c9c..8265c3b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.14.1" +version = "1.15.0-rc1" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" diff --git a/tests/client/chain/grpc/test_chain_grpc_exchange_v2_api.py b/tests/client/chain/grpc/test_chain_grpc_exchange_v2_api.py index 2a30ee7d..3ccedde6 100644 --- a/tests/client/chain/grpc/test_chain_grpc_exchange_v2_api.py +++ b/tests/client/chain/grpc/test_chain_grpc_exchange_v2_api.py @@ -1289,6 +1289,7 @@ async def test_fetch_derivative_markets( quote_decimals=6, open_notional_cap=open_notional_cap, has_disabled_minimal_protocol_fee=False, + cross_margin_eligible=False, ) market_info = market_pb.PerpetualMarketInfo( market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", @@ -1359,6 +1360,7 @@ async def test_fetch_derivative_markets( "uncapped": {}, }, "hasDisabledMinimalProtocolFee": market.has_disabled_minimal_protocol_fee, + "crossMarginEligible": market.cross_margin_eligible, }, "perpetualInfo": { "marketInfo": { @@ -1414,6 +1416,7 @@ async def test_fetch_derivative_market( admin_permissions=1, quote_decimals=6, has_disabled_minimal_protocol_fee=False, + cross_margin_eligible=False, ) market_info = market_pb.PerpetualMarketInfo( market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", @@ -1479,6 +1482,7 @@ async def test_fetch_derivative_market( "adminPermissions": market.admin_permissions, "quoteDecimals": market.quote_decimals, "hasDisabledMinimalProtocolFee": market.has_disabled_minimal_protocol_fee, + "crossMarginEligible": market.cross_margin_eligible, }, "perpetualInfo": { "marketInfo": { @@ -1690,7 +1694,10 @@ async def test_fetch_subaccount_position_in_market( cumulative_funding_entry="4000000", ) exchange_servicer.subaccount_position_in_market_responses.append( - exchange_query_pb.QuerySubaccountPositionInMarketResponse(state=position) + exchange_query_pb.QuerySubaccountPositionInMarketResponse( + state=position, + risk_mode=exchange_pb.RiskMode.RISK_MODE_ISOLATED, + ) ) api = self._api_instance(servicer=exchange_servicer) @@ -1707,6 +1714,7 @@ async def test_fetch_subaccount_position_in_market( "margin": position.margin, "cumulativeFundingEntry": position.cumulative_funding_entry, }, + "riskMode": exchange_pb.RiskMode.Name(exchange_pb.RiskMode.RISK_MODE_ISOLATED), } assert position_response == expected_position @@ -1726,7 +1734,10 @@ async def test_fetch_subaccount_effective_position_in_market( effective_margin="2000000000000000000000000000000000", ) exchange_servicer.subaccount_effective_position_in_market_responses.append( - exchange_query_pb.QuerySubaccountEffectivePositionInMarketResponse(state=effective_position) + exchange_query_pb.QuerySubaccountEffectivePositionInMarketResponse( + state=effective_position, + risk_mode=exchange_pb.RiskMode.RISK_MODE_ISOLATED, + ) ) api = self._api_instance(servicer=exchange_servicer) @@ -1742,6 +1753,7 @@ async def test_fetch_subaccount_effective_position_in_market( "entryPrice": effective_position.entry_price, "effectiveMargin": effective_position.effective_margin, }, + "riskMode": exchange_pb.RiskMode.Name(exchange_pb.RiskMode.RISK_MODE_ISOLATED), } assert position_response == expected_position 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 04bfbae3..3738d771 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 @@ -473,6 +473,7 @@ async def test_stream_v2( fee_recipient_address="inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", cid="cid1", trade_id=f"{block_height}_1", + is_liquidation=False, ) spot_order_info = order_v2_pb.OrderInfo( subaccount_id="0x5e249f0e8cb406f41de16e1bd6f6b55e7bc75add000000000000000000000004", @@ -689,6 +690,7 @@ async def test_stream_v2( "feeRecipientAddress": derivative_trade.fee_recipient_address, "cid": derivative_trade.cid, "tradeId": derivative_trade.trade_id, + "isLiquidation": derivative_trade.is_liquidation, } ], "spotOrders": [ diff --git a/tests/test_composer_v2.py b/tests/test_composer_v2.py index f48d80fd..1da90403 100644 --- a/tests/test_composer_v2.py +++ b/tests/test_composer_v2.py @@ -8,6 +8,9 @@ from pyinjective.constant import INJ_DECIMALS from pyinjective.core.network import Network from pyinjective.core.token import Token +from pyinjective.proto.injective.exchange.v2 import order_pb2 as injective_order_v2_pb +from pyinjective.proto.injective.exchange.v2 import proposal_pb2 as injective_proposal_v2_pb +from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_oracle_pb from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as permissions_pb @@ -24,6 +27,49 @@ def basic_composer(self): return composer + def test_permissions_action_enum_mirrors_proto(self): + # IntFlag excludes zero-valued members from iteration (zero means "no flags set"), + # so we compare only the non-zero proto keys. + proto_non_zero_keys = [n for n in permissions_pb.Action.keys() if permissions_pb.Action.Value(n) != 0] + assert [m.name for m in Composer.PERMISSIONS_ACTION] == proto_non_zero_keys + for name in proto_non_zero_keys: + assert Composer.PERMISSIONS_ACTION[name].value == permissions_pb.Action.Value(name) + + def test_order_type_enum_mirrors_proto(self): + proto_keys = list(injective_order_v2_pb.OrderType.keys()) + assert [m.name for m in Composer.ORDER_TYPE] == proto_keys + for name in proto_keys: + assert Composer.ORDER_TYPE[name].value == injective_order_v2_pb.OrderType.Value(name) + + def test_oracle_type_enum_mirrors_proto(self): + proto_keys = list(injective_oracle_pb.OracleType.keys()) + assert [m.name for m in Composer.ORACLE_TYPE] == proto_keys + for name in proto_keys: + assert Composer.ORACLE_TYPE[name].value == injective_oracle_pb.OracleType.Value(name) + + def test_cross_margin_eligibility_enum_mirrors_proto(self): + proto_keys = list(injective_proposal_v2_pb.CrossMarginEligibility.keys()) + assert [m.name for m in Composer.CROSS_MARGIN_ELIGIBILITY] == proto_keys + for name in proto_keys: + assert Composer.CROSS_MARGIN_ELIGIBILITY[name].value == injective_proposal_v2_pb.CrossMarginEligibility.Value(name) + + def test_order_type_enum_accepted_for_order_type_param(self, basic_composer): + market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + subaccount_id = "0x893f2abf8034627e50cbc63923120b1122503ce0000000000000000000000001" + + order = basic_composer.derivative_order( + market_id=market_id, + subaccount_id=subaccount_id, + fee_recipient="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + price=Decimal("36.1"), + quantity=Decimal("100"), + margin=Decimal("36.1") * Decimal("100"), + order_type=Composer.ORDER_TYPE.BUY, + ) + + dict_order = json_format.MessageToDict(message=order, always_print_fields_with_no_presence=True) + assert dict_order["orderType"] == "BUY" + def test_msg_create_denom(self, basic_composer: Composer): sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" subdenom = "inj-test" @@ -336,6 +382,7 @@ def test_msg_instant_perpetual_market_launch(self, basic_composer): reduce_margin_ratio = Decimal("3") cap_value = Decimal("1000") open_notional_cap = basic_composer.open_notional_cap(value=cap_value) + cross_margin_eligible = True expected_min_price_tick_size = Token.convert_value_to_extended_decimal_format(value=min_price_tick_size) expected_min_quantity_tick_size = Token.convert_value_to_extended_decimal_format(value=min_quantity_tick_size) @@ -366,6 +413,7 @@ def test_msg_instant_perpetual_market_launch(self, basic_composer): min_quantity_tick_size=min_quantity_tick_size, min_notional=min_notional, open_notional_cap=open_notional_cap, + cross_margin_eligible=cross_margin_eligible, ) expected_message = { @@ -389,6 +437,7 @@ def test_msg_instant_perpetual_market_launch(self, basic_composer): "value": f"{expected_open_notional_cap_value.normalize():f}", }, }, + "crossMarginEligible": cross_margin_eligible, } dict_message = json_format.MessageToDict( message=message, @@ -415,6 +464,7 @@ def test_msg_instant_expiry_futures_market_launch(self, basic_composer): min_notional = Decimal("2") cap_value = Decimal("1000") open_notional_cap = basic_composer.open_notional_cap(value=cap_value) + cross_margin_eligible = True expected_min_price_tick_size = Token.convert_value_to_extended_decimal_format(value=min_price_tick_size) expected_min_quantity_tick_size = Token.convert_value_to_extended_decimal_format(value=min_quantity_tick_size) @@ -446,6 +496,7 @@ def test_msg_instant_expiry_futures_market_launch(self, basic_composer): min_quantity_tick_size=min_quantity_tick_size, min_notional=min_notional, open_notional_cap=open_notional_cap, + cross_margin_eligible=cross_margin_eligible, ) expected_message = { @@ -470,6 +521,7 @@ def test_msg_instant_expiry_futures_market_launch(self, basic_composer): "value": f"{expected_open_notional_cap_value.normalize():f}", }, }, + "crossMarginEligible": cross_margin_eligible, } dict_message = json_format.MessageToDict( message=message, @@ -1451,6 +1503,70 @@ def test_msg_liquidate_position(self, basic_composer): ) assert dict_message == expected_message + def test_msg_batch_liquidate_positions(self, basic_composer): + market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + sender = "inj1apmvarl2xyv6kecx2ukkeymddw3we4zkygjyc0" + subaccount_id = "0x893f2abf8034627e50cbc63923120b1122503ce0000000000000000000000001" + second_subaccount_id = "0x156df4d5bc8e7dd9191433e54bd6a11eeb390921000000000000000000000000" + + order = basic_composer.derivative_order( + market_id=market_id, + subaccount_id=subaccount_id, + fee_recipient="inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + price=Decimal("36.1"), + quantity=Decimal("100"), + margin=Decimal("36.1") * Decimal("100"), + order_type="BUY", + ) + + liquidation_with_order = basic_composer.liquidate_position_data( + subaccount_id=subaccount_id, + market_id=market_id, + order=order, + ) + liquidation_without_order = basic_composer.liquidate_position_data( + subaccount_id=second_subaccount_id, + market_id=market_id, + ) + + message = basic_composer.msg_batch_liquidate_positions( + sender=sender, + liquidations=[liquidation_with_order, liquidation_without_order], + ) + + expected_message = { + "sender": sender, + "liquidations": [ + { + "subaccountId": subaccount_id, + "marketId": market_id, + "order": { + "marketId": market_id, + "orderInfo": { + "subaccountId": subaccount_id, + "feeRecipient": "inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r", + "price": "36100000000000000000", + "quantity": "100000000000000000000", + "cid": "", + }, + "orderType": "BUY", + "margin": "3610000000000000000000", + "triggerPrice": "0", + "expirationBlock": "0", + }, + }, + { + "subaccountId": second_subaccount_id, + "marketId": market_id, + }, + ], + } + dict_message = json_format.MessageToDict( + message=message, + always_print_fields_with_no_presence=True, + ) + assert dict_message == expected_message + def test_msg_emergency_settle_market(self, basic_composer): market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" @@ -1632,6 +1748,7 @@ def test_msg_update_derivative_market(self, basic_composer): initial_margin_ratio = Decimal("0.05") maintenance_margin_ratio = Decimal("0.009") reduce_margin_ration = Decimal("3") + cross_margin_eligibility = Composer.CROSS_MARGIN_ELIGIBILITY.CM_ELIGIBILITY_ELIGIBLE expected_min_price_tick_size = Token.convert_value_to_extended_decimal_format(value=min_price_tick_size) expected_min_quantity_tick_size = Token.convert_value_to_extended_decimal_format(value=min_quantity_tick_size) @@ -1656,6 +1773,7 @@ def test_msg_update_derivative_market(self, basic_composer): new_maintenance_margin_ratio=maintenance_margin_ratio, new_reduce_margin_ratio=reduce_margin_ration, new_open_notional_cap=open_notional_cap, + cross_margin_eligibility=cross_margin_eligibility, ) expected_message = { @@ -1673,6 +1791,7 @@ def test_msg_update_derivative_market(self, basic_composer): "value": f"{expected_open_notional_cap_value.normalize():f}", }, }, + "crossMarginEligibility": cross_margin_eligibility.name, } dict_message = json_format.MessageToDict( message=message, From fd12616dda9f9bcfac5b18f4e09507191a069977 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Mon, 18 May 2026 17:52:11 -0300 Subject: [PATCH 2/3] (fix) Fix failing tests --- pyinjective/composer_v2.py | 4 +--- tests/test_composer_v2.py | 22 ++++++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/pyinjective/composer_v2.py b/pyinjective/composer_v2.py index f92364e4..1d64e7e8 100644 --- a/pyinjective/composer_v2.py +++ b/pyinjective/composer_v2.py @@ -1122,9 +1122,7 @@ def msg_batch_liquidate_positions( sender: str, liquidations: List[injective_exchange_tx_v2_pb.LiquidatePositionData], ) -> injective_exchange_tx_v2_pb.MsgBatchLiquidatePositions: - return injective_exchange_tx_v2_pb.MsgBatchLiquidatePositions( - sender=sender, liquidations=liquidations - ) + return injective_exchange_tx_v2_pb.MsgBatchLiquidatePositions(sender=sender, liquidations=liquidations) def msg_emergency_settle_market( self, diff --git a/tests/test_composer_v2.py b/tests/test_composer_v2.py index 1da90403..c560a7d4 100644 --- a/tests/test_composer_v2.py +++ b/tests/test_composer_v2.py @@ -8,8 +8,10 @@ from pyinjective.constant import INJ_DECIMALS from pyinjective.core.network import Network from pyinjective.core.token import Token -from pyinjective.proto.injective.exchange.v2 import order_pb2 as injective_order_v2_pb -from pyinjective.proto.injective.exchange.v2 import proposal_pb2 as injective_proposal_v2_pb +from pyinjective.proto.injective.exchange.v2 import ( + order_pb2 as injective_order_v2_pb, + proposal_pb2 as injective_proposal_v2_pb, +) from pyinjective.proto.injective.oracle.v1beta1 import oracle_pb2 as injective_oracle_pb from pyinjective.proto.injective.permissions.v1beta1 import permissions_pb2 as permissions_pb @@ -28,12 +30,14 @@ def basic_composer(self): return composer def test_permissions_action_enum_mirrors_proto(self): - # IntFlag excludes zero-valued members from iteration (zero means "no flags set"), - # so we compare only the non-zero proto keys. - proto_non_zero_keys = [n for n in permissions_pb.Action.keys() if permissions_pb.Action.Value(n) != 0] - assert [m.name for m in Composer.PERMISSIONS_ACTION] == proto_non_zero_keys - for name in proto_non_zero_keys: + proto_keys = list(permissions_pb.Action.keys()) + # Bracket access works for all members including zero-valued ones across all Python versions. + for name in proto_keys: assert Composer.PERMISSIONS_ACTION[name].value == permissions_pb.Action.Value(name) + # IntFlag iteration excludes zero-valued members in Python >=3.11 but includes them in + # Python <=3.10, so we filter by value on both sides to get a version-independent comparison. + proto_non_zero_names = [n for n in proto_keys if permissions_pb.Action.Value(n) != 0] + assert [m.name for m in Composer.PERMISSIONS_ACTION if m.value != 0] == proto_non_zero_names def test_order_type_enum_mirrors_proto(self): proto_keys = list(injective_order_v2_pb.OrderType.keys()) @@ -51,7 +55,9 @@ def test_cross_margin_eligibility_enum_mirrors_proto(self): proto_keys = list(injective_proposal_v2_pb.CrossMarginEligibility.keys()) assert [m.name for m in Composer.CROSS_MARGIN_ELIGIBILITY] == proto_keys for name in proto_keys: - assert Composer.CROSS_MARGIN_ELIGIBILITY[name].value == injective_proposal_v2_pb.CrossMarginEligibility.Value(name) + assert Composer.CROSS_MARGIN_ELIGIBILITY[ + name + ].value == injective_proposal_v2_pb.CrossMarginEligibility.Value(name) def test_order_type_enum_accepted_for_order_type_param(self, basic_composer): market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" From 54470d4b6bd812345bcf7cc74ccb1f984c0a580d Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Mon, 18 May 2026 19:30:48 -0300 Subject: [PATCH 3/3] (fix) Fixed issues detected by CodeRabbit --- CHANGELOG.md | 2 +- MAINTAINERS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f667da00..a54c014d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file. - Exposed `OrderType`, `OracleType`, and `CrossMarginEligibility` proto enums as `IntEnum` class attributes on the v2 `Composer` (`Composer.ORDER_TYPE`, `Composer.ORACLE_TYPE`, `Composer.CROSS_MARGIN_ELIGIBILITY`) for IDE discoverability and type safety. The `order_type` and `oracle_type` parameters in composer methods now accept either the string name or an integer / enum value (backward-compatible); `cross_margin_eligibility` (newly introduced this release) accepts only the `Composer.CROSS_MARGIN_ELIGIBILITY` enum. ### Changed -- Updated all compiled protos for compatibility with Injective core v1.20.0 and Indexer v1.19.41ß +- Updated all compiled protos for compatibility with Injective core v1.20.0 and Indexer v1.19.41 ## [1.14.1] - 2026-04-29 ### Changed diff --git a/MAINTAINERS.md b/MAINTAINERS.md index cee8ddde..8c45da80 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -14,7 +14,7 @@ The following tools must be installed before running any maintenance commands. | `git` | Repository operations | `brew install git` | | `make` | Task runner | bundled with Xcode CLT | | `poetry` | Python packaging | [python-poetry.org/docs](https://python-poetry.org/docs/#installation) | -| Python 3.9+ | Runtime | `brew install python` | +| Python 3.10+ | Runtime | `brew install python` | > **macOS only**: The `fix-generated-proto-imports` step inside `make gen` uses the BSD `sed -i ""` syntax. On Linux, `sed -i ""` must be replaced with `sed -i`. All maintainers are expected to run proto generation on macOS or adapt the command in the `Makefile` accordingly.