diff --git a/Makefile b/Makefile
index a11cd176..8e281fc2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,17 @@
# Repository versions and URLs
-COSMOS_SDK_VERSION := v0.50.13-evm-comet1-inj.3
+COSMOS_SDK_VERSION := v0.50.13-evm-comet1-inj.6
COSMOS_SDK_REPO := https://github.com/InjectiveLabs/cosmos-sdk.git
-INJECTIVE_CORE_VERSION := v1.16.0
+INJECTIVE_CORE_VERSION := v1.16.4
INJECTIVE_CORE_REPO := https://github.com/InjectiveLabs/injective-core.git
-INDEXER_VERSION := v1.16.54
+INDEXER_VERSION := v1.16.91
INDEXER_REPO := https://github.com/InjectiveLabs/injective-indexer.git
-PYTHON_SDK_VERSION := v1.11.0
+PYTHON_SDK_VERSION := v1.11.2
PYTHON_SDK_REPO := https://github.com/InjectiveLabs/sdk-python.git
-GO_SDK_VERSION := v1.58.0
+GO_SDK_VERSION := v1.58.3
GO_SDK_REPO := https://github.com/InjectiveLabs/sdk-go.git
# Temporary directories
diff --git a/source/includes/_binaryoptions.md b/source/includes/_binaryoptions.md
index 656ed52d..d19ff792 100644
--- a/source/includes/_binaryoptions.md
+++ b/source/includes/_binaryoptions.md
@@ -316,7 +316,7 @@ func main() {
OracleSymbol: "UFC-KHABIB-TKO-05/30/2023",
OracleProvider: "UFC",
OracleType: oracletypes.OracleType_Provider,
- OracleScaleFactor: 6,
+ OracleScaleFactor: 0,
MakerFeeRate: math.LegacyMustNewDecFromStr("0.0005"),
TakerFeeRate: math.LegacyMustNewDecFromStr("0.0010"),
ExpirationTimestamp: 1680730982,
diff --git a/source/includes/_chainexchange.md b/source/includes/_chainexchange.md
index dc55b5af..4b66b335 100644
--- a/source/includes/_chainexchange.md
+++ b/source/includes/_chainexchange.md
@@ -129,7 +129,9 @@ func main() {
```
-
+
+
| Parameter | Type | Description | Required |
|---|
| subaccount_id | string | the subaccount ID | Yes |
+| subaccount | Subaccount | the subaccount details | No |
@@ -137,6 +139,8 @@ func main() {
**Subaccount**
+| Parameter | Type | Description |
|---|
| trader | string | the subaccount's trader address |
+| subaccount_nonce | uint32 | the subaccount's nonce number |
### Response Parameters
diff --git a/source/includes/_chainstream.md b/source/includes/_chainstream.md
index 541cd0c3..3d0f5f7a 100644
--- a/source/includes/_chainstream.md
+++ b/source/includes/_chainstream.md
@@ -200,65 +200,76 @@ func main() {
```
-
+
+| Parameter | Type | Description | Required |
|---|
| bank_balances_filter | BankBalancesFilter | filter for bank balances events | No |
+| subaccount_deposits_filter | SubaccountDepositsFilter | filter for subaccount deposits events | No |
+| spot_trades_filter | TradesFilter | filter for spot trades events | No |
+| derivative_trades_filter | TradesFilter | filter for derivative trades events | No |
+| spot_orders_filter | OrdersFilter | filter for spot orders events | No |
+| derivative_orders_filter | OrdersFilter | filter for derivative orders events | No |
+| spot_orderbooks_filter | OrderbookFilter | filter for spot orderbooks events | No |
+| derivative_orderbooks_filter | OrderbookFilter | filter for derivative orderbooks events | No |
+| positions_filter | PositionsFilter | filter for positions events | No |
+| oracle_price_filter | OraclePriceFilter | filter for oracle prices events | No |
**BankBalancesFilter**
-
+
+| Parameter | Type | Description |
|---|
| accounts | string array | list of account addresses to filter by |
**SubaccountDepositsFilter**
-
-| Parameter | Type | Description |
|---|
| subaccount_ids | string array | |
+
+| Parameter | Type | Description |
|---|
| subaccount_ids | string array | list of subaccount IDs to filter by |
**TradesFilter**
-
-| Parameter | Type | Description |
|---|
| subaccount_ids | string array | |
-| market_ids | string array | |
+
+| Parameter | Type | Description |
|---|
| subaccount_ids | string array | list of subaccount IDs to filter by |
+| market_ids | string array | list of market IDs to filter by |
**OrdersFilter**
-
-| Parameter | Type | Description |
|---|
| subaccount_ids | string array | |
-| market_ids | string array | |
+
+| Parameter | Type | Description |
|---|
| subaccount_ids | string array | list of subaccount IDs to filter by |
+| market_ids | string array | list of market IDs to filter by |
**OrderbookFilter**
-
-| Parameter | Type | Description |
|---|
| market_ids | string array | |
+
+| Parameter | Type | Description |
|---|
| market_ids | string array | list of market IDs to filter by |
**PositionsFilter**
-
-| Parameter | Type | Description |
|---|
| subaccount_ids | string array | |
-| market_ids | string array | |
+
+| Parameter | Type | Description |
|---|
| subaccount_ids | string array | list of subaccount IDs to filter by |
+| market_ids | string array | list of market IDs to filter by |
**OraclePriceFilter**
-
-| Parameter | Type | Description |
|---|
| symbol | string array | |
+
+| Parameter | Type | Description |
|---|
| symbol | string array | list of symbol to filter by |
@@ -266,37 +277,52 @@ func main() {
The stream response is a stream of events that are sent to the client.
Each message contains a list of events that are filtered by the request parameters and it's identified by the block height.
-
+
+| Parameter | Type | Description |
|---|
| block_height | uint64 | the block height |
+| block_time | int64 | the block time |
+| bank_balances | BankBalance array | list of bank balances updates |
+| subaccount_deposits | SubaccountDeposits array | list of subaccount deposits updates |
+| spot_trades | SpotTrade array | list of spot trades updates |
+| derivative_trades | DerivativeTrade array | list of derivative trades updates |
+| spot_orders | SpotOrderUpdate array | list of spot orders updates |
+| derivative_orders | DerivativeOrderUpdate array | list of derivative orders updates |
+| spot_orderbook_updates | OrderbookUpdate array | list of spot orderbook updates |
+| derivative_orderbook_updates | OrderbookUpdate array | list of derivative orderbook updates |
+| positions | Position array | list of positions updates |
+| oracle_prices | OraclePrice array | list of oracle prices updates |
+| gas_price | string | the current gas price when the block was processed (in chain format) |
**BankBalance**
-
+
+| Parameter | Type | Description |
|---|
| account | string | the account address |
+| balances | github_com_cosmos_cosmos_sdk_types.Coins | list of account balances |
**SubaccountDeposits**
-
+
| Parameter | Type | Description |
|---|
| denom | string | |
-| deposit | types.Deposit | |
+| deposit | v2.Deposit | |
**SpotTrade**
-
+
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
| is_buy | bool | whether the trade is a buy or sell |
| executionType | string | the execution type |
-| quantity | cosmossdk_io_math.LegacyDec | the quantity of the trade |
-| price | cosmossdk_io_math.LegacyDec | the price of the trade |
+| quantity | cosmossdk_io_math.LegacyDec | the quantity of the trade (in human readable format) |
+| price | cosmossdk_io_math.LegacyDec | the price of the trade (in human readable format) |
| subaccount_id | string | the subaccount ID that executed the trade |
-| fee | cosmossdk_io_math.LegacyDec | the fee of the trade |
+| fee | cosmossdk_io_math.LegacyDec | the fee of the trade (in human readable format) |
| order_hash | string | the order hash |
| fee_recipient_address | string | the fee recipient address |
| cid | string | the client order ID |
@@ -307,14 +333,14 @@ Each message contains a list of events that are filtered by the request paramete
**DerivativeTrade**
-
+
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
| is_buy | bool | whether the trade is a buy or sell |
| executionType | string | the execution type |
| subaccount_id | string | the subaccount ID |
-| position_delta | types.PositionDelta | the position delta of the trade |
-| payout | cosmossdk_io_math.LegacyDec | the payout of the trade |
-| fee | cosmossdk_io_math.LegacyDec | the fee of the trade |
+| position_delta | v2.PositionDelta | the position delta of the trade (in human readable format) |
+| payout | cosmossdk_io_math.LegacyDec | the payout of the trade (in human readable format) |
+| fee | cosmossdk_io_math.LegacyDec | the fee of the trade (in human readable format) |
| order_hash | string | the order hash |
| fee_recipient_address | string | the fee recipient address |
| cid | string | the client order ID |
@@ -325,55 +351,55 @@ Each message contains a list of events that are filtered by the request paramete
**SpotOrderUpdate**
-
-| Parameter | Type | Description |
|---|
| status | OrderUpdateStatus | |
-| order_hash | string | |
-| cid | string | |
-| order | SpotOrder | |
+
+| Parameter | Type | Description |
|---|
| status | OrderUpdateStatus | the status of the order |
+| order_hash | string | the order hash |
+| cid | string | the client order ID |
+| order | SpotOrder | the order details |
**DerivativeOrderUpdate**
-
-| Parameter | Type | Description |
|---|
| status | OrderUpdateStatus | |
-| order_hash | string | |
-| cid | string | |
-| order | DerivativeOrder | |
+
+| Parameter | Type | Description |
|---|
| status | OrderUpdateStatus | the status of the order |
+| order_hash | string | the order hash |
+| cid | string | the client order ID |
+| order | DerivativeOrder | the order details |
**OrderbookUpdate**
-
-| Parameter | Type | Description |
|---|
| seq | uint64 | |
-| orderbook | Orderbook | |
+
+| Parameter | Type | Description |
|---|
| seq | uint64 | the sequence number of the orderbook update |
+| orderbook | Orderbook | the orderbook details |
**Position**
-
+
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
| subaccount_id | string | the subaccount ID |
| isLong | bool | whether the position is long or short |
-| quantity | cosmossdk_io_math.LegacyDec | the quantity of the position |
-| entry_price | cosmossdk_io_math.LegacyDec | the entry price of the position |
-| margin | cosmossdk_io_math.LegacyDec | the margin of the position |
-| cumulative_funding_entry | cosmossdk_io_math.LegacyDec | the cumulative funding entry of the position |
+| quantity | cosmossdk_io_math.LegacyDec | the quantity of the position (in human readable format) |
+| entry_price | cosmossdk_io_math.LegacyDec | the entry price of the position (in human readable format) |
+| margin | cosmossdk_io_math.LegacyDec | the margin of the position (in human readable format) |
+| cumulative_funding_entry | cosmossdk_io_math.LegacyDec | the cumulative funding entry of the position (in human readable format) |
**OraclePrice**
-
-| Parameter | Type | Description |
|---|
| symbol | string | |
-| price | cosmossdk_io_math.LegacyDec | |
-| type | string | |
+
+| Parameter | Type | Description |
|---|
| symbol | string | the symbol of the oracle price |
+| price | cosmossdk_io_math.LegacyDec | the updated price |
+| type | string | the oracle type |
@@ -391,18 +417,18 @@ Each message contains a list of events that are filtered by the request paramete
**SpotOrder**
-
-| Parameter | Type | Description |
|---|
| market_id | string | |
-| order | types.SpotLimitOrder | |
+
+| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
+| order | v2.SpotLimitOrder | the order details |
**DerivativeOrder**
-
+
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
-| order | types.DerivativeLimitOrder | the derivative order details |
+| order | v2.DerivativeLimitOrder | the order details |
| is_market | bool | whether the order is a market order |
@@ -437,10 +463,10 @@ Each message contains a list of events that are filtered by the request paramete
**Orderbook**
-
-| Parameter | Type | Description |
|---|
| market_id | string | |
-| buy_levels | types.Level array | |
-| sell_levels | types.Level array | |
+
+| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
+| buy_levels | v2.Level array | list of buy levels |
+| sell_levels | v2.Level array | list of sell levels |
diff --git a/source/includes/_changelog.md b/source/includes/_changelog.md
index c43e73f2..006898b4 100644
--- a/source/includes/_changelog.md
+++ b/source/includes/_changelog.md
@@ -1,5 +1,10 @@
# Change Log
+## 2025-09-24
+- Updated all messages to reflect the changes included in the chain version 1.16.4, and the Indexer for that chain version
+- Python SDK v1.11.2
+- Go SDK v1.58.3
+
## 2025-07-29
- Updated all messages to reflect the changes included in the chain version 1.16, and the Indexer for that chain version
- Added documentation for `erc20` modules endpoints
diff --git a/source/includes/_derivatives.md b/source/includes/_derivatives.md
index 792f5e1b..376e06c4 100644
--- a/source/includes/_derivatives.md
+++ b/source/includes/_derivatives.md
@@ -3407,7 +3407,7 @@ async def main() -> None:
quote_denom="factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/usdc",
oracle_base="INJ",
oracle_quote="USDC",
- oracle_scale_factor=6,
+ oracle_scale_factor=0,
oracle_type="Band",
maker_fee_rate=Decimal("-0.0001"),
taker_fee_rate=Decimal("0.001"),
@@ -3514,7 +3514,7 @@ func main() {
QuoteDenom: "factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/usdc",
OracleBase: "INJ",
OracleQuote: "USDC",
- OracleScaleFactor: 6,
+ OracleScaleFactor: 0,
OracleType: oracletypes.OracleType_Band,
MakerFeeRate: math.LegacyMustNewDecFromStr("-0.0001"),
TakerFeeRate: math.LegacyMustNewDecFromStr("0.001"),
@@ -3682,7 +3682,7 @@ async def main() -> None:
quote_denom="factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/usdc",
oracle_base="INJ",
oracle_quote="USDC",
- oracle_scale_factor=6,
+ oracle_scale_factor=0,
oracle_type="Band",
expiry=2000000000,
maker_fee_rate=Decimal("-0.0001"),
@@ -3789,7 +3789,7 @@ func main() {
QuoteDenom: "factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/usdc",
OracleBase: "INJ",
OracleQuote: "USDC",
- OracleScaleFactor: 6,
+ OracleScaleFactor: 0,
OracleType: oracletypes.OracleType_Band,
Expiry: 2000000000,
MakerFeeRate: math.LegacyMustNewDecFromStr("-0.0001"),
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionV2.json b/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionV2.json
new file mode 100644
index 00000000..ae5bd335
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionV2.json
@@ -0,0 +1,27 @@
+[
+ {
+ "Parameter": "id",
+ "Type": "uint64",
+ "Description": ""
+ },
+ {
+ "Parameter": "round",
+ "Type": "uint64",
+ "Description": ""
+ },
+ {
+ "Parameter": "amount_deposited",
+ "Type": "string",
+ "Description": ""
+ },
+ {
+ "Parameter": "is_claimable",
+ "Type": "bool",
+ "Description": "Whether the auction rewards can be claimed."
+ },
+ {
+ "Parameter": "claimed_assets",
+ "Type": "ClaimedAssets array",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Request.json b/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Request.json
new file mode 100644
index 00000000..0c844f27
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Request.json
@@ -0,0 +1,20 @@
+[
+ {
+ "Parameter": "address",
+ "Type": "string",
+ "Description": "Address of account",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "per_page",
+ "Type": "int32",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "Pagination token",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Response.json b/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Response.json
new file mode 100644
index 00000000..aef2caef
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Response.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "auctions",
+ "Type": "AccountAuctionV2 array",
+ "Description": "The historical auctions"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/Auction.json b/source/json_tables/indexer_new/injective_auction_rpc/Auction.json
index 00341e99..002b95ff 100644
--- a/source/json_tables/indexer_new/injective_auction_rpc/Auction.json
+++ b/source/json_tables/indexer_new/injective_auction_rpc/Auction.json
@@ -28,5 +28,10 @@
"Parameter": "updated_at",
"Type": "int64",
"Description": "UpdatedAt timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "contract",
+ "Type": "AuctionContract",
+ "Description": ""
}
]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionContract.json b/source/json_tables/indexer_new/injective_auction_rpc/AuctionContract.json
new file mode 100644
index 00000000..0c9eb65e
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/AuctionContract.json
@@ -0,0 +1,47 @@
+[
+ {
+ "Parameter": "id",
+ "Type": "uint64",
+ "Description": ""
+ },
+ {
+ "Parameter": "bid_target",
+ "Type": "string",
+ "Description": "Bid target of the auction"
+ },
+ {
+ "Parameter": "current_slots",
+ "Type": "uint64",
+ "Description": "Total slots of the auction"
+ },
+ {
+ "Parameter": "total_slots",
+ "Type": "uint64",
+ "Description": "Total slots of the auction"
+ },
+ {
+ "Parameter": "max_user_allocation",
+ "Type": "string",
+ "Description": "Max user allocation of the auction"
+ },
+ {
+ "Parameter": "total_committed",
+ "Type": "string",
+ "Description": "Total committed amount of the auction"
+ },
+ {
+ "Parameter": "whitelist_addresses",
+ "Type": "string array",
+ "Description": "Whitelist addresses for the auction"
+ },
+ {
+ "Parameter": "start_timestamp",
+ "Type": "uint64",
+ "Description": "Auction start timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "end_timestamp",
+ "Type": "uint64",
+ "Description": "Auction end timestamp in UNIX millis."
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Request.json b/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Request.json
new file mode 100644
index 00000000..74475c5e
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Request.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "round",
+ "Type": "int64",
+ "Description": "The auction round number.",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Response.json b/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Response.json
new file mode 100644
index 00000000..0d302841
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Response.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "auction",
+ "Type": "Auction",
+ "Description": "The auction"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Request.json b/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Request.json
new file mode 100644
index 00000000..e3f7722e
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Request.json
@@ -0,0 +1,20 @@
+[
+ {
+ "Parameter": "per_page",
+ "Type": "int32",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "Pagination token",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "end_time",
+ "Type": "int64",
+ "Description": "The ending timestamp in UNIX milliseconds to filter the auctions",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Response.json b/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Response.json
new file mode 100644
index 00000000..d632977e
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Response.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "auctions",
+ "Type": "Auction array",
+ "Description": "The historical auctions"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_auction_rpc/ClaimedAssets.json b/source/json_tables/indexer_new/injective_auction_rpc/ClaimedAssets.json
new file mode 100644
index 00000000..e16ee330
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_auction_rpc/ClaimedAssets.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "denom",
+ "Type": "string",
+ "Description": ""
+ },
+ {
+ "Parameter": "amount",
+ "Type": "string",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeLimitOrderbookV2.json b/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeLimitOrderbookV2.json
index 2a3224bc..c30e1cfe 100644
--- a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeLimitOrderbookV2.json
+++ b/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeLimitOrderbookV2.json
@@ -18,5 +18,10 @@
"Parameter": "timestamp",
"Type": "int64",
"Description": "Last update timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "height",
+ "Type": "int64",
+ "Description": "Block height at which the orderbook was last updated."
}
]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Apr.json b/source/json_tables/indexer_new/injective_megavault_rpc/Apr.json
new file mode 100644
index 00000000..11eed817
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/Apr.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "value",
+ "Type": "string",
+ "Description": "APR value"
+ },
+ {
+ "Parameter": "original_lp_price",
+ "Type": "string",
+ "Description": "Original LP price"
+ },
+ {
+ "Parameter": "current_lp_price",
+ "Type": "string",
+ "Description": "Current LP price"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/AprStats.json b/source/json_tables/indexer_new/injective_megavault_rpc/AprStats.json
new file mode 100644
index 00000000..5e272f8c
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/AprStats.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "thirty_days",
+ "Type": "Apr",
+ "Description": "30-day APR"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsRequest.json b/source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsRequest.json
new file mode 100644
index 00000000..c5bac6e7
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "vault_address",
+ "Type": "string",
+ "Description": "Vault address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "operator_address",
+ "Type": "string",
+ "Description": "Operator address",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsResponse.json b/source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsResponse.json
new file mode 100644
index 00000000..e37271d2
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "buckets",
+ "Type": "RedemptionBucket array",
+ "Description": "The redemption buckets"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetUserRequest.json b/source/json_tables/indexer_new/injective_megavault_rpc/GetUserRequest.json
new file mode 100644
index 00000000..8b07b212
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/GetUserRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "vault_address",
+ "Type": "string",
+ "Description": "Vault address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "user_address",
+ "Type": "string",
+ "Description": "User address",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetUserResponse.json b/source/json_tables/indexer_new/injective_megavault_rpc/GetUserResponse.json
new file mode 100644
index 00000000..f77493e6
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/GetUserResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "user",
+ "Type": "User",
+ "Description": "The user"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetVaultRequest.json b/source/json_tables/indexer_new/injective_megavault_rpc/GetVaultRequest.json
new file mode 100644
index 00000000..5cd051dc
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/GetVaultRequest.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "vault_address",
+ "Type": "string",
+ "Description": "Vault address",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/HistoricalPnL.json b/source/json_tables/indexer_new/injective_megavault_rpc/HistoricalPnL.json
new file mode 100644
index 00000000..06c78c98
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/HistoricalPnL.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "t",
+ "Type": "int32",
+ "Description": "Time, Unix timestamp in milliseconds (UTC)"
+ },
+ {
+ "Parameter": "v",
+ "Type": "string",
+ "Description": "PnL Value"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/HistoricalTVL.json b/source/json_tables/indexer_new/injective_megavault_rpc/HistoricalTVL.json
new file mode 100644
index 00000000..7eae365b
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/HistoricalTVL.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "t",
+ "Type": "int32",
+ "Description": "Time, Unix timestamp in milliseconds (UTC)"
+ },
+ {
+ "Parameter": "v",
+ "Type": "string",
+ "Description": "TVL Value"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Incentives.json b/source/json_tables/indexer_new/injective_megavault_rpc/Incentives.json
new file mode 100644
index 00000000..13fc0020
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/Incentives.json
@@ -0,0 +1,22 @@
+[
+ {
+ "Parameter": "address",
+ "Type": "string",
+ "Description": "Operator address"
+ },
+ {
+ "Parameter": "amount",
+ "Type": "string",
+ "Description": "Amount"
+ },
+ {
+ "Parameter": "updated_height",
+ "Type": "int64",
+ "Description": "Block height when the target APR was updated."
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "UpdatedAt timestamp in UNIX millis."
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsRequest.json b/source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsRequest.json
new file mode 100644
index 00000000..bbc92819
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsRequest.json
@@ -0,0 +1,32 @@
+[
+ {
+ "Parameter": "vault_address",
+ "Type": "string",
+ "Description": "Vault address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "user_address",
+ "Type": "string",
+ "Description": "User address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status of the redemption",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "per_page",
+ "Type": "int32",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsResponse.json b/source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsResponse.json
new file mode 100644
index 00000000..ff8bf2b2
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "redemptions",
+ "Type": "Redemption array",
+ "Description": "List of subscriptions"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsRequest.json b/source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsRequest.json
new file mode 100644
index 00000000..bbc92819
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsRequest.json
@@ -0,0 +1,32 @@
+[
+ {
+ "Parameter": "vault_address",
+ "Type": "string",
+ "Description": "Vault address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "user_address",
+ "Type": "string",
+ "Description": "User address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status of the redemption",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "per_page",
+ "Type": "int32",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsResponse.json b/source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsResponse.json
new file mode 100644
index 00000000..9bf9b12a
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "subscriptions",
+ "Type": "Subscription array",
+ "Description": "List of subscriptions"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/MaxDrawdown.json b/source/json_tables/indexer_new/injective_megavault_rpc/MaxDrawdown.json
new file mode 100644
index 00000000..672531dd
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/MaxDrawdown.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "value",
+ "Type": "string",
+ "Description": "Max drawdown value"
+ },
+ {
+ "Parameter": "latest_pn_l_peak",
+ "Type": "string",
+ "Description": "Latest PnL peak"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Operator.json b/source/json_tables/indexer_new/injective_megavault_rpc/Operator.json
index e6ab2e69..5f2edeb4 100644
--- a/source/json_tables/indexer_new/injective_megavault_rpc/Operator.json
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/Operator.json
@@ -5,9 +5,14 @@
"Description": "Operator address"
},
{
- "Parameter": "amount",
+ "Parameter": "total_amount",
"Type": "string",
- "Description": "Contract name"
+ "Description": "Total amount"
+ },
+ {
+ "Parameter": "total_liquid_amount",
+ "Type": "string",
+ "Description": "Total liquid amount"
},
{
"Parameter": "updated_height",
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Pnl.json b/source/json_tables/indexer_new/injective_megavault_rpc/Pnl.json
new file mode 100644
index 00000000..3db6f08e
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/Pnl.json
@@ -0,0 +1,27 @@
+[
+ {
+ "Parameter": "value",
+ "Type": "string",
+ "Description": "PnL value"
+ },
+ {
+ "Parameter": "percentage",
+ "Type": "string",
+ "Description": "PnL percentage"
+ },
+ {
+ "Parameter": "total_amount_subscribed",
+ "Type": "string",
+ "Description": "Total amount subscribed"
+ },
+ {
+ "Parameter": "total_amount_redeemed",
+ "Type": "string",
+ "Description": "Total amount redeemed"
+ },
+ {
+ "Parameter": "current_amount",
+ "Type": "string",
+ "Description": "Current amount"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryRequest.json b/source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryRequest.json
new file mode 100644
index 00000000..7a7042b3
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryRequest.json
@@ -0,0 +1,20 @@
+[
+ {
+ "Parameter": "vault_address",
+ "Type": "string",
+ "Description": "Vault address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "since",
+ "Type": "int64",
+ "Description": "timestamp from which to start the query in milliseconds (UTC)",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "max_data_points",
+ "Type": "int32",
+ "Description": "amount of data points to return",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryResponse.json b/source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryResponse.json
new file mode 100644
index 00000000..bf7eb205
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "history",
+ "Type": "HistoricalPnL array",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/PnlStats.json b/source/json_tables/indexer_new/injective_megavault_rpc/PnlStats.json
new file mode 100644
index 00000000..86217f6d
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/PnlStats.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "unrealized",
+ "Type": "UnrealizedPnl",
+ "Description": "Unrealized PnL"
+ },
+ {
+ "Parameter": "all_time",
+ "Type": "Pnl",
+ "Description": "All-time PnL"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Redemption.json b/source/json_tables/indexer_new/injective_megavault_rpc/Redemption.json
new file mode 100644
index 00000000..2746554e
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/Redemption.json
@@ -0,0 +1,57 @@
+[
+ {
+ "Parameter": "contract_address",
+ "Type": "string",
+ "Description": "Contract address"
+ },
+ {
+ "Parameter": "user",
+ "Type": "string",
+ "Description": "User"
+ },
+ {
+ "Parameter": "index",
+ "Type": "int64",
+ "Description": "Index number of the redemption"
+ },
+ {
+ "Parameter": "lp_amount",
+ "Type": "string",
+ "Description": "Amount of LP tokens given to the user for the redemption"
+ },
+ {
+ "Parameter": "amount",
+ "Type": "string",
+ "Description": "Amount in USDT the user gave for the redemption"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status of the subscription"
+ },
+ {
+ "Parameter": "due_at",
+ "Type": "int64",
+ "Description": "DueAt timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "created_height",
+ "Type": "int64",
+ "Description": "Block height when the subscription was created."
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "CreatedAt timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "executed_height",
+ "Type": "int64",
+ "Description": "Block height when the subscription was executed."
+ },
+ {
+ "Parameter": "executed_at",
+ "Type": "int64",
+ "Description": "ExecutedAt timestamp in UNIX millis."
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/RedemptionBucket.json b/source/json_tables/indexer_new/injective_megavault_rpc/RedemptionBucket.json
new file mode 100644
index 00000000..04e95622
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/RedemptionBucket.json
@@ -0,0 +1,22 @@
+[
+ {
+ "Parameter": "bucket",
+ "Type": "string",
+ "Description": "Bucket"
+ },
+ {
+ "Parameter": "lp_amount_to_redeem",
+ "Type": "string",
+ "Description": "Amount of LP tokens to redeem"
+ },
+ {
+ "Parameter": "needed_amount",
+ "Type": "string",
+ "Description": "Amount needed to cover all the redemptions in the bucket"
+ },
+ {
+ "Parameter": "missing_liquidity",
+ "Type": "string",
+ "Description": "Amount of liquidity missing needed to cover all the redemptions in the bucket"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Subscription.json b/source/json_tables/indexer_new/injective_megavault_rpc/Subscription.json
new file mode 100644
index 00000000..87314488
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/Subscription.json
@@ -0,0 +1,52 @@
+[
+ {
+ "Parameter": "contract_address",
+ "Type": "string",
+ "Description": "Contract address"
+ },
+ {
+ "Parameter": "user",
+ "Type": "string",
+ "Description": "User"
+ },
+ {
+ "Parameter": "index",
+ "Type": "int64",
+ "Description": "Index number of the subscription"
+ },
+ {
+ "Parameter": "lp_amount",
+ "Type": "string",
+ "Description": "Amount of LP tokens given to the user for the subscription"
+ },
+ {
+ "Parameter": "amount",
+ "Type": "string",
+ "Description": "Amount in USDT the user gave for the subscription"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status of the subscription"
+ },
+ {
+ "Parameter": "created_height",
+ "Type": "int64",
+ "Description": "Block height when the subscription was created."
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "CreatedAt timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "executed_height",
+ "Type": "int64",
+ "Description": "Block height when the subscription was executed."
+ },
+ {
+ "Parameter": "executed_at",
+ "Type": "int64",
+ "Description": "ExecutedAt timestamp in UNIX millis."
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/TargetApr.json b/source/json_tables/indexer_new/injective_megavault_rpc/TargetApr.json
new file mode 100644
index 00000000..ab4c10c8
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/TargetApr.json
@@ -0,0 +1,27 @@
+[
+ {
+ "Parameter": "apr",
+ "Type": "string",
+ "Description": "APR"
+ },
+ {
+ "Parameter": "upper_threshold",
+ "Type": "string",
+ "Description": "Upper threshold"
+ },
+ {
+ "Parameter": "lower_threshold",
+ "Type": "string",
+ "Description": "Lower threshold"
+ },
+ {
+ "Parameter": "updated_height",
+ "Type": "int64",
+ "Description": "Block height when the target APR was updated."
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "UpdatedAt timestamp in UNIX millis."
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryRequest.json b/source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryRequest.json
new file mode 100644
index 00000000..7a7042b3
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryRequest.json
@@ -0,0 +1,20 @@
+[
+ {
+ "Parameter": "vault_address",
+ "Type": "string",
+ "Description": "Vault address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "since",
+ "Type": "int64",
+ "Description": "timestamp from which to start the query in milliseconds (UTC)",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "max_data_points",
+ "Type": "int32",
+ "Description": "amount of data points to return",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryResponse.json b/source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryResponse.json
new file mode 100644
index 00000000..b7d633b8
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "history",
+ "Type": "HistoricalTVL array",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/UnrealizedPnl.json b/source/json_tables/indexer_new/injective_megavault_rpc/UnrealizedPnl.json
new file mode 100644
index 00000000..52e3e9ca
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/UnrealizedPnl.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "value",
+ "Type": "string",
+ "Description": "Unrealized PnL value"
+ },
+ {
+ "Parameter": "percentage",
+ "Type": "string",
+ "Description": "Unrealized PnL percentage"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/User.json b/source/json_tables/indexer_new/injective_megavault_rpc/User.json
new file mode 100644
index 00000000..52bb9de0
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/User.json
@@ -0,0 +1,27 @@
+[
+ {
+ "Parameter": "address",
+ "Type": "string",
+ "Description": "User address"
+ },
+ {
+ "Parameter": "contract_address",
+ "Type": "string",
+ "Description": "Contract address"
+ },
+ {
+ "Parameter": "stats",
+ "Type": "UserStats",
+ "Description": "User stats"
+ },
+ {
+ "Parameter": "updated_height",
+ "Type": "int64",
+ "Description": "Block height when the vault was updated."
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "UpdatedAt timestamp in UNIX millis."
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/UserStats.json b/source/json_tables/indexer_new/injective_megavault_rpc/UserStats.json
new file mode 100644
index 00000000..1fb8b63c
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/UserStats.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "current_amount",
+ "Type": "string",
+ "Description": "Current subscribed amount in the vault"
+ },
+ {
+ "Parameter": "current_lp_amount",
+ "Type": "string",
+ "Description": "Current amount of LP tokens in the vault"
+ },
+ {
+ "Parameter": "pnl",
+ "Type": "PnlStats",
+ "Description": "PnL statistics"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Vault.json b/source/json_tables/indexer_new/injective_megavault_rpc/Vault.json
index a6fccd4a..422ec3eb 100644
--- a/source/json_tables/indexer_new/injective_megavault_rpc/Vault.json
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/Vault.json
@@ -30,18 +30,23 @@
"Description": "Quote denom"
},
{
- "Parameter": "total_amount",
- "Type": "string",
- "Description": "Total amount"
+ "Parameter": "operators",
+ "Type": "Operator array",
+ "Description": "Operators"
},
{
- "Parameter": "total_lp_amount",
- "Type": "string",
- "Description": "Total amount of LP token"
+ "Parameter": "incentives",
+ "Type": "Incentives",
+ "Description": "Incentives"
},
{
- "Parameter": "operators",
- "Type": "Operator array",
+ "Parameter": "target_apr",
+ "Type": "TargetApr",
+ "Description": "TargetApr"
+ },
+ {
+ "Parameter": "stats",
+ "Type": "VaultStats",
"Description": "Operators"
},
{
@@ -52,7 +57,7 @@
{
"Parameter": "created_at",
"Type": "int64",
- "Description": "UpdatedAt timestamp in UNIX millis."
+ "Description": "CreatedAt timestamp in UNIX millis."
},
{
"Parameter": "updated_height",
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/VaultStats.json b/source/json_tables/indexer_new/injective_megavault_rpc/VaultStats.json
new file mode 100644
index 00000000..bece7cb1
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/VaultStats.json
@@ -0,0 +1,52 @@
+[
+ {
+ "Parameter": "total_subscribed_amount",
+ "Type": "string",
+ "Description": "Total subscribed amount in the vault"
+ },
+ {
+ "Parameter": "total_redeemed_amount",
+ "Type": "string",
+ "Description": "Total redeemed amount in the vault"
+ },
+ {
+ "Parameter": "current_amount",
+ "Type": "string",
+ "Description": "Current amount in the vault"
+ },
+ {
+ "Parameter": "current_amount_without_incentives",
+ "Type": "string",
+ "Description": "Current amount in the vault without taking into account the incentives"
+ },
+ {
+ "Parameter": "current_lp_amount",
+ "Type": "string",
+ "Description": "Current amount of LP tokens in the vault"
+ },
+ {
+ "Parameter": "current_lp_price",
+ "Type": "string",
+ "Description": "Current LP price"
+ },
+ {
+ "Parameter": "pnl",
+ "Type": "PnlStats",
+ "Description": "PnL statistics"
+ },
+ {
+ "Parameter": "volatility",
+ "Type": "VolatilityStats",
+ "Description": "Volatility statistics"
+ },
+ {
+ "Parameter": "apr",
+ "Type": "AprStats",
+ "Description": "APR statistics"
+ },
+ {
+ "Parameter": "max_drawdown",
+ "Type": "MaxDrawdown",
+ "Description": "Max drawdown"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Volatility.json b/source/json_tables/indexer_new/injective_megavault_rpc/Volatility.json
new file mode 100644
index 00000000..65524c5a
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/Volatility.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "value",
+ "Type": "string",
+ "Description": "Volatility value"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/VolatilityStats.json b/source/json_tables/indexer_new/injective_megavault_rpc/VolatilityStats.json
new file mode 100644
index 00000000..16a2fd08
--- /dev/null
+++ b/source/json_tables/indexer_new/injective_megavault_rpc/VolatilityStats.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "thirty_days",
+ "Type": "Volatility",
+ "Description": "30-days volatility"
+ }
+]
diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotLimitOrderbookV2.json b/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotLimitOrderbookV2.json
index 2a3224bc..c30e1cfe 100644
--- a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotLimitOrderbookV2.json
+++ b/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotLimitOrderbookV2.json
@@ -18,5 +18,10 @@
"Parameter": "timestamp",
"Type": "int64",
"Description": "Last update timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "height",
+ "Type": "int64",
+ "Description": "Block height at which the orderbook was last updated."
}
]
diff --git a/source/json_tables/injective/auction/Params.json b/source/json_tables/injective/auction/Params.json
index f7910b69..c29d28fd 100644
--- a/source/json_tables/injective/auction/Params.json
+++ b/source/json_tables/injective/auction/Params.json
@@ -13,5 +13,10 @@
"Parameter": "inj_basket_max_cap",
"Type": "cosmossdk_io_math.Int",
"Description": "inj_basket_max_cap defines the maximum cap for INJ contained in an auction basket"
+ },
+ {
+ "Parameter": "bidders_whitelist",
+ "Type": "string array",
+ "Description": "bidders_whitelist defines the list of addresses that are allowed to bid if empty, any address can bid; if populated, only whitelisted addresses can bid"
}
]
diff --git a/source/json_tables/injective/downtime-detector/GenesisDowntimeEntry.json b/source/json_tables/injective/downtime-detector/GenesisDowntimeEntry.json
new file mode 100644
index 00000000..2e00822d
--- /dev/null
+++ b/source/json_tables/injective/downtime-detector/GenesisDowntimeEntry.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "duration",
+ "Type": "Downtime",
+ "Description": ""
+ },
+ {
+ "Parameter": "last_downtime",
+ "Type": "time.Time",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/injective/downtime-detector/GenesisState.json b/source/json_tables/injective/downtime-detector/GenesisState.json
new file mode 100644
index 00000000..3d5c5dfc
--- /dev/null
+++ b/source/json_tables/injective/downtime-detector/GenesisState.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "downtimes",
+ "Type": "GenesisDowntimeEntry array",
+ "Description": ""
+ },
+ {
+ "Parameter": "last_block_time",
+ "Type": "time.Time",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthRequest.json b/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthRequest.json
new file mode 100644
index 00000000..4d3ecbc2
--- /dev/null
+++ b/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "downtime",
+ "Type": "Downtime",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "recovery",
+ "Type": "time.Duration",
+ "Description": "",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthResponse.json b/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthResponse.json
new file mode 100644
index 00000000..4de7cb12
--- /dev/null
+++ b/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "successfully_recovered",
+ "Type": "bool",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/injective/downtimedetector/v1beta1/Downtime.json b/source/json_tables/injective/downtimedetector/v1beta1/Downtime.json
new file mode 100644
index 00000000..bc284a5e
--- /dev/null
+++ b/source/json_tables/injective/downtimedetector/v1beta1/Downtime.json
@@ -0,0 +1,102 @@
+[
+ {
+ "Code": "0",
+ "Name": "DURATION_30S"
+ },
+ {
+ "Code": "1",
+ "Name": "DURATION_1M"
+ },
+ {
+ "Code": "2",
+ "Name": "DURATION_2M"
+ },
+ {
+ "Code": "3",
+ "Name": "DURATION_3M"
+ },
+ {
+ "Code": "4",
+ "Name": "DURATION_4M"
+ },
+ {
+ "Code": "5",
+ "Name": "DURATION_5M"
+ },
+ {
+ "Code": "6",
+ "Name": "DURATION_10M"
+ },
+ {
+ "Code": "7",
+ "Name": "DURATION_20M"
+ },
+ {
+ "Code": "8",
+ "Name": "DURATION_30M"
+ },
+ {
+ "Code": "9",
+ "Name": "DURATION_40M"
+ },
+ {
+ "Code": "10",
+ "Name": "DURATION_50M"
+ },
+ {
+ "Code": "11",
+ "Name": "DURATION_1H"
+ },
+ {
+ "Code": "12",
+ "Name": "DURATION_1_5H"
+ },
+ {
+ "Code": "13",
+ "Name": "DURATION_2H"
+ },
+ {
+ "Code": "14",
+ "Name": "DURATION_2_5H"
+ },
+ {
+ "Code": "15",
+ "Name": "DURATION_3H"
+ },
+ {
+ "Code": "16",
+ "Name": "DURATION_4H"
+ },
+ {
+ "Code": "17",
+ "Name": "DURATION_5H"
+ },
+ {
+ "Code": "18",
+ "Name": "DURATION_6H"
+ },
+ {
+ "Code": "19",
+ "Name": "DURATION_9H"
+ },
+ {
+ "Code": "20",
+ "Name": "DURATION_12H"
+ },
+ {
+ "Code": "21",
+ "Name": "DURATION_18H"
+ },
+ {
+ "Code": "22",
+ "Name": "DURATION_24H"
+ },
+ {
+ "Code": "23",
+ "Name": "DURATION_36H"
+ },
+ {
+ "Code": "24",
+ "Name": "DURATION_48H"
+ }
+]
diff --git a/source/json_tables/injective/exchange/PerpetualMarketFunding.json b/source/json_tables/injective/exchange/PerpetualMarketFunding.json
index 06a5d50a..c9741487 100644
--- a/source/json_tables/injective/exchange/PerpetualMarketFunding.json
+++ b/source/json_tables/injective/exchange/PerpetualMarketFunding.json
@@ -7,7 +7,7 @@
{
"Parameter": "cumulative_price",
"Type": "cosmossdk_io_math.LegacyDec",
- "Description": "cumulative_price defines the cumulative price for the current hour up to the last timestamp (in chain format)"
+ "Description": "cumulative_price defines the running time-integral of the perp premium ((VWAP - mark_price) / mark_price) i.e., sum(premium * seconds) used to compute the interval’s average premium for funding"
},
{
"Parameter": "last_timestamp",
diff --git a/source/json_tables/injective/exchange/v2/MsgCancelPostOnlyMode.json b/source/json_tables/injective/exchange/v2/MsgCancelPostOnlyMode.json
new file mode 100644
index 00000000..3c271848
--- /dev/null
+++ b/source/json_tables/injective/exchange/v2/MsgCancelPostOnlyMode.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "sender",
+ "Type": "string",
+ "Description": "the sender's Injective address",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/exchange/v2/MsgSetDelegationTransferReceivers.json b/source/json_tables/injective/exchange/v2/MsgSetDelegationTransferReceivers.json
new file mode 100644
index 00000000..07b19b59
--- /dev/null
+++ b/source/json_tables/injective/exchange/v2/MsgSetDelegationTransferReceivers.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "sender",
+ "Type": "string",
+ "Description": "the sender's Injective address (must be exchange admin)",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "receivers",
+ "Type": "string array",
+ "Description": "list of receiver addresses to set as delegation transfer receivers",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/exchange/v2/Params.json b/source/json_tables/injective/exchange/v2/Params.json
index cfa3db7a..717209c3 100644
--- a/source/json_tables/injective/exchange/v2/Params.json
+++ b/source/json_tables/injective/exchange/v2/Params.json
@@ -153,5 +153,20 @@
"Parameter": "default_reduce_margin_ratio",
"Type": "cosmossdk_io_math.LegacyDec",
"Description": "default_reduce_margin_ratio defines the default reduce margin ratio on a new derivative market"
+ },
+ {
+ "Parameter": "human_readable_upgrade_block_height",
+ "Type": "int64",
+ "Description": "DO NOT USE THIS FIELD. It was introduced for a temporary bug fix."
+ },
+ {
+ "Parameter": "post_only_mode_blocks_amount",
+ "Type": "uint64",
+ "Description": "post_only_mode_blocks_amount defines the amount of blocks the post only mode will be enabled"
+ },
+ {
+ "Parameter": "min_post_only_mode_downtime_duration",
+ "Type": "string",
+ "Description": "min_post_only_mode_downtime_duration defines the minimum downtime duration that must pass before the post only mode is automatically enabled. The accepted values are the Downtime enum values from the downtime_duration module"
}
]
diff --git a/source/json_tables/injective/exchange/v2/PerpetualMarketFunding.json b/source/json_tables/injective/exchange/v2/PerpetualMarketFunding.json
index 75ae0aad..0cece34d 100644
--- a/source/json_tables/injective/exchange/v2/PerpetualMarketFunding.json
+++ b/source/json_tables/injective/exchange/v2/PerpetualMarketFunding.json
@@ -7,7 +7,7 @@
{
"Parameter": "cumulative_price",
"Type": "cosmossdk_io_math.LegacyDec",
- "Description": "cumulative_price defines the cumulative price for the current hour up to the last timestamp (in human readable format)"
+ "Description": "cumulative_price defines the running time-integral of the perp premium ((VWAP - mark_price) / mark_price) i.e., sum(premium * seconds) used to compute the interval’s average premium for funding"
},
{
"Parameter": "last_timestamp",