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() { ``` - + + +
ParameterTypeDescriptionRequired
subaccount_idstringthe subaccount IDYes
subaccountSubaccountthe subaccount detailsNo

@@ -137,6 +139,8 @@ func main() { **Subaccount** + +
ParameterTypeDescription
traderstringthe subaccount's trader address
subaccount_nonceuint32the 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() { ``` - + + + + + + + + + + +
ParameterTypeDescriptionRequired
bank_balances_filterBankBalancesFilterfilter for bank balances eventsNo
subaccount_deposits_filterSubaccountDepositsFilterfilter for subaccount deposits eventsNo
spot_trades_filterTradesFilterfilter for spot trades eventsNo
derivative_trades_filterTradesFilterfilter for derivative trades eventsNo
spot_orders_filterOrdersFilterfilter for spot orders eventsNo
derivative_orders_filterOrdersFilterfilter for derivative orders eventsNo
spot_orderbooks_filterOrderbookFilterfilter for spot orderbooks eventsNo
derivative_orderbooks_filterOrderbookFilterfilter for derivative orderbooks eventsNo
positions_filterPositionsFilterfilter for positions eventsNo
oracle_price_filterOraclePriceFilterfilter for oracle prices eventsNo

**BankBalancesFilter** - + +
ParameterTypeDescription
accountsstring arraylist of account addresses to filter by

**SubaccountDepositsFilter** - -
ParameterTypeDescription
subaccount_idsstring array
+ +
ParameterTypeDescription
subaccount_idsstring arraylist of subaccount IDs to filter by

**TradesFilter** - - -
ParameterTypeDescription
subaccount_idsstring array
market_idsstring array
+ + +
ParameterTypeDescription
subaccount_idsstring arraylist of subaccount IDs to filter by
market_idsstring arraylist of market IDs to filter by

**OrdersFilter** - - -
ParameterTypeDescription
subaccount_idsstring array
market_idsstring array
+ + +
ParameterTypeDescription
subaccount_idsstring arraylist of subaccount IDs to filter by
market_idsstring arraylist of market IDs to filter by

**OrderbookFilter** - -
ParameterTypeDescription
market_idsstring array
+ +
ParameterTypeDescription
market_idsstring arraylist of market IDs to filter by

**PositionsFilter** - - -
ParameterTypeDescription
subaccount_idsstring array
market_idsstring array
+ + +
ParameterTypeDescription
subaccount_idsstring arraylist of subaccount IDs to filter by
market_idsstring arraylist of market IDs to filter by

**OraclePriceFilter** - -
ParameterTypeDescription
symbolstring array
+ +
ParameterTypeDescription
symbolstring arraylist 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. - + + + + + + + + + + + + + +
ParameterTypeDescription
block_heightuint64the block height
block_timeint64the block time
bank_balancesBankBalance arraylist of bank balances updates
subaccount_depositsSubaccountDeposits arraylist of subaccount deposits updates
spot_tradesSpotTrade arraylist of spot trades updates
derivative_tradesDerivativeTrade arraylist of derivative trades updates
spot_ordersSpotOrderUpdate arraylist of spot orders updates
derivative_ordersDerivativeOrderUpdate arraylist of derivative orders updates
spot_orderbook_updatesOrderbookUpdate arraylist of spot orderbook updates
derivative_orderbook_updatesOrderbookUpdate arraylist of derivative orderbook updates
positionsPosition arraylist of positions updates
oracle_pricesOraclePrice arraylist of oracle prices updates
gas_pricestringthe current gas price when the block was processed (in chain format)

**BankBalance** - + + +
ParameterTypeDescription
accountstringthe account address
balancesgithub_com_cosmos_cosmos_sdk_types.Coinslist of account balances

**SubaccountDeposits** - + -
ParameterTypeDescription
denomstring
deposittypes.Deposit
+depositv2.Deposit
**SpotTrade** - + - - + + - + @@ -307,14 +333,14 @@ Each message contains a list of events that are filtered by the request paramete **DerivativeTrade** - +
ParameterTypeDescription
market_idstringthe market ID
is_buyboolwhether the trade is a buy or sell
executionTypestringthe execution type
quantitycosmossdk_io_math.LegacyDecthe quantity of the trade
pricecosmossdk_io_math.LegacyDecthe price of the trade
quantitycosmossdk_io_math.LegacyDecthe quantity of the trade (in human readable format)
pricecosmossdk_io_math.LegacyDecthe price of the trade (in human readable format)
subaccount_idstringthe subaccount ID that executed the trade
feecosmossdk_io_math.LegacyDecthe fee of the trade
feecosmossdk_io_math.LegacyDecthe fee of the trade (in human readable format)
order_hashstringthe order hash
fee_recipient_addressstringthe fee recipient address
cidstringthe client order ID
- - - + + + @@ -325,55 +351,55 @@ Each message contains a list of events that are filtered by the request paramete **SpotOrderUpdate** - -
ParameterTypeDescription
market_idstringthe market ID
is_buyboolwhether the trade is a buy or sell
executionTypestringthe execution type
subaccount_idstringthe subaccount ID
position_deltatypes.PositionDeltathe position delta of the trade
payoutcosmossdk_io_math.LegacyDecthe payout of the trade
feecosmossdk_io_math.LegacyDecthe fee of the trade
position_deltav2.PositionDeltathe position delta of the trade (in human readable format)
payoutcosmossdk_io_math.LegacyDecthe payout of the trade (in human readable format)
feecosmossdk_io_math.LegacyDecthe fee of the trade (in human readable format)
order_hashstringthe order hash
fee_recipient_addressstringthe fee recipient address
cidstringthe client order ID
- - -
ParameterTypeDescription
statusOrderUpdateStatus
order_hashstring
cidstring
orderSpotOrder
+ + + + +
ParameterTypeDescription
statusOrderUpdateStatusthe status of the order
order_hashstringthe order hash
cidstringthe client order ID
orderSpotOrderthe order details

**DerivativeOrderUpdate** - - - - -
ParameterTypeDescription
statusOrderUpdateStatus
order_hashstring
cidstring
orderDerivativeOrder
+ + + + +
ParameterTypeDescription
statusOrderUpdateStatusthe status of the order
order_hashstringthe order hash
cidstringthe client order ID
orderDerivativeOrderthe order details

**OrderbookUpdate** - - -
ParameterTypeDescription
sequint64
orderbookOrderbook
+ + +
ParameterTypeDescription
sequint64the sequence number of the orderbook update
orderbookOrderbookthe orderbook details

**Position** - + - - - -
ParameterTypeDescription
market_idstringthe market ID
subaccount_idstringthe subaccount ID
isLongboolwhether the position is long or short
quantitycosmossdk_io_math.LegacyDecthe quantity of the position
entry_pricecosmossdk_io_math.LegacyDecthe entry price of the position
margincosmossdk_io_math.LegacyDecthe margin of the position
cumulative_funding_entrycosmossdk_io_math.LegacyDecthe cumulative funding entry of the position
+quantitycosmossdk_io_math.LegacyDecthe quantity of the position (in human readable format) +entry_pricecosmossdk_io_math.LegacyDecthe entry price of the position (in human readable format) +margincosmossdk_io_math.LegacyDecthe margin of the position (in human readable format) +cumulative_funding_entrycosmossdk_io_math.LegacyDecthe cumulative funding entry of the position (in human readable format)
**OraclePrice** - - - -
ParameterTypeDescription
symbolstring
pricecosmossdk_io_math.LegacyDec
typestring
+ + + +
ParameterTypeDescription
symbolstringthe symbol of the oracle price
pricecosmossdk_io_math.LegacyDecthe updated price
typestringthe oracle type

@@ -391,18 +417,18 @@ Each message contains a list of events that are filtered by the request paramete **SpotOrder** - - -
ParameterTypeDescription
market_idstring
ordertypes.SpotLimitOrder
+ + +
ParameterTypeDescription
market_idstringthe market ID
orderv2.SpotLimitOrderthe order details

**DerivativeOrder** - + - +
ParameterTypeDescription
market_idstringthe market ID
ordertypes.DerivativeLimitOrderthe derivative order details
orderv2.DerivativeLimitOrderthe order details
is_marketboolwhether 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** - - - -
ParameterTypeDescription
market_idstring
buy_levelstypes.Level array
sell_levelstypes.Level array
+ + + +
ParameterTypeDescription
market_idstringthe market ID
buy_levelsv2.Level arraylist of buy levels
sell_levelsv2.Level arraylist 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",