diff --git a/Makefile b/Makefile index e9494315..d99176d1 100644 --- a/Makefile +++ b/Makefile @@ -1,26 +1,26 @@ # Repository versions and URLs -COSMOS_SDK_VERSION := v0.50.14-inj.9 +COSMOS_SDK_VERSION := v0.50.14-inj.11 COSMOS_SDK_REPO := https://github.com/InjectiveLabs/cosmos-sdk.git -INJECTIVE_CORE_VERSION := v1.20.0 +INJECTIVE_CORE_VERSION := v1.20.1 INJECTIVE_CORE_REPO := https://github.com/InjectiveLabs/injective-core.git -INDEXER_VERSION := v1.20.2 +INDEXER_VERSION := v1.20.49 INDEXER_REPO := https://github.com/InjectiveLabs/injective-indexer.git IBC_GO_VERSION := v8.7.0-inj.4 IBC_GO_REPO := https://github.com/InjectiveLabs/ibc-go.git -COMETBFT_VERSION := v1.0.1-inj.7 +COMETBFT_VERSION := v1.0.1-inj.9 COMETBFT_REPO := https://github.com/InjectiveLabs/cometbft.git WASMD_VERSION := v0.53.3-inj.3 WASMD_REPO := https://github.com/InjectiveLabs/wasmd.git -PYTHON_SDK_VERSION := v1.15.0 +PYTHON_SDK_VERSION := v1.16.0 PYTHON_SDK_REPO := https://github.com/InjectiveLabs/sdk-python.git -GO_SDK_VERSION := v1.62.0 +GO_SDK_VERSION := v1.63.0 GO_SDK_REPO := https://github.com/InjectiveLabs/sdk-go.git # Temporary directories diff --git a/source/includes/_errors.md b/source/includes/_errors.md index e67fc7b0..bcb82a1e 100644 --- a/source/includes/_errors.md +++ b/source/includes/_errors.md @@ -30,6 +30,27 @@ This section lists all error codes from various modules in the Injective ecosyst 07-tendermint14invalid validator set +## 08-cardano-probabilistic module + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
08-cardano-probabilistic2invalid chain-id
08-cardano-probabilistic3invalid trusting period
08-cardano-probabilistic4invalid probabilistic header height
08-cardano-probabilistic5invalid probabilistic header
08-cardano-probabilistic6processed time not found
08-cardano-probabilistic7processed height not found
08-cardano-probabilistic8packet-specified delay period has not been reached
08-cardano-probabilistic9time since latest trusted state has passed the trusting period
08-cardano-probabilistic10invalid current epoch
08-cardano-probabilistic12invalid security score
08-cardano-probabilistic13invalid unique pool count
08-cardano-probabilistic14invalid qualified unique stake basis points
08-cardano-probabilistic15invalid accepted block
08-cardano-probabilistic16invalid host state commitment evidence
08-cardano-probabilistic17invalid timestamp
08-cardano-probabilistic18not implemented
+ + ## Auction module diff --git a/source/json_tables/errors/08-cardano-probabilistic_errors.json b/source/json_tables/errors/08-cardano-probabilistic_errors.json new file mode 100644 index 00000000..d444e72d --- /dev/null +++ b/source/json_tables/errors/08-cardano-probabilistic_errors.json @@ -0,0 +1,82 @@ +[ + { + "module_name": "08-cardano-probabilistic", + "error_code": 2, + "description": "invalid chain-id" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 3, + "description": "invalid trusting period" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 4, + "description": "invalid probabilistic header height" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 5, + "description": "invalid probabilistic header" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 6, + "description": "processed time not found" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 7, + "description": "processed height not found" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 8, + "description": "packet-specified delay period has not been reached" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 9, + "description": "time since latest trusted state has passed the trusting period" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 10, + "description": "invalid current epoch" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 12, + "description": "invalid security score" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 13, + "description": "invalid unique pool count" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 14, + "description": "invalid qualified unique stake basis points" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 15, + "description": "invalid accepted block" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 16, + "description": "invalid host state commitment evidence" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 17, + "description": "invalid timestamp" + }, + { + "module_name": "08-cardano-probabilistic", + "error_code": 18, + "description": "not implemented" + } +] diff --git a/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json b/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json index e68050ae..01f9c248 100644 --- a/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json +++ b/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json @@ -46,5 +46,11 @@ "Type": "bool", "Description": "When true, fills gaps in derivative candles using oracle/mark prices anchored to neighboring real trade candles.", "Required": "Yes" + }, + { + "Parameter": "index_prices", + "Type": "bool", + "Description": "When true, we'll use index prices. Supersedes useOraclePrices and fillGaps. Disabled for binary options markets.", + "Required": "Yes" } ] diff --git a/source/json_tables/indexer/injective_exchange_rpc/PrepareFeeGrantRequest.json b/source/json_tables/indexer/injective_exchange_rpc/PrepareFeeGrantRequest.json new file mode 100644 index 00000000..6a8d1a1e --- /dev/null +++ b/source/json_tables/indexer/injective_exchange_rpc/PrepareFeeGrantRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "grantee_address", + "Type": "string", + "Description": "Address that receives the feegrant", + "Required": "Yes" + } +] diff --git a/source/json_tables/indexer/injective_exchange_rpc/PrepareFeeGrantResponse.json b/source/json_tables/indexer/injective_exchange_rpc/PrepareFeeGrantResponse.json new file mode 100644 index 00000000..5b72c155 --- /dev/null +++ b/source/json_tables/indexer/injective_exchange_rpc/PrepareFeeGrantResponse.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "granter_address", + "Type": "string", + "Description": "Feegrant granter address" + }, + { + "Parameter": "grantee_address", + "Type": "string", + "Description": "Grantee address" + }, + { + "Parameter": "tx_hash", + "Type": "string", + "Description": "Feegrant transaction hash" + }, + { + "Parameter": "expiration", + "Type": "uint64", + "Description": "Feegrant expiration timestamp in Unix milliseconds" + }, + { + "Parameter": "spend_limit", + "Type": "CosmosCoin", + "Description": "Feegrant spend limit" + }, + { + "Parameter": "allowed_messages", + "Type": "string array", + "Description": "Message type URLs allowed by the feegrant" + } +] diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareAutoSignRequestType.json b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareAutoSignRequestType.json index c93f8a0e..89aa23ab 100644 --- a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareAutoSignRequestType.json +++ b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareAutoSignRequestType.json @@ -84,6 +84,16 @@ "Type": "string", "Description": "Client order ID echoed through to the on-chain trade event. Used to correlate a trade event back to the originating UI order. Not used server-side." }, + { + "Parameter": "simulate", + "Type": "bool", + "Description": "Simulate the tx on chain and use the estimated gas (with adjustment buffer) instead of the fee payer max gas. Falls back to max gas if the simulation fails." + }, + { + "Parameter": "tx_body_memo", + "Type": "string", + "Description": "Optional outer Cosmos TxBody memo" + }, { "Parameter": "taker_address", "Type": "string", diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareEip712AutoSignRequestType.json b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareEip712AutoSignRequestType.json index d4b720ab..4f23c22f 100644 --- a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareEip712AutoSignRequestType.json +++ b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareEip712AutoSignRequestType.json @@ -84,6 +84,16 @@ "Type": "string", "Description": "Client order ID echoed through to the on-chain trade event. Used to correlate a trade event back to the originating UI order. Not used server-side." }, + { + "Parameter": "simulate", + "Type": "bool", + "Description": "Simulate the tx on chain and use the estimated gas (with adjustment buffer) instead of the fee payer max gas. Falls back to max gas if the simulation fails." + }, + { + "Parameter": "tx_body_memo", + "Type": "string", + "Description": "Optional outer Cosmos TxBody memo" + }, { "Parameter": "taker_address", "Type": "string", @@ -102,6 +112,6 @@ { "Parameter": "gas", "Type": "uint64", - "Description": "Optional gas limit override" + "Description": "Optional gas limit override. Takes precedence over simulate" } ] diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareEip712RequestType.json b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareEip712RequestType.json index 3efad093..5f5d3423 100644 --- a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareEip712RequestType.json +++ b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareEip712RequestType.json @@ -84,6 +84,16 @@ "Type": "string", "Description": "Client order ID echoed through to the on-chain trade event. Used to correlate a trade event back to the originating UI order. Not used server-side." }, + { + "Parameter": "simulate", + "Type": "bool", + "Description": "Simulate the tx on chain and use the estimated gas (with adjustment buffer) instead of the fee payer max gas. Falls back to max gas if the simulation fails." + }, + { + "Parameter": "tx_body_memo", + "Type": "string", + "Description": "Optional outer Cosmos TxBody memo" + }, { "Parameter": "eth_chain_id", "Type": "uint64", @@ -97,6 +107,6 @@ { "Parameter": "gas", "Type": "uint64", - "Description": "Optional gas limit override" + "Description": "Optional gas limit override. Takes precedence over simulate" } ] diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareRequestType.json b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareRequestType.json index 6031c359..9a80d06c 100644 --- a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareRequestType.json +++ b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareRequestType.json @@ -83,5 +83,15 @@ "Parameter": "cid", "Type": "string", "Description": "Client order ID echoed through to the on-chain trade event. Used to correlate a trade event back to the originating UI order. Not used server-side." + }, + { + "Parameter": "simulate", + "Type": "bool", + "Description": "Simulate the tx on chain and use the estimated gas (with adjustment buffer) instead of the fee payer max gas. Falls back to max gas if the simulation fails." + }, + { + "Parameter": "tx_body_memo", + "Type": "string", + "Description": "Optional outer Cosmos TxBody memo" } ] diff --git a/source/json_tables/indexer/injective_rfq_rpc/QuoteStreamAck.json b/source/json_tables/indexer/injective_rfq_rpc/QuoteStreamAck.json index 55167fc0..e1cbb7a1 100644 --- a/source/json_tables/indexer/injective_rfq_rpc/QuoteStreamAck.json +++ b/source/json_tables/indexer/injective_rfq_rpc/QuoteStreamAck.json @@ -8,5 +8,10 @@ "Parameter": "status", "Type": "string", "Description": "Status of the operation" + }, + { + "Parameter": "taker", + "Type": "string", + "Description": "Taker address" } ] diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamError.json b/source/json_tables/indexer/injective_rfq_rpc/StreamError.json index efb51ebe..ed36ffde 100644 --- a/source/json_tables/indexer/injective_rfq_rpc/StreamError.json +++ b/source/json_tables/indexer/injective_rfq_rpc/StreamError.json @@ -7,6 +7,16 @@ { "Parameter": "id", "Type": "string", - "Description": "ID to identify the request or quote in the stream. RFQ_ID for quotes. CLIENT_ID for requests." + "Description": "Client ID. Only filled in taker streams" + }, + { + "Parameter": "taker", + "Type": "string", + "Description": "Taker address. Only filled in the maker stream" + }, + { + "Parameter": "rfq_id", + "Type": "uint64", + "Description": "RFQ ID. Only filled if available" } ] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPayment.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPayment.json new file mode 100644 index 00000000..494aa13f --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPayment.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "market_id", + "Type": "string", + "Description": "Derivative Market ID" + }, + { + "Parameter": "subaccount_id", + "Type": "string", + "Description": "The subaccountId that the position belongs to" + }, + { + "Parameter": "amount", + "Type": "string", + "Description": "Amount of the funding payment" + }, + { + "Parameter": "timestamp", + "Type": "int64", + "Description": "Timestamp of funding payment in UNIX millis" + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPaymentsRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPaymentsRequest.json new file mode 100644 index 00000000..6d910e3a --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPaymentsRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "market_ids", + "Type": "string array", + "Description": "Market IDs to filter funding payments", + "Required": "Yes" + }, + { + "Parameter": "per_page", + "Type": "int32", + "Description": "Number of results per page", + "Required": "Yes" + }, + { + "Parameter": "token", + "Type": "string", + "Description": "Pagination token", + "Required": "Yes" + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPaymentsResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPaymentsResponse.json new file mode 100644 index 00000000..1b6feef5 --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/FundingPaymentsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "payments", + "Type": "FundingPayment array", + "Description": "List of funding payments" + }, + { + "Parameter": "next", + "Type": "string array", + "Description": "Next tokens for pagination" + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json index 81ad1ab4..017791e1 100644 --- a/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json @@ -64,5 +64,11 @@ "Type": "string", "Description": "filter synthetic trades by RFQ maker address", "Required": "Yes" + }, + { + "Parameter": "participant", + "Type": "string", + "Description": "filter trades including the address as RFQ maker or the trade account address", + "Required": "Yes" } ] diff --git a/source/json_tables/injective/peggy/MsgCreateRateLimit.json b/source/json_tables/injective/peggy/MsgCreateRateLimit.json index fd3cfd66..8dde941e 100644 --- a/source/json_tables/injective/peggy/MsgCreateRateLimit.json +++ b/source/json_tables/injective/peggy/MsgCreateRateLimit.json @@ -20,7 +20,7 @@ { "Parameter": "token_price_id", "Type": "string", - "Description": "a Pyth-specific ID used to obtain USD price of the ERC20 token", + "Description": "unique ID used to obtain the notional USD value of the ERC20 token from oracle", "Required": "Yes" }, { @@ -40,5 +40,11 @@ "Type": "uint64", "Description": "length of the sliding window in which inbound (outbound) traffic is measured", "Required": "Yes" + }, + { + "Parameter": "token_oracle_type", + "Type": "OracleType", + "Description": "token_oracle_type is used to obtain the USD price of the ERC20 token (in relation with token_price_id)", + "Required": "Yes" } ] diff --git a/source/json_tables/injective/peggy/MsgUpdateRateLimit.json b/source/json_tables/injective/peggy/MsgUpdateRateLimit.json index 5f5e3c0e..91e35934 100644 --- a/source/json_tables/injective/peggy/MsgUpdateRateLimit.json +++ b/source/json_tables/injective/peggy/MsgUpdateRateLimit.json @@ -14,7 +14,7 @@ { "Parameter": "new_token_price_id", "Type": "string", - "Description": "new_token_price_id is the new Pyth price ID of the rate limited token", + "Description": "unique ID used to obtain the notional USD value of the ERC20 token from oracle", "Required": "Yes" }, { @@ -28,5 +28,11 @@ "Type": "uint64", "Description": "new_rate_limit_window is the new length of the sliding window", "Required": "Yes" + }, + { + "Parameter": "new_token_oracle_type", + "Type": "OracleType", + "Description": "new_token_oracle_type is used to obtain the USD price of the ERC20 token (in relation with token_price_id)", + "Required": "Yes" } ] diff --git a/source/json_tables/injective/peggy/RateLimit.json b/source/json_tables/injective/peggy/RateLimit.json index 00988c32..5dc5f9b7 100644 --- a/source/json_tables/injective/peggy/RateLimit.json +++ b/source/json_tables/injective/peggy/RateLimit.json @@ -12,7 +12,7 @@ { "Parameter": "token_price_id", "Type": "string", - "Description": "a Pyth-specific ID used to obtain USD price of the ERC20 token" + "Description": "unique ID used to obtain the notional USD value of the ERC20 token from oracle" }, { "Parameter": "rate_limit_window", @@ -33,5 +33,10 @@ "Parameter": "transfers", "Type": "BridgeTransfer array", "Description": "transfers that occurred within the sliding window" + }, + { + "Parameter": "token_oracle_type", + "Type": "OracleType", + "Description": "oracle type used to obtain the USD price of the ERC20 token (in relation with token_price_id)" } ]