diff --git a/Makefile b/Makefile
index 568564b7..741693af 100644
--- a/Makefile
+++ b/Makefile
@@ -1,26 +1,26 @@
# Repository versions and URLs
-COSMOS_SDK_VERSION := v0.50.14-inj.4
+COSMOS_SDK_VERSION := v0.50.14-inj.9
COSMOS_SDK_REPO := https://github.com/InjectiveLabs/cosmos-sdk.git
-INJECTIVE_CORE_VERSION := v1.18.0
+INJECTIVE_CORE_VERSION := v1.19.0
INJECTIVE_CORE_REPO := https://github.com/InjectiveLabs/injective-core.git
-INDEXER_VERSION := v1.18.3
+INDEXER_VERSION := v1.19.0
INDEXER_REPO := https://github.com/InjectiveLabs/injective-indexer.git
-IBC_GO_VERSION := v8.7.0-inj.3
+IBC_GO_VERSION := v8.7.0-inj.4
IBC_GO_REPO := https://github.com/InjectiveLabs/ibc-go.git
-COMETBFT_VERSION := v1.0.1-inj.6
+COMETBFT_VERSION := v1.0.1-inj.7
COMETBFT_REPO := https://github.com/InjectiveLabs/cometbft.git
-WASMD_VERSION := v0.53.3-inj.2
+WASMD_VERSION := v0.53.3-inj.3
WASMD_REPO := https://github.com/InjectiveLabs/wasmd.git
-PYTHON_SDK_VERSION := v1.13.0
+PYTHON_SDK_VERSION := v1.14.0
PYTHON_SDK_REPO := https://github.com/InjectiveLabs/sdk-python.git
-GO_SDK_VERSION := v1.60.0
+GO_SDK_VERSION := v1.61.0
GO_SDK_REPO := https://github.com/InjectiveLabs/sdk-go.git
# Temporary directories
diff --git a/scripts/generate_proto_json_files.sh b/scripts/generate_proto_json_files.sh
index 5d488cac..0df60646 100755
--- a/scripts/generate_proto_json_files.sh
+++ b/scripts/generate_proto_json_files.sh
@@ -135,7 +135,10 @@ get_type() {
if [[ $type =~ ^\[(.*)\](.*)$ ]]; then
local base_type="${BASH_REMATCH[1]}"
local remaining="${BASH_REMATCH[2]}"
+ remaining="${remaining##*.}"
type="$base_type$remaining array"
+ else
+ type="${type##*.}"
fi
fi
echo "$type"
@@ -444,13 +447,13 @@ process_repository_modules() {
if [ -d "$module_dir/types" ]; then
process_types_directory "$module_dir/types" "$output_dir" "$module_name"
- else
- # Check if module has .pb.go files in the main directory
- if compgen -G "$module_dir/*.pb.go" > /dev/null 2>&1; then
- echo "Processing module with direct .pb.go files: $module_name"
- mkdir -p "$output_dir/$module_name"
- process_directory "$module_dir" "$output_dir/$module_name"
- fi
+ elif compgen -G "$module_dir/*.pb.go" > /dev/null 2>&1; then
+ echo "Processing module with direct .pb.go files: $module_name"
+ mkdir -p "$output_dir/$module_name"
+ process_directory "$module_dir" "$output_dir/$module_name"
+ elif find "$module_dir" -name "*.pb.go" -type f | head -1 | grep -q .; then
+ echo "Processing namespace directory: $module_name"
+ process_repository_modules "$module_dir" "$output_dir/$module_name"
fi
done
}
diff --git a/source/includes/_account.md b/source/includes/_account.md
index 7d47f86a..dd0f5505 100644
--- a/source/includes/_account.md
+++ b/source/includes/_account.md
@@ -88,6 +88,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -95,6 +96,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -107,7 +109,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -171,7 +173,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | the sender's Injective address | Yes |
| subaccount_id | string | (Optional) the subaccount ID to deposit funds into. If empty, the coin will be deposited to the sender's default subaccount address. | No |
-| amount | types.Coin | the amount of the deposit (in chain format) | Yes |
+| amount | Coin | the amount of the deposit (in chain format) | Yes |
@@ -180,7 +182,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -203,7 +205,7 @@ gas fee: 0.0000660495 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -221,9 +223,9 @@ gas fee: 0.0000660495 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -324,12 +326,14 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -342,7 +346,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -408,7 +412,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | the sender's Injective address | Yes |
| subaccount_id | string | the subaccount ID to withdraw funds from | Yes |
-| amount | types.Coin | the amount of the withdrawal (in chain format) | Yes |
+| amount | Coin | the amount of the withdrawal (in chain format) | Yes |
@@ -417,7 +421,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -440,7 +444,7 @@ gas fee: 0.000064803 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -458,9 +462,9 @@ gas fee: 0.000064803 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -566,6 +570,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -573,6 +578,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -585,7 +591,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -653,7 +659,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | the sender's Injective address | Yes |
| source_subaccount_id | string | the source subaccount ID | Yes |
| destination_subaccount_id | string | the destination subaccount ID | Yes |
-| amount | types.Coin | the amount to transfer (in chain format) | Yes |
+| amount | Coin | the amount to transfer (in chain format) | Yes |
@@ -662,7 +668,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -685,7 +691,7 @@ gas fee: 0.0000610515 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -703,9 +709,9 @@ gas fee: 0.0000610515 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -811,6 +817,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -818,6 +825,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -830,7 +838,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -898,7 +906,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | the sender's Injective address | Yes |
| source_subaccount_id | string | the source subaccount ID | Yes |
| destination_subaccount_id | string | the destination subaccount ID | Yes |
-| amount | types.Coin | the amount to transfer (in chain format) | Yes |
+| amount | Coin | the amount to transfer (in chain format) | Yes |
@@ -907,7 +915,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -930,7 +938,7 @@ gas fee: 0.0000611985 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -948,9 +956,9 @@ gas fee: 0.0000611985 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1066,12 +1074,14 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
peggytypes "github.com/InjectiveLabs/sdk-go/chain/peggy/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1084,7 +1094,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1158,8 +1168,8 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | The sender's Injective address | Yes |
| eth_dest | string | The Ethereum address to send the tokens to | Yes |
-| amount | types.Coin | The amount of tokens to send | Yes |
-| bridge_fee | types.Coin | The fee paid for the bridge, distinct from the fee paid to the chain to actually send this message in the first place. So a successful send has two layers of fees for the user | Yes |
+| amount | Coin | The amount of tokens to send | Yes |
+| bridge_fee | Coin | The fee paid for the bridge, distinct from the fee paid to the chain to actually send this message in the first place. So a successful send has two layers of fees for the user | Yes |
@@ -1168,7 +1178,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -1191,7 +1201,7 @@ gas fee: 0.0000809535 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1209,9 +1219,9 @@ gas fee: 0.0000809535 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1357,6 +1367,7 @@ import (
"github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
+ "github.com/joho/godotenv"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
@@ -1364,6 +1375,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
// network := common.LoadNetwork("mainnet", "k8s")
network := common.LoadNetwork("mainnet", "lb")
tmRPC, err := rpchttp.New(network.TmEndpoint)
@@ -1378,7 +1390,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2115,7 +2127,7 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B
| Parameter | Type | Description |
|---|
| tx | Tx | tx is the queried transaction. |
-| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -2133,11 +2145,11 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B
**TxBody**
-| Parameter | Type | Description |
|---|
| messages | types.Any array | messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction. |
+| Parameter | Type | Description |
|---|
| messages | Any array | messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction. |
| memo | string | memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). |
| timeout_height | uint64 | timeout is the block height after which this transaction will not be processed by the chain |
-| extension_options | types.Any array | extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected |
-| non_critical_extension_options | types.Any array | extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored |
+| extension_options | Any array | extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected |
+| non_critical_extension_options | Any array | extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored |
@@ -2155,7 +2167,7 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B
**SignerInfo**
-| Parameter | Type | Description |
|---|
| public_key | types.Any | public_key is the public key of the signer. It is optional for accounts that already exist in state. If unset, the verifier can use the required \ signer address for this position and lookup the public key. |
+| Parameter | Type | Description |
|---|
| public_key | Any | public_key is the public key of the signer. It is optional for accounts that already exist in state. If unset, the verifier can use the required \ signer address for this position and lookup the public key. |
| mode_info | ModeInfo | mode_info describes the signing mode of the signer and is a nested structure to support nested multisig pubkey's |
| sequence | uint64 | sequence is the sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks. |
@@ -2177,7 +2189,7 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B
**Fee**
-| Parameter | Type | Description |
|---|
| amount | github_com_cosmos_cosmos_sdk_types.Coins | amount is the amount of coins to be paid as a fee |
+| Parameter | Type | Description |
|---|
| amount | Coins | amount is the amount of coins to be paid as a fee |
| gas_limit | uint64 | gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs |
| payer | string | if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does *not* change the ordering of required signers for the transaction. |
| granter | string | if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail |
@@ -2189,7 +2201,7 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -2197,7 +2209,7 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B
**Tip**
-| Parameter | Type | Description |
|---|
| amount | github_com_cosmos_cosmos_sdk_types.Coins | amount is the amount of the tip |
+| Parameter | Type | Description |
|---|
| amount | Coins | amount is the amount of the tip |
| tipper | string | tipper is the address of the account paying for the tip |
@@ -2216,9 +2228,9 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_auction.md b/source/includes/_auction.md
index b94aa71a..23f80b9c 100644
--- a/source/includes/_auction.md
+++ b/source/includes/_auction.md
@@ -2,6 +2,289 @@
Includes the message for placing bids in auctions.
+## Vouchers
+
+Defines a gRPC query method for the vouchers for a given denom
+
+**IP rate limit group:** `chain`
+
+### Request Parameters
+> Request Example:
+
+
+
+```py
+import asyncio
+
+from pyinjective.async_client_v2 import AsyncClient
+from pyinjective.core.network import Network
+
+
+async def main() -> None:
+ network = Network.testnet()
+ client = AsyncClient(network)
+
+ denom = "inj"
+ vouchers = await client.fetch_auction_vouchers(denom=denom)
+ print(vouchers)
+
+
+if __name__ == "__main__":
+ asyncio.get_event_loop().run_until_complete(main())
+```
+
+
+
+
+```go
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+)
+
+func main() {
+ _ = godotenv.Load()
+ network := common.LoadNetwork("devnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint)
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClientV2(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+
+ denom := "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+
+ res, err := chainClient.FetchAuctionVouchers(ctx, denom)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", "\t")
+ fmt.Print(string(str))
+}
+```
+
+
+
+| Parameter | Type | Description | Required |
|---|
| denom | string | denom filter; empty string returns all vouchers | Yes |
+
+
+
+### Response Parameters
+> Response Example:
+
+``` json
+
+```
+
+
+| Parameter | Type | Description |
|---|
| vouchers | AddressVoucher array | List of outstanding vouchers matching the request filter. |
+
+
+
+
+**AddressVoucher**
+
+
+| Parameter | Type | Description |
|---|
| address | string | The bech32 address of the voucher holder. |
+| voucher | Coin | The outstanding voucher coin. |
+
+
+
+
+**Coin**
+
+
+| Parameter | Type | Description |
|---|
| denom | string | |
+| amount | Int | |
+
+
+
+## Voucher
+
+Defines a gRPC query method for the vouchers for a given denom and address
+
+**IP rate limit group:** `chain`
+
+### Request Parameters
+> Request Example:
+
+
+
+```py
+import asyncio
+
+from pyinjective.async_client_v2 import AsyncClient
+from pyinjective.core.network import Network
+
+
+async def main() -> None:
+ network = Network.testnet()
+ client = AsyncClient(network)
+
+ denom = "inj"
+ address = "inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr"
+ voucher = await client.fetch_auction_voucher(denom=denom, address=address)
+ print(voucher)
+
+
+if __name__ == "__main__":
+ asyncio.get_event_loop().run_until_complete(main())
+```
+
+
+
+
+```go
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
+)
+
+func main() {
+ _ = godotenv.Load()
+ network := common.LoadNetwork("devnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint)
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClientV2(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+
+ denom := "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+ address := "inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr"
+
+ res, err := chainClient.FetchAuctionVoucher(ctx, denom, address)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", "\t")
+ fmt.Print(string(str))
+}
+```
+
+
+
+| Parameter | Type | Description | Required |
|---|
| denom | string | Required. The token denom to look up. | Yes |
+| address | string | Required. The bech32 address of the voucher holder. | Yes |
+
+
+
+### Response Parameters
+> Response Example:
+
+``` json
+
+```
+
+
+| Parameter | Type | Description |
|---|
| voucher | Coin | The outstanding voucher coin for the requested denom and address. |
+
+
+
+
+**Coin**
+
+
+| Parameter | Type | Description |
|---|
| denom | string | |
+| amount | Int | |
+
+
+
## MsgBid
**IP rate limit group:** `chain`
@@ -86,6 +369,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
auctiontypes "github.com/InjectiveLabs/sdk-go/chain/auction/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -93,6 +377,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -105,7 +390,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -173,7 +458,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | the sender's Injective address | Yes |
-| bid_amount | types.Coin | amount of the bid in INJ tokens | Yes |
+| bid_amount | Coin | amount of the bid in INJ tokens | Yes |
| round | uint64 | the current auction round being bid on | Yes |
@@ -183,7 +468,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -206,7 +491,217 @@ gas fee: 0.000076056 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
+
+
+
+
+**TxResponse**
+
+
+| Parameter | Type | Description |
|---|
| height | int64 | The block height |
+| txhash | string | The transaction hash. |
+| codespace | string | Namespace for the Code |
+| code | uint32 | Response code. |
+| data | string | Result bytes, if any. |
+| raw_log | string | The output of the application's logger (raw string). May be non-deterministic. |
+| logs | ABCIMessageLogs | The output of the application's logger (typed). May be non-deterministic. |
+| info | string | Additional information. May be non-deterministic. |
+| gas_wanted | int64 | Amount of gas requested for transaction. |
+| gas_used | int64 | Amount of gas consumed by transaction. |
+| tx | Any | The request transaction bytes. |
+| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+
+
+
+
+**ABCIMessageLog**
+
+
+| Parameter | Type | Description |
|---|
| msg_index | uint32 | |
+| log | string | |
+| events | StringEvents | Events contains a slice of Event objects that were emitted during some execution. |
+
+
+
+## MsgClaimVoucher
+
+Message to claim existing vouchers for a particular address
+
+**IP rate limit group:** `chain`
+
+
+### Request Parameters
+> Request Example:
+
+
+
+```py
+import asyncio
+import json
+import os
+
+import dotenv
+
+from pyinjective.async_client_v2 import AsyncClient
+from pyinjective.core.broadcaster import MsgBroadcasterWithPk
+from pyinjective.core.network import Network
+from pyinjective.wallet import PrivateKey
+
+
+async def main() -> None:
+ dotenv.load_dotenv()
+ private_key_in_hexa = os.getenv("INJECTIVE_PRIVATE_KEY")
+
+ network = Network.devnet()
+
+ client = AsyncClient(network)
+ composer = await client.composer()
+
+ gas_price = await client.current_chain_gas_price()
+ gas_price = int(gas_price * 1.1)
+
+ message_broadcaster = MsgBroadcasterWithPk.new_using_simulation(
+ network=network,
+ private_key=private_key_in_hexa,
+ gas_price=gas_price,
+ client=client,
+ composer=composer,
+ )
+
+ priv_key = PrivateKey.from_hex(private_key_in_hexa)
+ pub_key = priv_key.to_public_key()
+ address = pub_key.to_address()
+
+ denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+
+ message = composer.msg_auction_claim_voucher(
+ sender=address.to_acc_bech32(),
+ denom=denom,
+ )
+
+ result = await message_broadcaster.broadcast([message])
+ print("---Transaction Response---")
+ print(json.dumps(result, indent=2))
+
+ gas_price = await client.current_chain_gas_price()
+ gas_price = int(gas_price * 1.1)
+ message_broadcaster.update_gas_price(gas_price=gas_price)
+
+
+if __name__ == "__main__":
+ asyncio.get_event_loop().run_until_complete(main())
+```
+
+
+
+
+```go
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+ "time"
+
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
+
+ auctiontypes "github.com/InjectiveLabs/sdk-go/chain/auction/types"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+)
+
+func main() {
+ _ = godotenv.Load()
+ network := common.LoadNetwork("devnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint)
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClientV2(
+ clientCtx,
+ network,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
+ defer cancel()
+
+ gasPrice := chainClient.CurrentChainGasPrice(ctx)
+ gasPrice = int64(float64(gasPrice) * 1.1)
+ chainClient.SetGasPrice(gasPrice)
+
+ denom := "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+
+ msg := &auctiontypes.MsgClaimVoucher{
+ Sender: senderAddress.String(),
+ Denom: denom,
+ }
+
+ _, response, err := chainClient.BroadcastMsg(ctx, txtypes.BroadcastMode_BROADCAST_MODE_SYNC, msg)
+
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(response, "", "\t")
+ fmt.Print(string(str))
+
+ gasPrice = chainClient.CurrentChainGasPrice(ctx)
+ gasPrice = int64(float64(gasPrice) * 1.1)
+ chainClient.SetGasPrice(gasPrice)
+}
+```
+
+
+
+| Parameter | Type | Description | Required |
|---|
| sender | string | The sender's Injective address. | Yes |
+| denom | string | The token denom of the voucher to claim. | Yes |
+
+
+### Response Parameters
+> Response Example:
+
+``` json
+```
+
+
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -224,9 +719,9 @@ gas fee: 0.000076056 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_authz.md b/source/includes/_authz.md
index 0d278174..87556ce2 100644
--- a/source/includes/_authz.md
+++ b/source/includes/_authz.md
@@ -106,12 +106,14 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -124,7 +126,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -247,7 +249,7 @@ gas fee: 0.0000589365 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -265,9 +267,9 @@ gas fee: 0.0000589365 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -383,6 +385,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
authztypes "github.com/cosmos/cosmos-sdk/x/authz"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -391,6 +394,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -403,7 +407,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -417,7 +421,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -511,7 +515,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| grantee | string | | Yes |
-| msgs | types.Any array | Execute Msg. The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) triple and validate it. | No |
+| msgs | Any array | Execute Msg. The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) triple and validate it. | No |
### Response Parameters
@@ -538,7 +542,7 @@ gas fee: 0.000066986 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -556,9 +560,9 @@ gas fee: 0.000066986 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -661,12 +665,14 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
authztypes "github.com/cosmos/cosmos-sdk/x/authz"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -679,7 +685,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -768,7 +774,7 @@ gas fee: 0.0000515765 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -786,9 +792,9 @@ gas fee: 0.0000515765 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -851,6 +857,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -861,6 +868,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -873,7 +881,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -934,7 +942,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| granter | string | | Yes |
| grantee | string | | Yes |
| msg_type_url | string | Optional, msg_type_url, when set, will query only grants matching given msg type. | No |
-| pagination | query.PageRequest | pagination defines an pagination for the request. | No |
+| pagination | PageRequest | pagination defines an pagination for the request. | No |
@@ -959,7 +967,7 @@ func main() {
| Parameter | Type | Description |
|---|
| grants | Grant array | authorizations is a list of grants granted for grantee by granter. |
-| pagination | query.PageResponse | pagination defines an pagination for the response. |
+| pagination | PageResponse | pagination defines an pagination for the response. |
@@ -967,8 +975,8 @@ func main() {
**Grant**
-| Parameter | Type | Description |
|---|
| authorization | types.Any | |
-| expiration | time.Time | time when the grant will expire and will be pruned. If null, then the grant doesn't have a time expiration (other conditions in `authorization` may apply to invalidate the grant) |
+| Parameter | Type | Description |
|---|
| authorization | Any | |
+| expiration | Time | time when the grant will expire and will be pruned. If null, then the grant doesn't have a time expiration (other conditions in `authorization` may apply to invalidate the grant) |
diff --git a/source/includes/_bank.md b/source/includes/_bank.md
index c97de685..45f9cef4 100644
--- a/source/includes/_bank.md
+++ b/source/includes/_bank.md
@@ -92,12 +92,14 @@ import (
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -110,7 +112,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -176,7 +178,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| from_address | string | | Yes |
| to_address | string | | Yes |
-| amount | github_com_cosmos_cosmos_sdk_types.Coins | | Yes |
+| amount | Coins | | Yes |
@@ -200,7 +202,7 @@ gas fee: 0.0000599355 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -218,9 +220,9 @@ gas fee: 0.0000599355 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -258,12 +260,14 @@ import (
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -276,7 +280,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -377,7 +381,7 @@ func main() {
| Parameter | Type | Description |
|---|
| address | string | |
-| coins | github_com_cosmos_cosmos_sdk_types.Coins | |
+| coins | Coins | |
@@ -386,7 +390,7 @@ func main() {
| Parameter | Type | Description |
|---|
| address | string | |
-| coins | github_com_cosmos_cosmos_sdk_types.Coins | |
+| coins | Coins | |
@@ -407,7 +411,7 @@ gas fee: 0.000076422 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -425,9 +429,9 @@ gas fee: 0.000076422 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -488,11 +492,13 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"os"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -505,7 +511,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -552,7 +558,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| address | string | address is the address to query balances for. | Yes |
-| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
| resolve_denom | bool | resolve_denom is the flag to resolve the denom into a human-readable form from the metadata. Since: cosmos-sdk 0.50 | Yes |
@@ -638,8 +644,8 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| balances | github_com_cosmos_cosmos_sdk_types.Coins | balances is the balances of all the coins. |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| Parameter | Type | Description |
|---|
| balances | Coins | balances is the balances of all the coins. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -648,7 +654,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -706,6 +712,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -715,6 +722,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -727,7 +735,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -801,7 +809,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| balance | types.Coin | balance is the balance of the coin. |
+| Parameter | Type | Description |
|---|
| balance | Coin | balance is the balance of the coin. |
@@ -810,7 +818,7 @@ func main() {
| Parameter | Type | Description |
|---|
| address | string | address is the address of the balance holder. |
-| coins | github_com_cosmos_cosmos_sdk_types.Coins | coins defines the different coins this balance holds. |
+| coins | Coins | coins defines the different coins this balance holds. |
@@ -859,6 +867,7 @@ import (
"github.com/InjectiveLabs/sdk-go/client"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -868,6 +877,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -880,7 +890,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -928,7 +938,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| address | string | address is the address to query spendable balances for. | Yes |
-| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -1054,8 +1064,8 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| balances | github_com_cosmos_cosmos_sdk_types.Coins | balances is the spendable balances of all the coins. |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| Parameter | Type | Description |
|---|
| balances | Coins | balances is the spendable balances of all the coins. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -1064,7 +1074,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -1073,7 +1083,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -1134,11 +1144,13 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"os"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1151,7 +1163,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1226,7 +1238,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| balance | types.Coin | balance is the balance of the coin. |
+| Parameter | Type | Description |
|---|
| balance | Coin | balance is the balance of the coin. |
@@ -1235,7 +1247,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -1286,6 +1298,7 @@ import (
"github.com/InjectiveLabs/sdk-go/client"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1295,6 +1308,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1307,7 +1321,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1353,7 +1367,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | pagination defines an optional pagination for the request. Since: cosmos-sdk 0.43 | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | pagination defines an optional pagination for the request. Since: cosmos-sdk 0.43 | No |
@@ -1475,8 +1489,8 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| supply | github_com_cosmos_cosmos_sdk_types.Coins | supply is the supply of the coins |
-| pagination | query.PageResponse | pagination defines the pagination in the response. Since: cosmos-sdk 0.43 |
+| Parameter | Type | Description |
|---|
| supply | Coins | supply is the supply of the coins |
+| pagination | PageResponse | pagination defines the pagination in the response. Since: cosmos-sdk 0.43 |
@@ -1485,7 +1499,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -1544,11 +1558,13 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"os"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1561,7 +1577,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1629,7 +1645,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| amount | types.Coin | amount is the supply of the coin. |
+| Parameter | Type | Description |
|---|
| amount | Coin | amount is the supply of the coin. |
@@ -1638,7 +1654,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -1689,11 +1705,13 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"os"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1706,7 +1724,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1874,6 +1892,7 @@ import (
"github.com/InjectiveLabs/sdk-go/client"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1883,6 +1902,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1895,7 +1915,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1941,7 +1961,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -2243,7 +2263,7 @@ func main() {
| Parameter | Type | Description |
|---|
| metadatas | Metadata array | metadata provides the client information for all the registered tokens. |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -2333,11 +2353,13 @@ import (
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"os"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2350,7 +2372,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2398,7 +2420,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| denom | string | denom defines the coin denomination to query all account holders for. | Yes |
-| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -2515,7 +2537,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom_owners | DenomOwner array | |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -2524,7 +2546,7 @@ func main() {
| Parameter | Type | Description |
|---|
| address | string | address defines the address that owns a particular denomination. |
-| balance | types.Coin | balance is the balance of the denominated coin for an account. |
+| balance | Coin | balance is the balance of the denominated coin for an account. |
@@ -2533,7 +2555,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -2596,6 +2618,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -2603,6 +2626,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2615,7 +2639,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2663,7 +2687,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| denoms | string array | denoms is the specific denoms you want look up. Leave empty to get all entries. | Yes |
-| pagination | query.PageRequest | pagination defines an optional pagination for the request. This field is only read if the denoms field is empty. | No |
+| pagination | PageRequest | pagination defines an optional pagination for the request. This field is only read if the denoms field is empty. | No |
@@ -2690,7 +2714,7 @@ func main() {
| Parameter | Type | Description |
|---|
| send_enabled | SendEnabled array | |
-| pagination | query.PageResponse | pagination defines the pagination in the response. This field is only populated if the denoms field in the request is empty. |
+| pagination | PageResponse | pagination defines the pagination in the response. This field is only populated if the denoms field in the request is empty. |
diff --git a/source/includes/_binaryoptions.md b/source/includes/_binaryoptions.md
index 504d35ab..36c8dd9e 100644
--- a/source/includes/_binaryoptions.md
+++ b/source/includes/_binaryoptions.md
@@ -52,9 +52,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -67,7 +69,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -177,21 +179,21 @@ func main() {
| Parameter | Type | Description |
|---|
| ticker | string | Ticker for the derivative contract. |
| oracle_symbol | string | Oracle symbol |
| oracle_provider | string | Oracle Provider |
-| oracle_type | types.OracleType | Oracle type |
+| oracle_type | OracleType | Oracle type |
| oracle_scale_factor | uint32 | Scale factor for oracle prices. |
| expiration_timestamp | int64 | expiration timestamp |
| settlement_timestamp | int64 | expiration timestamp |
| admin | string | admin of the market |
| quote_denom | string | Address of the quote currency denomination for the binary options contract |
| market_id | string | Unique market ID. |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the maker fee rate of a binary options market |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the taker fee rate of a derivative market |
-| relayer_fee_share_rate | cosmossdk_io_math.LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the maker fee rate of a binary options market |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the taker fee rate of a derivative market |
+| relayer_fee_share_rate | LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
| status | MarketStatus | Status of the market |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format) |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
-| settlement_price | cosmossdk_io_math.LegacyDec | settlement_price defines the settlement price of the binary options market (in human readable format) |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format) |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
+| settlement_price | LegacyDec | settlement_price defines the settlement price of the binary options market (in human readable format) |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
| admin_permissions | uint32 | level of admin permissions |
| quote_decimals | uint32 | quote token decimals |
| open_notional_cap | OpenNotionalCap | open_notional_cap defines the maximum open notional for the market |
@@ -254,7 +256,7 @@ func main() {
**OpenNotionalCapCapped**
-| Parameter | Type | Description |
|---|
| value | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| value | LegacyDec | |
@@ -263,7 +265,7 @@ func main() {
| Parameter | Type | Description |
|---|
| reason | ForcePausedReason | |
-| mark_price_at_pausing | cosmossdk_io_math.LegacyDec | |
+| mark_price_at_pausing | LegacyDec | |
@@ -296,6 +298,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
oracletypes "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
@@ -304,6 +307,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -316,7 +320,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -398,17 +402,17 @@ func main() {
| ticker | string | Ticker for the derivative contract. | Yes |
| oracle_symbol | string | Oracle symbol | Yes |
| oracle_provider | string | Oracle Provider | Yes |
-| oracle_type | types1.OracleType | Oracle type | Yes |
+| oracle_type | OracleType | Oracle type | Yes |
| oracle_scale_factor | uint32 | Scale factor for oracle prices. | Yes |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the trade fee rate for makers on the perpetual market | Yes |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the trade fee rate for takers on the perpetual market | Yes |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the trade fee rate for makers on the perpetual market | Yes |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the trade fee rate for takers on the perpetual market | Yes |
| expiration_timestamp | int64 | expiration timestamp | Yes |
| settlement_timestamp | int64 | expiration timestamp | Yes |
| admin | string | admin of the market | Yes |
| quote_denom | string | Address of the quote currency denomination for the binary options contract | Yes |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format) | Yes |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) | Yes |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) | Yes |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format) | Yes |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) | Yes |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) | Yes |
| open_notional_cap | OpenNotionalCap | open_notional_cap defines the cap on the open notional | Yes |
@@ -454,7 +458,7 @@ func main() {
**OpenNotionalCapCapped**
-| Parameter | Type | Description |
|---|
| value | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| value | LegacyDec | |
### Response Parameters
@@ -465,7 +469,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -483,9 +487,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -597,8 +601,8 @@ if __name__ == "__main__":
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order (in human readable format) |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| margin | LegacyDec | margin is the margin used by the limit order (in human readable format) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -609,8 +613,8 @@ if __name__ == "__main__":
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -652,7 +656,7 @@ gas fee: 0.0000606245 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -670,9 +674,9 @@ gas fee: 0.0000606245 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -783,8 +787,8 @@ if __name__ == "__main__":
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order (in human readable format) |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| margin | LegacyDec | margin is the margin used by the limit order (in human readable format) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -795,8 +799,8 @@ if __name__ == "__main__":
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -838,7 +842,7 @@ gas fee: 0.0000539515 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -856,9 +860,9 @@ gas fee: 0.0000539515 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -994,7 +998,7 @@ gas fee: 0.0000556515 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1012,9 +1016,9 @@ gas fee: 0.0000556515 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1114,7 +1118,7 @@ if __name__ == "__main__":
| Parameter | Type | Description | Required |
|---|
| sender | string | The sender's Injective address | Yes |
| market_id | string | The market ID | Yes |
-| settlement_price | cosmossdk_io_math.LegacyDec | new price at which market will be settled | No |
+| settlement_price | LegacyDec | new price at which market will be settled | No |
| expiration_timestamp | int64 | expiration timestamp | Yes |
| settlement_timestamp | int64 | expiration timestamp | Yes |
| status | MarketStatus | Status of the market | Yes |
@@ -1150,7 +1154,7 @@ gas fee: 0.0000556515 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1168,9 +1172,9 @@ gas fee: 0.0000556515 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1391,6 +1395,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -1399,6 +1404,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1411,7 +1417,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1581,7 +1587,7 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -1593,8 +1599,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order (in human readable format) |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| margin | LegacyDec | margin is the margin used by the limit order (in human readable format) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -1620,8 +1626,8 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -1676,7 +1682,7 @@ gas fee: 0.000329546 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1694,9 +1700,9 @@ gas fee: 0.000329546 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_chainexchange.md b/source/includes/_chainexchange.md
index cfa0fe82..c3ad901c 100644
--- a/source/includes/_chainexchange.md
+++ b/source/includes/_chainexchange.md
@@ -69,9 +69,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -84,7 +86,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -190,8 +192,8 @@ func main() {
**Deposit**
-| Parameter | Type | Description |
|---|
| available_balance | cosmossdk_io_math.LegacyDec | the available balance (in chain format) |
-| total_balance | cosmossdk_io_math.LegacyDec | the total balance (in chain format) |
+| Parameter | Type | Description |
|---|
| available_balance | LegacyDec | the available balance (in chain format) |
+| total_balance | LegacyDec | the total balance (in chain format) |
@@ -261,9 +263,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -276,7 +280,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -348,8 +352,8 @@ func main() {
**Deposit**
-| Parameter | Type | Description |
|---|
| available_balance | cosmossdk_io_math.LegacyDec | the available balance (in chain format) |
-| total_balance | cosmossdk_io_math.LegacyDec | the total balance (in chain format) |
+| Parameter | Type | Description |
|---|
| available_balance | LegacyDec | the available balance (in chain format) |
+| total_balance | LegacyDec | the total balance (in chain format) |
@@ -403,9 +407,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -418,7 +424,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -499,8 +505,8 @@ No parameters
**Deposit**
-| Parameter | Type | Description |
|---|
| available_balance | cosmossdk_io_math.LegacyDec | the available balance (in chain format) |
-| total_balance | cosmossdk_io_math.LegacyDec | the total balance (in chain format) |
+| Parameter | Type | Description |
|---|
| available_balance | LegacyDec | the available balance (in chain format) |
+| total_balance | LegacyDec | the total balance (in chain format) |
@@ -572,9 +578,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -587,7 +595,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -694,8 +702,8 @@ func main() {
**VolumeRecord**
-| Parameter | Type | Description |
|---|
| maker_volume | cosmossdk_io_math.LegacyDec | the market's maker volume (in human readable format) |
-| taker_volume | cosmossdk_io_math.LegacyDec | the market's taker volume (in human readable format) |
+| Parameter | Type | Description |
|---|
| maker_volume | LegacyDec | the market's maker volume (in human readable format) |
+| taker_volume | LegacyDec | the market's taker volume (in human readable format) |
@@ -765,9 +773,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -780,7 +790,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -891,8 +901,8 @@ func main() {
**VolumeRecord**
-| Parameter | Type | Description |
|---|
| maker_volume | cosmossdk_io_math.LegacyDec | the market's maker volume (in human readable format) |
-| taker_volume | cosmossdk_io_math.LegacyDec | the market's taker volume (in human readable format) |
+| Parameter | Type | Description |
|---|
| maker_volume | LegacyDec | the market's maker volume (in human readable format) |
+| taker_volume | LegacyDec | the market's taker volume (in human readable format) |
@@ -949,9 +959,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -964,7 +976,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1035,8 +1047,8 @@ func main() {
**VolumeRecord**
-| Parameter | Type | Description |
|---|
| maker_volume | cosmossdk_io_math.LegacyDec | the market's maker volume (in human readable format) |
-| taker_volume | cosmossdk_io_math.LegacyDec | the market's taker volume (in human readable format) |
+| Parameter | Type | Description |
|---|
| maker_volume | LegacyDec | the market's maker volume (in human readable format) |
+| taker_volume | LegacyDec | the market's taker volume (in human readable format) |
@@ -1092,9 +1104,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1107,7 +1121,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1192,8 +1206,8 @@ func main() {
**VolumeRecord**
-| Parameter | Type | Description |
|---|
| maker_volume | cosmossdk_io_math.LegacyDec | the market's maker volume (in human readable format) |
-| taker_volume | cosmossdk_io_math.LegacyDec | the market's taker volume (in human readable format) |
+| Parameter | Type | Description |
|---|
| maker_volume | LegacyDec | the market's maker volume (in human readable format) |
+| taker_volume | LegacyDec | the market's taker volume (in human readable format) |
@@ -1249,9 +1263,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1264,7 +1280,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1380,9 +1396,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1395,7 +1413,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1545,9 +1563,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1560,7 +1580,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1645,8 +1665,8 @@ func main() {
**SubaccountOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order |
-| quantity | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order |
+| quantity | LegacyDec | the amount of the quantity remaining fillable |
| isReduceOnly | bool | |
| cid | string | |
@@ -1719,9 +1739,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1734,7 +1756,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1864,9 +1886,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1879,7 +1903,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1984,8 +2008,8 @@ func main() {
| Parameter | Type | Description |
|---|
| vanilla_limit_order_count | uint32 | The number of vanilla limit orders |
| reduce_only_limit_order_count | uint32 | The number of reduce-only limit orders |
-| aggregate_reduce_only_quantity | cosmossdk_io_math.LegacyDec | The aggregate quantity of the subaccount's reduce-only limit orders (in human readable format) |
-| aggregate_vanilla_quantity | cosmossdk_io_math.LegacyDec | The aggregate quantity of the subaccount's vanilla limit orders (in human readable format) |
+| aggregate_reduce_only_quantity | LegacyDec | The aggregate quantity of the subaccount's reduce-only limit orders (in human readable format) |
+| aggregate_vanilla_quantity | LegacyDec | The aggregate quantity of the subaccount's vanilla limit orders (in human readable format) |
| vanilla_conditional_order_count | uint32 | The number of vanilla conditional orders |
| reduce_only_conditional_order_count | uint32 | The number of reduce-only conditional orders |
@@ -2055,9 +2079,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2070,7 +2096,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2133,7 +2159,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| account_trade_reward_points | cosmossdk_io_math.LegacyDec array | |
+| Parameter | Type | Description |
|---|
| account_trade_reward_points | LegacyDec array | |
@@ -2201,9 +2227,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2216,7 +2244,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2279,7 +2307,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| account_trade_reward_points | cosmossdk_io_math.LegacyDec array | |
+| Parameter | Type | Description |
|---|
| account_trade_reward_points | LegacyDec array | |
@@ -2345,9 +2373,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2360,7 +2390,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2427,9 +2457,9 @@ No parameters
| Parameter | Type | Description |
|---|
| trading_reward_campaign_info | TradingRewardCampaignInfo | |
| trading_reward_pool_campaign_schedule | CampaignRewardPool array | |
-| total_trade_reward_points | cosmossdk_io_math.LegacyDec | |
+| total_trade_reward_points | LegacyDec | |
| pending_trading_reward_pool_campaign_schedule | CampaignRewardPool array | |
-| pending_total_trade_reward_points | cosmossdk_io_math.LegacyDec array | |
+| pending_total_trade_reward_points | LegacyDec array | |
@@ -2449,7 +2479,7 @@ No parameters
| Parameter | Type | Description |
|---|
| start_timestamp | int64 | the campaign start timestamp in seconds |
-| max_campaign_rewards | github_com_cosmos_cosmos_sdk_types.Coins | max_campaign_rewards are the maximum reward amounts to be disbursed at the end of the campaign |
+| max_campaign_rewards | Coins | max_campaign_rewards are the maximum reward amounts to be disbursed at the end of the campaign |
@@ -2468,8 +2498,8 @@ No parameters
**PointsMultiplier**
-| Parameter | Type | Description |
|---|
| maker_points_multiplier | cosmossdk_io_math.LegacyDec | |
-| taker_points_multiplier | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| maker_points_multiplier | LegacyDec | |
+| taker_points_multiplier | LegacyDec | |
@@ -2537,9 +2567,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2552,7 +2584,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2628,10 +2660,10 @@ func main() {
**FeeDiscountTierInfo**
-| Parameter | Type | Description |
|---|
| maker_discount_rate | cosmossdk_io_math.LegacyDec | the maker discount rate |
-| taker_discount_rate | cosmossdk_io_math.LegacyDec | the taker discount rate |
-| staked_amount | cosmossdk_io_math.Int | the staked amount required to qualify for the discount (in chain format) |
-| volume | cosmossdk_io_math.LegacyDec | the volume required to qualify for the discount (in human readable format) |
+| Parameter | Type | Description |
|---|
| maker_discount_rate | LegacyDec | the maker discount rate |
+| taker_discount_rate | LegacyDec | the taker discount rate |
+| staked_amount | Int | the staked amount required to qualify for the discount (in chain format) |
+| volume | LegacyDec | the volume required to qualify for the discount (in human readable format) |
@@ -2693,9 +2725,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2708,7 +2742,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2850,10 +2884,10 @@ No parameters
**FeeDiscountTierInfo**
-| Parameter | Type | Description |
|---|
| maker_discount_rate | cosmossdk_io_math.LegacyDec | the maker discount rate |
-| taker_discount_rate | cosmossdk_io_math.LegacyDec | the taker discount rate |
-| staked_amount | cosmossdk_io_math.Int | the staked amount required to qualify for the discount (in chain format) |
-| volume | cosmossdk_io_math.LegacyDec | the volume required to qualify for the discount (in human readable format) |
+| Parameter | Type | Description |
|---|
| maker_discount_rate | LegacyDec | the maker discount rate |
+| taker_discount_rate | LegacyDec | the taker discount rate |
+| staked_amount | Int | the staked amount required to qualify for the discount (in chain format) |
+| volume | LegacyDec | the volume required to qualify for the discount (in human readable format) |
@@ -2906,9 +2940,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2921,7 +2957,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3107,11 +3143,11 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccountId | string | the subaccount ID |
| denom | string | the denom of the balance |
-| available | cosmossdk_io_math.LegacyDec | the available balance |
-| total | cosmossdk_io_math.LegacyDec | the total balance |
-| balance_hold | cosmossdk_io_math.LegacyDec | the balance hold |
-| expected_total | cosmossdk_io_math.LegacyDec | the expected total balance |
-| difference | cosmossdk_io_math.LegacyDec | the difference between the total balance and the expected total balance |
+| available | LegacyDec | the available balance |
+| total | LegacyDec | the total balance |
+| balance_hold | LegacyDec | the balance hold |
+| expected_total | LegacyDec | the expected total balance |
+| difference | LegacyDec | the difference between the total balance and the expected total balance |
@@ -3164,9 +3200,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3179,7 +3217,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3260,9 +3298,9 @@ No parameters
| Parameter | Type | Description |
|---|
| subaccountId | string | the subaccount ID |
| denom | string | the denom of the balance |
-| available | cosmossdk_io_math.LegacyDec | the available balance |
-| total | cosmossdk_io_math.LegacyDec | the total balance |
-| balance_hold | cosmossdk_io_math.LegacyDec | the balance on hold |
+| available | LegacyDec | the available balance |
+| total | LegacyDec | the total balance |
+| balance_hold | LegacyDec | the balance on hold |
@@ -3315,9 +3353,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3330,7 +3370,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3485,9 +3525,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3500,7 +3542,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3623,9 +3665,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3638,7 +3682,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3752,9 +3796,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3767,7 +3813,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3861,8 +3907,8 @@ func main() {
| Parameter | Type | Description |
|---|
| timestamp | int64 | the timestamp of the trade |
-| price | cosmossdk_io_math.LegacyDec | the price of the trade (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | the quantity of the trade (in human readable format) |
+| price | LegacyDec | the price of the trade (in human readable format) |
+| quantity | LegacyDec | the quantity of the trade (in human readable format) |
@@ -3931,9 +3977,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3946,7 +3994,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4058,9 +4106,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4073,7 +4123,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4199,6 +4249,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
"github.com/InjectiveLabs/sdk-go/client"
@@ -4207,6 +4258,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4219,7 +4271,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4315,8 +4367,8 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| volatility | cosmossdk_io_math.LegacyDec | |
-| history_metadata | types.MetadataStatistics | |
+| Parameter | Type | Description |
|---|
| volatility | LegacyDec | |
+| history_metadata | MetadataStatistics | |
| raw_history | TradeRecord array | |
@@ -4327,13 +4379,13 @@ func main() {
| Parameter | Type | Description |
|---|
| group_count | uint32 | GroupCount refers to the number of groups used. Equals RecordsSampleSize if no grouping is used |
| records_sample_size | uint32 | RecordsSampleSize refers to the total number of records used. |
-| mean | cosmossdk_io_math.LegacyDec | Mean refers to the arithmetic mean For trades, the mean is the VWAP computed over the grouped trade records ∑ (price * quantity) / ∑ quantity For oracle prices, the mean is computed over the price records ∑ (price) / prices_count |
-| twap | cosmossdk_io_math.LegacyDec | TWAP refers to the time-weighted average price which equals ∑ (price_i * ∆t_i) / ∑ ∆t_i where ∆t_i = t_i - t_{i-1} |
+| mean | LegacyDec | Mean refers to the arithmetic mean For trades, the mean is the VWAP computed over the grouped trade records ∑ (price * quantity) / ∑ quantity For oracle prices, the mean is computed over the price records ∑ (price) / prices_count |
+| twap | LegacyDec | TWAP refers to the time-weighted average price which equals ∑ (price_i * ∆t_i) / ∑ ∆t_i where ∆t_i = t_i - t_{i-1} |
| first_timestamp | int64 | FirstTimestamp is the timestamp of the oldest record considered |
| last_timestamp | int64 | LastTimestamp is the timestamp of the youngest record considered |
-| min_price | cosmossdk_io_math.LegacyDec | MinPrice refers to the smallest individual raw price considered |
-| max_price | cosmossdk_io_math.LegacyDec | MaxPrice refers to the largest individual raw price considered |
-| median_price | cosmossdk_io_math.LegacyDec | MedianPrice refers to the median individual raw price considered |
+| min_price | LegacyDec | MinPrice refers to the smallest individual raw price considered |
+| max_price | LegacyDec | MaxPrice refers to the largest individual raw price considered |
+| median_price | LegacyDec | MedianPrice refers to the median individual raw price considered |
@@ -4342,8 +4394,8 @@ func main() {
| Parameter | Type | Description |
|---|
| timestamp | int64 | the timestamp of the trade |
-| price | cosmossdk_io_math.LegacyDec | the price of the trade (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | the quantity of the trade (in human readable format) |
+| price | LegacyDec | the price of the trade (in human readable format) |
+| quantity | LegacyDec | the quantity of the trade (in human readable format) |
@@ -4399,9 +4451,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4414,7 +4468,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4474,7 +4528,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| multiplier | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| multiplier | LegacyDec | |
@@ -4535,9 +4589,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4550,7 +4606,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4628,7 +4684,7 @@ func main() {
| Parameter | Type | Description |
|---|
| granter | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -4637,7 +4693,7 @@ func main() {
| Parameter | Type | Description |
|---|
| granter | string | |
-| net_granted_stake | cosmossdk_io_math.Int | |
+| net_granted_stake | Int | |
| is_valid | bool | |
@@ -4706,9 +4762,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4721,7 +4779,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4791,7 +4849,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| amount | cosmossdk_io_math.Int | |
+| Parameter | Type | Description |
|---|
| amount | Int | |
@@ -4858,9 +4916,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4873,7 +4933,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4934,7 +4994,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| total_grant_amount | cosmossdk_io_math.Int | |
+| Parameter | Type | Description |
|---|
| total_grant_amount | Int | |
| grants | GrantAuthorization array | |
@@ -4998,6 +5058,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -5005,6 +5066,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5017,7 +5079,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5085,7 +5147,7 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
-| balance | cosmossdk_io_math.LegacyDec | the current balance of the market |
+| balance | LegacyDec | the current balance of the market |
@@ -5146,6 +5208,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -5153,6 +5216,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5165,7 +5229,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5289,7 +5353,7 @@ No parameters
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
-| balance | cosmossdk_io_math.LegacyDec | the current balance of the market |
+| balance | LegacyDec | the current balance of the market |
@@ -5352,6 +5416,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -5359,6 +5424,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5371,7 +5437,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5428,7 +5494,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| amount | cosmossdk_io_math.LegacyDec | the minimum notional amount for the denom (in human readable format) |
+| Parameter | Type | Description |
|---|
| amount | LegacyDec | the minimum notional amount for the denom (in human readable format) |
@@ -5488,6 +5554,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -5495,6 +5562,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5507,7 +5575,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5579,7 +5647,7 @@ No parameters
| Parameter | Type | Description |
|---|
| denom | string | the denom of the token |
-| min_notional | cosmossdk_io_math.LegacyDec | the minimum notional value for the token (in human readable format) |
+| min_notional | LegacyDec | the minimum notional value for the token (in human readable format) |
@@ -5638,9 +5706,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5653,7 +5723,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5802,6 +5872,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -5809,6 +5880,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5821,7 +5893,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5891,7 +5963,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -5909,9 +5981,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -6018,6 +6090,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -6025,6 +6098,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -6037,7 +6111,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -6113,7 +6187,7 @@ func main() {
| Parameter | Type | Description |
|---|
| grantee | string | the grantee address |
-| amount | cosmossdk_io_math.Int | the amount of stake granted (INJ in chain format) |
+| amount | Int | the amount of stake granted (INJ in chain format) |
@@ -6138,7 +6212,7 @@ gas fee: 0.000066807 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -6156,9 +6230,9 @@ gas fee: 0.000066807 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -6261,6 +6335,7 @@ import (
"time"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -6268,6 +6343,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -6280,7 +6356,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -6351,7 +6427,7 @@ func main() {
| Parameter | Type | Description |
|---|
| grantee | string | the grantee address |
-| amount | cosmossdk_io_math.Int | the amount of stake granted (INJ in chain format) |
+| amount | Int | the amount of stake granted (INJ in chain format) |
@@ -6376,7 +6452,7 @@ gas fee: 0.000066807 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -6394,9 +6470,9 @@ gas fee: 0.000066807 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_chainstream.md b/source/includes/_chainstream.md
index a365d911..f26f2cb7 100644
--- a/source/includes/_chainstream.md
+++ b/source/includes/_chainstream.md
@@ -335,7 +335,7 @@ Each message contains a list of events that are filtered by the request paramete
| Parameter | Type | Description |
|---|
| account | string | the account address |
-| balances | github_com_cosmos_cosmos_sdk_types.Coins | list of account balances |
+| balances | Coins | list of account balances |
@@ -344,7 +344,7 @@ Each message contains a list of events that are filtered by the request paramete
| Parameter | Type | Description |
|---|
| denom | string | |
-| deposit | v2.Deposit | |
+| deposit | Deposit | |
@@ -355,10 +355,10 @@ Each message contains a list of events that are filtered by the request paramete
| 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 (in human readable format) |
-| price | cosmossdk_io_math.LegacyDec | the price of the trade (in human readable format) |
+| quantity | LegacyDec | the quantity of the trade (in human readable format) |
+| price | 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 (in human readable format) |
+| fee | 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 |
@@ -374,9 +374,9 @@ Each message contains a list of events that are filtered by the request paramete
| is_buy | bool | whether the trade is a buy or sell |
| executionType | string | the execution type |
| subaccount_id | string | the subaccount ID |
-| 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) |
+| position_delta | PositionDelta | the position delta of the trade (in human readable format) |
+| payout | LegacyDec | the payout of the trade (in human readable format) |
+| fee | 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 |
@@ -422,10 +422,10 @@ Each message contains a list of events that are filtered by the request paramete
| 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 (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) |
+| quantity | LegacyDec | the quantity of the position (in human readable format) |
+| entry_price | LegacyDec | the entry price of the position (in human readable format) |
+| margin | LegacyDec | the margin of the position (in human readable format) |
+| cumulative_funding_entry | LegacyDec | the cumulative funding entry of the position (in human readable format) |
@@ -434,7 +434,7 @@ Each message contains a list of events that are filtered by the request paramete
| Parameter | Type | Description |
|---|
| symbol | string | the symbol of the oracle price |
-| price | cosmossdk_io_math.LegacyDec | the updated price |
+| price | LegacyDec | the updated price |
| type | string | the oracle type |
@@ -456,7 +456,7 @@ Each message contains a list of events that are filtered by the request paramete
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
| subaccount_id | string | the subaccount ID |
-| mark_price | cosmossdk_io_math.LegacyDec | the mark price |
+| mark_price | LegacyDec | the mark price |
| order_hash | string | the order hash |
| cid | string | the client order ID |
| error_description | string | the error code |
@@ -479,7 +479,7 @@ Each message contains a list of events that are filtered by the request paramete
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
-| order | v2.SpotLimitOrder | the order details |
+| order | SpotLimitOrder | the order details |
@@ -488,7 +488,7 @@ Each message contains a list of events that are filtered by the request paramete
| Parameter | Type | Description |
|---|
| market_id | string | the market ID |
-| order | v2.DerivativeLimitOrder | the order details |
+| order | DerivativeLimitOrder | the order details |
| is_market | bool | whether the order is a market order |
@@ -499,8 +499,8 @@ Each message contains a list of events that are filtered by the request paramete
| Parameter | Type | Description |
|---|
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders |
+| fillable | LegacyDec | the amount of the quantity remaining fillable |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders |
| order_hash | byte array | order hash |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -512,9 +512,9 @@ Each message contains a list of events that are filtered by the request paramete
| Parameter | Type | Description |
|---|
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders |
+| margin | LegacyDec | margin is the margin used by the limit order |
+| fillable | LegacyDec | the amount of the quantity remaining fillable |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders |
| order_hash | byte array | |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -525,8 +525,8 @@ Each message contains a list of events that are filtered by the request paramete
| 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 |
+| buy_levels | Level array | list of buy levels |
+| sell_levels | Level array | list of sell levels |
@@ -534,6 +534,6 @@ Each message contains a list of events that are filtered by the request paramete
**Level**
-| Parameter | Type | Description |
|---|
| p | cosmossdk_io_math.LegacyDec | price (in human readable format) |
-| q | cosmossdk_io_math.LegacyDec | quantity (in human readable format) |
+| Parameter | Type | Description |
|---|
| p | LegacyDec | price (in human readable format) |
+| q | LegacyDec | quantity (in human readable format) |
diff --git a/source/includes/_changelog.md b/source/includes/_changelog.md
index 30c15ba6..77a8f02f 100644
--- a/source/includes/_changelog.md
+++ b/source/includes/_changelog.md
@@ -1,5 +1,10 @@
# Change Log
+## 2026-04-28
+- Updated all messages to reflect the changes included in the chain version v1.19.0, and the Indexer for that chain version
+- Python SDK v1.14.0
+- Go SDK v1.61.0
+
## 2026-02-19
- Updated all messages to reflect the changes included in the chain version v1.18.0, and the Indexer for that chain version
- Added documentation for the new websocket for exchange module events available on the chain nodes
diff --git a/source/includes/_derivatives.md b/source/includes/_derivatives.md
index 9265b46c..37e7fc78 100644
--- a/source/includes/_derivatives.md
+++ b/source/includes/_derivatives.md
@@ -53,9 +53,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -68,7 +70,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -136,8 +138,8 @@ func main() {
**TrimmedLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| order_hash | string | the order hash |
| subaccount_id | string | the subaccount ID |
@@ -194,9 +196,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -209,7 +213,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -271,9 +275,9 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| mid_price | cosmossdk_io_math.LegacyDec | mid price of the market |
-| best_buy_price | cosmossdk_io_math.LegacyDec | best buy price of the market |
-| best_sell_price | cosmossdk_io_math.LegacyDec | best sell price of the market |
+| Parameter | Type | Description |
|---|
| mid_price | LegacyDec | mid price of the market |
+| best_buy_price | LegacyDec | best buy price of the market |
+| best_sell_price | LegacyDec | best sell price of the market |
@@ -335,9 +339,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -350,7 +356,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -401,7 +407,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| market_id | string | Market ID for the market | Yes |
| limit | uint64 | | Yes |
-| limit_cumulative_notional | cosmossdk_io_math.LegacyDec | | No |
+| limit_cumulative_notional | LegacyDec | | No |
### Response Parameters
@@ -443,8 +449,8 @@ func main() {
**Level**
-| Parameter | Type | Description |
|---|
| p | cosmossdk_io_math.LegacyDec | price (in human readable format) |
-| q | cosmossdk_io_math.LegacyDec | quantity (in human readable format) |
+| Parameter | Type | Description |
|---|
| p | LegacyDec | price (in human readable format) |
+| q | LegacyDec | quantity (in human readable format) |
@@ -515,9 +521,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -530,7 +538,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -602,10 +610,10 @@ func main() {
**TrimmedDerivativeLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| margin | cosmossdk_io_math.LegacyDec | margin of the order (in human readable format) |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| margin | LegacyDec | margin of the order (in human readable format) |
+| fillable | LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
| isBuy | bool | true if the order is a buy |
| order_hash | string | the order hash (optional) |
| cid | string | the client order ID (optional) |
@@ -677,9 +685,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -692,7 +702,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -763,10 +773,10 @@ func main() {
**TrimmedDerivativeLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| margin | cosmossdk_io_math.LegacyDec | margin of the order (in human readable format) |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| margin | LegacyDec | margin of the order (in human readable format) |
+| fillable | LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
| isBuy | bool | true if the order is a buy |
| order_hash | string | the order hash (optional) |
| cid | string | the client order ID (optional) |
@@ -841,9 +851,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -856,7 +868,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -930,10 +942,10 @@ func main() {
**TrimmedDerivativeLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| margin | cosmossdk_io_math.LegacyDec | margin of the order (in human readable format) |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| margin | LegacyDec | margin of the order (in human readable format) |
+| fillable | LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
| isBuy | bool | true if the order is a buy |
| order_hash | string | the order hash (optional) |
| cid | string | the client order ID (optional) |
@@ -1007,9 +1019,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1022,7 +1036,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1094,10 +1108,10 @@ func main() {
**TrimmedDerivativeLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| margin | cosmossdk_io_math.LegacyDec | margin of the order (in human readable format) |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| margin | LegacyDec | margin of the order (in human readable format) |
+| fillable | LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
| isBuy | bool | true if the order is a buy |
| order_hash | string | the order hash (optional) |
| cid | string | the client order ID (optional) |
@@ -1157,9 +1171,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1172,7 +1188,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1290,7 +1306,7 @@ func main() {
| Parameter | Type | Description |
|---|
| market | DerivativeMarket | derivative market details |
-| mark_price | cosmossdk_io_math.LegacyDec | mark price (in human readable format) |
+| mark_price | LegacyDec | mark price (in human readable format) |
| mid_price_and_tob | MidPriceAndTOB | mid_price_and_tob defines the mid price for this market and the best ask and bid orders |
@@ -1302,24 +1318,24 @@ func main() {
| Parameter | Type | Description |
|---|
| ticker | string | Ticker for the derivative contract. |
| oracle_base | string | Oracle base currency |
| oracle_quote | string | Oracle quote currency |
-| oracle_type | types.OracleType | Oracle type |
+| oracle_type | OracleType | Oracle type |
| oracle_scale_factor | uint32 | Scale factor for oracle prices. |
| quote_denom | string | Address of the quote currency denomination for the derivative contract |
| market_id | string | Unique market ID. |
-| initial_margin_ratio | cosmossdk_io_math.LegacyDec | initial_margin_ratio defines the initial margin ratio of a derivative market |
-| maintenance_margin_ratio | cosmossdk_io_math.LegacyDec | maintenance_margin_ratio defines the maintenance margin ratio of a derivative market |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the maker fee rate of a derivative market |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the taker fee rate of a derivative market |
-| relayer_fee_share_rate | cosmossdk_io_math.LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
+| initial_margin_ratio | LegacyDec | initial_margin_ratio defines the initial margin ratio of a derivative market |
+| maintenance_margin_ratio | LegacyDec | maintenance_margin_ratio defines the maintenance margin ratio of a derivative market |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the maker fee rate of a derivative market |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the taker fee rate of a derivative market |
+| relayer_fee_share_rate | LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
| isPerpetual | bool | true if the market is a perpetual market. false if the market is an expiry futures market |
| status | MarketStatus | Status of the market |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format) |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format) |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
| admin | string | current market admin |
| admin_permissions | uint32 | level of admin permissions |
| quote_decimals | uint32 | quote token decimals |
-| reduce_margin_ratio | cosmossdk_io_math.LegacyDec | reduce_margin_ratio defines the ratio of the margin that is reduced |
+| reduce_margin_ratio | LegacyDec | reduce_margin_ratio defines the ratio of the margin that is reduced |
| open_notional_cap | OpenNotionalCap | open_notional_cap defines the maximum open notional for the market |
| has_disabled_minimal_protocol_fee | bool | has_disabled_minimal_protocol_fee indicates whether the minimal protocol fee is disabled for the market |
| force_paused_info | ForcePausedInfo | force_paused_info defines additional info for force paused markets, only set when status == ForcePaused |
@@ -1380,7 +1396,7 @@ func main() {
**OpenNotionalCapCapped**
-| Parameter | Type | Description |
|---|
| value | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| value | LegacyDec | |
@@ -1398,8 +1414,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market ID. |
-| hourly_funding_rate_cap | cosmossdk_io_math.LegacyDec | hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate |
-| hourly_interest_rate | cosmossdk_io_math.LegacyDec | hourly_interest_rate defines the hourly interest rate |
+| hourly_funding_rate_cap | LegacyDec | hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate |
+| hourly_interest_rate | LegacyDec | hourly_interest_rate defines the hourly interest rate |
| next_funding_timestamp | int64 | next_funding_timestamp defines the next funding timestamp in seconds of a perpetual market |
| funding_interval | int64 | funding_interval defines the next funding interval in seconds of a perpetual market. |
@@ -1409,8 +1425,8 @@ func main() {
**PerpetualMarketFunding**
-| Parameter | Type | Description |
|---|
| cumulative_funding | cosmossdk_io_math.LegacyDec | cumulative_funding defines the cumulative funding of a perpetual market. |
-| cumulative_price | cosmossdk_io_math.LegacyDec | 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 | Type | Description |
|---|
| cumulative_funding | LegacyDec | cumulative_funding defines the cumulative funding of a perpetual market. |
+| cumulative_price | LegacyDec | 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 |
| last_timestamp | int64 | the last funding timestamp in seconds |
@@ -1422,10 +1438,10 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market ID. |
| expiration_timestamp | int64 | expiration_timestamp defines the expiration time for a time expiry futures market. |
| twap_start_timestamp | int64 | expiration_twap_start_timestamp defines the start time of the TWAP calculation window |
-| expiration_twap_start_price_cumulative | cosmossdk_io_math.LegacyDec | expiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format) Deprecated: For correctly calculating the expiration price using TWAP, we need to keep the cumulative price at the start of TWAP calculation separately for the base asset and the quote asset. Use expiration_twap_start_base_cumulative_price and expiration_twap_start_quote_cumulative_price instead. |
-| settlement_price | cosmossdk_io_math.LegacyDec | settlement_price defines the settlement price for a time expiry futures market (in human readable format) |
-| expiration_twap_start_base_cumulative_price | cosmossdk_io_math.LegacyDec | expiration_twap_start_base_cumulative_price defines the cumulative price for the base asset at the start of the TWAP calculation window (in human readable format) |
-| expiration_twap_start_quote_cumulative_price | cosmossdk_io_math.LegacyDec | expiration_twap_start_quote_cumulative_price defines the cumulative price for the quote asset at the start of the TWAP calculation window (in human readable format) |
+| expiration_twap_start_price_cumulative | LegacyDec | expiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format) Deprecated: For correctly calculating the expiration price using TWAP, we need to keep the cumulative price at the start of TWAP calculation separately for the base asset and the quote asset. Use expiration_twap_start_base_cumulative_price and expiration_twap_start_quote_cumulative_price instead. |
+| settlement_price | LegacyDec | settlement_price defines the settlement price for a time expiry futures market (in human readable format) |
+| expiration_twap_start_base_cumulative_price | LegacyDec | expiration_twap_start_base_cumulative_price defines the cumulative price for the base asset at the start of the TWAP calculation window (in human readable format) |
+| expiration_twap_start_quote_cumulative_price | LegacyDec | expiration_twap_start_quote_cumulative_price defines the cumulative price for the quote asset at the start of the TWAP calculation window (in human readable format) |
@@ -1433,9 +1449,9 @@ func main() {
**MidPriceAndTOB**
-| Parameter | Type | Description |
|---|
| mid_price | cosmossdk_io_math.LegacyDec | mid price of the market (in human readable format) |
-| best_buy_price | cosmossdk_io_math.LegacyDec | best buy price of the market (in human readable format) |
-| best_sell_price | cosmossdk_io_math.LegacyDec | best sell price of the market (in human readable format) |
+| Parameter | Type | Description |
|---|
| mid_price | LegacyDec | mid price of the market (in human readable format) |
+| best_buy_price | LegacyDec | best buy price of the market (in human readable format) |
+| best_sell_price | LegacyDec | best sell price of the market (in human readable format) |
@@ -1457,7 +1473,7 @@ func main() {
| Parameter | Type | Description |
|---|
| reason | ForcePausedReason | |
-| mark_price_at_pausing | cosmossdk_io_math.LegacyDec | |
+| mark_price_at_pausing | LegacyDec | |
@@ -1521,9 +1537,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1536,7 +1554,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1643,7 +1661,7 @@ func main() {
| Parameter | Type | Description |
|---|
| market | DerivativeMarket | derivative market details |
-| mark_price | cosmossdk_io_math.LegacyDec | mark price (in human readable format) |
+| mark_price | LegacyDec | mark price (in human readable format) |
| mid_price_and_tob | MidPriceAndTOB | mid_price_and_tob defines the mid price for this market and the best ask and bid orders |
@@ -1655,24 +1673,24 @@ func main() {
| Parameter | Type | Description |
|---|
| ticker | string | Ticker for the derivative contract. |
| oracle_base | string | Oracle base currency |
| oracle_quote | string | Oracle quote currency |
-| oracle_type | types.OracleType | Oracle type |
+| oracle_type | OracleType | Oracle type |
| oracle_scale_factor | uint32 | Scale factor for oracle prices. |
| quote_denom | string | Address of the quote currency denomination for the derivative contract |
| market_id | string | Unique market ID. |
-| initial_margin_ratio | cosmossdk_io_math.LegacyDec | initial_margin_ratio defines the initial margin ratio of a derivative market |
-| maintenance_margin_ratio | cosmossdk_io_math.LegacyDec | maintenance_margin_ratio defines the maintenance margin ratio of a derivative market |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the maker fee rate of a derivative market |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the taker fee rate of a derivative market |
-| relayer_fee_share_rate | cosmossdk_io_math.LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
+| initial_margin_ratio | LegacyDec | initial_margin_ratio defines the initial margin ratio of a derivative market |
+| maintenance_margin_ratio | LegacyDec | maintenance_margin_ratio defines the maintenance margin ratio of a derivative market |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the maker fee rate of a derivative market |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the taker fee rate of a derivative market |
+| relayer_fee_share_rate | LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
| isPerpetual | bool | true if the market is a perpetual market. false if the market is an expiry futures market |
| status | MarketStatus | Status of the market |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format) |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format) |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
| admin | string | current market admin |
| admin_permissions | uint32 | level of admin permissions |
| quote_decimals | uint32 | quote token decimals |
-| reduce_margin_ratio | cosmossdk_io_math.LegacyDec | reduce_margin_ratio defines the ratio of the margin that is reduced |
+| reduce_margin_ratio | LegacyDec | reduce_margin_ratio defines the ratio of the margin that is reduced |
| open_notional_cap | OpenNotionalCap | open_notional_cap defines the maximum open notional for the market |
| has_disabled_minimal_protocol_fee | bool | has_disabled_minimal_protocol_fee indicates whether the minimal protocol fee is disabled for the market |
| force_paused_info | ForcePausedInfo | force_paused_info defines additional info for force paused markets, only set when status == ForcePaused |
@@ -1742,7 +1760,7 @@ func main() {
**OpenNotionalCapCapped**
-| Parameter | Type | Description |
|---|
| value | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| value | LegacyDec | |
@@ -1751,8 +1769,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market ID. |
-| hourly_funding_rate_cap | cosmossdk_io_math.LegacyDec | hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate |
-| hourly_interest_rate | cosmossdk_io_math.LegacyDec | hourly_interest_rate defines the hourly interest rate |
+| hourly_funding_rate_cap | LegacyDec | hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate |
+| hourly_interest_rate | LegacyDec | hourly_interest_rate defines the hourly interest rate |
| next_funding_timestamp | int64 | next_funding_timestamp defines the next funding timestamp in seconds of a perpetual market |
| funding_interval | int64 | funding_interval defines the next funding interval in seconds of a perpetual market. |
@@ -1762,8 +1780,8 @@ func main() {
**PerpetualMarketFunding**
-| Parameter | Type | Description |
|---|
| cumulative_funding | cosmossdk_io_math.LegacyDec | cumulative_funding defines the cumulative funding of a perpetual market. |
-| cumulative_price | cosmossdk_io_math.LegacyDec | 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 | Type | Description |
|---|
| cumulative_funding | LegacyDec | cumulative_funding defines the cumulative funding of a perpetual market. |
+| cumulative_price | LegacyDec | 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 |
| last_timestamp | int64 | the last funding timestamp in seconds |
@@ -1775,10 +1793,10 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market ID. |
| expiration_timestamp | int64 | expiration_timestamp defines the expiration time for a time expiry futures market. |
| twap_start_timestamp | int64 | expiration_twap_start_timestamp defines the start time of the TWAP calculation window |
-| expiration_twap_start_price_cumulative | cosmossdk_io_math.LegacyDec | expiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format) Deprecated: For correctly calculating the expiration price using TWAP, we need to keep the cumulative price at the start of TWAP calculation separately for the base asset and the quote asset. Use expiration_twap_start_base_cumulative_price and expiration_twap_start_quote_cumulative_price instead. |
-| settlement_price | cosmossdk_io_math.LegacyDec | settlement_price defines the settlement price for a time expiry futures market (in human readable format) |
-| expiration_twap_start_base_cumulative_price | cosmossdk_io_math.LegacyDec | expiration_twap_start_base_cumulative_price defines the cumulative price for the base asset at the start of the TWAP calculation window (in human readable format) |
-| expiration_twap_start_quote_cumulative_price | cosmossdk_io_math.LegacyDec | expiration_twap_start_quote_cumulative_price defines the cumulative price for the quote asset at the start of the TWAP calculation window (in human readable format) |
+| expiration_twap_start_price_cumulative | LegacyDec | expiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format) Deprecated: For correctly calculating the expiration price using TWAP, we need to keep the cumulative price at the start of TWAP calculation separately for the base asset and the quote asset. Use expiration_twap_start_base_cumulative_price and expiration_twap_start_quote_cumulative_price instead. |
+| settlement_price | LegacyDec | settlement_price defines the settlement price for a time expiry futures market (in human readable format) |
+| expiration_twap_start_base_cumulative_price | LegacyDec | expiration_twap_start_base_cumulative_price defines the cumulative price for the base asset at the start of the TWAP calculation window (in human readable format) |
+| expiration_twap_start_quote_cumulative_price | LegacyDec | expiration_twap_start_quote_cumulative_price defines the cumulative price for the quote asset at the start of the TWAP calculation window (in human readable format) |
@@ -1786,9 +1804,9 @@ func main() {
**MidPriceAndTOB**
-| Parameter | Type | Description |
|---|
| mid_price | cosmossdk_io_math.LegacyDec | mid price of the market (in human readable format) |
-| best_buy_price | cosmossdk_io_math.LegacyDec | best buy price of the market (in human readable format) |
-| best_sell_price | cosmossdk_io_math.LegacyDec | best sell price of the market (in human readable format) |
+| Parameter | Type | Description |
|---|
| mid_price | LegacyDec | mid price of the market (in human readable format) |
+| best_buy_price | LegacyDec | best buy price of the market (in human readable format) |
+| best_sell_price | LegacyDec | best sell price of the market (in human readable format) |
@@ -1810,7 +1828,7 @@ func main() {
| Parameter | Type | Description |
|---|
| reason | ForcePausedReason | |
-| mark_price_at_pausing | cosmossdk_io_math.LegacyDec | |
+| mark_price_at_pausing | LegacyDec | |
@@ -1874,9 +1892,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1889,7 +1909,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2005,9 +2025,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2020,7 +2042,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2118,10 +2140,10 @@ No parameters
| Parameter | Type | Description |
|---|
| isLong | bool | True if the position is long. False if the position is short. |
-| 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 |
+| quantity | LegacyDec | The quantity of the position (in human readable format) |
+| entry_price | LegacyDec | The entry price of the position (in human readable format) |
+| margin | LegacyDec | The margin of the position (in human readable format) |
+| cumulative_funding_entry | LegacyDec | The cumulative funding |
@@ -2177,9 +2199,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2192,7 +2216,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2284,10 +2308,10 @@ func main() {
| Parameter | Type | Description |
|---|
| isLong | bool | True if the position is long. False if the position is short. |
-| 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 |
+| quantity | LegacyDec | The quantity of the position (in human readable format) |
+| entry_price | LegacyDec | The entry price of the position (in human readable format) |
+| margin | LegacyDec | The margin of the position (in human readable format) |
+| cumulative_funding_entry | LegacyDec | The cumulative funding |
@@ -2358,9 +2382,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2373,7 +2399,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2506,10 +2532,10 @@ func main() {
| Parameter | Type | Description |
|---|
| isLong | bool | True if the position is long. False if the position is short. |
-| 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 |
+| quantity | LegacyDec | The quantity of the position (in human readable format) |
+| entry_price | LegacyDec | The entry price of the position (in human readable format) |
+| margin | LegacyDec | The margin of the position (in human readable format) |
+| cumulative_funding_entry | LegacyDec | The cumulative funding |
@@ -2581,9 +2607,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2596,7 +2624,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2673,10 +2701,10 @@ func main() {
| Parameter | Type | Description |
|---|
| isLong | bool | True if the position is long. False if the position is short. |
-| 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 |
+| quantity | LegacyDec | The quantity of the position (in human readable format) |
+| entry_price | LegacyDec | The entry price of the position (in human readable format) |
+| margin | LegacyDec | The margin of the position (in human readable format) |
+| cumulative_funding_entry | LegacyDec | The cumulative funding |
@@ -2748,9 +2776,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2763,7 +2793,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2839,9 +2869,9 @@ func main() {
| Parameter | Type | Description |
|---|
| is_long | bool | whether the position is long or short |
-| 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) |
-| effective_margin | cosmossdk_io_math.LegacyDec | the effective margin of the position (in human readable format) |
+| quantity | LegacyDec | the quantity of the position (in human readable format) |
+| entry_price | LegacyDec | the entry price of the position (in human readable format) |
+| effective_margin | LegacyDec | the effective margin of the position (in human readable format) |
@@ -2897,9 +2927,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2912,7 +2944,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2987,8 +3019,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market ID. |
-| hourly_funding_rate_cap | cosmossdk_io_math.LegacyDec | hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate |
-| hourly_interest_rate | cosmossdk_io_math.LegacyDec | hourly_interest_rate defines the hourly interest rate |
+| hourly_funding_rate_cap | LegacyDec | hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate |
+| hourly_interest_rate | LegacyDec | hourly_interest_rate defines the hourly interest rate |
| next_funding_timestamp | int64 | next_funding_timestamp defines the next funding timestamp in seconds of a perpetual market |
| funding_interval | int64 | funding_interval defines the next funding interval in seconds of a perpetual market. |
@@ -3046,9 +3078,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3061,7 +3095,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3130,10 +3164,10 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market ID. |
| expiration_timestamp | int64 | expiration_timestamp defines the expiration time for a time expiry futures market. |
| twap_start_timestamp | int64 | expiration_twap_start_timestamp defines the start time of the TWAP calculation window |
-| expiration_twap_start_price_cumulative | cosmossdk_io_math.LegacyDec | expiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format) Deprecated: For correctly calculating the expiration price using TWAP, we need to keep the cumulative price at the start of TWAP calculation separately for the base asset and the quote asset. Use expiration_twap_start_base_cumulative_price and expiration_twap_start_quote_cumulative_price instead. |
-| settlement_price | cosmossdk_io_math.LegacyDec | settlement_price defines the settlement price for a time expiry futures market (in human readable format) |
-| expiration_twap_start_base_cumulative_price | cosmossdk_io_math.LegacyDec | expiration_twap_start_base_cumulative_price defines the cumulative price for the base asset at the start of the TWAP calculation window (in human readable format) |
-| expiration_twap_start_quote_cumulative_price | cosmossdk_io_math.LegacyDec | expiration_twap_start_quote_cumulative_price defines the cumulative price for the quote asset at the start of the TWAP calculation window (in human readable format) |
+| expiration_twap_start_price_cumulative | LegacyDec | expiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format) Deprecated: For correctly calculating the expiration price using TWAP, we need to keep the cumulative price at the start of TWAP calculation separately for the base asset and the quote asset. Use expiration_twap_start_base_cumulative_price and expiration_twap_start_quote_cumulative_price instead. |
+| settlement_price | LegacyDec | settlement_price defines the settlement price for a time expiry futures market (in human readable format) |
+| expiration_twap_start_base_cumulative_price | LegacyDec | expiration_twap_start_base_cumulative_price defines the cumulative price for the base asset at the start of the TWAP calculation window (in human readable format) |
+| expiration_twap_start_quote_cumulative_price | LegacyDec | expiration_twap_start_quote_cumulative_price defines the cumulative price for the quote asset at the start of the TWAP calculation window (in human readable format) |
@@ -3189,9 +3223,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3204,7 +3240,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3276,8 +3312,8 @@ func main() {
**PerpetualMarketFunding**
-| Parameter | Type | Description |
|---|
| cumulative_funding | cosmossdk_io_math.LegacyDec | cumulative_funding defines the cumulative funding of a perpetual market. |
-| cumulative_price | cosmossdk_io_math.LegacyDec | 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 | Type | Description |
|---|
| cumulative_funding | LegacyDec | cumulative_funding defines the cumulative funding of a perpetual market. |
+| cumulative_price | LegacyDec | 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 |
| last_timestamp | int64 | the last funding timestamp in seconds |
@@ -3349,9 +3385,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3364,7 +3402,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3436,10 +3474,10 @@ func main() {
**TrimmedDerivativeConditionalOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| margin | cosmossdk_io_math.LegacyDec | margin of the order (in human readable format) |
-| triggerPrice | cosmossdk_io_math.LegacyDec | price to trigger the order (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| margin | LegacyDec | margin of the order (in human readable format) |
+| triggerPrice | LegacyDec | price to trigger the order (in human readable format) |
| isBuy | bool | true if the order is a buy |
| isLimit | bool | true if the order is a limit order |
| order_hash | string | the order hash |
@@ -3550,6 +3588,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
oracletypes "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
@@ -3558,6 +3597,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3570,7 +3610,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3653,15 +3693,15 @@ func main() {
| oracle_base | string | Oracle base currency | Yes |
| oracle_quote | string | Oracle quote currency | Yes |
| oracle_scale_factor | uint32 | Scale factor for oracle prices. | Yes |
-| oracle_type | types1.OracleType | Oracle type | Yes |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the trade fee rate for makers on the perpetual market | Yes |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the trade fee rate for takers on the perpetual market | Yes |
-| initial_margin_ratio | cosmossdk_io_math.LegacyDec | initial_margin_ratio defines the initial margin ratio for the perpetual market | Yes |
-| maintenance_margin_ratio | cosmossdk_io_math.LegacyDec | maintenance_margin_ratio defines the maintenance margin ratio for the perpetual market | Yes |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size of the order's price and margin (in human readable format) | Yes |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the order's quantity (in human readable format) | Yes |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) | Yes |
-| reduce_margin_ratio | cosmossdk_io_math.LegacyDec | reduce_margin_ratio defines the ratio of the margin that is reduced | Yes |
+| oracle_type | OracleType | Oracle type | Yes |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the trade fee rate for makers on the perpetual market | Yes |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the trade fee rate for takers on the perpetual market | Yes |
+| initial_margin_ratio | LegacyDec | initial_margin_ratio defines the initial margin ratio for the perpetual market | Yes |
+| maintenance_margin_ratio | LegacyDec | maintenance_margin_ratio defines the maintenance margin ratio for the perpetual market | Yes |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size of the order's price and margin (in human readable format) | Yes |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the order's quantity (in human readable format) | Yes |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) | Yes |
+| reduce_margin_ratio | LegacyDec | reduce_margin_ratio defines the ratio of the margin that is reduced | Yes |
| open_notional_cap | OpenNotionalCap | open_notional_cap defines the cap on the open notional | Yes |
@@ -3707,7 +3747,7 @@ func main() {
**OpenNotionalCapCapped**
-| Parameter | Type | Description |
|---|
| value | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| value | LegacyDec | |
### Response Parameters
@@ -3718,7 +3758,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -3736,9 +3776,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -3855,6 +3895,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
oracletypes "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
@@ -3863,6 +3904,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3875,7 +3917,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3959,17 +4001,17 @@ func main() {
| quote_denom | string | type of coin to use as the quote currency | Yes |
| oracle_base | string | Oracle base currency | Yes |
| oracle_quote | string | Oracle quote currency | Yes |
-| oracle_type | types1.OracleType | Oracle type | Yes |
+| oracle_type | OracleType | Oracle type | Yes |
| oracle_scale_factor | uint32 | Scale factor for oracle prices. | Yes |
| expiry | int64 | Expiration time of the market | Yes |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the trade fee rate for makers on the expiry futures market | Yes |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the trade fee rate for takers on the expiry futures market | Yes |
-| initial_margin_ratio | cosmossdk_io_math.LegacyDec | initial_margin_ratio defines the initial margin ratio for the derivative market | Yes |
-| maintenance_margin_ratio | cosmossdk_io_math.LegacyDec | maintenance_margin_ratio defines the maintenance margin ratio for the derivative market | Yes |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size of the order's price and margin | Yes |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the order's quantity | Yes |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market | Yes |
-| reduce_margin_ratio | cosmossdk_io_math.LegacyDec | reduce_margin_ratio defines the ratio of the margin that is reduced | Yes |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the trade fee rate for makers on the expiry futures market | Yes |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the trade fee rate for takers on the expiry futures market | Yes |
+| initial_margin_ratio | LegacyDec | initial_margin_ratio defines the initial margin ratio for the derivative market | Yes |
+| maintenance_margin_ratio | LegacyDec | maintenance_margin_ratio defines the maintenance margin ratio for the derivative market | Yes |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size of the order's price and margin | Yes |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the order's quantity | Yes |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market | Yes |
+| reduce_margin_ratio | LegacyDec | reduce_margin_ratio defines the ratio of the margin that is reduced | Yes |
| open_notional_cap | OpenNotionalCap | open_notional_cap defines the cap on the open notional | Yes |
@@ -4015,7 +4057,7 @@ func main() {
**OpenNotionalCapCapped**
-| Parameter | Type | Description |
|---|
| value | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| value | LegacyDec | |
### Response Parameters
@@ -4026,7 +4068,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -4044,9 +4086,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -4160,6 +4202,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -4168,6 +4211,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4180,7 +4224,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4274,8 +4318,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order (in human readable format) |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| margin | LegacyDec | margin is the margin used by the limit order (in human readable format) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -4286,8 +4330,8 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -4334,7 +4378,7 @@ gas fee: 0.0000857195 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -4352,9 +4396,9 @@ gas fee: 0.0000857195 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -4468,6 +4512,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -4476,6 +4521,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4488,7 +4534,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4583,8 +4629,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order (in human readable format) |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| margin | LegacyDec | margin is the margin used by the limit order (in human readable format) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -4595,8 +4641,8 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -4643,7 +4689,7 @@ gas fee: 0.000069981 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -4661,9 +4707,9 @@ gas fee: 0.000069981 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -4773,6 +4819,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -4780,6 +4827,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4792,7 +4840,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4903,7 +4951,7 @@ gas fee: 0.0000706865 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -4921,9 +4969,9 @@ gas fee: 0.0000706865 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -5144,6 +5192,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -5152,6 +5201,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5164,7 +5214,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5334,7 +5384,7 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -5346,8 +5396,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order (in human readable format) |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| margin | LegacyDec | margin is the margin used by the limit order (in human readable format) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -5373,8 +5423,8 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -5429,7 +5479,7 @@ gas fee: 0.000329546 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -5447,9 +5497,9 @@ gas fee: 0.000329546 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -5574,6 +5624,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -5582,6 +5633,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5594,7 +5646,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5691,8 +5743,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order (in human readable format) |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| margin | LegacyDec | margin is the margin used by the limit order (in human readable format) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -5703,8 +5755,8 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -5736,7 +5788,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -5754,9 +5806,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -5865,6 +5917,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -5872,6 +5925,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -5884,7 +5938,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -5952,7 +6006,7 @@ func main() {
| source_subaccount_id | string | the subaccount ID sending the funds | Yes |
| destination_subaccount_id | string | the subaccount ID the position belongs to | Yes |
| market_id | string | the market ID | Yes |
-| amount | cosmossdk_io_math.LegacyDec | amount defines the amount of margin to add to the position (in human readable format) | Yes |
+| amount | LegacyDec | amount defines the amount of margin to add to the position (in human readable format) | Yes |
### Response Parameters
@@ -5976,7 +6030,7 @@ gas fee: 0.000066807 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -5994,9 +6048,9 @@ gas fee: 0.000066807 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -6108,6 +6162,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -6115,6 +6170,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -6127,7 +6183,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -6197,7 +6253,7 @@ func main() {
| source_subaccount_id | string | the subaccount ID the position belongs to | Yes |
| destination_subaccount_id | string | the destination subaccount ID | Yes |
| market_id | string | the market ID | Yes |
-| amount | cosmossdk_io_math.LegacyDec | amount defines the amount of margin to withdraw from the position (in human readable format) | Yes |
+| amount | LegacyDec | amount defines the amount of margin to withdraw from the position (in human readable format) | Yes |
### Response Parameters
@@ -6221,7 +6277,7 @@ gas fee: 0.000066807 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -6239,9 +6295,9 @@ gas fee: 0.000066807 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -6355,6 +6411,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -6362,6 +6419,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -6374,7 +6432,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -6455,12 +6513,12 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| admin | string | current admin address of the associated market | Yes |
| market_id | string | id of the market to be updated | Yes |
| new_ticker | string | (optional) updated value for ticker | No |
-| new_min_price_tick_size | cosmossdk_io_math.LegacyDec | (optional) updated value for min_price_tick_size (in human readable format) | No |
-| new_min_quantity_tick_size | cosmossdk_io_math.LegacyDec | (optional) updated value min_quantity_tick_size (in human readable format) | No |
-| new_min_notional | cosmossdk_io_math.LegacyDec | (optional) updated min notional (in human readable format) | No |
-| new_initial_margin_ratio | cosmossdk_io_math.LegacyDec | (optional) updated value for initial_margin_ratio | No |
-| new_maintenance_margin_ratio | cosmossdk_io_math.LegacyDec | (optional) updated value for maintenance_margin_ratio | No |
-| new_reduce_margin_ratio | cosmossdk_io_math.LegacyDec | (optional) updated value for reduce_margin_ratio | No |
+| new_min_price_tick_size | LegacyDec | (optional) updated value for min_price_tick_size (in human readable format) | No |
+| new_min_quantity_tick_size | LegacyDec | (optional) updated value min_quantity_tick_size (in human readable format) | No |
+| new_min_notional | LegacyDec | (optional) updated min notional (in human readable format) | No |
+| new_initial_margin_ratio | LegacyDec | (optional) updated value for initial_margin_ratio | No |
+| new_maintenance_margin_ratio | LegacyDec | (optional) updated value for maintenance_margin_ratio | No |
+| new_reduce_margin_ratio | LegacyDec | (optional) updated value for reduce_margin_ratio | No |
| new_open_notional_cap | OpenNotionalCap | (optional) updated value for open_notional_cap | No |
@@ -6485,7 +6543,7 @@ func main() {
**OpenNotionalCapCapped**
-| Parameter | Type | Description |
|---|
| value | cosmossdk_io_math.LegacyDec | |
+| Parameter | Type | Description |
|---|
| value | LegacyDec | |
### Response Parameters
@@ -6509,7 +6567,7 @@ gas fee: 0.000066807 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -6527,9 +6585,9 @@ gas fee: 0.000066807 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -6844,6 +6902,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -6852,6 +6911,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -6864,7 +6924,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
if err != nil {
diff --git a/source/includes/_derivativesrpc.md b/source/includes/_derivativesrpc.md
index b466f40e..c8504d80 100644
--- a/source/includes/_derivativesrpc.md
+++ b/source/includes/_derivativesrpc.md
@@ -1850,7 +1850,7 @@ func main() {
| executed_at | int64 | Timestamp of trade execution in UNIX millis |
| fee_recipient | string | Fee recipient address |
| trade_id | string | A unique string that helps differentiate between trades |
-| execution_side | string | Trade's execution side, marker/taker |
+| execution_side | string | Trade's execution side, maker,taker,n/a (n/a = not applicable) |
| cid | string | Custom client order ID |
| pnl | string | Profit and loss of the trade |
@@ -2188,7 +2188,7 @@ func main() {
| executed_at | int64 | Timestamp of trade execution in UNIX millis |
| fee_recipient | string | Fee recipient address |
| trade_id | string | A unique string that helps differentiate between trades |
-| execution_side | string | Trade's execution side, marker/taker |
+| execution_side | string | Trade's execution side, maker,taker,n/a (n/a = not applicable) |
| cid | string | Custom client order ID |
| pnl | string | Profit and loss of the trade |
@@ -2524,7 +2524,8 @@ func main() {
| funding_last | string | Last funding fees since position opened |
| funding_sum | string | Net funding fees since position opened |
| cumulative_funding_entry | string | Cumulative funding entry of the position |
-| effective_cumulative_funding_entry | string | Effective cumulative funding entry of the position |
+| effective_cumulative_funding_entry | string | Effective cumulative funding entry of the position |
+| upnl | string | Unrealized profit and loss of the position (only present when requested with with_upnl=true) |
@@ -2768,7 +2769,8 @@ func main() {
| funding_last | string | Last funding fees since position opened |
| funding_sum | string | Net funding fees since position opened |
| cumulative_funding_entry | string | Cumulative funding entry of the position |
-| effective_cumulative_funding_entry | string | Effective cumulative funding entry of the position |
+| effective_cumulative_funding_entry | string | Effective cumulative funding entry of the position |
+| upnl | string | Unrealized profit and loss of the position (only present when requested with with_upnl=true) |
@@ -4405,7 +4407,7 @@ func main() {
| executed_at | int64 | Timestamp of trade execution in UNIX millis |
| fee_recipient | string | Fee recipient address |
| trade_id | string | A unique string that helps differentiate between trades |
-| execution_side | string | Trade's execution side, marker/taker |
+| execution_side | string | Trade's execution side, maker,taker,n/a (n/a = not applicable) |
| cid | string | Custom client order ID |
| pnl | string | Profit and loss of the trade |
diff --git a/source/includes/_erc20.md b/source/includes/_erc20.md
index ac46424f..470452cb 100644
--- a/source/includes/_erc20.md
+++ b/source/includes/_erc20.md
@@ -70,6 +70,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -77,6 +78,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -89,7 +91,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -146,7 +148,7 @@ No parameters
| Parameter | Type | Description |
|---|
| token_pairs | TokenPair array | |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -219,6 +221,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -226,6 +229,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -238,7 +242,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -368,6 +372,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -375,6 +380,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -387,7 +393,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -550,6 +556,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
erc20types "github.com/InjectiveLabs/sdk-go/chain/erc20/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -557,6 +564,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -569,7 +577,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -654,7 +662,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -672,9 +680,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -780,6 +788,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
erc20types "github.com/InjectiveLabs/sdk-go/chain/erc20/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -787,6 +796,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -799,7 +809,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -886,7 +896,7 @@ gas fee: 0.000066807 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -904,9 +914,9 @@ gas fee: 0.000066807 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_errors.md b/source/includes/_errors.md
index fd2cc8cf..a318db4d 100644
--- a/source/includes/_errors.md
+++ b/source/includes/_errors.md
@@ -75,34 +75,6 @@ This section lists all error codes from various modules in the Injective ecosyst
| capability | 8 | owners not found for capability |
-## Chainlink module
-
-
-| module_name | error_code | description |
|---|
| chainlink | 1 | stale report |
-| chainlink | 2 | incomplete proposal |
-| chainlink | 3 | repeated oracle address |
-| chainlink | 4 | too many signers |
-| chainlink | 5 | incorrect config |
-| chainlink | 6 | config digest doesn't match |
-| chainlink | 7 | wrong number of signatures |
-| chainlink | 8 | incorrect signature |
-| chainlink | 9 | no transmitter specified |
-| chainlink | 10 | incorrect transmission data |
-| chainlink | 11 | no transmissions found |
-| chainlink | 12 | median value is out of bounds |
-| chainlink | 13 | LINK denom doesn't match |
-| chainlink | 14 | Reward Pool doesn't exist |
-| chainlink | 15 | wrong number of payees and transmitters |
-| chainlink | 16 | action is restricted to the module admin |
-| chainlink | 17 | feed already exists |
-| chainlink | 19 | feed doesnt exists |
-| chainlink | 20 | action is admin-restricted |
-| chainlink | 21 | insufficient reward pool |
-| chainlink | 22 | payee already set |
-| chainlink | 23 | action is payee-restricted |
-| chainlink | 24 | feed config not found |
-
-
## Channel module
@@ -281,7 +253,8 @@ This section lists all error codes from various modules in the Injective ecosyst
| evm | 21 | account type is not a valid ethereum account |
| evm | 22 | invalid gas limit |
| evm | 23 | failed to apply state override |
-| evm | 24 | EVM Create operation is not authorized for user |
+| evm | 24 | EVM Create operation is not authorized for user |
+| evm | 25 | address is not allowed to receive funds |
## Exchange module
@@ -306,7 +279,6 @@ This section lists all error codes from various modules in the Injective ecosyst
| exchange | 17 | invalid quantity |
| exchange | 18 | unsupported oracle type |
| exchange | 19 | order doesnt exist |
-| exchange | 20 | spot limit orderbook fill invalid |
| exchange | 21 | perpetual market exists |
| exchange | 22 | expiry futures market exists |
| exchange | 23 | expiry futures market expired |
@@ -883,6 +855,12 @@ This section lists all error codes from various modules in the Injective ecosyst
| upgrade | 6 | expected authority account as only signer for proposal message |
+## Vouchers module
+
+
+| module_name | error_code | description |
|---|
| vouchers | 1 | voucher not found |
+
+
## Warp module
diff --git a/source/includes/_evm.md b/source/includes/_evm.md
index 082da811..082649d8 100644
--- a/source/includes/_evm.md
+++ b/source/includes/_evm.md
@@ -64,6 +64,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -71,6 +72,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -83,7 +85,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -210,6 +212,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -217,6 +220,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -229,7 +233,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -355,6 +359,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -362,6 +367,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -374,7 +380,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -498,6 +504,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -505,6 +512,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -517,7 +525,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -642,6 +650,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -649,6 +658,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -661,7 +671,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -787,6 +797,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -794,6 +805,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -806,7 +818,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -927,6 +939,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -934,6 +947,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -946,7 +960,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1000,7 +1014,7 @@ No parameters
```
-| Parameter | Type | Description |
|---|
| base_fee | cosmossdk_io_math.Int | base_fee is the EIP1559 base fee |
+| Parameter | Type | Description |
|---|
| base_fee | Int | base_fee is the EIP1559 base fee |
@@ -1097,6 +1111,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
erc20types "github.com/InjectiveLabs/sdk-go/chain/erc20/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -1104,6 +1119,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1116,7 +1132,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1201,7 +1217,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1219,9 +1235,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1327,6 +1343,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
erc20types "github.com/InjectiveLabs/sdk-go/chain/erc20/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -1334,6 +1351,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1346,7 +1364,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1433,7 +1451,7 @@ gas fee: 0.000066807 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1451,9 +1469,9 @@ gas fee: 0.000066807 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_explorerrpc.md b/source/includes/_explorerrpc.md
index c2130bf2..1120bcc9 100644
--- a/source/includes/_explorerrpc.md
+++ b/source/includes/_explorerrpc.md
@@ -1109,7 +1109,8 @@ func main() {
| claim_ids | int64 array | peggy bridge claim id, non-zero if tx contains MsgDepositClaim |
| signatures | Signature array | |
| block_unix_timestamp | uint64 | Block timestamp in unix milli |
-| ethereum_tx_hash_hex | string | |
+| ethereum_tx_hash_hex | string | |
+| memo | string | |
@@ -1349,7 +1350,8 @@ func main() {
| claim_ids | int64 array | peggy bridge claim id, non-zero if tx contains MsgDepositClaim |
| signatures | Signature array | |
| block_unix_timestamp | uint64 | Block timestamp in unix milli |
-| ethereum_tx_hash_hex | string | |
+| ethereum_tx_hash_hex | string | |
+| memo | string | |
diff --git a/source/includes/_ibccorechannel.md b/source/includes/_ibccorechannel.md
index 00b69294..b4fb3884 100644
--- a/source/includes/_ibccorechannel.md
+++ b/source/includes/_ibccorechannel.md
@@ -50,6 +50,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -59,6 +60,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -71,7 +73,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -150,7 +152,7 @@ func main() {
| Parameter | Type | Description |
|---|
| channel | Channel | channel associated with the request identifiers |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -257,6 +259,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -268,6 +271,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -280,7 +284,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -326,7 +330,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | pagination request | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | pagination request | No |
@@ -417,8 +421,8 @@ func main() {
| Parameter | Type | Description |
|---|
| channels | IdentifiedChannel array | list of stored channels of the chain. |
-| pagination | query.PageResponse | pagination response |
-| height | types.Height | query block height |
+| pagination | PageResponse | pagination response |
+| height | Height | query block height |
@@ -537,6 +541,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -548,6 +553,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -560,7 +566,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -608,7 +614,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| connection | string | connection unique identifier | Yes |
-| pagination | query.PageRequest | pagination request | No |
+| pagination | PageRequest | pagination request | No |
@@ -713,8 +719,8 @@ func main() {
| Parameter | Type | Description |
|---|
| channels | IdentifiedChannel array | list of channels associated with a connection. |
-| pagination | query.PageResponse | pagination response |
-| height | types.Height | query block height |
+| pagination | PageResponse | pagination response |
+| height | Height | query block height |
@@ -831,6 +837,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -840,6 +847,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -852,7 +860,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -992,9 +1000,9 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| identified_client_state | types.IdentifiedClientState | client state associated with the channel |
+| Parameter | Type | Description |
|---|
| identified_client_state | IdentifiedClientState | client state associated with the channel |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -1106,6 +1114,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1115,6 +1124,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1127,7 +1137,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1204,10 +1214,10 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| consensus_state | types1.Any | consensus state associated with the channel |
+| Parameter | Type | Description |
|---|
| consensus_state | Any | consensus state associated with the channel |
| client_id | string | client ID associated with the consensus state |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -1269,6 +1279,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1278,6 +1289,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1290,7 +1302,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1360,7 +1372,7 @@ func main() {
| Parameter | Type | Description |
|---|
| commitment | byte array | packet associated with the request fields |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -1427,6 +1439,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -1438,6 +1451,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1450,7 +1464,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1500,7 +1514,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| port_id | string | port unique identifier | Yes |
| channel_id | string | channel unique identifier | Yes |
-| pagination | query.PageRequest | pagination request | No |
+| pagination | PageRequest | pagination request | No |
### Response Parameters
@@ -1547,8 +1561,8 @@ func main() {
| Parameter | Type | Description |
|---|
| commitments | PacketState array | |
-| pagination | query.PageResponse | pagination response |
-| height | types.Height | query block height |
+| pagination | PageResponse | pagination response |
+| height | Height | query block height |
@@ -1630,6 +1644,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1639,6 +1654,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1651,7 +1667,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1721,7 +1737,7 @@ func main() {
| Parameter | Type | Description |
|---|
| received | bool | success flag for if receipt exists |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -1785,6 +1801,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1794,6 +1811,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1806,7 +1824,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1876,7 +1894,7 @@ func main() {
| Parameter | Type | Description |
|---|
| acknowledgement | byte array | packet associated with the request fields |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -1945,6 +1963,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -1956,6 +1975,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1968,7 +1988,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2019,7 +2039,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| port_id | string | port unique identifier | Yes |
| channel_id | string | channel unique identifier | Yes |
-| pagination | query.PageRequest | pagination request | No |
+| pagination | PageRequest | pagination request | No |
| packet_commitment_sequences | uint64 array | list of packet sequences | Yes |
@@ -2063,8 +2083,8 @@ func main() {
| Parameter | Type | Description |
|---|
| acknowledgements | PacketState array | |
-| pagination | query.PageResponse | pagination response |
-| height | types.Height | query block height |
+| pagination | PageResponse | pagination response |
+| height | Height | query block height |
**PacketState**
@@ -2146,6 +2166,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -2155,6 +2176,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2167,7 +2189,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2237,7 +2259,7 @@ func main() {
| Parameter | Type | Description |
|---|
| sequences | uint64 array | list of unreceived packet sequences |
-| height | types.Height | query block height |
+| height | Height | query block height |
@@ -2301,6 +2323,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -2310,6 +2333,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2322,7 +2346,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2392,7 +2416,7 @@ func main() {
| Parameter | Type | Description |
|---|
| sequences | uint64 array | list of unreceived acknowledgement sequences |
-| height | types.Height | query block height |
+| height | Height | query block height |
@@ -2456,6 +2480,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -2465,6 +2490,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2477,7 +2503,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2545,7 +2571,7 @@ func main() {
| Parameter | Type | Description |
|---|
| next_sequence_receive | uint64 | next sequence receive number |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
diff --git a/source/includes/_ibccoreclient.md b/source/includes/_ibccoreclient.md
index e01b3202..7c220687 100644
--- a/source/includes/_ibccoreclient.md
+++ b/source/includes/_ibccoreclient.md
@@ -48,6 +48,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -57,6 +58,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -69,7 +71,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -204,7 +206,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| client_state | types.Any | client state associated with the request identifier |
+| Parameter | Type | Description |
|---|
| client_state | Any | client state associated with the request identifier |
| proof | byte array | merkle proof of existence |
| proof_height | Height | height at which the proof was retrieved |
@@ -266,6 +268,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -277,6 +280,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -289,7 +293,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -334,7 +338,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | pagination request | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | pagination request | No |
### Response Parameters
@@ -885,7 +889,7 @@ func main() {
| Parameter | Type | Description |
|---|
| client_states | IdentifiedClientStates | list of stored ClientStates of the chain. |
-| pagination | query.PageResponse | pagination response |
+| pagination | PageResponse | pagination response |
@@ -894,7 +898,7 @@ func main() {
| Parameter | Type | Description |
|---|
| client_id | string | client identifier |
-| client_state | types.Any | client state |
+| client_state | Any | client state |
@@ -948,6 +952,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -957,6 +962,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -969,7 +975,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1046,7 +1052,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| consensus_state | types.Any | consensus state associated with the client identifier at the given height |
+| Parameter | Type | Description |
|---|
| consensus_state | Any | consensus state associated with the client identifier at the given height |
| proof | byte array | merkle proof of existence |
| proof_height | Height | height at which the proof was retrieved |
@@ -1109,6 +1115,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -1120,6 +1127,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1132,7 +1140,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1179,7 +1187,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| client_id | string | client identifier | Yes |
-| pagination | query.PageRequest | pagination request | No |
+| pagination | PageRequest | pagination request | No |
### Response Parameters
@@ -1254,7 +1262,7 @@ func main() {
| Parameter | Type | Description |
|---|
| consensus_states | ConsensusStateWithHeight array | consensus states associated with the identifier |
-| pagination | query.PageResponse | pagination response |
+| pagination | PageResponse | pagination response |
@@ -1263,7 +1271,7 @@ func main() {
| Parameter | Type | Description |
|---|
| height | Height | consensus state height |
-| consensus_state | types.Any | consensus state |
+| consensus_state | Any | consensus state |
@@ -1324,6 +1332,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -1335,6 +1344,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1347,7 +1357,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1394,7 +1404,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| client_id | string | client identifier | Yes |
-| pagination | query.PageRequest | pagination request | No |
+| pagination | PageRequest | pagination request | No |
### Response Parameters
@@ -1429,7 +1439,7 @@ func main() {
| Parameter | Type | Description |
|---|
| consensus_state_heights | Height array | consensus state heights |
-| pagination | query.PageResponse | pagination response |
+| pagination | PageResponse | pagination response |
@@ -1489,6 +1499,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1498,6 +1509,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1510,7 +1522,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1618,6 +1630,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1627,6 +1640,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1639,7 +1653,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1757,6 +1771,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1766,6 +1781,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1778,7 +1794,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1832,7 +1848,7 @@ No parameters
```
-| Parameter | Type | Description |
|---|
| upgraded_client_state | types.Any | client state associated with the request identifier |
+| Parameter | Type | Description |
|---|
| upgraded_client_state | Any | client state associated with the request identifier |
@@ -1881,6 +1897,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1890,6 +1907,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1902,7 +1920,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1956,5 +1974,5 @@ No parameters
```
-| Parameter | Type | Description |
|---|
| upgraded_consensus_state | types.Any | Consensus state associated with the request identifier |
+| Parameter | Type | Description |
|---|
| upgraded_consensus_state | Any | Consensus state associated with the request identifier |
\ No newline at end of file
diff --git a/source/includes/_ibccoreconnection.md b/source/includes/_ibccoreconnection.md
index ac6f069f..f4478458 100644
--- a/source/includes/_ibccoreconnection.md
+++ b/source/includes/_ibccoreconnection.md
@@ -49,6 +49,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -58,6 +59,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -70,7 +72,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -156,7 +158,7 @@ func main() {
| Parameter | Type | Description |
|---|
| connection | ConnectionEnd | connection associated with the request identifier |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -201,7 +203,7 @@ func main() {
| Parameter | Type | Description |
|---|
| client_id | string | identifies the client on the counterparty chain associated with a given connection. |
| connection_id | string | identifies the connection end on the counterparty chain associated with a given connection. |
-| prefix | types.MerklePrefix | commitment merkle prefix of the counterparty chain. |
+| prefix | MerklePrefix | commitment merkle prefix of the counterparty chain. |
@@ -270,6 +272,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -281,6 +284,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -293,7 +297,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -339,7 +343,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | | No |
@@ -462,8 +466,8 @@ func main() {
| Parameter | Type | Description |
|---|
| connections | IdentifiedConnection array | list of stored connections of the chain. |
-| pagination | query.PageResponse | pagination response |
-| height | types.Height | query block height |
+| pagination | PageResponse | pagination response |
+| height | Height | query block height |
@@ -527,7 +531,7 @@ func main() {
| Parameter | Type | Description |
|---|
| client_id | string | identifies the client on the counterparty chain associated with a given connection. |
| connection_id | string | identifies the connection end on the counterparty chain associated with a given connection. |
-| prefix | types.MerklePrefix | commitment merkle prefix of the counterparty chain. |
+| prefix | MerklePrefix | commitment merkle prefix of the counterparty chain. |
@@ -586,6 +590,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -595,6 +600,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -607,7 +613,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -675,7 +681,7 @@ func main() {
| Parameter | Type | Description |
|---|
| connection_paths | string array | slice of all the connection paths associated with a client. |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was generated |
+| proof_height | Height | height at which the proof was generated |
@@ -734,6 +740,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -743,6 +750,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -755,7 +763,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -893,9 +901,9 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| identified_client_state | types.IdentifiedClientState | client state associated with the channel |
+| Parameter | Type | Description |
|---|
| identified_client_state | IdentifiedClientState | client state associated with the channel |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -904,7 +912,7 @@ func main() {
| Parameter | Type | Description |
|---|
| client_id | string | client identifier |
-| client_state | types.Any | client state |
+| client_state | Any | client state |
@@ -967,6 +975,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -976,6 +985,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -988,7 +998,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1064,10 +1074,10 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| consensus_state | types1.Any | consensus state associated with the channel |
+| Parameter | Type | Description |
|---|
| consensus_state | Any | consensus state associated with the channel |
| client_id | string | client ID associated with the consensus state |
| proof | byte array | merkle proof of existence |
-| proof_height | types.Height | height at which the proof was retrieved |
+| proof_height | Height | height at which the proof was retrieved |
@@ -1125,6 +1135,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -1134,6 +1145,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1146,7 +1158,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
diff --git a/source/includes/_ibctransfer.md b/source/includes/_ibctransfer.md
index 1e5facd1..dfbfcf00 100644
--- a/source/includes/_ibctransfer.md
+++ b/source/includes/_ibctransfer.md
@@ -54,6 +54,7 @@ import (
"fmt"
"github.com/cosmos/ibc-go/v8/modules/apps/transfer/types"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
@@ -65,6 +66,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -77,7 +79,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -204,6 +206,7 @@ import (
"github.com/InjectiveLabs/sdk-go/client"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -213,6 +216,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -225,7 +229,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -271,7 +275,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -318,7 +322,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom_traces | Traces | denom_traces returns all denominations trace information. |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -380,6 +384,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -389,6 +394,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -401,7 +407,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -514,6 +520,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -523,6 +530,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -535,7 +543,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -647,6 +655,7 @@ import (
"fmt"
"github.com/InjectiveLabs/sdk-go/client"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -656,6 +665,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -668,7 +678,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -730,7 +740,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| amount | types.Coin | |
+| Parameter | Type | Description |
|---|
| amount | Coin | |
@@ -739,7 +749,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -848,12 +858,14 @@ import (
sdktypes "github.com/cosmos/cosmos-sdk/types"
ibctransfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types"
ibccoretypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -866,7 +878,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -941,10 +953,10 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| source_port | string | the port on which the packet will be sent | Yes |
| source_channel | string | the channel by which the packet will be sent | Yes |
-| token | types.Coin | the tokens to be transferred | Yes |
+| token | Coin | the tokens to be transferred | Yes |
| sender | string | the sender address | Yes |
| receiver | string | the recipient address on the destination chain | Yes |
-| timeout_height | types1.Height | Timeout height relative to the current block height. The timeout is disabled when set to 0. | Yes |
+| timeout_height | Height | Timeout height relative to the current block height. The timeout is disabled when set to 0. | Yes |
| timeout_timestamp | uint64 | Timeout timestamp in absolute nanoseconds since unix epoch. The timeout is disabled when set to 0. | Yes |
| memo | string | optional memo | No |
@@ -955,7 +967,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -974,7 +986,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -992,9 +1004,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_insurance.md b/source/includes/_insurance.md
index fa631864..93194d80 100644
--- a/source/includes/_insurance.md
+++ b/source/includes/_insurance.md
@@ -1,7 +1,291 @@
# - Insurance
+
Includes the messages to create, underwrite and redeem in insurance funds.
+## Vouchers
+
+Defines a gRPC query method for the vouchers for a given denom
+
+**IP rate limit group:** `chain`
+
+### Request Parameters
+> Request Example:
+
+
+
+```py
+import asyncio
+
+from pyinjective.async_client_v2 import AsyncClient
+from pyinjective.core.network import Network
+
+
+async def main() -> None:
+ network = Network.testnet()
+ client = AsyncClient(network)
+
+ denom = "inj"
+ vouchers = await client.fetch_insurance_vouchers(denom=denom)
+ print(vouchers)
+
+
+if __name__ == "__main__":
+ asyncio.get_event_loop().run_until_complete(main())
+```
+
+
+
+
+```go
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+)
+
+func main() {
+ _ = godotenv.Load()
+ network := common.LoadNetwork("devnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint)
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClientV2(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+
+ denom := "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+
+ res, err := chainClient.FetchInsuranceVouchers(ctx, denom)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", "\t")
+ fmt.Print(string(str))
+}
+```
+
+
+
+| Parameter | Type | Description | Required |
|---|
| denom | string | denom filter; empty string returns all vouchers | Yes |
+
+
+
+### Response Parameters
+> Response Example:
+
+``` json
+
+```
+
+
+| Parameter | Type | Description |
|---|
| vouchers | AddressVoucher array | List of outstanding vouchers matching the request filter. |
+
+
+
+
+**AddressVoucher**
+
+
+| Parameter | Type | Description |
|---|
| address | string | The bech32 address of the voucher holder. |
+| voucher | Coin | The outstanding voucher coin. |
+
+
+
+
+**Coin**
+
+
+| Parameter | Type | Description |
|---|
| denom | string | |
+| amount | Int | |
+
+
+
+## Voucher
+
+Defines a gRPC query method for the vouchers for a given denom and address
+
+**IP rate limit group:** `chain`
+
+### Request Parameters
+> Request Example:
+
+
+
+```py
+import asyncio
+
+from pyinjective.async_client_v2 import AsyncClient
+from pyinjective.core.network import Network
+
+
+async def main() -> None:
+ network = Network.testnet()
+ client = AsyncClient(network)
+
+ denom = "inj"
+ address = "inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr"
+ voucher = await client.fetch_insurance_voucher(denom=denom, address=address)
+ print(voucher)
+
+
+if __name__ == "__main__":
+ asyncio.get_event_loop().run_until_complete(main())
+```
+
+
+
+
+```go
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
+)
+
+func main() {
+ _ = godotenv.Load()
+ network := common.LoadNetwork("devnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint)
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClientV2(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+
+ denom := "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+ address := "inj1knhahceyp57j5x7xh69p7utegnnnfgxavmahjr"
+
+ res, err := chainClient.FetchInsuranceVoucher(ctx, denom, address)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", "\t")
+ fmt.Print(string(str))
+}
+```
+
+
+
+| Parameter | Type | Description | Required |
|---|
| denom | string | Required. The token denom to look up. | Yes |
+| address | string | Required. The bech32 address of the voucher holder. | Yes |
+
+
+
+### Response Parameters
+> Response Example:
+
+``` json
+
+```
+
+
+| Parameter | Type | Description |
|---|
| voucher | Coin | The outstanding voucher coin for the requested denom and address. |
+
+
+
+
+**Coin**
+
+
+| Parameter | Type | Description |
|---|
| denom | string | |
+| amount | Int | |
+
+
+
## MsgCreateInsuranceFund
**IP rate limit group:** `chain`
@@ -85,9 +369,9 @@ if __name__ == "__main__":
| quote_denom | string | Coin denom to use for the market quote denom | Yes |
| oracle_base | string | Oracle base currency of the derivative market OR the oracle symbol for the binary options market. | Yes |
| oracle_quote | string | Oracle quote currency of the derivative market OR the oracle provider for the binary options market. | Yes |
-| oracle_type | types.OracleType | Oracle type of the binary options or derivative market | Yes |
+| oracle_type | OracleType | Oracle type of the binary options or derivative market | Yes |
| expiry | int64 | Expiration time of the derivative market. Should be -1 for perpetual or -2 for binary options markets. | Yes |
-| initial_deposit | types1.Coin | Initial deposit of the insurance fund | Yes |
+| initial_deposit | Coin | Initial deposit of the insurance fund | Yes |
@@ -124,7 +408,7 @@ gas fee: 0.000075824 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -142,9 +426,9 @@ gas fee: 0.000075824 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -239,7 +523,7 @@ if __name__ == "__main__":
| Parameter | Type | Description | Required |
|---|
| sender | string | Address of the underwriter. | Yes |
| market_id | string | MarketID of the insurance fund. | Yes |
-| deposit | types1.Coin | Amount of quote_denom to underwrite the insurance fund. | Yes |
+| deposit | Coin | Amount of quote_denom to underwrite the insurance fund. | Yes |
@@ -248,7 +532,7 @@ if __name__ == "__main__":
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -264,7 +548,7 @@ gas fee: 0.000071021 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -282,9 +566,9 @@ gas fee: 0.000071021 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -374,7 +658,7 @@ if __name__ == "__main__":
| Parameter | Type | Description | Required |
|---|
| sender | string | Address of the underwriter requesting a redemption. | Yes |
| market_id | string | MarketID of the insurance fund. | Yes |
-| amount | types1.Coin | Insurance fund share token amount to be redeemed. | Yes |
+| amount | Coin | Insurance fund share token amount to be redeemed. | Yes |
@@ -383,7 +667,7 @@ if __name__ == "__main__":
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -399,7 +683,217 @@ gas fee: 0.0000553445 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
+
+
+
+
+**TxResponse**
+
+
+| Parameter | Type | Description |
|---|
| height | int64 | The block height |
+| txhash | string | The transaction hash. |
+| codespace | string | Namespace for the Code |
+| code | uint32 | Response code. |
+| data | string | Result bytes, if any. |
+| raw_log | string | The output of the application's logger (raw string). May be non-deterministic. |
+| logs | ABCIMessageLogs | The output of the application's logger (typed). May be non-deterministic. |
+| info | string | Additional information. May be non-deterministic. |
+| gas_wanted | int64 | Amount of gas requested for transaction. |
+| gas_used | int64 | Amount of gas consumed by transaction. |
+| tx | Any | The request transaction bytes. |
+| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+
+
+
+
+**ABCIMessageLog**
+
+
+| Parameter | Type | Description |
|---|
| msg_index | uint32 | |
+| log | string | |
+| events | StringEvents | Events contains a slice of Event objects that were emitted during some execution. |
+
+
+
+## MsgClaimVoucher
+
+Message to claim existing vouchers for a particular address
+
+**IP rate limit group:** `chain`
+
+
+### Request Parameters
+> Request Example:
+
+
+
+```py
+import asyncio
+import json
+import os
+
+import dotenv
+
+from pyinjective.async_client_v2 import AsyncClient
+from pyinjective.core.broadcaster import MsgBroadcasterWithPk
+from pyinjective.core.network import Network
+from pyinjective.wallet import PrivateKey
+
+
+async def main() -> None:
+ dotenv.load_dotenv()
+ private_key_in_hexa = os.getenv("INJECTIVE_PRIVATE_KEY")
+
+ network = Network.devnet()
+
+ client = AsyncClient(network)
+ composer = await client.composer()
+
+ gas_price = await client.current_chain_gas_price()
+ gas_price = int(gas_price * 1.1)
+
+ message_broadcaster = MsgBroadcasterWithPk.new_using_simulation(
+ network=network,
+ private_key=private_key_in_hexa,
+ gas_price=gas_price,
+ client=client,
+ composer=composer,
+ )
+
+ priv_key = PrivateKey.from_hex(private_key_in_hexa)
+ pub_key = priv_key.to_public_key()
+ address = pub_key.to_address()
+
+ denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+
+ message = composer.msg_insurance_claim_voucher(
+ sender=address.to_acc_bech32(),
+ denom=denom,
+ )
+
+ result = await message_broadcaster.broadcast([message])
+ print("---Transaction Response---")
+ print(json.dumps(result, indent=2))
+
+ gas_price = await client.current_chain_gas_price()
+ gas_price = int(gas_price * 1.1)
+ message_broadcaster.update_gas_price(gas_price=gas_price)
+
+
+if __name__ == "__main__":
+ asyncio.get_event_loop().run_until_complete(main())
+```
+
+
+
+
+```go
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+ "time"
+
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
+
+ insurancetypes "github.com/InjectiveLabs/sdk-go/chain/insurance/types"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+)
+
+func main() {
+ _ = godotenv.Load()
+ network := common.LoadNetwork("devnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint)
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClientV2(
+ clientCtx,
+ network,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
+ defer cancel()
+
+ gasPrice := chainClient.CurrentChainGasPrice(ctx)
+ gasPrice = int64(float64(gasPrice) * 1.1)
+ chainClient.SetGasPrice(gasPrice)
+
+ denom := "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+
+ msg := &insurancetypes.MsgClaimVoucher{
+ Sender: senderAddress.String(),
+ Denom: denom,
+ }
+
+ _, response, err := chainClient.BroadcastMsg(ctx, txtypes.BroadcastMode_BROADCAST_MODE_SYNC, msg)
+
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(response, "", "\t")
+ fmt.Print(string(str))
+
+ gasPrice = chainClient.CurrentChainGasPrice(ctx)
+ gasPrice = int64(float64(gasPrice) * 1.1)
+ chainClient.SetGasPrice(gasPrice)
+}
+```
+
+
+
+| Parameter | Type | Description | Required |
|---|
| sender | string | The sender's Injective address. | Yes |
+| denom | string | The token denom of the voucher to claim. | Yes |
+
+
+### Response Parameters
+> Response Example:
+
+``` json
+```
+
+
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -417,9 +911,9 @@ gas fee: 0.0000553445 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_oracle.md b/source/includes/_oracle.md
index 502cd710..3252efd3 100644
--- a/source/includes/_oracle.md
+++ b/source/includes/_oracle.md
@@ -91,6 +91,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
oracletypes "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -98,6 +99,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -110,7 +112,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -179,7 +181,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | | Yes |
| base | string array | | Yes |
| quote | string array | | Yes |
-| price | cosmossdk_io_math.LegacyDec array | price defines the price of the oracle base and quote | Yes |
+| price | LegacyDec array | price defines the price of the oracle base and quote | Yes |
@@ -202,7 +204,7 @@ gas fee: 0.0000568235 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -220,9 +222,9 @@ gas fee: 0.0000568235 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -314,7 +316,7 @@ if __name__ == "__main__":
| Parameter | Type | Description | Required |
|---|
| sender | string | | Yes |
| provider | string | | Yes |
| symbols | string array | | Yes |
-| prices | cosmossdk_io_math.LegacyDec array | | Yes |
+| prices | LegacyDec array | | Yes |
@@ -334,7 +336,7 @@ gas fee: 0.0000863755 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -352,9 +354,9 @@ gas fee: 0.0000863755 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_oraclerpc.md b/source/includes/_oraclerpc.md
index 7d9177a8..0a710822 100644
--- a/source/includes/_oraclerpc.md
+++ b/source/includes/_oraclerpc.md
@@ -83,7 +83,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -242,6 +242,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -251,6 +252,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -263,7 +265,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -390,13 +392,14 @@ async def main() -> None:
# select network: local, testnet, mainnet
network = Network.testnet()
client = IndexerClient(network)
- market = (await client.all_derivative_markets())[
- "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
- ]
+ market_response = await client.fetch_derivative_market(
+ market_id="0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
+ )
+ market = market_response["market"]
- base_symbol = market.oracle_base
- quote_symbol = market.oracle_quote
- oracle_type = market.oracle_type.lower()
+ base_symbol = market["oracleBase"]
+ quote_symbol = market["oracleQuote"]
+ oracle_type = market["oracleType"].lower()
task = asyncio.get_event_loop().create_task(
client.listen_oracle_prices_updates(
@@ -431,6 +434,7 @@ import (
"strings"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -440,6 +444,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -452,7 +457,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -556,3 +561,265 @@ func main() {
| Parameter | Type | Description |
|---|
| price | string | The price of the oracle asset |
| timestamp | int64 | Operation timestamp in UNIX millis. |
+
+
+## StreamOracleList
+
+Stream individual symbol's prices, by oracle type.
+
+**IP rate limit group:** `indexer`
+
+### Request Parameters
+> Request Example:
+
+
+
+```py
+import asyncio
+from typing import Any, Dict
+
+from grpc import RpcError
+
+from pyinjective.core.network import Network
+from pyinjective.indexer_client import IndexerClient
+
+
+async def oracle_list_event_processor(event: Dict[str, Any]):
+ print(event)
+
+
+def stream_error_processor(exception: RpcError):
+ print(f"There was an error listening to oracle list updates ({exception})")
+
+
+def stream_closed_processor():
+ print("The oracle list updates stream has been closed")
+
+
+async def main() -> None:
+ network = Network.testnet()
+ client = IndexerClient(network)
+
+ task = asyncio.get_event_loop().create_task(
+ client.listen_oracle_list_updates(
+ callback=oracle_list_event_processor,
+ on_end_callback=stream_closed_processor,
+ on_status_callback=stream_error_processor,
+ oracle_type="provider",
+ symbols=["TIA"],
+ )
+ )
+
+ await asyncio.sleep(delay=60)
+ task.cancel()
+
+
+if __name__ == "__main__":
+ asyncio.get_event_loop().run_until_complete(main())
+```
+
+
+
+
+```go
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+
+ // Filter by oracle type; pass nil or empty slice for symbols to receive all symbols of this type.
+ oracleType := "pricefeed"
+ symbols := []string{"BTC/USDT", "ETH/USDT"}
+
+ stream, err := exchangeClient.StreamOracleList(ctx, oracleType, symbols)
+ if err != nil {
+ panic(err)
+ }
+
+ for {
+ select {
+ case <-ctx.Done():
+ return
+ default:
+ res, err := stream.Recv()
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ str, _ := json.MarshalIndent(res, "", "\t")
+ fmt.Print(string(str))
+ }
+ }
+}
+```
+
+
+
+| Parameter | Type | Description | Required |
|---|
| oracle_type | string | Filter by oracle type | Yes |
+| symbols | string array | Oracle symbols to stream; empty streams all symbols for the given oracle type | Yes |
+
+
+
+### Response Parameters
+> Streaming Response Example:
+
+``` python
+
+```
+
+``` go
+
+```
+
+
+| Parameter | Type | Description |
|---|
| symbol | string | The symbol of the oracle asset |
+| oracle_type | string | Oracle type |
+| price | string | The price of the oracle asset |
+| timestamp | int64 | Operation timestamp in UNIX millis. |
+
+
+
+## StreamPricesByMarket
+
+Stream new price changes for the specified markets.
+
+**IP rate limit group:** `indexer`
+
+### Request Parameters
+> Request Example:
+
+
+
+```py
+import asyncio
+from typing import Any, Dict
+
+from grpc import RpcError
+
+from pyinjective.core.network import Network
+from pyinjective.indexer_client import IndexerClient
+
+
+async def price_event_processor(event: Dict[str, Any]):
+ print(event)
+
+
+def stream_error_processor(exception: RpcError):
+ print(f"There was an error listening to oracle prices by markets updates ({exception})")
+
+
+def stream_closed_processor():
+ print("The oracle prices by markets updates stream has been closed")
+
+
+async def main() -> None:
+ network = Network.testnet()
+ client = IndexerClient(network)
+ market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
+
+ task = asyncio.get_event_loop().create_task(
+ client.listen_oracle_prices_by_markets_updates(
+ market_ids=[market_id],
+ callback=price_event_processor,
+ on_end_callback=stream_closed_processor,
+ on_status_callback=stream_error_processor,
+ )
+ )
+
+ await asyncio.sleep(delay=60)
+ task.cancel()
+
+
+if __name__ == "__main__":
+ asyncio.get_event_loop().run_until_complete(main())
+```
+
+
+
+
+```go
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+
+ // Pass an empty slice to receive price updates for all markets.
+ marketIds := []string{
+ "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", // INJ/USDT perp
+ "0x54d4505adef6a5cef26bc403a33d595620ded4e15b9e2bc3dd489b714813366a", // BTC/USDT perp
+ }
+
+ stream, err := exchangeClient.StreamPricesByMarkets(ctx, marketIds)
+ if err != nil {
+ panic(err)
+ }
+
+ for {
+ select {
+ case <-ctx.Done():
+ return
+ default:
+ res, err := stream.Recv()
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ str, _ := json.MarshalIndent(res, "", "\t")
+ fmt.Print(string(str))
+ }
+ }
+}
+```
+
+
+
+| Parameter | Type | Description | Required |
|---|
| market_ids | string array | marketIDs to stream price for, empty to listen for all prices | Yes |
+
+
+
+### Response Parameters
+> Streaming Response Example:
+
+``` python
+
+```
+
+``` go
+
+```
+
+
+| Parameter | Type | Description |
|---|
| price | string | The price of the oracle asset |
+| timestamp | int64 | Operation timestamp in UNIX millis. |
+| market_id | string | marketID that the price has been updated |
+
diff --git a/source/includes/_permissions.md b/source/includes/_permissions.md
index acfd38d0..7a0ef97d 100644
--- a/source/includes/_permissions.md
+++ b/source/includes/_permissions.md
@@ -50,9 +50,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -65,7 +67,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -175,9 +177,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -190,7 +194,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -693,6 +697,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -700,6 +705,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -712,7 +718,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1217,6 +1223,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -1224,6 +1231,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1236,7 +1244,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1348,6 +1356,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -1355,6 +1364,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1367,7 +1377,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1482,9 +1492,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1497,7 +1509,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1640,9 +1652,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1655,7 +1669,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1797,9 +1811,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1812,7 +1828,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1978,9 +1994,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1993,7 +2011,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2157,6 +2175,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -2164,6 +2183,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2176,7 +2196,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2234,16 +2254,16 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| vouchers | AddressVoucher array | List of vouchers |
+| Parameter | Type | Description |
|---|
| vouchers | AddressVoucher array | List of outstanding vouchers matching the request filter. |
**AddressVoucher**
-
-| Parameter | Type | Description |
|---|
| address | string | The Injective address that the voucher is for |
-| voucher | github_com_cosmos_cosmos_sdk_types.Coin | The voucher amount |
+
+| Parameter | Type | Description |
|---|
| address | string | The bech32 address of the voucher holder. |
+| voucher | Coin | The outstanding voucher coin. |
@@ -2252,7 +2272,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -2304,9 +2324,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2319,7 +2341,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2379,7 +2401,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| voucher | github_com_cosmos_cosmos_sdk_types.Coin | The voucher amount |
+| Parameter | Type | Description |
|---|
| voucher | Coin | The voucher amount |
@@ -2388,7 +2410,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -2439,9 +2461,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2454,7 +2478,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2852,7 +2876,8 @@ No parameters
| Parameter | Type | Description |
|---|
| contract_hook_max_gas | uint64 | Max amount of gas allowed for contract hook queries |
-| enforced_restrictions_contracts | string array | EVM addresses of contracts that will not bypass module-to-module transfers |
+| deprecated_enforced_restrictions_contracts | string array | DEPRECATED in favor of enforced_restrictions_evm_contracts, but left for compatibility and upgrade purposes EVM addresses of contracts that will not bypass module-to-module transfers |
+| enforced_restrictions_evm_contracts | EnforcedRestrictionsEVMContract array | EVM Contracts that module will be listening to sync permissions stored inside namespace on every update inside smart contract state |
@@ -2874,9 +2899,9 @@ No parameters
**AddressVoucher**
-
-| Parameter | Type | Description |
|---|
| address | string | The Injective address that the voucher is for |
-| voucher | github_com_cosmos_cosmos_sdk_types.Coin | The voucher amount |
+
+| Parameter | Type | Description |
|---|
| address | string | The bech32 address of the voucher holder. |
+| voucher | Coin | The outstanding voucher coin. |
@@ -2952,7 +2977,7 @@ No parameters
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -3100,6 +3125,7 @@ import (
"time"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
permissionstypes "github.com/InjectiveLabs/sdk-go/chain/permissions/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -3107,6 +3133,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3119,7 +3146,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3337,7 +3364,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -3355,9 +3382,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -3498,6 +3525,7 @@ import (
"time"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
permissionstypes "github.com/InjectiveLabs/sdk-go/chain/permissions/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -3505,6 +3533,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3517,7 +3546,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3702,7 +3731,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -3720,9 +3749,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -3844,12 +3873,14 @@ import (
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
permissionstypes "github.com/InjectiveLabs/sdk-go/chain/permissions/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3862,7 +3893,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3966,7 +3997,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -3984,9 +4015,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -4088,6 +4119,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
permissionstypes "github.com/InjectiveLabs/sdk-go/chain/permissions/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -4095,6 +4127,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4107,7 +4140,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -4181,7 +4214,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -4199,9 +4232,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_spot.md b/source/includes/_spot.md
index 96b17467..9c007cc9 100644
--- a/source/includes/_spot.md
+++ b/source/includes/_spot.md
@@ -53,9 +53,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -68,7 +70,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -136,8 +138,8 @@ func main() {
**TrimmedLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| order_hash | string | the order hash |
| subaccount_id | string | the subaccount ID |
@@ -196,9 +198,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -211,7 +215,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -300,14 +304,14 @@ func main() {
| Parameter | Type | Description |
|---|
| ticker | string | A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset. |
| base_denom | string | Coin denom used for the base asset |
| quote_denom | string | Coin used for the quote asset |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the fee percentage makers pay when trading |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the fee percentage takers pay when trading |
-| relayer_fee_share_rate | cosmossdk_io_math.LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the fee percentage makers pay when trading |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the fee percentage takers pay when trading |
+| relayer_fee_share_rate | LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
| market_id | string | Unique market ID. |
| status | MarketStatus | Status of the market |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
| admin | string | current market admin |
| admin_permissions | uint32 | level of admin permissions |
| base_decimals | uint32 | base token decimals |
@@ -394,9 +398,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -409,7 +415,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -494,14 +500,14 @@ func main() {
| Parameter | Type | Description |
|---|
| ticker | string | A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset. |
| base_denom | string | Coin denom used for the base asset |
| quote_denom | string | Coin used for the quote asset |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the fee percentage makers pay when trading |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the fee percentage takers pay when trading |
-| relayer_fee_share_rate | cosmossdk_io_math.LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the fee percentage makers pay when trading |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the fee percentage takers pay when trading |
+| relayer_fee_share_rate | LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
| market_id | string | Unique market ID. |
| status | MarketStatus | Status of the market |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
| admin | string | current market admin |
| admin_permissions | uint32 | level of admin permissions |
| base_decimals | uint32 | base token decimals |
@@ -590,9 +596,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -605,7 +613,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -712,14 +720,14 @@ func main() {
| Parameter | Type | Description |
|---|
| ticker | string | A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset. |
| base_denom | string | Coin denom used for the base asset |
| quote_denom | string | Coin used for the quote asset |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the fee percentage makers pay when trading |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the fee percentage takers pay when trading |
-| relayer_fee_share_rate | cosmossdk_io_math.LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the fee percentage makers pay when trading |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the fee percentage takers pay when trading |
+| relayer_fee_share_rate | LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
| market_id | string | Unique market ID. |
| status | MarketStatus | Status of the market |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
| admin | string | current market admin |
| admin_permissions | uint32 | level of admin permissions |
| base_decimals | uint32 | base token decimals |
@@ -745,9 +753,9 @@ func main() {
**MidPriceAndTOB**
-| Parameter | Type | Description |
|---|
| mid_price | cosmossdk_io_math.LegacyDec | mid price of the market (in human readable format) |
-| best_buy_price | cosmossdk_io_math.LegacyDec | best buy price of the market (in human readable format) |
-| best_sell_price | cosmossdk_io_math.LegacyDec | best sell price of the market (in human readable format) |
+| Parameter | Type | Description |
|---|
| mid_price | LegacyDec | mid price of the market (in human readable format) |
+| best_buy_price | LegacyDec | best buy price of the market (in human readable format) |
+| best_sell_price | LegacyDec | best sell price of the market (in human readable format) |
@@ -817,9 +825,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -832,7 +842,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -935,14 +945,14 @@ func main() {
| Parameter | Type | Description |
|---|
| ticker | string | A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset. |
| base_denom | string | Coin denom used for the base asset |
| quote_denom | string | Coin used for the quote asset |
-| maker_fee_rate | cosmossdk_io_math.LegacyDec | maker_fee_rate defines the fee percentage makers pay when trading |
-| taker_fee_rate | cosmossdk_io_math.LegacyDec | taker_fee_rate defines the fee percentage takers pay when trading |
-| relayer_fee_share_rate | cosmossdk_io_math.LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
+| maker_fee_rate | LegacyDec | maker_fee_rate defines the fee percentage makers pay when trading |
+| taker_fee_rate | LegacyDec | taker_fee_rate defines the fee percentage takers pay when trading |
+| relayer_fee_share_rate | LegacyDec | relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market |
| market_id | string | Unique market ID. |
| status | MarketStatus | Status of the market |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) |
| admin | string | current market admin |
| admin_permissions | uint32 | level of admin permissions |
| base_decimals | uint32 | base token decimals |
@@ -968,9 +978,9 @@ func main() {
**MidPriceAndTOB**
-| Parameter | Type | Description |
|---|
| mid_price | cosmossdk_io_math.LegacyDec | mid price of the market (in human readable format) |
-| best_buy_price | cosmossdk_io_math.LegacyDec | best buy price of the market (in human readable format) |
-| best_sell_price | cosmossdk_io_math.LegacyDec | best sell price of the market (in human readable format) |
+| Parameter | Type | Description |
|---|
| mid_price | LegacyDec | mid price of the market (in human readable format) |
+| best_buy_price | LegacyDec | best buy price of the market (in human readable format) |
+| best_sell_price | LegacyDec | best sell price of the market (in human readable format) |
@@ -1041,6 +1051,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
v2 "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
"github.com/InjectiveLabs/sdk-go/client"
@@ -1049,6 +1060,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1061,7 +1073,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1115,8 +1127,8 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| market_id | string | Market ID for the market | Yes |
| limit | uint64 | the maximum number of orderbook entries to return per side (optional) | No |
| order_side | OrderSide | the order side to return the orderbook entries for (optional) | No |
-| limit_cumulative_notional | cosmossdk_io_math.LegacyDec | limits the number of entries to return per side based on the cumulative notional (in human readable format) | No |
-| limit_cumulative_quantity | cosmossdk_io_math.LegacyDec | limits the number of entries to return per side based on the cumulative quantity (in human readable format) | No |
+| limit_cumulative_notional | LegacyDec | limits the number of entries to return per side based on the cumulative notional (in human readable format) | No |
+| limit_cumulative_quantity | LegacyDec | limits the number of entries to return per side based on the cumulative quantity (in human readable format) | No |
@@ -1159,8 +1171,8 @@ func main() {
**Level**
-| Parameter | Type | Description |
|---|
| p | cosmossdk_io_math.LegacyDec | price (in human readable format) |
-| q | cosmossdk_io_math.LegacyDec | quantity (in human readable format) |
+| Parameter | Type | Description |
|---|
| p | LegacyDec | price (in human readable format) |
+| q | LegacyDec | quantity (in human readable format) |
@@ -1231,9 +1243,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1246,7 +1260,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1324,9 +1338,9 @@ func main() {
**TrimmedSpotLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| fillable | LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
| isBuy | bool | true if the order is a buy |
| order_hash | string | the order hash (optional) |
| cid | string | the client order ID (optional) |
@@ -1398,9 +1412,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1413,7 +1429,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1490,9 +1506,9 @@ func main() {
**TrimmedSpotLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| fillable | LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
| isBuy | bool | true if the order is a buy |
| order_hash | string | the order hash (optional) |
| cid | string | the client order ID (optional) |
@@ -1567,9 +1583,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1582,7 +1600,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1662,9 +1680,9 @@ func main() {
**TrimmedSpotLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| fillable | LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
| isBuy | bool | true if the order is a buy |
| order_hash | string | the order hash (optional) |
| cid | string | the client order ID (optional) |
@@ -1738,9 +1756,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1753,7 +1773,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1831,9 +1851,9 @@ func main() {
**TrimmedSpotLimitOrder**
-| Parameter | Type | Description |
|---|
| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
-| fillable | cosmossdk_io_math.LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
+| Parameter | Type | Description |
|---|
| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
+| fillable | LegacyDec | the amount of the quantity remaining fillable (in human readable format) |
| isBuy | bool | true if the order is a buy |
| order_hash | string | the order hash (optional) |
| cid | string | the client order ID (optional) |
@@ -1891,9 +1911,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1906,7 +1928,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1968,9 +1990,9 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| mid_price | cosmossdk_io_math.LegacyDec | mid price of the market (in human readable format) |
-| best_buy_price | cosmossdk_io_math.LegacyDec | best buy price of the market (in human readable format) |
-| best_sell_price | cosmossdk_io_math.LegacyDec | best sell price of the market |
+| Parameter | Type | Description |
|---|
| mid_price | LegacyDec | mid price of the market (in human readable format) |
+| best_buy_price | LegacyDec | best buy price of the market (in human readable format) |
+| best_sell_price | LegacyDec | best sell price of the market |
@@ -2070,6 +2092,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -2077,6 +2100,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2089,7 +2113,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2164,9 +2188,9 @@ func main() {
| ticker | string | Ticker for the spot market. | Yes |
| base_denom | string | type of coin to use as the base currency | Yes |
| quote_denom | string | type of coin to use as the quote currency | Yes |
-| min_price_tick_size | cosmossdk_io_math.LegacyDec | min_price_tick_size defines the minimum tick size of the order's price (in human readable format) | Yes |
-| min_quantity_tick_size | cosmossdk_io_math.LegacyDec | min_quantity_tick_size defines the minimum tick size of the order's quantity (in human readable format) | Yes |
-| min_notional | cosmossdk_io_math.LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) | Yes |
+| min_price_tick_size | LegacyDec | min_price_tick_size defines the minimum tick size of the order's price (in human readable format) | Yes |
+| min_quantity_tick_size | LegacyDec | min_quantity_tick_size defines the minimum tick size of the order's quantity (in human readable format) | Yes |
+| min_notional | LegacyDec | min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) | Yes |
| base_decimals | uint32 | base token decimals | Yes |
| quote_decimals | uint32 | quote token decimals | Yes |
@@ -2179,7 +2203,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -2197,9 +2221,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -2316,6 +2340,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -2324,6 +2349,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2336,7 +2362,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2427,7 +2453,7 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -2438,8 +2464,8 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -2486,7 +2512,7 @@ gas fee: 0.000064956 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -2504,9 +2530,9 @@ gas fee: 0.000064956 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -2620,6 +2646,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -2628,6 +2655,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2640,7 +2668,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2731,7 +2759,7 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -2742,8 +2770,8 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -2790,7 +2818,7 @@ gas fee: 0.000065298 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -2808,9 +2836,9 @@ gas fee: 0.000065298 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -2913,6 +2941,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -2920,6 +2949,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2932,7 +2962,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3022,7 +3052,7 @@ gas fee: 0.0000636815 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -3040,9 +3070,9 @@ gas fee: 0.0000636815 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -3263,6 +3293,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -3271,6 +3302,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3283,7 +3315,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3453,7 +3485,7 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -3465,8 +3497,8 @@ func main() {
| Parameter | Type | Description |
|---|
| market_id | string | market_id represents the unique ID of the market |
| order_info | OrderInfo | order_info contains the information of the order |
| order_type | OrderType | order types |
-| margin | cosmossdk_io_math.LegacyDec | margin is the margin used by the limit order (in human readable format) |
-| trigger_price | cosmossdk_io_math.LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
+| margin | LegacyDec | margin is the margin used by the limit order (in human readable format) |
+| trigger_price | LegacyDec | trigger_price is the trigger price used by stop/take orders (in human readable format) (optional) |
| expiration_block | int64 | expiration block is the block number at which the order will expire |
@@ -3492,8 +3524,8 @@ func main() {
| Parameter | Type | Description |
|---|
| subaccount_id | string | bytes32 subaccount ID that created the order |
| fee_recipient | string | address fee_recipient address that will receive fees for the order |
-| price | cosmossdk_io_math.LegacyDec | price of the order (in human readable format) |
-| quantity | cosmossdk_io_math.LegacyDec | quantity of the order (in human readable format) |
+| price | LegacyDec | price of the order (in human readable format) |
+| quantity | LegacyDec | quantity of the order (in human readable format) |
| cid | string | the client order ID (optional) |
@@ -3548,7 +3580,7 @@ gas fee: 0.000329546 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -3566,9 +3598,9 @@ gas fee: 0.000329546 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -3678,6 +3710,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -3685,6 +3718,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -3697,7 +3731,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -3768,9 +3802,9 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| admin | string | current admin address of the associated market | Yes |
| market_id | string | id of the market to be updated | Yes |
| new_ticker | string | (optional) updated ticker value | No |
-| new_min_price_tick_size | cosmossdk_io_math.LegacyDec | (optional) updated min price tick size value (in human readable format) | No |
-| new_min_quantity_tick_size | cosmossdk_io_math.LegacyDec | (optional) updated min quantity tick size value (in human readable format) | No |
-| new_min_notional | cosmossdk_io_math.LegacyDec | (optional) updated min notional (in human readable format) | No |
+| new_min_price_tick_size | LegacyDec | (optional) updated min price tick size value (in human readable format) | No |
+| new_min_quantity_tick_size | LegacyDec | (optional) updated min quantity tick size value (in human readable format) | No |
+| new_min_notional | LegacyDec | (optional) updated min notional (in human readable format) | No |
### Response Parameters
@@ -3794,7 +3828,7 @@ gas fee: 0.000066807 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -3812,9 +3846,9 @@ gas fee: 0.000066807 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -4129,6 +4163,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/google/uuid"
+ "github.com/joho/godotenv"
"github.com/shopspring/decimal"
exchangev2types "github.com/InjectiveLabs/sdk-go/chain/exchange/types/v2"
@@ -4137,6 +4172,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -4149,7 +4185,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
if err != nil {
diff --git a/source/includes/_spotrpc.md b/source/includes/_spotrpc.md
index 8f29db99..eaaa8c7d 100644
--- a/source/includes/_spotrpc.md
+++ b/source/includes/_spotrpc.md
@@ -1562,7 +1562,7 @@ func main() {
| executed_at | int64 | Timestamp of trade execution in UNIX millis |
| fee_recipient | string | Fee recipient address |
| trade_id | string | A unique string that helps differentiate between trades |
-| execution_side | string | Trade's execution side, marker/taker |
+| execution_side | string | Trade's execution side, maker,taker,n/a (n/a = not applicable) |
| cid | string | Custom client order ID |
@@ -1846,7 +1846,7 @@ func main() {
| executed_at | int64 | Timestamp of trade execution in UNIX millis |
| fee_recipient | string | Fee recipient address |
| trade_id | string | A unique string that helps differentiate between trades |
-| execution_side | string | Trade's execution side, marker/taker |
+| execution_side | string | Trade's execution side, maker,taker,n/a (n/a = not applicable) |
| cid | string | Custom client order ID |
@@ -3123,7 +3123,7 @@ func main() {
| executed_at | int64 | Timestamp of trade execution in UNIX millis |
| fee_recipient | string | Fee recipient address |
| trade_id | string | A unique string that helps differentiate between trades |
-| execution_side | string | Trade's execution side, marker/taker |
+| execution_side | string | Trade's execution side, maker,taker,n/a (n/a = not applicable) |
| cid | string | Custom client order ID |
diff --git a/source/includes/_staking.md b/source/includes/_staking.md
index b117283a..5036f711 100644
--- a/source/includes/_staking.md
+++ b/source/includes/_staking.md
@@ -49,9 +49,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -64,7 +66,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -136,8 +138,8 @@ func main() {
| Parameter | Type | Description |
|---|
| operator_address | string | operator_address defines the validator operator address. |
-| self_bond_rewards | github_com_cosmos_cosmos_sdk_types.DecCoins | self_bond_rewards defines the self delegations rewards. |
-| commission | github_com_cosmos_cosmos_sdk_types.DecCoins | commission defines the commission the validator received. |
+| self_bond_rewards | DecCoins | self_bond_rewards defines the self delegations rewards. |
+| commission | DecCoins | commission defines the commission the validator received. |
@@ -146,7 +148,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.LegacyDec | |
+| amount | LegacyDec | |
@@ -198,9 +200,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -213,7 +217,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -287,7 +291,7 @@ func main() {
**ValidatorOutstandingRewards**
-| Parameter | Type | Description |
|---|
| rewards | github_com_cosmos_cosmos_sdk_types.DecCoins | |
+| Parameter | Type | Description |
|---|
| rewards | DecCoins | |
@@ -296,7 +300,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.LegacyDec | |
+| amount | LegacyDec | |
@@ -348,9 +352,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -363,7 +369,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -437,7 +443,7 @@ func main() {
**ValidatorAccumulatedCommission**
-| Parameter | Type | Description |
|---|
| commission | github_com_cosmos_cosmos_sdk_types.DecCoins | |
+| Parameter | Type | Description |
|---|
| commission | DecCoins | |
@@ -446,7 +452,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.LegacyDec | |
+| amount | LegacyDec | |
@@ -498,6 +504,7 @@ import (
"os"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -506,6 +513,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -518,7 +526,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -570,7 +578,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| validator_address | string | validator_address defines the validator address to query for. | Yes |
| starting_height | uint64 | starting_height defines the optional starting height to query the slashes. | No |
| ending_height | uint64 | starting_height defines the optional ending height to query the slashes. | No |
-| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -594,7 +602,7 @@ func main() {
| Parameter | Type | Description |
|---|
| slashes | ValidatorSlashEvent array | slashes defines the slashes the validator received. |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -603,7 +611,7 @@ func main() {
| Parameter | Type | Description |
|---|
| validator_period | uint64 | |
-| fraction | cosmossdk_io_math.LegacyDec | |
+| fraction | LegacyDec | |
@@ -667,9 +675,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -682,7 +692,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -748,7 +758,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| rewards | github_com_cosmos_cosmos_sdk_types.DecCoins | rewards defines the rewards accrued by a delegation. |
+| Parameter | Type | Description |
|---|
| rewards | DecCoins | rewards defines the rewards accrued by a delegation. |
@@ -757,7 +767,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.LegacyDec | |
+| amount | LegacyDec | |
@@ -811,9 +821,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -826,7 +838,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -926,7 +938,7 @@ func main() {
| Parameter | Type | Description |
|---|
| rewards | DelegationDelegatorReward array | rewards defines all the rewards accrued by a delegator. |
-| total | github_com_cosmos_cosmos_sdk_types.DecCoins | total defines the sum of all the rewards. |
+| total | DecCoins | total defines the sum of all the rewards. |
@@ -935,7 +947,7 @@ func main() {
| Parameter | Type | Description |
|---|
| validator_address | string | |
-| reward | github_com_cosmos_cosmos_sdk_types.DecCoins | |
+| reward | DecCoins | |
@@ -944,7 +956,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.LegacyDec | |
+| amount | LegacyDec | |
@@ -998,9 +1010,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1013,7 +1027,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1132,9 +1146,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1147,7 +1163,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1257,9 +1273,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1272,7 +1290,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1333,7 +1351,7 @@ No parameters
```
-| Parameter | Type | Description |
|---|
| pool | github_com_cosmos_cosmos_sdk_types.DecCoins | pool defines community pool's coins. |
+| Parameter | Type | Description |
|---|
| pool | DecCoins | pool defines community pool's coins. |
@@ -1342,7 +1360,7 @@ No parameters
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.LegacyDec | |
+| amount | LegacyDec | |
@@ -1364,7 +1382,8 @@ import os
import dotenv
-from pyinjective import AsyncClient, PrivateKey
+from pyinjective import PrivateKey
+from pyinjective.async_client_v2 import AsyncClient
from pyinjective.core.broadcaster import MsgBroadcasterWithPk
from pyinjective.core.network import Network
@@ -1432,12 +1451,14 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/cosmos/cosmos-sdk/x/distribution/types"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1450,7 +1471,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1525,7 +1546,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1543,9 +1564,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1647,12 +1668,14 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1665,7 +1688,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1750,7 +1773,7 @@ gas fee: 0.000097523 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1768,9 +1791,9 @@ gas fee: 0.000097523 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1869,12 +1892,14 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/cosmos/cosmos-sdk/x/distribution/types"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1887,7 +1912,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1960,7 +1985,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1978,9 +2003,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -2013,7 +2038,8 @@ from decimal import Decimal
import dotenv
-from pyinjective import AsyncClient, PrivateKey
+from pyinjective import PrivateKey
+from pyinjective.async_client_v2 import AsyncClient
from pyinjective.core.broadcaster import MsgBroadcasterWithPk
from pyinjective.core.network import Network
@@ -2083,12 +2109,14 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/cosmos/cosmos-sdk/types"
distriutiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2101,7 +2129,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2164,7 +2192,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| amount | github_com_cosmos_cosmos_sdk_types.Coins | | Yes |
+| Parameter | Type | Description | Required |
|---|
| amount | Coins | | Yes |
| depositor | string | | Yes |
@@ -2174,7 +2202,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -2185,7 +2213,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -2203,9 +2231,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -2311,12 +2339,14 @@ import (
sdktypes "github.com/cosmos/cosmos-sdk/types"
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
+ "github.com/joho/godotenv"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -2329,7 +2359,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -2396,7 +2426,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| delegator_address | string | | Yes |
| validator_address | string | | Yes |
-| amount | types1.Coin | | Yes |
+| amount | Coin | | Yes |
@@ -2405,7 +2435,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -2428,7 +2458,7 @@ gas fee: 0.000103923 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -2446,9 +2476,9 @@ gas fee: 0.000103923 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_tendermint.md b/source/includes/_tendermint.md
index 3e840021..f5ac4ddb 100644
--- a/source/includes/_tendermint.md
+++ b/source/includes/_tendermint.md
@@ -49,9 +49,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -64,7 +66,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -158,7 +160,7 @@ No parameters
```
-| Parameter | Type | Description |
|---|
| default_node_info | v11.DefaultNodeInfo | |
+| Parameter | Type | Description |
|---|
| default_node_info | DefaultNodeInfo | |
| application_version | VersionInfo | |
@@ -269,9 +271,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -284,7 +288,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -393,9 +397,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("devnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -408,7 +414,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -619,8 +625,8 @@ No parameters
```
-| Parameter | Type | Description |
|---|
| block_id | v1.BlockID | |
-| block | v1.Block | Deprecated: please use `sdk_block` instead |
+| Parameter | Type | Description |
|---|
| block_id | BlockID | |
+| block | Block | Deprecated: please use `sdk_block` instead |
| sdk_block | Block | Since: cosmos-sdk 0.47 |
@@ -658,10 +664,10 @@ No parameters
**Header**
-| Parameter | Type | Description |
|---|
| version | v11.Consensus | basic block info |
+| Parameter | Type | Description |
|---|
| version | Consensus | basic block info |
| chain_id | string | |
| height | int64 | |
-| time | time.Time | |
+| time | Time | |
| last_block_id | BlockID | prev block info |
| last_commit_hash | byte array | hashes of block data |
| data_hash | byte array | |
@@ -717,7 +723,7 @@ No parameters
| Parameter | Type | Description |
|---|
| block_id_flag | BlockIDFlag | |
| validator_address | byte array | |
-| timestamp | time.Time | |
+| timestamp | Time | |
| signature | byte array | |
@@ -780,9 +786,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -795,7 +803,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1033,8 +1041,8 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| block_id | v1.BlockID | |
-| block | v1.Block | Deprecated: please use `sdk_block` instead |
+| Parameter | Type | Description |
|---|
| block_id | BlockID | |
+| block | Block | Deprecated: please use `sdk_block` instead |
| sdk_block | Block | Since: cosmos-sdk 0.47 |
@@ -1072,10 +1080,10 @@ func main() {
**Header**
-| Parameter | Type | Description |
|---|
| version | v11.Consensus | basic block info |
+| Parameter | Type | Description |
|---|
| version | Consensus | basic block info |
| chain_id | string | |
| height | int64 | |
-| time | time.Time | |
+| time | Time | |
| last_block_id | BlockID | prev block info |
| last_commit_hash | byte array | hashes of block data |
| data_hash | byte array | |
@@ -1131,7 +1139,7 @@ func main() {
| Parameter | Type | Description |
|---|
| block_id_flag | BlockIDFlag | |
| validator_address | byte array | |
-| timestamp | time.Time | |
+| timestamp | Time | |
| signature | byte array | |
@@ -1196,9 +1204,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1211,7 +1221,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1255,7 +1265,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | pagination defines an pagination for the request. | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | pagination defines an pagination for the request. | No |
@@ -1325,7 +1335,7 @@ func main() {
| Parameter | Type | Description |
|---|
| block_height | int64 | |
| validators | Validator array | |
-| pagination | query.PageResponse | pagination defines an pagination for the response. |
+| pagination | PageResponse | pagination defines an pagination for the response. |
@@ -1334,7 +1344,7 @@ func main() {
| Parameter | Type | Description |
|---|
| address | string | |
-| pub_key | types.Any | |
+| pub_key | Any | |
| voting_power | int64 | |
| proposer_priority | int64 | |
@@ -1396,6 +1406,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"os"
@@ -1406,6 +1417,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1418,7 +1430,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1465,7 +1477,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| height | int64 | | Yes |
-| pagination | query.PageRequest | pagination defines an pagination for the request. | No |
+| pagination | PageRequest | pagination defines an pagination for the request. | No |
@@ -1535,7 +1547,7 @@ func main() {
| Parameter | Type | Description |
|---|
| block_height | int64 | |
| validators | Validator array | |
-| pagination | query.PageResponse | pagination defines an pagination for the response. |
+| pagination | PageResponse | pagination defines an pagination for the response. |
@@ -1544,7 +1556,7 @@ func main() {
| Parameter | Type | Description |
|---|
| address | string | |
-| pub_key | types.Any | |
+| pub_key | Any | |
| voting_power | int64 | |
| proposer_priority | int64 | |
diff --git a/source/includes/_tokenfactory.md b/source/includes/_tokenfactory.md
index 409a6169..468a4c36 100644
--- a/source/includes/_tokenfactory.md
+++ b/source/includes/_tokenfactory.md
@@ -51,9 +51,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -66,7 +68,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -195,9 +197,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -210,7 +214,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -404,9 +408,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -419,7 +425,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -569,7 +575,7 @@ No parameters
**Params**
-| Parameter | Type | Description |
|---|
| denom_creation_fee | github_com_cosmos_cosmos_sdk_types.Coins | The denom creation fee |
+| Parameter | Type | Description |
|---|
| denom_creation_fee | Coins | The denom creation fee |
@@ -578,7 +584,7 @@ No parameters
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
@@ -692,6 +698,7 @@ import (
"time"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -699,6 +706,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -711,7 +719,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -792,7 +800,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -810,9 +818,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -916,6 +924,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
sdktypes "github.com/cosmos/cosmos-sdk/types"
+ "github.com/joho/godotenv"
tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -923,6 +932,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -935,7 +945,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -999,7 +1009,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | The sender's Injective address | Yes |
-| amount | types.Coin | The amount of tokens to mint | Yes |
+| amount | Coin | The amount of tokens to mint | Yes |
| receiver | string | The Injective address to receive the tokens | Yes |
@@ -1009,7 +1019,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -1022,7 +1032,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1040,9 +1050,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1146,6 +1156,7 @@ import (
"cosmossdk.io/math"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
sdktypes "github.com/cosmos/cosmos-sdk/types"
+ "github.com/joho/godotenv"
tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -1153,6 +1164,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1165,7 +1177,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1229,7 +1241,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | The sender's Injective address | Yes |
-| amount | types.Coin | The amount of tokens to burn | Yes |
+| amount | Coin | The amount of tokens to burn | Yes |
| burnFromAddress | string | The Injective address to burn the tokens from | Yes |
@@ -1239,7 +1251,7 @@ func main() {
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -1252,7 +1264,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1270,9 +1282,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1389,6 +1401,7 @@ import (
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+ "github.com/joho/godotenv"
tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -1396,6 +1409,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1408,7 +1422,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1496,7 +1510,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| sender | string | The sender's Injective address | Yes |
-| metadata | types1.Metadata | The metadata | Yes |
+| metadata | Metadata | The metadata | Yes |
| admin_burn_disabled | MsgSetDenomMetadata_AdminBurnDisabled | | No |
@@ -1537,7 +1551,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1555,9 +1569,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -1657,6 +1671,7 @@ import (
"time"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -1664,6 +1679,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1676,7 +1692,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1752,7 +1768,7 @@ func main() {
``` go
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1770,9 +1786,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_txfees.md b/source/includes/_txfees.md
index f3303a13..12a5add9 100644
--- a/source/includes/_txfees.md
+++ b/source/includes/_txfees.md
@@ -46,6 +46,7 @@ import (
"os"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
"github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -53,6 +54,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -65,7 +67,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -131,5 +133,5 @@ No parameters
**EipBaseFee**
-| Parameter | Type | Description |
|---|
| base_fee | cosmossdk_io_math.LegacyDec | The current chain gas price |
+| Parameter | Type | Description |
|---|
| base_fee | LegacyDec | The current chain gas price |
diff --git a/source/includes/_wasm.md b/source/includes/_wasm.md
index f85a7295..734ac375 100644
--- a/source/includes/_wasm.md
+++ b/source/includes/_wasm.md
@@ -50,9 +50,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -65,7 +67,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -164,7 +166,7 @@ func main() {
| label | string | Label is optional metadata to be stored with a contract instance. |
| created | AbsoluteTxPosition | Created Tx position when the contract was instantiated. |
| ibc_port_id | string | |
-| extension | types.Any | Extension is an extension point to store custom metadata within the persistence model. |
+| extension | Any | Extension is an extension point to store custom metadata within the persistence model. |
@@ -223,6 +225,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"os"
@@ -233,6 +236,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -245,7 +249,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -294,7 +298,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| address | string | address is the address of the contract to query | Yes |
-| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -413,7 +417,7 @@ func main() {
| Parameter | Type | Description |
|---|
| entries | ContractCodeHistoryEntry array | |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -503,6 +507,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"os"
@@ -513,6 +518,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -525,7 +531,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -574,7 +580,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| code_id | uint64 | | Yes |
-| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -621,7 +627,7 @@ func main() {
| Parameter | Type | Description |
|---|
| contracts | string array | contracts are a set of contract addresses |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -680,6 +686,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"os"
@@ -690,6 +697,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -702,7 +710,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -751,7 +759,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| address | string | address is the address of the contract | Yes |
-| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -807,7 +815,7 @@ func main() {
| Parameter | Type | Description |
|---|
| models | Model array | |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -815,7 +823,7 @@ func main() {
**Model**
-| Parameter | Type | Description |
|---|
| key | github_com_cometbft_cometbft_libs_bytes.HexBytes | hex-encode key to read it better (this is often ascii) |
+| Parameter | Type | Description |
|---|
| key | HexBytes | hex-encode key to read it better (this is often ascii) |
| value | byte array | base64-encode raw value |
@@ -876,9 +884,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -891,7 +901,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1003,9 +1013,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1018,7 +1030,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1139,9 +1151,11 @@ import (
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1154,7 +1168,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1287,6 +1301,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"os"
@@ -1297,6 +1312,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1309,7 +1325,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1355,7 +1371,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -1435,7 +1451,7 @@ func main() {
| Parameter | Type | Description |
|---|
| code_infos | CodeInfoResponse array | |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -1445,7 +1461,7 @@ func main() {
| Parameter | Type | Description |
|---|
| code_id | uint64 | |
| creator | string | |
-| data_hash | github_com_cometbft_cometbft_libs_bytes.HexBytes | |
+| data_hash | HexBytes | |
| instantiate_permission | AccessConfig | |
@@ -1524,6 +1540,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"os"
@@ -1534,6 +1551,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1546,7 +1564,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1593,7 +1611,7 @@ func main() {
-| Parameter | Type | Description | Required |
|---|
| pagination | query.PageRequest | pagination defines an optional pagination for the request. | No |
+| Parameter | Type | Description | Required |
|---|
| pagination | PageRequest | pagination defines an optional pagination for the request. | No |
@@ -1640,7 +1658,7 @@ func main() {
| Parameter | Type | Description |
|---|
| code_ids | uint64 array | |
-| pagination | query.PageResponse | pagination defines the pagination in the response. |
+| pagination | PageResponse | pagination defines the pagination in the response. |
@@ -1699,6 +1717,7 @@ import (
"fmt"
"github.com/cosmos/cosmos-sdk/types/query"
+ "github.com/joho/godotenv"
"os"
@@ -1709,6 +1728,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -1721,7 +1741,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -1770,7 +1790,7 @@ func main() {
| Parameter | Type | Description | Required |
|---|
| creator_address | string | CreatorAddress is the address of contract creator | Yes |
-| pagination | query.PageRequest | Pagination defines an optional pagination for the request. | No |
+| pagination | PageRequest | Pagination defines an optional pagination for the request. | No |
@@ -1813,7 +1833,7 @@ func main() {
| Parameter | Type | Description |
|---|
| contract_addresses | string array | ContractAddresses result set |
-| pagination | query.PageResponse | Pagination defines the pagination in the response. |
+| pagination | PageResponse | Pagination defines the pagination in the response. |
@@ -1915,7 +1935,7 @@ if __name__ == "__main__":
| Parameter | Type | Description | Required |
|---|
| sender | string | Sender is the that actor that signed the messages | Yes |
| contract | string | Contract is the address of the smart contract | Yes |
| msg | RawContractMessage | Msg json encoded message to be passed to the contract | Yes |
-| funds | github_com_cosmos_cosmos_sdk_types.Coins | Funds coins that are transferred to the contract on execution | Yes |
+| funds | Coins | Funds coins that are transferred to the contract on execution | Yes |
@@ -1924,7 +1944,7 @@ if __name__ == "__main__":
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
> Response Example:
@@ -1938,7 +1958,7 @@ gas fee: 0.000108965 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -1956,9 +1976,9 @@ gas fee: 0.000108965 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
@@ -2070,7 +2090,7 @@ if __name__ == "__main__":
| Parameter | Type | Description | Required |
|---|
| sender | string | Sender is the that actor that signed the messages | Yes |
| contract | string | Contract is the address of the smart contract | Yes |
| msg | RawContractMessage | Msg json encoded message to be passed to the contract | Yes |
-| funds | github_com_cosmos_cosmos_sdk_types.Coins | Funds coins that are transferred to the contract on execution | Yes |
+| funds | Coins | Funds coins that are transferred to the contract on execution | Yes |
@@ -2079,7 +2099,7 @@ if __name__ == "__main__":
| Parameter | Type | Description |
|---|
| denom | string | |
-| amount | cosmossdk_io_math.Int | |
+| amount | Int | |
### Response Parameters
@@ -2094,7 +2114,7 @@ gas fee: 0.000069833 INJ
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -2112,9 +2132,9 @@ gas fee: 0.000069833 INJ
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/includes/_wasmx.md b/source/includes/_wasmx.md
index 7483319f..ef8b310c 100644
--- a/source/includes/_wasmx.md
+++ b/source/includes/_wasmx.md
@@ -95,6 +95,7 @@ import (
"time"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/joho/godotenv"
wasmxtypes "github.com/InjectiveLabs/sdk-go/chain/wasmx/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -102,6 +103,7 @@ import (
)
func main() {
+ _ = godotenv.Load()
network := common.LoadNetwork("testnet", "lb")
tmClient, err := rpchttp.New(network.TmEndpoint)
if err != nil {
@@ -114,7 +116,7 @@ func main() {
"file",
"inj-user",
"12345678",
- "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ os.Getenv("INJECTIVE_PRIVATE_KEY"), // keyring will be used if pk not provided
false,
)
@@ -208,7 +210,7 @@ func main() {
```
-| Parameter | Type | Description |
|---|
| tx_response | types.TxResponse | tx_response is the queried TxResponses. |
+| Parameter | Type | Description |
|---|
| tx_response | TxResponse | tx_response is the queried TxResponses. |
@@ -226,9 +228,9 @@ func main() {
| info | string | Additional information. May be non-deterministic. |
| gas_wanted | int64 | Amount of gas requested for transaction. |
| gas_used | int64 | Amount of gas consumed by transaction. |
-| tx | types.Any | The request transaction bytes. |
+| tx | Any | The request transaction bytes. |
| timestamp | string | Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time. |
-| events | v1.Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
+| events | Event array | Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 |
diff --git a/source/json_tables/cometbft/abci/v1/ExtendVoteRequest.json b/source/json_tables/cometbft/abci/v1/ExtendVoteRequest.json
index 48357a4d..c2643486 100644
--- a/source/json_tables/cometbft/abci/v1/ExtendVoteRequest.json
+++ b/source/json_tables/cometbft/abci/v1/ExtendVoteRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "info of the block that this vote may be referring to",
"Required": "Yes"
},
diff --git a/source/json_tables/cometbft/abci/v1/ExtendedVoteInfo.json b/source/json_tables/cometbft/abci/v1/ExtendedVoteInfo.json
index 481ba9bc..c8995fb7 100644
--- a/source/json_tables/cometbft/abci/v1/ExtendedVoteInfo.json
+++ b/source/json_tables/cometbft/abci/v1/ExtendedVoteInfo.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "block_id_flag",
- "Type": "v1.BlockIDFlag",
+ "Type": "BlockIDFlag",
"Description": "block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all"
}
]
diff --git a/source/json_tables/cometbft/abci/v1/FinalizeBlockRequest.json b/source/json_tables/cometbft/abci/v1/FinalizeBlockRequest.json
index 0f05749f..1c8d2cd4 100644
--- a/source/json_tables/cometbft/abci/v1/FinalizeBlockRequest.json
+++ b/source/json_tables/cometbft/abci/v1/FinalizeBlockRequest.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/cometbft/abci/v1/FinalizeBlockResponse.json b/source/json_tables/cometbft/abci/v1/FinalizeBlockResponse.json
index f27eed00..4685d628 100644
--- a/source/json_tables/cometbft/abci/v1/FinalizeBlockResponse.json
+++ b/source/json_tables/cometbft/abci/v1/FinalizeBlockResponse.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "consensus_param_updates",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": "updates to the consensus params, if any."
},
{
diff --git a/source/json_tables/cometbft/abci/v1/InitChainRequest.json b/source/json_tables/cometbft/abci/v1/InitChainRequest.json
index 168ac1e9..6ac106e6 100644
--- a/source/json_tables/cometbft/abci/v1/InitChainRequest.json
+++ b/source/json_tables/cometbft/abci/v1/InitChainRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "",
"Required": "Yes"
},
@@ -13,7 +13,7 @@
},
{
"Parameter": "consensus_params",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": "",
"Required": "No"
},
diff --git a/source/json_tables/cometbft/abci/v1/InitChainResponse.json b/source/json_tables/cometbft/abci/v1/InitChainResponse.json
index 69949bb9..666b3d8c 100644
--- a/source/json_tables/cometbft/abci/v1/InitChainResponse.json
+++ b/source/json_tables/cometbft/abci/v1/InitChainResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus_params",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1/Misbehavior.json b/source/json_tables/cometbft/abci/v1/Misbehavior.json
index 449845a1..006c0cf2 100644
--- a/source/json_tables/cometbft/abci/v1/Misbehavior.json
+++ b/source/json_tables/cometbft/abci/v1/Misbehavior.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "The corresponding time where the offense occurred"
},
{
diff --git a/source/json_tables/cometbft/abci/v1/PrepareProposalRequest.json b/source/json_tables/cometbft/abci/v1/PrepareProposalRequest.json
index 64cfca7e..2000c3e7 100644
--- a/source/json_tables/cometbft/abci/v1/PrepareProposalRequest.json
+++ b/source/json_tables/cometbft/abci/v1/PrepareProposalRequest.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/cometbft/abci/v1/ProcessProposalRequest.json b/source/json_tables/cometbft/abci/v1/ProcessProposalRequest.json
index fae011f2..02f09e7c 100644
--- a/source/json_tables/cometbft/abci/v1/ProcessProposalRequest.json
+++ b/source/json_tables/cometbft/abci/v1/ProcessProposalRequest.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/cometbft/abci/v1/QueryResponse.json b/source/json_tables/cometbft/abci/v1/QueryResponse.json
index 667ac8cc..26c90b5e 100644
--- a/source/json_tables/cometbft/abci/v1/QueryResponse.json
+++ b/source/json_tables/cometbft/abci/v1/QueryResponse.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "proof_ops",
- "Type": "v11.ProofOps",
+ "Type": "ProofOps",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1/VoteInfo.json b/source/json_tables/cometbft/abci/v1/VoteInfo.json
index 85954df3..986db31e 100644
--- a/source/json_tables/cometbft/abci/v1/VoteInfo.json
+++ b/source/json_tables/cometbft/abci/v1/VoteInfo.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "block_id_flag",
- "Type": "v1.BlockIDFlag",
+ "Type": "BlockIDFlag",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta1/ConsensusParams.json b/source/json_tables/cometbft/abci/v1beta1/ConsensusParams.json
index ca18b86c..9e5b2473 100644
--- a/source/json_tables/cometbft/abci/v1beta1/ConsensusParams.json
+++ b/source/json_tables/cometbft/abci/v1beta1/ConsensusParams.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "evidence",
- "Type": "v1beta1.EvidenceParams",
+ "Type": "EvidenceParams",
"Description": ""
},
{
"Parameter": "validator",
- "Type": "v1beta1.ValidatorParams",
+ "Type": "ValidatorParams",
"Description": ""
},
{
"Parameter": "version",
- "Type": "v1beta1.VersionParams",
+ "Type": "VersionParams",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta1/Evidence.json b/source/json_tables/cometbft/abci/v1beta1/Evidence.json
index a2ccd68f..b531e291 100644
--- a/source/json_tables/cometbft/abci/v1beta1/Evidence.json
+++ b/source/json_tables/cometbft/abci/v1beta1/Evidence.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "The corresponding time where the offense occurred"
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestBeginBlock.json b/source/json_tables/cometbft/abci/v1beta1/RequestBeginBlock.json
index ba49df5e..94878fd6 100644
--- a/source/json_tables/cometbft/abci/v1beta1/RequestBeginBlock.json
+++ b/source/json_tables/cometbft/abci/v1beta1/RequestBeginBlock.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "header",
- "Type": "v1beta1.Header",
+ "Type": "Header",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestInitChain.json b/source/json_tables/cometbft/abci/v1beta1/RequestInitChain.json
index 4ef68d8f..012ea077 100644
--- a/source/json_tables/cometbft/abci/v1beta1/RequestInitChain.json
+++ b/source/json_tables/cometbft/abci/v1beta1/RequestInitChain.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseQuery.json b/source/json_tables/cometbft/abci/v1beta1/ResponseQuery.json
index 7bedd0e4..26c90b5e 100644
--- a/source/json_tables/cometbft/abci/v1beta1/ResponseQuery.json
+++ b/source/json_tables/cometbft/abci/v1beta1/ResponseQuery.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "proof_ops",
- "Type": "v1.ProofOps",
+ "Type": "ProofOps",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta1/ValidatorUpdate.json b/source/json_tables/cometbft/abci/v1beta1/ValidatorUpdate.json
index d408acf3..c0a4d06b 100644
--- a/source/json_tables/cometbft/abci/v1beta1/ValidatorUpdate.json
+++ b/source/json_tables/cometbft/abci/v1beta1/ValidatorUpdate.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pub_key",
- "Type": "v1.PublicKey",
+ "Type": "PublicKey",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/CommitInfo.json b/source/json_tables/cometbft/abci/v1beta2/CommitInfo.json
index dce02e82..3f39dc1c 100644
--- a/source/json_tables/cometbft/abci/v1beta2/CommitInfo.json
+++ b/source/json_tables/cometbft/abci/v1beta2/CommitInfo.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "votes",
- "Type": "v1beta1.VoteInfo array",
+ "Type": "VoteInfo array",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/ExtendedVoteInfo.json b/source/json_tables/cometbft/abci/v1beta2/ExtendedVoteInfo.json
index 46d12daa..ead06995 100644
--- a/source/json_tables/cometbft/abci/v1beta2/ExtendedVoteInfo.json
+++ b/source/json_tables/cometbft/abci/v1beta2/ExtendedVoteInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "validator",
- "Type": "v1beta1.Validator",
+ "Type": "Validator",
"Description": "The validator that sent the vote."
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/Misbehavior.json b/source/json_tables/cometbft/abci/v1beta2/Misbehavior.json
index b9b11d30..006c0cf2 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Misbehavior.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Misbehavior.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "validator",
- "Type": "v1beta1.Validator",
+ "Type": "Validator",
"Description": "The offending validator"
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "The corresponding time where the offense occurred"
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestBeginBlock.json b/source/json_tables/cometbft/abci/v1beta2/RequestBeginBlock.json
index ffce5fce..0dfa86af 100644
--- a/source/json_tables/cometbft/abci/v1beta2/RequestBeginBlock.json
+++ b/source/json_tables/cometbft/abci/v1beta2/RequestBeginBlock.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "header",
- "Type": "v1beta11.Header",
+ "Type": "Header",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestInitChain.json b/source/json_tables/cometbft/abci/v1beta2/RequestInitChain.json
index 9c59c0b8..012ea077 100644
--- a/source/json_tables/cometbft/abci/v1beta2/RequestInitChain.json
+++ b/source/json_tables/cometbft/abci/v1beta2/RequestInitChain.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
@@ -11,12 +11,12 @@
},
{
"Parameter": "consensus_params",
- "Type": "v1beta2.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
"Parameter": "validators",
- "Type": "v1beta1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestPrepareProposal.json b/source/json_tables/cometbft/abci/v1beta2/RequestPrepareProposal.json
index 393bad73..b3c647d6 100644
--- a/source/json_tables/cometbft/abci/v1beta2/RequestPrepareProposal.json
+++ b/source/json_tables/cometbft/abci/v1beta2/RequestPrepareProposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestProcessProposal.json b/source/json_tables/cometbft/abci/v1beta2/RequestProcessProposal.json
index e06d7def..d9077e5d 100644
--- a/source/json_tables/cometbft/abci/v1beta2/RequestProcessProposal.json
+++ b/source/json_tables/cometbft/abci/v1beta2/RequestProcessProposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta2/Request_ApplySnapshotChunk.json
index f1c47a26..5ba58755 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_ApplySnapshotChunk.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_ApplySnapshotChunk.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "apply_snapshot_chunk",
- "Type": "v1beta1.RequestApplySnapshotChunk",
+ "Type": "RequestApplySnapshotChunk",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_CheckTx.json b/source/json_tables/cometbft/abci/v1beta2/Request_CheckTx.json
index d1295c62..e404ea7c 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_CheckTx.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_CheckTx.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "check_tx",
- "Type": "v1beta1.RequestCheckTx",
+ "Type": "RequestCheckTx",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Commit.json b/source/json_tables/cometbft/abci/v1beta2/Request_Commit.json
index 545d8a9e..9db9f85f 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_Commit.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_Commit.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "commit",
- "Type": "v1beta1.RequestCommit",
+ "Type": "RequestCommit",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_DeliverTx.json b/source/json_tables/cometbft/abci/v1beta2/Request_DeliverTx.json
index f91b08f2..251457ce 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_DeliverTx.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_DeliverTx.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "deliver_tx",
- "Type": "v1beta1.RequestDeliverTx",
+ "Type": "RequestDeliverTx",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Echo.json b/source/json_tables/cometbft/abci/v1beta2/Request_Echo.json
index 5fcf8bc3..8bd09b5d 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_Echo.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_Echo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "echo",
- "Type": "v1beta1.RequestEcho",
+ "Type": "RequestEcho",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_EndBlock.json b/source/json_tables/cometbft/abci/v1beta2/Request_EndBlock.json
index e2671107..f50ab4b9 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_EndBlock.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_EndBlock.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "end_block",
- "Type": "v1beta1.RequestEndBlock",
+ "Type": "RequestEndBlock",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Flush.json b/source/json_tables/cometbft/abci/v1beta2/Request_Flush.json
index ffb3a2bb..f4a75436 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_Flush.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_Flush.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "flush",
- "Type": "v1beta1.RequestFlush",
+ "Type": "RequestFlush",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta2/Request_ListSnapshots.json
index 09b864ef..34a01b41 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_ListSnapshots.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_ListSnapshots.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "list_snapshots",
- "Type": "v1beta1.RequestListSnapshots",
+ "Type": "RequestListSnapshots",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta2/Request_LoadSnapshotChunk.json
index 922bcd4a..ca4ec99b 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_LoadSnapshotChunk.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_LoadSnapshotChunk.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "load_snapshot_chunk",
- "Type": "v1beta1.RequestLoadSnapshotChunk",
+ "Type": "RequestLoadSnapshotChunk",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta2/Request_OfferSnapshot.json
index 13802582..e1cd8f0c 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_OfferSnapshot.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_OfferSnapshot.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "offer_snapshot",
- "Type": "v1beta1.RequestOfferSnapshot",
+ "Type": "RequestOfferSnapshot",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Query.json b/source/json_tables/cometbft/abci/v1beta2/Request_Query.json
index 5f156f9e..c254a4df 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Request_Query.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Request_Query.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "query",
- "Type": "v1beta1.RequestQuery",
+ "Type": "RequestQuery",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponseEndBlock.json b/source/json_tables/cometbft/abci/v1beta2/ResponseEndBlock.json
index 2a28d73c..94fb5318 100644
--- a/source/json_tables/cometbft/abci/v1beta2/ResponseEndBlock.json
+++ b/source/json_tables/cometbft/abci/v1beta2/ResponseEndBlock.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "validator_updates",
- "Type": "v1beta1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
},
{
"Parameter": "consensus_param_updates",
- "Type": "v1beta2.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponseInitChain.json b/source/json_tables/cometbft/abci/v1beta2/ResponseInitChain.json
index 7503ed40..666b3d8c 100644
--- a/source/json_tables/cometbft/abci/v1beta2/ResponseInitChain.json
+++ b/source/json_tables/cometbft/abci/v1beta2/ResponseInitChain.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "consensus_params",
- "Type": "v1beta2.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
"Parameter": "validators",
- "Type": "v1beta1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta2/Response_ApplySnapshotChunk.json
index 5cdb6fb5..82a98a83 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_ApplySnapshotChunk.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_ApplySnapshotChunk.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "apply_snapshot_chunk",
- "Type": "v1beta1.ResponseApplySnapshotChunk",
+ "Type": "ResponseApplySnapshotChunk",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Commit.json b/source/json_tables/cometbft/abci/v1beta2/Response_Commit.json
index 00c15665..c6edb327 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_Commit.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_Commit.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "commit",
- "Type": "v1beta1.ResponseCommit",
+ "Type": "ResponseCommit",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Echo.json b/source/json_tables/cometbft/abci/v1beta2/Response_Echo.json
index 6b792de8..d60f0cfb 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_Echo.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_Echo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "echo",
- "Type": "v1beta1.ResponseEcho",
+ "Type": "ResponseEcho",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Exception.json b/source/json_tables/cometbft/abci/v1beta2/Response_Exception.json
index 6fccaa01..5deb4590 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_Exception.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_Exception.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "exception",
- "Type": "v1beta1.ResponseException",
+ "Type": "ResponseException",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Flush.json b/source/json_tables/cometbft/abci/v1beta2/Response_Flush.json
index d6f715cd..1bbc9a22 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_Flush.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_Flush.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "flush",
- "Type": "v1beta1.ResponseFlush",
+ "Type": "ResponseFlush",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Info.json b/source/json_tables/cometbft/abci/v1beta2/Response_Info.json
index 83b88831..22ead7b9 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_Info.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_Info.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "info",
- "Type": "v1beta1.ResponseInfo",
+ "Type": "ResponseInfo",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta2/Response_ListSnapshots.json
index 706771ca..e373c7d8 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_ListSnapshots.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_ListSnapshots.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "list_snapshots",
- "Type": "v1beta1.ResponseListSnapshots",
+ "Type": "ResponseListSnapshots",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta2/Response_LoadSnapshotChunk.json
index 6d098aca..52e25a1e 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_LoadSnapshotChunk.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_LoadSnapshotChunk.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "load_snapshot_chunk",
- "Type": "v1beta1.ResponseLoadSnapshotChunk",
+ "Type": "ResponseLoadSnapshotChunk",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta2/Response_OfferSnapshot.json
index 4b1b88fa..fb4bd161 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_OfferSnapshot.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_OfferSnapshot.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "offer_snapshot",
- "Type": "v1beta1.ResponseOfferSnapshot",
+ "Type": "ResponseOfferSnapshot",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Query.json b/source/json_tables/cometbft/abci/v1beta2/Response_Query.json
index 6dcce614..a086ad2d 100644
--- a/source/json_tables/cometbft/abci/v1beta2/Response_Query.json
+++ b/source/json_tables/cometbft/abci/v1beta2/Response_Query.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "query",
- "Type": "v1beta1.ResponseQuery",
+ "Type": "ResponseQuery",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/ExecTxResult.json b/source/json_tables/cometbft/abci/v1beta3/ExecTxResult.json
index f92255fb..074c3600 100644
--- a/source/json_tables/cometbft/abci/v1beta3/ExecTxResult.json
+++ b/source/json_tables/cometbft/abci/v1beta3/ExecTxResult.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "events",
- "Type": "v1beta2.Event array",
+ "Type": "Event array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/ExtendedVoteInfo.json b/source/json_tables/cometbft/abci/v1beta3/ExtendedVoteInfo.json
index 60799f96..c8995fb7 100644
--- a/source/json_tables/cometbft/abci/v1beta3/ExtendedVoteInfo.json
+++ b/source/json_tables/cometbft/abci/v1beta3/ExtendedVoteInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "validator",
- "Type": "v1beta1.Validator",
+ "Type": "Validator",
"Description": "The validator that sent the vote."
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "block_id_flag",
- "Type": "v1beta11.BlockIDFlag",
+ "Type": "BlockIDFlag",
"Description": "block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all"
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestExtendVote.json b/source/json_tables/cometbft/abci/v1beta3/RequestExtendVote.json
index fcf90a22..29035b81 100644
--- a/source/json_tables/cometbft/abci/v1beta3/RequestExtendVote.json
+++ b/source/json_tables/cometbft/abci/v1beta3/RequestExtendVote.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "info of the block that this vote may be referring to"
},
{
@@ -26,7 +26,7 @@
},
{
"Parameter": "misbehavior",
- "Type": "v1beta2.Misbehavior array",
+ "Type": "Misbehavior array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestFinalizeBlock.json b/source/json_tables/cometbft/abci/v1beta3/RequestFinalizeBlock.json
index bdb0c704..1fa7b559 100644
--- a/source/json_tables/cometbft/abci/v1beta3/RequestFinalizeBlock.json
+++ b/source/json_tables/cometbft/abci/v1beta3/RequestFinalizeBlock.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "misbehavior",
- "Type": "v1beta2.Misbehavior array",
+ "Type": "Misbehavior array",
"Description": ""
},
{
@@ -26,7 +26,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestInitChain.json b/source/json_tables/cometbft/abci/v1beta3/RequestInitChain.json
index e8982a34..012ea077 100644
--- a/source/json_tables/cometbft/abci/v1beta3/RequestInitChain.json
+++ b/source/json_tables/cometbft/abci/v1beta3/RequestInitChain.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
@@ -11,12 +11,12 @@
},
{
"Parameter": "consensus_params",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
"Parameter": "validators",
- "Type": "v1beta1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestPrepareProposal.json b/source/json_tables/cometbft/abci/v1beta3/RequestPrepareProposal.json
index 1ed450a1..b3c647d6 100644
--- a/source/json_tables/cometbft/abci/v1beta3/RequestPrepareProposal.json
+++ b/source/json_tables/cometbft/abci/v1beta3/RequestPrepareProposal.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "misbehavior",
- "Type": "v1beta2.Misbehavior array",
+ "Type": "Misbehavior array",
"Description": ""
},
{
@@ -26,7 +26,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestProcessProposal.json b/source/json_tables/cometbft/abci/v1beta3/RequestProcessProposal.json
index 19a2d956..d9077e5d 100644
--- a/source/json_tables/cometbft/abci/v1beta3/RequestProcessProposal.json
+++ b/source/json_tables/cometbft/abci/v1beta3/RequestProcessProposal.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "misbehavior",
- "Type": "v1beta2.Misbehavior array",
+ "Type": "Misbehavior array",
"Description": ""
},
{
@@ -26,7 +26,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta3/Request_ApplySnapshotChunk.json
index f1c47a26..5ba58755 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_ApplySnapshotChunk.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_ApplySnapshotChunk.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "apply_snapshot_chunk",
- "Type": "v1beta1.RequestApplySnapshotChunk",
+ "Type": "RequestApplySnapshotChunk",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_CheckTx.json b/source/json_tables/cometbft/abci/v1beta3/Request_CheckTx.json
index d1295c62..e404ea7c 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_CheckTx.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_CheckTx.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "check_tx",
- "Type": "v1beta1.RequestCheckTx",
+ "Type": "RequestCheckTx",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Commit.json b/source/json_tables/cometbft/abci/v1beta3/Request_Commit.json
index 545d8a9e..9db9f85f 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_Commit.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_Commit.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "commit",
- "Type": "v1beta1.RequestCommit",
+ "Type": "RequestCommit",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Echo.json b/source/json_tables/cometbft/abci/v1beta3/Request_Echo.json
index 5fcf8bc3..8bd09b5d 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_Echo.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_Echo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "echo",
- "Type": "v1beta1.RequestEcho",
+ "Type": "RequestEcho",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Flush.json b/source/json_tables/cometbft/abci/v1beta3/Request_Flush.json
index ffb3a2bb..f4a75436 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_Flush.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_Flush.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "flush",
- "Type": "v1beta1.RequestFlush",
+ "Type": "RequestFlush",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Info.json b/source/json_tables/cometbft/abci/v1beta3/Request_Info.json
index 10d3d3fb..87a52a42 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_Info.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_Info.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "info",
- "Type": "v1beta2.RequestInfo",
+ "Type": "RequestInfo",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta3/Request_ListSnapshots.json
index 09b864ef..34a01b41 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_ListSnapshots.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_ListSnapshots.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "list_snapshots",
- "Type": "v1beta1.RequestListSnapshots",
+ "Type": "RequestListSnapshots",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta3/Request_LoadSnapshotChunk.json
index 922bcd4a..ca4ec99b 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_LoadSnapshotChunk.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_LoadSnapshotChunk.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "load_snapshot_chunk",
- "Type": "v1beta1.RequestLoadSnapshotChunk",
+ "Type": "RequestLoadSnapshotChunk",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta3/Request_OfferSnapshot.json
index 13802582..e1cd8f0c 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_OfferSnapshot.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_OfferSnapshot.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "offer_snapshot",
- "Type": "v1beta1.RequestOfferSnapshot",
+ "Type": "RequestOfferSnapshot",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Query.json b/source/json_tables/cometbft/abci/v1beta3/Request_Query.json
index 5f156f9e..c254a4df 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Request_Query.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Request_Query.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "query",
- "Type": "v1beta1.RequestQuery",
+ "Type": "RequestQuery",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseCheckTx.json b/source/json_tables/cometbft/abci/v1beta3/ResponseCheckTx.json
index f92255fb..074c3600 100644
--- a/source/json_tables/cometbft/abci/v1beta3/ResponseCheckTx.json
+++ b/source/json_tables/cometbft/abci/v1beta3/ResponseCheckTx.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "events",
- "Type": "v1beta2.Event array",
+ "Type": "Event array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseFinalizeBlock.json b/source/json_tables/cometbft/abci/v1beta3/ResponseFinalizeBlock.json
index 38b1009f..4685d628 100644
--- a/source/json_tables/cometbft/abci/v1beta3/ResponseFinalizeBlock.json
+++ b/source/json_tables/cometbft/abci/v1beta3/ResponseFinalizeBlock.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "events",
- "Type": "v1beta2.Event array",
+ "Type": "Event array",
"Description": "set of block events emitted as part of executing the block"
},
{
@@ -11,12 +11,12 @@
},
{
"Parameter": "validator_updates",
- "Type": "v1beta1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": "a list of updates to the validator set. These will reflect the validator set at current height + 2."
},
{
"Parameter": "consensus_param_updates",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": "updates to the consensus params, if any."
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseInitChain.json b/source/json_tables/cometbft/abci/v1beta3/ResponseInitChain.json
index 36f0610a..666b3d8c 100644
--- a/source/json_tables/cometbft/abci/v1beta3/ResponseInitChain.json
+++ b/source/json_tables/cometbft/abci/v1beta3/ResponseInitChain.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "consensus_params",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
"Parameter": "validators",
- "Type": "v1beta1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta3/Response_ApplySnapshotChunk.json
index 5cdb6fb5..82a98a83 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_ApplySnapshotChunk.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_ApplySnapshotChunk.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "apply_snapshot_chunk",
- "Type": "v1beta1.ResponseApplySnapshotChunk",
+ "Type": "ResponseApplySnapshotChunk",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Echo.json b/source/json_tables/cometbft/abci/v1beta3/Response_Echo.json
index 6b792de8..d60f0cfb 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_Echo.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_Echo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "echo",
- "Type": "v1beta1.ResponseEcho",
+ "Type": "ResponseEcho",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Exception.json b/source/json_tables/cometbft/abci/v1beta3/Response_Exception.json
index 6fccaa01..5deb4590 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_Exception.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_Exception.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "exception",
- "Type": "v1beta1.ResponseException",
+ "Type": "ResponseException",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Flush.json b/source/json_tables/cometbft/abci/v1beta3/Response_Flush.json
index d6f715cd..1bbc9a22 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_Flush.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_Flush.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "flush",
- "Type": "v1beta1.ResponseFlush",
+ "Type": "ResponseFlush",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Info.json b/source/json_tables/cometbft/abci/v1beta3/Response_Info.json
index 83b88831..22ead7b9 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_Info.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_Info.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "info",
- "Type": "v1beta1.ResponseInfo",
+ "Type": "ResponseInfo",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta3/Response_ListSnapshots.json
index 706771ca..e373c7d8 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_ListSnapshots.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_ListSnapshots.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "list_snapshots",
- "Type": "v1beta1.ResponseListSnapshots",
+ "Type": "ResponseListSnapshots",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta3/Response_LoadSnapshotChunk.json
index 6d098aca..52e25a1e 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_LoadSnapshotChunk.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_LoadSnapshotChunk.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "load_snapshot_chunk",
- "Type": "v1beta1.ResponseLoadSnapshotChunk",
+ "Type": "ResponseLoadSnapshotChunk",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta3/Response_OfferSnapshot.json
index 4b1b88fa..fb4bd161 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_OfferSnapshot.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_OfferSnapshot.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "offer_snapshot",
- "Type": "v1beta1.ResponseOfferSnapshot",
+ "Type": "ResponseOfferSnapshot",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_PrepareProposal.json b/source/json_tables/cometbft/abci/v1beta3/Response_PrepareProposal.json
index c7a3a032..5ffb8685 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_PrepareProposal.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_PrepareProposal.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "prepare_proposal",
- "Type": "v1beta2.ResponsePrepareProposal",
+ "Type": "ResponsePrepareProposal",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_ProcessProposal.json b/source/json_tables/cometbft/abci/v1beta3/Response_ProcessProposal.json
index 1a30801f..ab45f152 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_ProcessProposal.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_ProcessProposal.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "process_proposal",
- "Type": "v1beta2.ResponseProcessProposal",
+ "Type": "ResponseProcessProposal",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Query.json b/source/json_tables/cometbft/abci/v1beta3/Response_Query.json
index 6dcce614..a086ad2d 100644
--- a/source/json_tables/cometbft/abci/v1beta3/Response_Query.json
+++ b/source/json_tables/cometbft/abci/v1beta3/Response_Query.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "query",
- "Type": "v1beta1.ResponseQuery",
+ "Type": "ResponseQuery",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/abci/v1beta3/VoteInfo.json b/source/json_tables/cometbft/abci/v1beta3/VoteInfo.json
index 0cb4a005..986db31e 100644
--- a/source/json_tables/cometbft/abci/v1beta3/VoteInfo.json
+++ b/source/json_tables/cometbft/abci/v1beta3/VoteInfo.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "validator",
- "Type": "v1beta1.Validator",
+ "Type": "Validator",
"Description": ""
},
{
"Parameter": "block_id_flag",
- "Type": "v1beta11.BlockIDFlag",
+ "Type": "BlockIDFlag",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/blocksync/v1/BlockResponse.json b/source/json_tables/cometbft/blocksync/v1/BlockResponse.json
index d01cd210..92083211 100644
--- a/source/json_tables/cometbft/blocksync/v1/BlockResponse.json
+++ b/source/json_tables/cometbft/blocksync/v1/BlockResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "block",
- "Type": "v1.Block",
+ "Type": "Block",
"Description": ""
},
{
"Parameter": "ext_commit",
- "Type": "v1.ExtendedCommit",
+ "Type": "ExtendedCommit",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/blocksync/v1beta1/BlockResponse.json b/source/json_tables/cometbft/blocksync/v1beta1/BlockResponse.json
index 0055380a..1d5da485 100644
--- a/source/json_tables/cometbft/blocksync/v1beta1/BlockResponse.json
+++ b/source/json_tables/cometbft/blocksync/v1beta1/BlockResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "block",
- "Type": "v1beta1.Block",
+ "Type": "Block",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1/BlockPart.json b/source/json_tables/cometbft/consensus/v1/BlockPart.json
index 6210a341..a44a8a4c 100644
--- a/source/json_tables/cometbft/consensus/v1/BlockPart.json
+++ b/source/json_tables/cometbft/consensus/v1/BlockPart.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "part",
- "Type": "v1.Part",
+ "Type": "Part",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1/HasVote.json b/source/json_tables/cometbft/consensus/v1/HasVote.json
index 2091dc33..a69ddcbb 100644
--- a/source/json_tables/cometbft/consensus/v1/HasVote.json
+++ b/source/json_tables/cometbft/consensus/v1/HasVote.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "type",
- "Type": "v1.SignedMsgType",
+ "Type": "SignedMsgType",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/consensus/v1/MsgInfo.json b/source/json_tables/cometbft/consensus/v1/MsgInfo.json
index f5340842..7793bc66 100644
--- a/source/json_tables/cometbft/consensus/v1/MsgInfo.json
+++ b/source/json_tables/cometbft/consensus/v1/MsgInfo.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "receive_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "",
"Required": "No"
}
diff --git a/source/json_tables/cometbft/consensus/v1/NewValidBlock.json b/source/json_tables/cometbft/consensus/v1/NewValidBlock.json
index 6b52e053..0931a02f 100644
--- a/source/json_tables/cometbft/consensus/v1/NewValidBlock.json
+++ b/source/json_tables/cometbft/consensus/v1/NewValidBlock.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "block_part_set_header",
- "Type": "v1.PartSetHeader",
+ "Type": "PartSetHeader",
"Description": ""
},
{
"Parameter": "block_parts",
- "Type": "v11.BitArray",
+ "Type": "BitArray",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/consensus/v1/Proposal.json b/source/json_tables/cometbft/consensus/v1/Proposal.json
index 1db6d4af..b3c18bbe 100644
--- a/source/json_tables/cometbft/consensus/v1/Proposal.json
+++ b/source/json_tables/cometbft/consensus/v1/Proposal.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proposal",
- "Type": "v1.Proposal",
+ "Type": "Proposal",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1/ProposalPOL.json b/source/json_tables/cometbft/consensus/v1/ProposalPOL.json
index b72bb805..1856afdc 100644
--- a/source/json_tables/cometbft/consensus/v1/ProposalPOL.json
+++ b/source/json_tables/cometbft/consensus/v1/ProposalPOL.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proposal_pol",
- "Type": "v11.BitArray",
+ "Type": "BitArray",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1/TimedWALMessage.json b/source/json_tables/cometbft/consensus/v1/TimedWALMessage.json
index 81ae2b0c..a0b007a2 100644
--- a/source/json_tables/cometbft/consensus/v1/TimedWALMessage.json
+++ b/source/json_tables/cometbft/consensus/v1/TimedWALMessage.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/consensus/v1/TimeoutInfo.json b/source/json_tables/cometbft/consensus/v1/TimeoutInfo.json
index bf949434..700a2ba8 100644
--- a/source/json_tables/cometbft/consensus/v1/TimeoutInfo.json
+++ b/source/json_tables/cometbft/consensus/v1/TimeoutInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "duration",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/consensus/v1/Vote.json b/source/json_tables/cometbft/consensus/v1/Vote.json
index 713ad5d5..63b663c1 100644
--- a/source/json_tables/cometbft/consensus/v1/Vote.json
+++ b/source/json_tables/cometbft/consensus/v1/Vote.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "vote",
- "Type": "v1.Vote",
+ "Type": "Vote",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1/VoteSetBits.json b/source/json_tables/cometbft/consensus/v1/VoteSetBits.json
index 0c068efb..e288add8 100644
--- a/source/json_tables/cometbft/consensus/v1/VoteSetBits.json
+++ b/source/json_tables/cometbft/consensus/v1/VoteSetBits.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "type",
- "Type": "v1.SignedMsgType",
+ "Type": "SignedMsgType",
"Description": ""
},
{
"Parameter": "block_id",
- "Type": "v1.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "votes",
- "Type": "v11.BitArray",
+ "Type": "BitArray",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1/VoteSetMaj23.json b/source/json_tables/cometbft/consensus/v1/VoteSetMaj23.json
index 6e45b9ef..4c83fcda 100644
--- a/source/json_tables/cometbft/consensus/v1/VoteSetMaj23.json
+++ b/source/json_tables/cometbft/consensus/v1/VoteSetMaj23.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "type",
- "Type": "v1.SignedMsgType",
+ "Type": "SignedMsgType",
"Description": ""
},
{
"Parameter": "block_id",
- "Type": "v1.BlockID",
+ "Type": "BlockID",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1/WALMessage_EventDataRoundState.json b/source/json_tables/cometbft/consensus/v1/WALMessage_EventDataRoundState.json
index 01c42fee..d0709f81 100644
--- a/source/json_tables/cometbft/consensus/v1/WALMessage_EventDataRoundState.json
+++ b/source/json_tables/cometbft/consensus/v1/WALMessage_EventDataRoundState.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "event_data_round_state",
- "Type": "v1.EventDataRoundState",
+ "Type": "EventDataRoundState",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1beta1/BlockPart.json b/source/json_tables/cometbft/consensus/v1beta1/BlockPart.json
index 13a15c8b..a44a8a4c 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/BlockPart.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/BlockPart.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "part",
- "Type": "v1beta1.Part",
+ "Type": "Part",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1beta1/HasVote.json b/source/json_tables/cometbft/consensus/v1beta1/HasVote.json
index 51f7fe6f..a69ddcbb 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/HasVote.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/HasVote.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "type",
- "Type": "v1beta1.SignedMsgType",
+ "Type": "SignedMsgType",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/consensus/v1beta1/NewValidBlock.json b/source/json_tables/cometbft/consensus/v1beta1/NewValidBlock.json
index 39557b40..0931a02f 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/NewValidBlock.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/NewValidBlock.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "block_part_set_header",
- "Type": "v1beta1.PartSetHeader",
+ "Type": "PartSetHeader",
"Description": ""
},
{
"Parameter": "block_parts",
- "Type": "v1.BitArray",
+ "Type": "BitArray",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/consensus/v1beta1/Proposal.json b/source/json_tables/cometbft/consensus/v1beta1/Proposal.json
index 4eb669a8..b3c18bbe 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/Proposal.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/Proposal.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proposal",
- "Type": "v1beta1.Proposal",
+ "Type": "Proposal",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1beta1/ProposalPOL.json b/source/json_tables/cometbft/consensus/v1beta1/ProposalPOL.json
index 3152d8ea..1856afdc 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/ProposalPOL.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/ProposalPOL.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proposal_pol",
- "Type": "v1.BitArray",
+ "Type": "BitArray",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1beta1/TimedWALMessage.json b/source/json_tables/cometbft/consensus/v1beta1/TimedWALMessage.json
index 81ae2b0c..a0b007a2 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/TimedWALMessage.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/TimedWALMessage.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/consensus/v1beta1/TimeoutInfo.json b/source/json_tables/cometbft/consensus/v1beta1/TimeoutInfo.json
index bf949434..700a2ba8 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/TimeoutInfo.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/TimeoutInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "duration",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/consensus/v1beta1/Vote.json b/source/json_tables/cometbft/consensus/v1beta1/Vote.json
index b3aa8e79..63b663c1 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/Vote.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/Vote.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "vote",
- "Type": "v1beta1.Vote",
+ "Type": "Vote",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1beta1/VoteSetBits.json b/source/json_tables/cometbft/consensus/v1beta1/VoteSetBits.json
index d76f8359..e288add8 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/VoteSetBits.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/VoteSetBits.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "type",
- "Type": "v1beta1.SignedMsgType",
+ "Type": "SignedMsgType",
"Description": ""
},
{
"Parameter": "block_id",
- "Type": "v1beta1.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "votes",
- "Type": "v1.BitArray",
+ "Type": "BitArray",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1beta1/VoteSetMaj23.json b/source/json_tables/cometbft/consensus/v1beta1/VoteSetMaj23.json
index 072fb980..4c83fcda 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/VoteSetMaj23.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/VoteSetMaj23.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "type",
- "Type": "v1beta1.SignedMsgType",
+ "Type": "SignedMsgType",
"Description": ""
},
{
"Parameter": "block_id",
- "Type": "v1beta1.BlockID",
+ "Type": "BlockID",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EventDataRoundState.json b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EventDataRoundState.json
index cc1977a1..d0709f81 100644
--- a/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EventDataRoundState.json
+++ b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EventDataRoundState.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "event_data_round_state",
- "Type": "v1beta1.EventDataRoundState",
+ "Type": "EventDataRoundState",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/p2p/v1/AuthSigMessage.json b/source/json_tables/cometbft/p2p/v1/AuthSigMessage.json
index c0faab2a..c9bf9fe6 100644
--- a/source/json_tables/cometbft/p2p/v1/AuthSigMessage.json
+++ b/source/json_tables/cometbft/p2p/v1/AuthSigMessage.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pub_key",
- "Type": "v1.PublicKey",
+ "Type": "PublicKey",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/privval/v1/SignProposalRequest.json b/source/json_tables/cometbft/privval/v1/SignProposalRequest.json
index ccc21200..c4a4158b 100644
--- a/source/json_tables/cometbft/privval/v1/SignProposalRequest.json
+++ b/source/json_tables/cometbft/privval/v1/SignProposalRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proposal",
- "Type": "v1.Proposal",
+ "Type": "Proposal",
"Description": "",
"Required": "No"
},
diff --git a/source/json_tables/cometbft/privval/v1/SignVoteRequest.json b/source/json_tables/cometbft/privval/v1/SignVoteRequest.json
index 739c6f00..3eca16f3 100644
--- a/source/json_tables/cometbft/privval/v1/SignVoteRequest.json
+++ b/source/json_tables/cometbft/privval/v1/SignVoteRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "vote",
- "Type": "v1.Vote",
+ "Type": "Vote",
"Description": "",
"Required": "No"
},
diff --git a/source/json_tables/cometbft/privval/v1/SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1/SignedProposalResponse.json
index 0f87144f..5ea9e235 100644
--- a/source/json_tables/cometbft/privval/v1/SignedProposalResponse.json
+++ b/source/json_tables/cometbft/privval/v1/SignedProposalResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proposal",
- "Type": "v1.Proposal",
+ "Type": "Proposal",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/privval/v1/SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1/SignedVoteResponse.json
index 8ff035b9..7f470ba6 100644
--- a/source/json_tables/cometbft/privval/v1/SignedVoteResponse.json
+++ b/source/json_tables/cometbft/privval/v1/SignedVoteResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "vote",
- "Type": "v1.Vote",
+ "Type": "Vote",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/privval/v1beta1/PubKeyResponse.json b/source/json_tables/cometbft/privval/v1beta1/PubKeyResponse.json
index e3fd990e..7bcbbf26 100644
--- a/source/json_tables/cometbft/privval/v1beta1/PubKeyResponse.json
+++ b/source/json_tables/cometbft/privval/v1beta1/PubKeyResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pub_key",
- "Type": "v1.PublicKey",
+ "Type": "PublicKey",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/privval/v1beta1/SignProposalRequest.json b/source/json_tables/cometbft/privval/v1beta1/SignProposalRequest.json
index 6da8e760..c4a4158b 100644
--- a/source/json_tables/cometbft/privval/v1beta1/SignProposalRequest.json
+++ b/source/json_tables/cometbft/privval/v1beta1/SignProposalRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proposal",
- "Type": "v1beta1.Proposal",
+ "Type": "Proposal",
"Description": "",
"Required": "No"
},
diff --git a/source/json_tables/cometbft/privval/v1beta1/SignVoteRequest.json b/source/json_tables/cometbft/privval/v1beta1/SignVoteRequest.json
index 4176fb6d..b3b93843 100644
--- a/source/json_tables/cometbft/privval/v1beta1/SignVoteRequest.json
+++ b/source/json_tables/cometbft/privval/v1beta1/SignVoteRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "vote",
- "Type": "v1beta1.Vote",
+ "Type": "Vote",
"Description": "",
"Required": "No"
},
diff --git a/source/json_tables/cometbft/privval/v1beta1/SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1beta1/SignedProposalResponse.json
index 49b5ac7b..5ea9e235 100644
--- a/source/json_tables/cometbft/privval/v1beta1/SignedProposalResponse.json
+++ b/source/json_tables/cometbft/privval/v1beta1/SignedProposalResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proposal",
- "Type": "v1beta1.Proposal",
+ "Type": "Proposal",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/privval/v1beta1/SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1beta1/SignedVoteResponse.json
index df76fcf2..7f470ba6 100644
--- a/source/json_tables/cometbft/privval/v1beta1/SignedVoteResponse.json
+++ b/source/json_tables/cometbft/privval/v1beta1/SignedVoteResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "vote",
- "Type": "v1beta1.Vote",
+ "Type": "Vote",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/privval/v1beta2/PubKeyResponse.json b/source/json_tables/cometbft/privval/v1beta2/PubKeyResponse.json
index e3fd990e..7bcbbf26 100644
--- a/source/json_tables/cometbft/privval/v1beta2/PubKeyResponse.json
+++ b/source/json_tables/cometbft/privval/v1beta2/PubKeyResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pub_key",
- "Type": "v1.PublicKey",
+ "Type": "PublicKey",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/privval/v1beta2/SignProposalRequest.json b/source/json_tables/cometbft/privval/v1beta2/SignProposalRequest.json
index a960076b..c4a4158b 100644
--- a/source/json_tables/cometbft/privval/v1beta2/SignProposalRequest.json
+++ b/source/json_tables/cometbft/privval/v1beta2/SignProposalRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proposal",
- "Type": "v11.Proposal",
+ "Type": "Proposal",
"Description": "",
"Required": "No"
},
diff --git a/source/json_tables/cometbft/privval/v1beta2/SignVoteRequest.json b/source/json_tables/cometbft/privval/v1beta2/SignVoteRequest.json
index d3c756c1..b3b93843 100644
--- a/source/json_tables/cometbft/privval/v1beta2/SignVoteRequest.json
+++ b/source/json_tables/cometbft/privval/v1beta2/SignVoteRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "vote",
- "Type": "v11.Vote",
+ "Type": "Vote",
"Description": "",
"Required": "No"
},
diff --git a/source/json_tables/cometbft/privval/v1beta2/SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1beta2/SignedProposalResponse.json
index 647adeb4..5ea9e235 100644
--- a/source/json_tables/cometbft/privval/v1beta2/SignedProposalResponse.json
+++ b/source/json_tables/cometbft/privval/v1beta2/SignedProposalResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proposal",
- "Type": "v11.Proposal",
+ "Type": "Proposal",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/privval/v1beta2/SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1beta2/SignedVoteResponse.json
index c1ace834..7f470ba6 100644
--- a/source/json_tables/cometbft/privval/v1beta2/SignedVoteResponse.json
+++ b/source/json_tables/cometbft/privval/v1beta2/SignedVoteResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "vote",
- "Type": "v11.Vote",
+ "Type": "Vote",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/rpc/grpc/v1beta1/ResponseBroadcastTx.json b/source/json_tables/cometbft/rpc/grpc/v1beta1/ResponseBroadcastTx.json
index 7be6ad8f..160710d6 100644
--- a/source/json_tables/cometbft/rpc/grpc/v1beta1/ResponseBroadcastTx.json
+++ b/source/json_tables/cometbft/rpc/grpc/v1beta1/ResponseBroadcastTx.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "check_tx",
- "Type": "v1beta1.ResponseCheckTx",
+ "Type": "ResponseCheckTx",
"Description": ""
},
{
"Parameter": "deliver_tx",
- "Type": "v1beta1.ResponseDeliverTx",
+ "Type": "ResponseDeliverTx",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/rpc/grpc/v1beta2/ResponseBroadcastTx.json b/source/json_tables/cometbft/rpc/grpc/v1beta2/ResponseBroadcastTx.json
index b426c60b..160710d6 100644
--- a/source/json_tables/cometbft/rpc/grpc/v1beta2/ResponseBroadcastTx.json
+++ b/source/json_tables/cometbft/rpc/grpc/v1beta2/ResponseBroadcastTx.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "check_tx",
- "Type": "v1beta2.ResponseCheckTx",
+ "Type": "ResponseCheckTx",
"Description": ""
},
{
"Parameter": "deliver_tx",
- "Type": "v1beta2.ResponseDeliverTx",
+ "Type": "ResponseDeliverTx",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/rpc/grpc/v1beta3/ResponseBroadcastTx.json b/source/json_tables/cometbft/rpc/grpc/v1beta3/ResponseBroadcastTx.json
index cf9a133f..a62aa962 100644
--- a/source/json_tables/cometbft/rpc/grpc/v1beta3/ResponseBroadcastTx.json
+++ b/source/json_tables/cometbft/rpc/grpc/v1beta3/ResponseBroadcastTx.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "check_tx",
- "Type": "v1beta3.ResponseCheckTx",
+ "Type": "ResponseCheckTx",
"Description": ""
},
{
"Parameter": "tx_result",
- "Type": "v1beta3.ExecTxResult",
+ "Type": "ExecTxResult",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/services/block/v1/GetByHeightResponse.json b/source/json_tables/cometbft/services/block/v1/GetByHeightResponse.json
index 1572c3d0..f1f76ee5 100644
--- a/source/json_tables/cometbft/services/block/v1/GetByHeightResponse.json
+++ b/source/json_tables/cometbft/services/block/v1/GetByHeightResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "block_id",
- "Type": "v1.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "block",
- "Type": "v1.Block",
+ "Type": "Block",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsResponse.json b/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsResponse.json
index 0fec5888..1998c700 100644
--- a/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsResponse.json
+++ b/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsResponse.json
@@ -6,22 +6,22 @@
},
{
"Parameter": "tx_results",
- "Type": "v1.ExecTxResult array",
+ "Type": "ExecTxResult array",
"Description": ""
},
{
"Parameter": "finalize_block_events",
- "Type": "v1.Event array",
+ "Type": "Event array",
"Description": ""
},
{
"Parameter": "validator_updates",
- "Type": "v1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
},
{
"Parameter": "consensus_param_updates",
- "Type": "v11.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1/ABCIResponsesInfo.json b/source/json_tables/cometbft/state/v1/ABCIResponsesInfo.json
index 376031f7..b9299656 100644
--- a/source/json_tables/cometbft/state/v1/ABCIResponsesInfo.json
+++ b/source/json_tables/cometbft/state/v1/ABCIResponsesInfo.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "finalize_block",
- "Type": "v1.FinalizeBlockResponse",
+ "Type": "FinalizeBlockResponse",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/state/v1/ConsensusParamsInfo.json b/source/json_tables/cometbft/state/v1/ConsensusParamsInfo.json
index aee83739..e1c5483e 100644
--- a/source/json_tables/cometbft/state/v1/ConsensusParamsInfo.json
+++ b/source/json_tables/cometbft/state/v1/ConsensusParamsInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus_params",
- "Type": "v11.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1/LegacyABCIResponses.json b/source/json_tables/cometbft/state/v1/LegacyABCIResponses.json
index 4d6e7519..62baf87e 100644
--- a/source/json_tables/cometbft/state/v1/LegacyABCIResponses.json
+++ b/source/json_tables/cometbft/state/v1/LegacyABCIResponses.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "deliver_txs",
- "Type": "v1.ExecTxResult array",
+ "Type": "ExecTxResult array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1/ResponseBeginBlock.json b/source/json_tables/cometbft/state/v1/ResponseBeginBlock.json
index 5c90670e..8343b448 100644
--- a/source/json_tables/cometbft/state/v1/ResponseBeginBlock.json
+++ b/source/json_tables/cometbft/state/v1/ResponseBeginBlock.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "events",
- "Type": "v1.Event array",
+ "Type": "Event array",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/state/v1/ResponseEndBlock.json b/source/json_tables/cometbft/state/v1/ResponseEndBlock.json
index 3e2cff6b..94fb5318 100644
--- a/source/json_tables/cometbft/state/v1/ResponseEndBlock.json
+++ b/source/json_tables/cometbft/state/v1/ResponseEndBlock.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "validator_updates",
- "Type": "v1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
},
{
"Parameter": "consensus_param_updates",
- "Type": "v11.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
"Parameter": "events",
- "Type": "v1.Event array",
+ "Type": "Event array",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/state/v1/State.json b/source/json_tables/cometbft/state/v1/State.json
index 357b6db5..159863d9 100644
--- a/source/json_tables/cometbft/state/v1/State.json
+++ b/source/json_tables/cometbft/state/v1/State.json
@@ -21,27 +21,27 @@
},
{
"Parameter": "last_block_id",
- "Type": "v11.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "last_block_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
"Parameter": "next_validators",
- "Type": "v11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": "LastValidators is used to validate block.LastCommit. Validators are persisted to the database separately every time they change, so we can query for historical validator sets. Note that if s.LastBlockHeight causes a valset change, we set s.LastHeightValidatorsChanged = s.LastBlockHeight + 1 + 1 Extra +1 due to nextValSet delay."
},
{
"Parameter": "validators",
- "Type": "v11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
"Parameter": "last_validators",
- "Type": "v11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "consensus_params",
- "Type": "v11.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": "Consensus parameters used for validating blocks. Changes returned by EndBlock and updated after Commit."
},
{
diff --git a/source/json_tables/cometbft/state/v1/ValidatorsInfo.json b/source/json_tables/cometbft/state/v1/ValidatorsInfo.json
index 912f81dc..38f5b25b 100644
--- a/source/json_tables/cometbft/state/v1/ValidatorsInfo.json
+++ b/source/json_tables/cometbft/state/v1/ValidatorsInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "validator_set",
- "Type": "v11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1/Version.json b/source/json_tables/cometbft/state/v1/Version.json
index 13057b34..b35c0396 100644
--- a/source/json_tables/cometbft/state/v1/Version.json
+++ b/source/json_tables/cometbft/state/v1/Version.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus",
- "Type": "v12.Consensus",
+ "Type": "Consensus",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1beta1/ABCIResponses.json b/source/json_tables/cometbft/state/v1beta1/ABCIResponses.json
index 4c5aed6a..320b51fe 100644
--- a/source/json_tables/cometbft/state/v1beta1/ABCIResponses.json
+++ b/source/json_tables/cometbft/state/v1beta1/ABCIResponses.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "deliver_txs",
- "Type": "v1beta1.ResponseDeliverTx array",
+ "Type": "ResponseDeliverTx array",
"Description": ""
},
{
"Parameter": "end_block",
- "Type": "v1beta1.ResponseEndBlock",
+ "Type": "ResponseEndBlock",
"Description": ""
},
{
"Parameter": "begin_block",
- "Type": "v1beta1.ResponseBeginBlock",
+ "Type": "ResponseBeginBlock",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/state/v1beta1/ConsensusParamsInfo.json b/source/json_tables/cometbft/state/v1beta1/ConsensusParamsInfo.json
index 4338395f..e1c5483e 100644
--- a/source/json_tables/cometbft/state/v1beta1/ConsensusParamsInfo.json
+++ b/source/json_tables/cometbft/state/v1beta1/ConsensusParamsInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus_params",
- "Type": "v1beta11.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1beta1/State.json b/source/json_tables/cometbft/state/v1beta1/State.json
index 802e68e6..159863d9 100644
--- a/source/json_tables/cometbft/state/v1beta1/State.json
+++ b/source/json_tables/cometbft/state/v1beta1/State.json
@@ -21,27 +21,27 @@
},
{
"Parameter": "last_block_id",
- "Type": "v1beta11.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "last_block_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
"Parameter": "next_validators",
- "Type": "v1beta11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": "LastValidators is used to validate block.LastCommit. Validators are persisted to the database separately every time they change, so we can query for historical validator sets. Note that if s.LastBlockHeight causes a valset change, we set s.LastHeightValidatorsChanged = s.LastBlockHeight + 1 + 1 Extra +1 due to nextValSet delay."
},
{
"Parameter": "validators",
- "Type": "v1beta11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
"Parameter": "last_validators",
- "Type": "v1beta11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "consensus_params",
- "Type": "v1beta11.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": "Consensus parameters used for validating blocks. Changes returned by EndBlock and updated after Commit."
},
{
diff --git a/source/json_tables/cometbft/state/v1beta1/ValidatorsInfo.json b/source/json_tables/cometbft/state/v1beta1/ValidatorsInfo.json
index 31781c7e..38f5b25b 100644
--- a/source/json_tables/cometbft/state/v1beta1/ValidatorsInfo.json
+++ b/source/json_tables/cometbft/state/v1beta1/ValidatorsInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "validator_set",
- "Type": "v1beta11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1beta1/Version.json b/source/json_tables/cometbft/state/v1beta1/Version.json
index 8ee64ce8..b35c0396 100644
--- a/source/json_tables/cometbft/state/v1beta1/Version.json
+++ b/source/json_tables/cometbft/state/v1beta1/Version.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus",
- "Type": "v1.Consensus",
+ "Type": "Consensus",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1beta2/ABCIResponses.json b/source/json_tables/cometbft/state/v1beta2/ABCIResponses.json
index 368606f3..320b51fe 100644
--- a/source/json_tables/cometbft/state/v1beta2/ABCIResponses.json
+++ b/source/json_tables/cometbft/state/v1beta2/ABCIResponses.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "deliver_txs",
- "Type": "v1beta2.ResponseDeliverTx array",
+ "Type": "ResponseDeliverTx array",
"Description": ""
},
{
"Parameter": "end_block",
- "Type": "v1beta2.ResponseEndBlock",
+ "Type": "ResponseEndBlock",
"Description": ""
},
{
"Parameter": "begin_block",
- "Type": "v1beta2.ResponseBeginBlock",
+ "Type": "ResponseBeginBlock",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/state/v1beta2/ConsensusParamsInfo.json b/source/json_tables/cometbft/state/v1beta2/ConsensusParamsInfo.json
index 01d710ba..e1c5483e 100644
--- a/source/json_tables/cometbft/state/v1beta2/ConsensusParamsInfo.json
+++ b/source/json_tables/cometbft/state/v1beta2/ConsensusParamsInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus_params",
- "Type": "v1beta21.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1beta2/State.json b/source/json_tables/cometbft/state/v1beta2/State.json
index 96f4fac6..159863d9 100644
--- a/source/json_tables/cometbft/state/v1beta2/State.json
+++ b/source/json_tables/cometbft/state/v1beta2/State.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "version",
- "Type": "v1beta1.Version",
+ "Type": "Version",
"Description": ""
},
{
@@ -21,27 +21,27 @@
},
{
"Parameter": "last_block_id",
- "Type": "v1beta11.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "last_block_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
"Parameter": "next_validators",
- "Type": "v1beta11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": "LastValidators is used to validate block.LastCommit. Validators are persisted to the database separately every time they change, so we can query for historical validator sets. Note that if s.LastBlockHeight causes a valset change, we set s.LastHeightValidatorsChanged = s.LastBlockHeight + 1 + 1 Extra +1 due to nextValSet delay."
},
{
"Parameter": "validators",
- "Type": "v1beta11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
"Parameter": "last_validators",
- "Type": "v1beta11.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "consensus_params",
- "Type": "v1beta21.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": "Consensus parameters used for validating blocks. Changes returned by EndBlock and updated after Commit."
},
{
diff --git a/source/json_tables/cometbft/state/v1beta3/ABCIResponsesInfo.json b/source/json_tables/cometbft/state/v1beta3/ABCIResponsesInfo.json
index 664f1494..1b86cf85 100644
--- a/source/json_tables/cometbft/state/v1beta3/ABCIResponsesInfo.json
+++ b/source/json_tables/cometbft/state/v1beta3/ABCIResponsesInfo.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "response_finalize_block",
- "Type": "v1beta3.ResponseFinalizeBlock",
+ "Type": "ResponseFinalizeBlock",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/state/v1beta3/ConsensusParamsInfo.json b/source/json_tables/cometbft/state/v1beta3/ConsensusParamsInfo.json
index 1539e9da..e1c5483e 100644
--- a/source/json_tables/cometbft/state/v1beta3/ConsensusParamsInfo.json
+++ b/source/json_tables/cometbft/state/v1beta3/ConsensusParamsInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus_params",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1beta3/LegacyABCIResponses.json b/source/json_tables/cometbft/state/v1beta3/LegacyABCIResponses.json
index 681c6a9f..62baf87e 100644
--- a/source/json_tables/cometbft/state/v1beta3/LegacyABCIResponses.json
+++ b/source/json_tables/cometbft/state/v1beta3/LegacyABCIResponses.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "deliver_txs",
- "Type": "v1beta3.ExecTxResult array",
+ "Type": "ExecTxResult array",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/state/v1beta3/ResponseBeginBlock.json b/source/json_tables/cometbft/state/v1beta3/ResponseBeginBlock.json
index 972972a3..8343b448 100644
--- a/source/json_tables/cometbft/state/v1beta3/ResponseBeginBlock.json
+++ b/source/json_tables/cometbft/state/v1beta3/ResponseBeginBlock.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "events",
- "Type": "v1beta2.Event array",
+ "Type": "Event array",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/state/v1beta3/ResponseEndBlock.json b/source/json_tables/cometbft/state/v1beta3/ResponseEndBlock.json
index b93816de..94fb5318 100644
--- a/source/json_tables/cometbft/state/v1beta3/ResponseEndBlock.json
+++ b/source/json_tables/cometbft/state/v1beta3/ResponseEndBlock.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "validator_updates",
- "Type": "v1beta1.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
},
{
"Parameter": "consensus_param_updates",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": ""
},
{
"Parameter": "events",
- "Type": "v1beta2.Event array",
+ "Type": "Event array",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/state/v1beta3/State.json b/source/json_tables/cometbft/state/v1beta3/State.json
index 2c023974..159863d9 100644
--- a/source/json_tables/cometbft/state/v1beta3/State.json
+++ b/source/json_tables/cometbft/state/v1beta3/State.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "version",
- "Type": "v1beta11.Version",
+ "Type": "Version",
"Description": ""
},
{
@@ -21,27 +21,27 @@
},
{
"Parameter": "last_block_id",
- "Type": "v1beta12.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "last_block_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
"Parameter": "next_validators",
- "Type": "v1beta12.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": "LastValidators is used to validate block.LastCommit. Validators are persisted to the database separately every time they change, so we can query for historical validator sets. Note that if s.LastBlockHeight causes a valset change, we set s.LastHeightValidatorsChanged = s.LastBlockHeight + 1 + 1 Extra +1 due to nextValSet delay."
},
{
"Parameter": "validators",
- "Type": "v1beta12.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
"Parameter": "last_validators",
- "Type": "v1beta12.ValidatorSet",
+ "Type": "ValidatorSet",
"Description": ""
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "consensus_params",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": "Consensus parameters used for validating blocks. Changes returned by EndBlock and updated after Commit."
},
{
diff --git a/source/json_tables/cometbft/types/v1/CanonicalProposal.json b/source/json_tables/cometbft/types/v1/CanonicalProposal.json
index 6ade49ff..2282c201 100644
--- a/source/json_tables/cometbft/types/v1/CanonicalProposal.json
+++ b/source/json_tables/cometbft/types/v1/CanonicalProposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1/CanonicalVote.json b/source/json_tables/cometbft/types/v1/CanonicalVote.json
index 63cc2ece..f51d899f 100644
--- a/source/json_tables/cometbft/types/v1/CanonicalVote.json
+++ b/source/json_tables/cometbft/types/v1/CanonicalVote.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1/CommitSig.json b/source/json_tables/cometbft/types/v1/CommitSig.json
index 9fd5cfd8..90d3e33d 100644
--- a/source/json_tables/cometbft/types/v1/CommitSig.json
+++ b/source/json_tables/cometbft/types/v1/CommitSig.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1/DuplicateVoteEvidence.json b/source/json_tables/cometbft/types/v1/DuplicateVoteEvidence.json
index 7995129f..01547c21 100644
--- a/source/json_tables/cometbft/types/v1/DuplicateVoteEvidence.json
+++ b/source/json_tables/cometbft/types/v1/DuplicateVoteEvidence.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/types/v1/EvidenceParams.json b/source/json_tables/cometbft/types/v1/EvidenceParams.json
index b2066249..220ee3ec 100644
--- a/source/json_tables/cometbft/types/v1/EvidenceParams.json
+++ b/source/json_tables/cometbft/types/v1/EvidenceParams.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "max_age_duration",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Maximum age of evidence, in time. The recommended value of is should correspond to the application's \"unbonding period\" or other similar mechanism for handling Nothing-At-Stake attacks. See: https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed."
},
{
diff --git a/source/json_tables/cometbft/types/v1/ExtendedCommitSig.json b/source/json_tables/cometbft/types/v1/ExtendedCommitSig.json
index 5241179b..c90e9856 100644
--- a/source/json_tables/cometbft/types/v1/ExtendedCommitSig.json
+++ b/source/json_tables/cometbft/types/v1/ExtendedCommitSig.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1/FeatureParams.json b/source/json_tables/cometbft/types/v1/FeatureParams.json
index c2798449..4826e20f 100644
--- a/source/json_tables/cometbft/types/v1/FeatureParams.json
+++ b/source/json_tables/cometbft/types/v1/FeatureParams.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "vote_extensions_enable_height",
- "Type": "types.Int64Value",
+ "Type": "Int64Value",
"Description": "Height during which vote extensions will be enabled. A value of 0 means vote extensions are disabled. A value > 0 denotes the height at which vote extensions will be (or have been) enabled. During the specified height, and for all subsequent heights, precommit messages that do not contain valid extension data will be considered invalid. Prior to this height, or when this height is set to 0, vote extensions will not be used or accepted by validators on the network. Once enabled, vote extensions will be created by the application in ExtendVote, validated by the application in VerifyVoteExtension, and used by the application in PrepareProposal, when proposing the next block. Cannot be set to heights lower or equal to the current blockchain height."
},
{
"Parameter": "pbts_enable_height",
- "Type": "types.Int64Value",
+ "Type": "Int64Value",
"Description": "Height at which Proposer-Based Timestamps (PBTS) will be enabled. A value of 0 means PBTS is disabled. A value > 0 denotes the height at which PBTS will be (or has been) enabled. From the specified height, and for all subsequent heights, the PBTS algorithm will be used to produce and validate block timestamps. Prior to this height, or when this height is set to 0, the legacy BFT Time algorithm is used to produce and validate timestamps. Cannot be set to heights lower or equal to the current blockchain height."
}
]
diff --git a/source/json_tables/cometbft/types/v1/Header.json b/source/json_tables/cometbft/types/v1/Header.json
index fc0e0125..8715869f 100644
--- a/source/json_tables/cometbft/types/v1/Header.json
+++ b/source/json_tables/cometbft/types/v1/Header.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "version",
- "Type": "v11.Consensus",
+ "Type": "Consensus",
"Description": "basic block info"
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1/LightClientAttackEvidence.json b/source/json_tables/cometbft/types/v1/LightClientAttackEvidence.json
index c3ce855b..6c4e51fc 100644
--- a/source/json_tables/cometbft/types/v1/LightClientAttackEvidence.json
+++ b/source/json_tables/cometbft/types/v1/LightClientAttackEvidence.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/types/v1/Part.json b/source/json_tables/cometbft/types/v1/Part.json
index ee41006c..037ff16a 100644
--- a/source/json_tables/cometbft/types/v1/Part.json
+++ b/source/json_tables/cometbft/types/v1/Part.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof",
- "Type": "v1.Proof",
+ "Type": "Proof",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/types/v1/Proposal.json b/source/json_tables/cometbft/types/v1/Proposal.json
index 03ec625a..dc6cfe02 100644
--- a/source/json_tables/cometbft/types/v1/Proposal.json
+++ b/source/json_tables/cometbft/types/v1/Proposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1/SimpleValidator.json b/source/json_tables/cometbft/types/v1/SimpleValidator.json
index 6b312523..b9d7676b 100644
--- a/source/json_tables/cometbft/types/v1/SimpleValidator.json
+++ b/source/json_tables/cometbft/types/v1/SimpleValidator.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pub_key",
- "Type": "v1.PublicKey",
+ "Type": "PublicKey",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1/SynchronyParams.json b/source/json_tables/cometbft/types/v1/SynchronyParams.json
index 96768046..4b4c2596 100644
--- a/source/json_tables/cometbft/types/v1/SynchronyParams.json
+++ b/source/json_tables/cometbft/types/v1/SynchronyParams.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "precision",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Bound for how skewed a proposer's clock may be from any validator on the network while still producing valid proposals."
},
{
"Parameter": "message_delay",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Bound for how long a proposal message may take to reach all validators on a network and still be considered valid."
}
]
diff --git a/source/json_tables/cometbft/types/v1/TxProof.json b/source/json_tables/cometbft/types/v1/TxProof.json
index fecadab6..99f4d30b 100644
--- a/source/json_tables/cometbft/types/v1/TxProof.json
+++ b/source/json_tables/cometbft/types/v1/TxProof.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof",
- "Type": "v1.Proof",
+ "Type": "Proof",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/types/v1/Validator.json b/source/json_tables/cometbft/types/v1/Validator.json
index d08f44f0..3e951d0b 100644
--- a/source/json_tables/cometbft/types/v1/Validator.json
+++ b/source/json_tables/cometbft/types/v1/Validator.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pub_key",
- "Type": "v1.PublicKey",
+ "Type": "PublicKey",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1/Vote.json b/source/json_tables/cometbft/types/v1/Vote.json
index 5f42385e..9d5b0526 100644
--- a/source/json_tables/cometbft/types/v1/Vote.json
+++ b/source/json_tables/cometbft/types/v1/Vote.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/CanonicalProposal.json b/source/json_tables/cometbft/types/v1beta1/CanonicalProposal.json
index 6ade49ff..2282c201 100644
--- a/source/json_tables/cometbft/types/v1beta1/CanonicalProposal.json
+++ b/source/json_tables/cometbft/types/v1beta1/CanonicalProposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/CanonicalVote.json b/source/json_tables/cometbft/types/v1beta1/CanonicalVote.json
index 63cc2ece..f51d899f 100644
--- a/source/json_tables/cometbft/types/v1beta1/CanonicalVote.json
+++ b/source/json_tables/cometbft/types/v1beta1/CanonicalVote.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/CommitSig.json b/source/json_tables/cometbft/types/v1beta1/CommitSig.json
index 9fd5cfd8..90d3e33d 100644
--- a/source/json_tables/cometbft/types/v1beta1/CommitSig.json
+++ b/source/json_tables/cometbft/types/v1beta1/CommitSig.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/DuplicateVoteEvidence.json b/source/json_tables/cometbft/types/v1beta1/DuplicateVoteEvidence.json
index 7995129f..01547c21 100644
--- a/source/json_tables/cometbft/types/v1beta1/DuplicateVoteEvidence.json
+++ b/source/json_tables/cometbft/types/v1beta1/DuplicateVoteEvidence.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/types/v1beta1/EvidenceParams.json b/source/json_tables/cometbft/types/v1beta1/EvidenceParams.json
index a63d4620..17e905b5 100644
--- a/source/json_tables/cometbft/types/v1beta1/EvidenceParams.json
+++ b/source/json_tables/cometbft/types/v1beta1/EvidenceParams.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "max_age_duration",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Max age of evidence, in time. It should correspond with an app's \"unbonding period\" or other similar mechanism for handling [Nothing-At-Stake attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed)."
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/Header.json b/source/json_tables/cometbft/types/v1beta1/Header.json
index fc0e0125..8715869f 100644
--- a/source/json_tables/cometbft/types/v1beta1/Header.json
+++ b/source/json_tables/cometbft/types/v1beta1/Header.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "version",
- "Type": "v11.Consensus",
+ "Type": "Consensus",
"Description": "basic block info"
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/LightClientAttackEvidence.json b/source/json_tables/cometbft/types/v1beta1/LightClientAttackEvidence.json
index c3ce855b..6c4e51fc 100644
--- a/source/json_tables/cometbft/types/v1beta1/LightClientAttackEvidence.json
+++ b/source/json_tables/cometbft/types/v1beta1/LightClientAttackEvidence.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/types/v1beta1/Part.json b/source/json_tables/cometbft/types/v1beta1/Part.json
index ee41006c..037ff16a 100644
--- a/source/json_tables/cometbft/types/v1beta1/Part.json
+++ b/source/json_tables/cometbft/types/v1beta1/Part.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof",
- "Type": "v1.Proof",
+ "Type": "Proof",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/types/v1beta1/Proposal.json b/source/json_tables/cometbft/types/v1beta1/Proposal.json
index 03ec625a..dc6cfe02 100644
--- a/source/json_tables/cometbft/types/v1beta1/Proposal.json
+++ b/source/json_tables/cometbft/types/v1beta1/Proposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/SimpleValidator.json b/source/json_tables/cometbft/types/v1beta1/SimpleValidator.json
index 6b312523..b9d7676b 100644
--- a/source/json_tables/cometbft/types/v1beta1/SimpleValidator.json
+++ b/source/json_tables/cometbft/types/v1beta1/SimpleValidator.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pub_key",
- "Type": "v1.PublicKey",
+ "Type": "PublicKey",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/TxProof.json b/source/json_tables/cometbft/types/v1beta1/TxProof.json
index fecadab6..99f4d30b 100644
--- a/source/json_tables/cometbft/types/v1beta1/TxProof.json
+++ b/source/json_tables/cometbft/types/v1beta1/TxProof.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof",
- "Type": "v1.Proof",
+ "Type": "Proof",
"Description": ""
}
]
diff --git a/source/json_tables/cometbft/types/v1beta1/Validator.json b/source/json_tables/cometbft/types/v1beta1/Validator.json
index 18b37887..73fb24d9 100644
--- a/source/json_tables/cometbft/types/v1beta1/Validator.json
+++ b/source/json_tables/cometbft/types/v1beta1/Validator.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pub_key",
- "Type": "v1.PublicKey",
+ "Type": "PublicKey",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta1/Vote.json b/source/json_tables/cometbft/types/v1beta1/Vote.json
index 4936a100..89576dd8 100644
--- a/source/json_tables/cometbft/types/v1beta1/Vote.json
+++ b/source/json_tables/cometbft/types/v1beta1/Vote.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cometbft/types/v1beta2/ConsensusParams.json b/source/json_tables/cometbft/types/v1beta2/ConsensusParams.json
index ca18b86c..9e5b2473 100644
--- a/source/json_tables/cometbft/types/v1beta2/ConsensusParams.json
+++ b/source/json_tables/cometbft/types/v1beta2/ConsensusParams.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "evidence",
- "Type": "v1beta1.EvidenceParams",
+ "Type": "EvidenceParams",
"Description": ""
},
{
"Parameter": "validator",
- "Type": "v1beta1.ValidatorParams",
+ "Type": "ValidatorParams",
"Description": ""
},
{
"Parameter": "version",
- "Type": "v1beta1.VersionParams",
+ "Type": "VersionParams",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/Coin.json b/source/json_tables/cosmos/Coin.json
index 5c305bd3..119ae314 100644
--- a/source/json_tables/cosmos/Coin.json
+++ b/source/json_tables/cosmos/Coin.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/DecCoin.json b/source/json_tables/cosmos/DecCoin.json
index 5d4713fa..75691b3b 100644
--- a/source/json_tables/cosmos/DecCoin.json
+++ b/source/json_tables/cosmos/DecCoin.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/DecProto.json b/source/json_tables/cosmos/DecProto.json
index 62590658..cecb0f8a 100644
--- a/source/json_tables/cosmos/DecProto.json
+++ b/source/json_tables/cosmos/DecProto.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "dec",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/IntProto.json b/source/json_tables/cosmos/IntProto.json
index 4fae139e..f6db54d9 100644
--- a/source/json_tables/cosmos/IntProto.json
+++ b/source/json_tables/cosmos/IntProto.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "int",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/Result.json b/source/json_tables/cosmos/Result.json
index ce5ba4c2..dbbc6e24 100644
--- a/source/json_tables/cosmos/Result.json
+++ b/source/json_tables/cosmos/Result.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "events",
- "Type": "v1.Event array",
+ "Type": "Event array",
"Description": "Events contains a slice of Event objects that were emitted during message or handler execution."
},
{
"Parameter": "msg_responses",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "msg_responses contains the Msg handler responses type packed in Anys. Since: cosmos-sdk 0.46"
}
]
diff --git a/source/json_tables/cosmos/SearchBlocksResult.json b/source/json_tables/cosmos/SearchBlocksResult.json
index 00cef17c..6a11cff1 100644
--- a/source/json_tables/cosmos/SearchBlocksResult.json
+++ b/source/json_tables/cosmos/SearchBlocksResult.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "blocks",
- "Type": "v11.Block array",
+ "Type": "Block array",
"Description": "List of blocks in current page"
}
]
diff --git a/source/json_tables/cosmos/TxMsgData.json b/source/json_tables/cosmos/TxMsgData.json
index 3d378422..b81bf06f 100644
--- a/source/json_tables/cosmos/TxMsgData.json
+++ b/source/json_tables/cosmos/TxMsgData.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "msg_responses",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "msg_responses contains the Msg handler responses packed into Anys. Since: cosmos-sdk 0.46"
}
]
diff --git a/source/json_tables/cosmos/TxResponse.json b/source/json_tables/cosmos/TxResponse.json
index 817973b9..85b99a07 100644
--- a/source/json_tables/cosmos/TxResponse.json
+++ b/source/json_tables/cosmos/TxResponse.json
@@ -51,7 +51,7 @@
},
{
"Parameter": "tx",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "The request transaction bytes."
},
{
@@ -61,7 +61,7 @@
},
{
"Parameter": "events",
- "Type": "v1.Event array",
+ "Type": "Event array",
"Description": "Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages. Since: cosmos-sdk 0.42.11, 0.44.5, 0.45"
}
]
diff --git a/source/json_tables/cosmos/auth/BaseAccount.json b/source/json_tables/cosmos/auth/BaseAccount.json
index 916c3556..5cace55f 100644
--- a/source/json_tables/cosmos/auth/BaseAccount.json
+++ b/source/json_tables/cosmos/auth/BaseAccount.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pub_key",
- "Type": "types.Any",
+ "Type": "Any",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/auth/GenesisState.json b/source/json_tables/cosmos/auth/GenesisState.json
index 0196d027..9db8a9ff 100644
--- a/source/json_tables/cosmos/auth/GenesisState.json
+++ b/source/json_tables/cosmos/auth/GenesisState.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "accounts",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "accounts are the accounts present at genesis."
}
]
diff --git a/source/json_tables/cosmos/auth/QueryAccountResponse.json b/source/json_tables/cosmos/auth/QueryAccountResponse.json
index d297d225..eeb812b5 100644
--- a/source/json_tables/cosmos/auth/QueryAccountResponse.json
+++ b/source/json_tables/cosmos/auth/QueryAccountResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "account",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "account defines the account of the corresponding address."
}
]
diff --git a/source/json_tables/cosmos/auth/QueryAccountsRequest.json b/source/json_tables/cosmos/auth/QueryAccountsRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/cosmos/auth/QueryAccountsRequest.json
+++ b/source/json_tables/cosmos/auth/QueryAccountsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/auth/QueryAccountsResponse.json b/source/json_tables/cosmos/auth/QueryAccountsResponse.json
index 26ad5194..ffbae844 100644
--- a/source/json_tables/cosmos/auth/QueryAccountsResponse.json
+++ b/source/json_tables/cosmos/auth/QueryAccountsResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "accounts",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "accounts are the existing accounts"
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/auth/QueryModuleAccountByNameResponse.json b/source/json_tables/cosmos/auth/QueryModuleAccountByNameResponse.json
index 4332c929..87c19115 100644
--- a/source/json_tables/cosmos/auth/QueryModuleAccountByNameResponse.json
+++ b/source/json_tables/cosmos/auth/QueryModuleAccountByNameResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "account",
- "Type": "types.Any",
+ "Type": "Any",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/auth/QueryModuleAccountsResponse.json b/source/json_tables/cosmos/auth/QueryModuleAccountsResponse.json
index 64342088..b1497e20 100644
--- a/source/json_tables/cosmos/auth/QueryModuleAccountsResponse.json
+++ b/source/json_tables/cosmos/auth/QueryModuleAccountsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "accounts",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/authz/Grant.json b/source/json_tables/cosmos/authz/Grant.json
index 589e9bc8..54b72d9f 100644
--- a/source/json_tables/cosmos/authz/Grant.json
+++ b/source/json_tables/cosmos/authz/Grant.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "authorization",
- "Type": "types.Any",
+ "Type": "Any",
"Description": ""
},
{
"Parameter": "expiration",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "time when the grant will expire and will be pruned. If null, then the grant doesn't have a time expiration (other conditions in `authorization` may apply to invalidate the grant)"
}
]
diff --git a/source/json_tables/cosmos/authz/GrantAuthorization.json b/source/json_tables/cosmos/authz/GrantAuthorization.json
index 5eab7406..0cbb1518 100644
--- a/source/json_tables/cosmos/authz/GrantAuthorization.json
+++ b/source/json_tables/cosmos/authz/GrantAuthorization.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "authorization",
- "Type": "types.Any",
+ "Type": "Any",
"Description": ""
},
{
"Parameter": "expiration",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/authz/MsgExec.json b/source/json_tables/cosmos/authz/MsgExec.json
index c6f58954..5224f009 100644
--- a/source/json_tables/cosmos/authz/MsgExec.json
+++ b/source/json_tables/cosmos/authz/MsgExec.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "msgs",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "Execute Msg. The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) triple and validate it.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/authz/QueryGranteeGrantsRequest.json b/source/json_tables/cosmos/authz/QueryGranteeGrantsRequest.json
index 2b509775..d8598e42 100644
--- a/source/json_tables/cosmos/authz/QueryGranteeGrantsRequest.json
+++ b/source/json_tables/cosmos/authz/QueryGranteeGrantsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/authz/QueryGranteeGrantsResponse.json b/source/json_tables/cosmos/authz/QueryGranteeGrantsResponse.json
index bf8ce399..72265644 100644
--- a/source/json_tables/cosmos/authz/QueryGranteeGrantsResponse.json
+++ b/source/json_tables/cosmos/authz/QueryGranteeGrantsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines an pagination for the response."
}
]
diff --git a/source/json_tables/cosmos/authz/QueryGranterGrantsRequest.json b/source/json_tables/cosmos/authz/QueryGranterGrantsRequest.json
index e4ca7b55..07032efd 100644
--- a/source/json_tables/cosmos/authz/QueryGranterGrantsRequest.json
+++ b/source/json_tables/cosmos/authz/QueryGranterGrantsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/authz/QueryGranterGrantsResponse.json b/source/json_tables/cosmos/authz/QueryGranterGrantsResponse.json
index 7ddf3d3f..93365245 100644
--- a/source/json_tables/cosmos/authz/QueryGranterGrantsResponse.json
+++ b/source/json_tables/cosmos/authz/QueryGranterGrantsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines an pagination for the response."
}
]
diff --git a/source/json_tables/cosmos/authz/QueryGrantsRequest.json b/source/json_tables/cosmos/authz/QueryGrantsRequest.json
index 208c91fc..1db1bece 100644
--- a/source/json_tables/cosmos/authz/QueryGrantsRequest.json
+++ b/source/json_tables/cosmos/authz/QueryGrantsRequest.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/authz/QueryGrantsResponse.json b/source/json_tables/cosmos/authz/QueryGrantsResponse.json
index a567102a..369f22ae 100644
--- a/source/json_tables/cosmos/authz/QueryGrantsResponse.json
+++ b/source/json_tables/cosmos/authz/QueryGrantsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines an pagination for the response."
}
]
diff --git a/source/json_tables/cosmos/bank/Balance.json b/source/json_tables/cosmos/bank/Balance.json
index 612be8ae..cc898658 100644
--- a/source/json_tables/cosmos/bank/Balance.json
+++ b/source/json_tables/cosmos/bank/Balance.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "coins",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "coins defines the different coins this balance holds."
}
]
diff --git a/source/json_tables/cosmos/bank/BalanceUpdate.json b/source/json_tables/cosmos/bank/BalanceUpdate.json
index 56fc71d6..59d5dbaa 100644
--- a/source/json_tables/cosmos/bank/BalanceUpdate.json
+++ b/source/json_tables/cosmos/bank/BalanceUpdate.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "amt",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "the latest amount"
}
]
diff --git a/source/json_tables/cosmos/bank/DenomOwner.json b/source/json_tables/cosmos/bank/DenomOwner.json
index ce0bd0dd..8d8f5822 100644
--- a/source/json_tables/cosmos/bank/DenomOwner.json
+++ b/source/json_tables/cosmos/bank/DenomOwner.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balance",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "balance is the balance of the denominated coin for an account."
}
]
diff --git a/source/json_tables/cosmos/bank/GenesisState.json b/source/json_tables/cosmos/bank/GenesisState.json
index 99f0f1e2..6d3544fd 100644
--- a/source/json_tables/cosmos/bank/GenesisState.json
+++ b/source/json_tables/cosmos/bank/GenesisState.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "supply",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "supply represents the total supply. If it is left empty, then supply will be calculated based on the provided balances. Otherwise, it will be used to validate that the sum of the balances equals this amount."
},
{
diff --git a/source/json_tables/cosmos/bank/Input.json b/source/json_tables/cosmos/bank/Input.json
index ba2357aa..ff391c04 100644
--- a/source/json_tables/cosmos/bank/Input.json
+++ b/source/json_tables/cosmos/bank/Input.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "coins",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/bank/MsgSend.json b/source/json_tables/cosmos/bank/MsgSend.json
index e42e695f..76ae0f95 100644
--- a/source/json_tables/cosmos/bank/MsgSend.json
+++ b/source/json_tables/cosmos/bank/MsgSend.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/bank/Output.json b/source/json_tables/cosmos/bank/Output.json
index ba2357aa..ff391c04 100644
--- a/source/json_tables/cosmos/bank/Output.json
+++ b/source/json_tables/cosmos/bank/Output.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "coins",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/bank/QueryAllBalancesRequest.json b/source/json_tables/cosmos/bank/QueryAllBalancesRequest.json
index 3b9b147d..c5c2e2ba 100644
--- a/source/json_tables/cosmos/bank/QueryAllBalancesRequest.json
+++ b/source/json_tables/cosmos/bank/QueryAllBalancesRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
},
diff --git a/source/json_tables/cosmos/bank/QueryAllBalancesResponse.json b/source/json_tables/cosmos/bank/QueryAllBalancesResponse.json
index 2d030cf5..f41632a5 100644
--- a/source/json_tables/cosmos/bank/QueryAllBalancesResponse.json
+++ b/source/json_tables/cosmos/bank/QueryAllBalancesResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "balances",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "balances is the balances of all the coins."
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/bank/QueryBalanceResponse.json b/source/json_tables/cosmos/bank/QueryBalanceResponse.json
index 21b8edb1..bd2ea5d6 100644
--- a/source/json_tables/cosmos/bank/QueryBalanceResponse.json
+++ b/source/json_tables/cosmos/bank/QueryBalanceResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "balance",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "balance is the balance of the coin."
}
]
diff --git a/source/json_tables/cosmos/bank/QueryDenomOwnersByQueryRequest.json b/source/json_tables/cosmos/bank/QueryDenomOwnersByQueryRequest.json
index 5a3ab8df..44263824 100644
--- a/source/json_tables/cosmos/bank/QueryDenomOwnersByQueryRequest.json
+++ b/source/json_tables/cosmos/bank/QueryDenomOwnersByQueryRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/bank/QueryDenomOwnersByQueryResponse.json b/source/json_tables/cosmos/bank/QueryDenomOwnersByQueryResponse.json
index d9ae5182..89c433c6 100644
--- a/source/json_tables/cosmos/bank/QueryDenomOwnersByQueryResponse.json
+++ b/source/json_tables/cosmos/bank/QueryDenomOwnersByQueryResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/bank/QueryDenomOwnersRequest.json b/source/json_tables/cosmos/bank/QueryDenomOwnersRequest.json
index 5a3ab8df..44263824 100644
--- a/source/json_tables/cosmos/bank/QueryDenomOwnersRequest.json
+++ b/source/json_tables/cosmos/bank/QueryDenomOwnersRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/bank/QueryDenomOwnersResponse.json b/source/json_tables/cosmos/bank/QueryDenomOwnersResponse.json
index d9ae5182..89c433c6 100644
--- a/source/json_tables/cosmos/bank/QueryDenomOwnersResponse.json
+++ b/source/json_tables/cosmos/bank/QueryDenomOwnersResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/bank/QueryDenomsMetadataRequest.json b/source/json_tables/cosmos/bank/QueryDenomsMetadataRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/cosmos/bank/QueryDenomsMetadataRequest.json
+++ b/source/json_tables/cosmos/bank/QueryDenomsMetadataRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/bank/QueryDenomsMetadataResponse.json b/source/json_tables/cosmos/bank/QueryDenomsMetadataResponse.json
index 72bd7edd..56cced1c 100644
--- a/source/json_tables/cosmos/bank/QueryDenomsMetadataResponse.json
+++ b/source/json_tables/cosmos/bank/QueryDenomsMetadataResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/bank/QuerySendEnabledRequest.json b/source/json_tables/cosmos/bank/QuerySendEnabledRequest.json
index b851b573..1f967125 100644
--- a/source/json_tables/cosmos/bank/QuerySendEnabledRequest.json
+++ b/source/json_tables/cosmos/bank/QuerySendEnabledRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request. This field is only read if the denoms field is empty.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/bank/QuerySendEnabledResponse.json b/source/json_tables/cosmos/bank/QuerySendEnabledResponse.json
index 3b4d5e38..d63f0455 100644
--- a/source/json_tables/cosmos/bank/QuerySendEnabledResponse.json
+++ b/source/json_tables/cosmos/bank/QuerySendEnabledResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response. This field is only populated if the denoms field in the request is empty."
}
]
diff --git a/source/json_tables/cosmos/bank/QuerySpendableBalanceByDenomResponse.json b/source/json_tables/cosmos/bank/QuerySpendableBalanceByDenomResponse.json
index 21b8edb1..bd2ea5d6 100644
--- a/source/json_tables/cosmos/bank/QuerySpendableBalanceByDenomResponse.json
+++ b/source/json_tables/cosmos/bank/QuerySpendableBalanceByDenomResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "balance",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "balance is the balance of the coin."
}
]
diff --git a/source/json_tables/cosmos/bank/QuerySpendableBalancesRequest.json b/source/json_tables/cosmos/bank/QuerySpendableBalancesRequest.json
index 9dbc74cb..3c8be736 100644
--- a/source/json_tables/cosmos/bank/QuerySpendableBalancesRequest.json
+++ b/source/json_tables/cosmos/bank/QuerySpendableBalancesRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/bank/QuerySpendableBalancesResponse.json b/source/json_tables/cosmos/bank/QuerySpendableBalancesResponse.json
index 41f78671..5ad63d6a 100644
--- a/source/json_tables/cosmos/bank/QuerySpendableBalancesResponse.json
+++ b/source/json_tables/cosmos/bank/QuerySpendableBalancesResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "balances",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "balances is the spendable balances of all the coins."
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/bank/QuerySupplyOfResponse.json b/source/json_tables/cosmos/bank/QuerySupplyOfResponse.json
index 2586ded0..d519a583 100644
--- a/source/json_tables/cosmos/bank/QuerySupplyOfResponse.json
+++ b/source/json_tables/cosmos/bank/QuerySupplyOfResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "amount is the supply of the coin."
}
]
diff --git a/source/json_tables/cosmos/bank/QueryTotalSupplyRequest.json b/source/json_tables/cosmos/bank/QueryTotalSupplyRequest.json
index 7b29a285..d8eaf6fa 100644
--- a/source/json_tables/cosmos/bank/QueryTotalSupplyRequest.json
+++ b/source/json_tables/cosmos/bank/QueryTotalSupplyRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request. Since: cosmos-sdk 0.43",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/bank/QueryTotalSupplyResponse.json b/source/json_tables/cosmos/bank/QueryTotalSupplyResponse.json
index c56beb38..ae52555c 100644
--- a/source/json_tables/cosmos/bank/QueryTotalSupplyResponse.json
+++ b/source/json_tables/cosmos/bank/QueryTotalSupplyResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "supply",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "supply is the supply of the coins"
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response. Since: cosmos-sdk 0.43"
}
]
diff --git a/source/json_tables/cosmos/bank/SendAuthorization.json b/source/json_tables/cosmos/bank/SendAuthorization.json
index baaaea3c..5cce120e 100644
--- a/source/json_tables/cosmos/bank/SendAuthorization.json
+++ b/source/json_tables/cosmos/bank/SendAuthorization.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "spend_limit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/bank/Supply.json b/source/json_tables/cosmos/bank/Supply.json
index acb881c2..6120c405 100644
--- a/source/json_tables/cosmos/bank/Supply.json
+++ b/source/json_tables/cosmos/bank/Supply.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "total",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/circuit/AccountsResponse.json b/source/json_tables/cosmos/circuit/AccountsResponse.json
index f6a0b912..687cd111 100644
--- a/source/json_tables/cosmos/circuit/AccountsResponse.json
+++ b/source/json_tables/cosmos/circuit/AccountsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/circuit/QueryAccountsRequest.json b/source/json_tables/cosmos/circuit/QueryAccountsRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/cosmos/circuit/QueryAccountsRequest.json
+++ b/source/json_tables/cosmos/circuit/QueryAccountsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/cmtservice/Block.json b/source/json_tables/cosmos/cmtservice/Block.json
index ce9da8a8..5696031a 100644
--- a/source/json_tables/cosmos/cmtservice/Block.json
+++ b/source/json_tables/cosmos/cmtservice/Block.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "data",
- "Type": "v1.Data",
+ "Type": "Data",
"Description": ""
},
{
"Parameter": "evidence",
- "Type": "v1.EvidenceList",
+ "Type": "EvidenceList",
"Description": ""
},
{
"Parameter": "last_commit",
- "Type": "v1.Commit",
+ "Type": "Commit",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/cmtservice/GetBlockByHeightResponse.json b/source/json_tables/cosmos/cmtservice/GetBlockByHeightResponse.json
index 28b131bf..39c578a9 100644
--- a/source/json_tables/cosmos/cmtservice/GetBlockByHeightResponse.json
+++ b/source/json_tables/cosmos/cmtservice/GetBlockByHeightResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "block_id",
- "Type": "v1.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "block",
- "Type": "v1.Block",
+ "Type": "Block",
"Description": "Deprecated: please use `sdk_block` instead"
},
{
diff --git a/source/json_tables/cosmos/cmtservice/GetLatestBlockResponse.json b/source/json_tables/cosmos/cmtservice/GetLatestBlockResponse.json
index 28b131bf..39c578a9 100644
--- a/source/json_tables/cosmos/cmtservice/GetLatestBlockResponse.json
+++ b/source/json_tables/cosmos/cmtservice/GetLatestBlockResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "block_id",
- "Type": "v1.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "block",
- "Type": "v1.Block",
+ "Type": "Block",
"Description": "Deprecated: please use `sdk_block` instead"
},
{
diff --git a/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetRequest.json b/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetRequest.json
index 6a8360b5..2b50f543 100644
--- a/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetRequest.json
+++ b/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetResponse.json b/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetResponse.json
index 192d2a48..ffb5ff2a 100644
--- a/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetResponse.json
+++ b/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines an pagination for the response."
}
]
diff --git a/source/json_tables/cosmos/cmtservice/GetNodeInfoResponse.json b/source/json_tables/cosmos/cmtservice/GetNodeInfoResponse.json
index e0838f4c..9bbd4474 100644
--- a/source/json_tables/cosmos/cmtservice/GetNodeInfoResponse.json
+++ b/source/json_tables/cosmos/cmtservice/GetNodeInfoResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "default_node_info",
- "Type": "v11.DefaultNodeInfo",
+ "Type": "DefaultNodeInfo",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightRequest.json b/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightRequest.json
index 78112c54..822ec1f1 100644
--- a/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightRequest.json
+++ b/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightResponse.json b/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightResponse.json
index 192d2a48..ffb5ff2a 100644
--- a/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightResponse.json
+++ b/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines an pagination for the response."
}
]
diff --git a/source/json_tables/cosmos/cmtservice/Header.json b/source/json_tables/cosmos/cmtservice/Header.json
index ae0a5844..d5a131f8 100644
--- a/source/json_tables/cosmos/cmtservice/Header.json
+++ b/source/json_tables/cosmos/cmtservice/Header.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "version",
- "Type": "v11.Consensus",
+ "Type": "Consensus",
"Description": "basic block info"
},
{
@@ -16,12 +16,12 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
"Parameter": "last_block_id",
- "Type": "v1.BlockID",
+ "Type": "BlockID",
"Description": "prev block info"
},
{
diff --git a/source/json_tables/cosmos/cmtservice/Validator.json b/source/json_tables/cosmos/cmtservice/Validator.json
index 96d3771c..8f86cbbb 100644
--- a/source/json_tables/cosmos/cmtservice/Validator.json
+++ b/source/json_tables/cosmos/cmtservice/Validator.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pub_key",
- "Type": "types.Any",
+ "Type": "Any",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/consensus/MsgUpdateParams.json b/source/json_tables/cosmos/consensus/MsgUpdateParams.json
index f91830b9..a4778afc 100644
--- a/source/json_tables/cosmos/consensus/MsgUpdateParams.json
+++ b/source/json_tables/cosmos/consensus/MsgUpdateParams.json
@@ -7,37 +7,37 @@
},
{
"Parameter": "block",
- "Type": "v1.BlockParams",
+ "Type": "BlockParams",
"Description": "params defines the x/consensus parameters to update. VersionsParams is not included in this Msg because it is tracked separarately in x/upgrade. NOTE: All parameters must be supplied.",
"Required": "No"
},
{
"Parameter": "evidence",
- "Type": "v1.EvidenceParams",
+ "Type": "EvidenceParams",
"Description": "",
"Required": "No"
},
{
"Parameter": "validator",
- "Type": "v1.ValidatorParams",
+ "Type": "ValidatorParams",
"Description": "",
"Required": "No"
},
{
"Parameter": "abci",
- "Type": "v1.ABCIParams",
+ "Type": "ABCIParams",
"Description": "Since: cosmos-sdk 0.50",
"Required": "No"
},
{
"Parameter": "synchrony",
- "Type": "v1.SynchronyParams",
+ "Type": "SynchronyParams",
"Description": "",
"Required": "No"
},
{
"Parameter": "feature",
- "Type": "v1.FeatureParams",
+ "Type": "FeatureParams",
"Description": "",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/consensus/QueryParamsResponse.json b/source/json_tables/cosmos/consensus/QueryParamsResponse.json
index 7d7003d2..5b69a0cc 100644
--- a/source/json_tables/cosmos/consensus/QueryParamsResponse.json
+++ b/source/json_tables/cosmos/consensus/QueryParamsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "params",
- "Type": "v1.ConsensusParams",
+ "Type": "ConsensusParams",
"Description": "params are the tendermint consensus params stored in the consensus module. Please note that `params.version` is not populated in this response, it is tracked separately in the x/upgrade module."
}
]
diff --git a/source/json_tables/cosmos/crisis/GenesisState.json b/source/json_tables/cosmos/crisis/GenesisState.json
index f3a578e7..be10ca59 100644
--- a/source/json_tables/cosmos/crisis/GenesisState.json
+++ b/source/json_tables/cosmos/crisis/GenesisState.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "constant_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "constant_fee is the fee used to verify the invariant in the crisis module."
}
]
diff --git a/source/json_tables/cosmos/crisis/MsgUpdateParams.json b/source/json_tables/cosmos/crisis/MsgUpdateParams.json
index 5acacec8..4e55d5c2 100644
--- a/source/json_tables/cosmos/crisis/MsgUpdateParams.json
+++ b/source/json_tables/cosmos/crisis/MsgUpdateParams.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "constant_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "constant_fee defines the x/crisis parameter.",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/distribution/CommunityPoolSpendProposal.json b/source/json_tables/cosmos/distribution/CommunityPoolSpendProposal.json
index c6ada133..7b771ce7 100644
--- a/source/json_tables/cosmos/distribution/CommunityPoolSpendProposal.json
+++ b/source/json_tables/cosmos/distribution/CommunityPoolSpendProposal.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/distribution/DelegationDelegatorReward.json b/source/json_tables/cosmos/distribution/DelegationDelegatorReward.json
index f0f3fc5e..8fe0a34a 100644
--- a/source/json_tables/cosmos/distribution/DelegationDelegatorReward.json
+++ b/source/json_tables/cosmos/distribution/DelegationDelegatorReward.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "reward",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/distribution/DelegatorStartingInfo.json b/source/json_tables/cosmos/distribution/DelegatorStartingInfo.json
index 5afa29e5..c47c411a 100644
--- a/source/json_tables/cosmos/distribution/DelegatorStartingInfo.json
+++ b/source/json_tables/cosmos/distribution/DelegatorStartingInfo.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "stake",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/distribution/FeePool.json b/source/json_tables/cosmos/distribution/FeePool.json
index 5d2d20a3..7b9a203c 100644
--- a/source/json_tables/cosmos/distribution/FeePool.json
+++ b/source/json_tables/cosmos/distribution/FeePool.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "community_pool",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/distribution/MsgCommunityPoolSpend.json b/source/json_tables/cosmos/distribution/MsgCommunityPoolSpend.json
index 0cc2fecc..5d33305f 100644
--- a/source/json_tables/cosmos/distribution/MsgCommunityPoolSpend.json
+++ b/source/json_tables/cosmos/distribution/MsgCommunityPoolSpend.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/distribution/MsgDepositValidatorRewardsPool.json b/source/json_tables/cosmos/distribution/MsgDepositValidatorRewardsPool.json
index 1f7f31a1..010068d0 100644
--- a/source/json_tables/cosmos/distribution/MsgDepositValidatorRewardsPool.json
+++ b/source/json_tables/cosmos/distribution/MsgDepositValidatorRewardsPool.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/distribution/MsgFundCommunityPool.json b/source/json_tables/cosmos/distribution/MsgFundCommunityPool.json
index 10269015..22ae3317 100644
--- a/source/json_tables/cosmos/distribution/MsgFundCommunityPool.json
+++ b/source/json_tables/cosmos/distribution/MsgFundCommunityPool.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/cosmos/distribution/MsgWithdrawDelegatorRewardResponse.json b/source/json_tables/cosmos/distribution/MsgWithdrawDelegatorRewardResponse.json
index 99909156..a028f356 100644
--- a/source/json_tables/cosmos/distribution/MsgWithdrawDelegatorRewardResponse.json
+++ b/source/json_tables/cosmos/distribution/MsgWithdrawDelegatorRewardResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Since: cosmos-sdk 0.46"
}
]
diff --git a/source/json_tables/cosmos/distribution/MsgWithdrawValidatorCommissionResponse.json b/source/json_tables/cosmos/distribution/MsgWithdrawValidatorCommissionResponse.json
index 99909156..a028f356 100644
--- a/source/json_tables/cosmos/distribution/MsgWithdrawValidatorCommissionResponse.json
+++ b/source/json_tables/cosmos/distribution/MsgWithdrawValidatorCommissionResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Since: cosmos-sdk 0.46"
}
]
diff --git a/source/json_tables/cosmos/distribution/Params.json b/source/json_tables/cosmos/distribution/Params.json
index f56d444d..a6e3a1ff 100644
--- a/source/json_tables/cosmos/distribution/Params.json
+++ b/source/json_tables/cosmos/distribution/Params.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "community_tax",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "base_proposer_reward",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "Deprecated: The base_proposer_reward field is deprecated and is no longer used in the x/distribution module's reward mechanism."
},
{
"Parameter": "bonus_proposer_reward",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "Deprecated: The bonus_proposer_reward field is deprecated and is no longer used in the x/distribution module's reward mechanism."
},
{
diff --git a/source/json_tables/cosmos/distribution/QueryCommunityPoolResponse.json b/source/json_tables/cosmos/distribution/QueryCommunityPoolResponse.json
index a6fdb476..82d8d5d5 100644
--- a/source/json_tables/cosmos/distribution/QueryCommunityPoolResponse.json
+++ b/source/json_tables/cosmos/distribution/QueryCommunityPoolResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pool",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": "pool defines community pool's coins."
}
]
diff --git a/source/json_tables/cosmos/distribution/QueryDelegationRewardsResponse.json b/source/json_tables/cosmos/distribution/QueryDelegationRewardsResponse.json
index 41f148c7..9992d9d8 100644
--- a/source/json_tables/cosmos/distribution/QueryDelegationRewardsResponse.json
+++ b/source/json_tables/cosmos/distribution/QueryDelegationRewardsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": "rewards defines the rewards accrued by a delegation."
}
]
diff --git a/source/json_tables/cosmos/distribution/QueryDelegationTotalRewardsResponse.json b/source/json_tables/cosmos/distribution/QueryDelegationTotalRewardsResponse.json
index fa9df839..a81b04b2 100644
--- a/source/json_tables/cosmos/distribution/QueryDelegationTotalRewardsResponse.json
+++ b/source/json_tables/cosmos/distribution/QueryDelegationTotalRewardsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "total",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": "total defines the sum of all the rewards."
}
]
diff --git a/source/json_tables/cosmos/distribution/QueryValidatorDistributionInfoResponse.json b/source/json_tables/cosmos/distribution/QueryValidatorDistributionInfoResponse.json
index aaf60f24..8af1bab6 100644
--- a/source/json_tables/cosmos/distribution/QueryValidatorDistributionInfoResponse.json
+++ b/source/json_tables/cosmos/distribution/QueryValidatorDistributionInfoResponse.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "self_bond_rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": "self_bond_rewards defines the self delegations rewards."
},
{
"Parameter": "commission",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": "commission defines the commission the validator received."
}
]
diff --git a/source/json_tables/cosmos/distribution/QueryValidatorSlashesRequest.json b/source/json_tables/cosmos/distribution/QueryValidatorSlashesRequest.json
index d8d96e12..eefee626 100644
--- a/source/json_tables/cosmos/distribution/QueryValidatorSlashesRequest.json
+++ b/source/json_tables/cosmos/distribution/QueryValidatorSlashesRequest.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/distribution/QueryValidatorSlashesResponse.json b/source/json_tables/cosmos/distribution/QueryValidatorSlashesResponse.json
index 14f9d376..33de4941 100644
--- a/source/json_tables/cosmos/distribution/QueryValidatorSlashesResponse.json
+++ b/source/json_tables/cosmos/distribution/QueryValidatorSlashesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/distribution/ValidatorAccumulatedCommission.json b/source/json_tables/cosmos/distribution/ValidatorAccumulatedCommission.json
index 279847d8..bf83b863 100644
--- a/source/json_tables/cosmos/distribution/ValidatorAccumulatedCommission.json
+++ b/source/json_tables/cosmos/distribution/ValidatorAccumulatedCommission.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "commission",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/distribution/ValidatorCurrentRewards.json b/source/json_tables/cosmos/distribution/ValidatorCurrentRewards.json
index 2b292c3e..102efafd 100644
--- a/source/json_tables/cosmos/distribution/ValidatorCurrentRewards.json
+++ b/source/json_tables/cosmos/distribution/ValidatorCurrentRewards.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/distribution/ValidatorHistoricalRewards.json b/source/json_tables/cosmos/distribution/ValidatorHistoricalRewards.json
index 75af3693..d079d55e 100644
--- a/source/json_tables/cosmos/distribution/ValidatorHistoricalRewards.json
+++ b/source/json_tables/cosmos/distribution/ValidatorHistoricalRewards.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "cumulative_reward_ratio",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/distribution/ValidatorOutstandingRewards.json b/source/json_tables/cosmos/distribution/ValidatorOutstandingRewards.json
index 0dc66fa5..7febb490 100644
--- a/source/json_tables/cosmos/distribution/ValidatorOutstandingRewards.json
+++ b/source/json_tables/cosmos/distribution/ValidatorOutstandingRewards.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/distribution/ValidatorOutstandingRewardsRecord.json b/source/json_tables/cosmos/distribution/ValidatorOutstandingRewardsRecord.json
index d5582485..e70a8b68 100644
--- a/source/json_tables/cosmos/distribution/ValidatorOutstandingRewardsRecord.json
+++ b/source/json_tables/cosmos/distribution/ValidatorOutstandingRewardsRecord.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "outstanding_rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.DecCoins",
+ "Type": "DecCoins",
"Description": "outstanding_rewards represents the outstanding rewards of a validator."
}
]
diff --git a/source/json_tables/cosmos/distribution/ValidatorSlashEvent.json b/source/json_tables/cosmos/distribution/ValidatorSlashEvent.json
index 7fb32d56..8b17324b 100644
--- a/source/json_tables/cosmos/distribution/ValidatorSlashEvent.json
+++ b/source/json_tables/cosmos/distribution/ValidatorSlashEvent.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "fraction",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/evidence/Equivocation.json b/source/json_tables/cosmos/evidence/Equivocation.json
index 1538d02b..79ce16a0 100644
--- a/source/json_tables/cosmos/evidence/Equivocation.json
+++ b/source/json_tables/cosmos/evidence/Equivocation.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "time is the equivocation time."
},
{
diff --git a/source/json_tables/cosmos/evidence/GenesisState.json b/source/json_tables/cosmos/evidence/GenesisState.json
index db4420cf..71e7bf3e 100644
--- a/source/json_tables/cosmos/evidence/GenesisState.json
+++ b/source/json_tables/cosmos/evidence/GenesisState.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "evidence",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "evidence defines all the evidence at genesis."
}
]
diff --git a/source/json_tables/cosmos/evidence/MsgSubmitEvidence.json b/source/json_tables/cosmos/evidence/MsgSubmitEvidence.json
index 311217fd..7900b78f 100644
--- a/source/json_tables/cosmos/evidence/MsgSubmitEvidence.json
+++ b/source/json_tables/cosmos/evidence/MsgSubmitEvidence.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "evidence",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "evidence defines the evidence of misbehavior.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/evidence/QueryAllEvidenceRequest.json b/source/json_tables/cosmos/evidence/QueryAllEvidenceRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/cosmos/evidence/QueryAllEvidenceRequest.json
+++ b/source/json_tables/cosmos/evidence/QueryAllEvidenceRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/evidence/QueryAllEvidenceResponse.json b/source/json_tables/cosmos/evidence/QueryAllEvidenceResponse.json
index 19f9a7ea..454b7f1c 100644
--- a/source/json_tables/cosmos/evidence/QueryAllEvidenceResponse.json
+++ b/source/json_tables/cosmos/evidence/QueryAllEvidenceResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "evidence",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "evidence returns all evidences."
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/evidence/QueryEvidenceResponse.json b/source/json_tables/cosmos/evidence/QueryEvidenceResponse.json
index efcdbdcd..f89ad09b 100644
--- a/source/json_tables/cosmos/evidence/QueryEvidenceResponse.json
+++ b/source/json_tables/cosmos/evidence/QueryEvidenceResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "evidence",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "evidence returns the requested evidence."
}
]
diff --git a/source/json_tables/cosmos/feegrant/AllowedMsgAllowance.json b/source/json_tables/cosmos/feegrant/AllowedMsgAllowance.json
index 588b27b1..35270e02 100644
--- a/source/json_tables/cosmos/feegrant/AllowedMsgAllowance.json
+++ b/source/json_tables/cosmos/feegrant/AllowedMsgAllowance.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "allowance",
- "Type": "types1.Any",
+ "Type": "Any",
"Description": "allowance can be any of basic and periodic fee allowance."
},
{
diff --git a/source/json_tables/cosmos/feegrant/BasicAllowance.json b/source/json_tables/cosmos/feegrant/BasicAllowance.json
index d0d4017c..2eab5b0d 100644
--- a/source/json_tables/cosmos/feegrant/BasicAllowance.json
+++ b/source/json_tables/cosmos/feegrant/BasicAllowance.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "spend_limit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "spend_limit specifies the maximum amount of coins that can be spent by this allowance and will be updated as coins are spent. If it is empty, there is no spend limit and any amount of coins can be spent."
},
{
"Parameter": "expiration",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "expiration specifies an optional time when this allowance expires"
}
]
diff --git a/source/json_tables/cosmos/feegrant/Grant.json b/source/json_tables/cosmos/feegrant/Grant.json
index 1d0dee47..455304b1 100644
--- a/source/json_tables/cosmos/feegrant/Grant.json
+++ b/source/json_tables/cosmos/feegrant/Grant.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "allowance",
- "Type": "types1.Any",
+ "Type": "Any",
"Description": "allowance can be any of basic, periodic, allowed fee allowance."
}
]
diff --git a/source/json_tables/cosmos/feegrant/MsgGrantAllowance.json b/source/json_tables/cosmos/feegrant/MsgGrantAllowance.json
index 7866899a..16a9cbd6 100644
--- a/source/json_tables/cosmos/feegrant/MsgGrantAllowance.json
+++ b/source/json_tables/cosmos/feegrant/MsgGrantAllowance.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "allowance",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "allowance can be any of basic, periodic, allowed fee allowance.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/feegrant/PeriodicAllowance.json b/source/json_tables/cosmos/feegrant/PeriodicAllowance.json
index 3026867c..212a58ec 100644
--- a/source/json_tables/cosmos/feegrant/PeriodicAllowance.json
+++ b/source/json_tables/cosmos/feegrant/PeriodicAllowance.json
@@ -6,22 +6,22 @@
},
{
"Parameter": "period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "period specifies the time duration in which period_spend_limit coins can be spent before that allowance is reset"
},
{
"Parameter": "period_spend_limit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "period_spend_limit specifies the maximum number of coins that can be spent in the period"
},
{
"Parameter": "period_can_spend",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "period_can_spend is the number of coins left to be spent before the period_reset time"
},
{
"Parameter": "period_reset",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "period_reset is the time at which this period resets and a new one begins, it is calculated from the start time of the first transaction after the last period ended"
}
]
diff --git a/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterRequest.json b/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterRequest.json
index e4ca7b55..07032efd 100644
--- a/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterRequest.json
+++ b/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterResponse.json b/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterResponse.json
index 4c383e2e..b8b74414 100644
--- a/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterResponse.json
+++ b/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines an pagination for the response."
}
]
diff --git a/source/json_tables/cosmos/feegrant/QueryAllowancesRequest.json b/source/json_tables/cosmos/feegrant/QueryAllowancesRequest.json
index 2b509775..d8598e42 100644
--- a/source/json_tables/cosmos/feegrant/QueryAllowancesRequest.json
+++ b/source/json_tables/cosmos/feegrant/QueryAllowancesRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/feegrant/QueryAllowancesResponse.json b/source/json_tables/cosmos/feegrant/QueryAllowancesResponse.json
index bcf3b4a9..76e80fd8 100644
--- a/source/json_tables/cosmos/feegrant/QueryAllowancesResponse.json
+++ b/source/json_tables/cosmos/feegrant/QueryAllowancesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines an pagination for the response."
}
]
diff --git a/source/json_tables/cosmos/genutil/GenesisState.json b/source/json_tables/cosmos/genutil/GenesisState.json
index 2466de42..35c79d55 100644
--- a/source/json_tables/cosmos/genutil/GenesisState.json
+++ b/source/json_tables/cosmos/genutil/GenesisState.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "gen_txs",
- "Type": "encoding_json.RawMessage array",
+ "Type": "RawMessage array",
"Description": "gen_txs defines the genesis transactions."
}
]
diff --git a/source/json_tables/cosmos/gov/v1/Deposit.json b/source/json_tables/cosmos/gov/v1/Deposit.json
index 15eb719b..a330499b 100644
--- a/source/json_tables/cosmos/gov/v1/Deposit.json
+++ b/source/json_tables/cosmos/gov/v1/Deposit.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin array",
+ "Type": "Coin array",
"Description": "amount to be deposited by depositor."
}
]
diff --git a/source/json_tables/cosmos/gov/v1/DepositParams.json b/source/json_tables/cosmos/gov/v1/DepositParams.json
index 866e80d4..9bf4bf22 100644
--- a/source/json_tables/cosmos/gov/v1/DepositParams.json
+++ b/source/json_tables/cosmos/gov/v1/DepositParams.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "min_deposit",
- "Type": "types.Coin array",
+ "Type": "Coin array",
"Description": "Minimum deposit for a proposal to enter voting period."
},
{
"Parameter": "max_deposit_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months."
}
]
diff --git a/source/json_tables/cosmos/gov/v1/MsgCancelProposalResponse.json b/source/json_tables/cosmos/gov/v1/MsgCancelProposalResponse.json
index c8760a73..ef371aa2 100644
--- a/source/json_tables/cosmos/gov/v1/MsgCancelProposalResponse.json
+++ b/source/json_tables/cosmos/gov/v1/MsgCancelProposalResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "canceled_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "canceled_time is the time when proposal is canceled."
},
{
diff --git a/source/json_tables/cosmos/gov/v1/MsgDeposit.json b/source/json_tables/cosmos/gov/v1/MsgDeposit.json
index 3d84f54d..4095e9e0 100644
--- a/source/json_tables/cosmos/gov/v1/MsgDeposit.json
+++ b/source/json_tables/cosmos/gov/v1/MsgDeposit.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types1.Coin array",
+ "Type": "Coin array",
"Description": "amount to be deposited by depositor.",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/gov/v1/MsgExecLegacyContent.json b/source/json_tables/cosmos/gov/v1/MsgExecLegacyContent.json
index 4324c54d..4210e7bc 100644
--- a/source/json_tables/cosmos/gov/v1/MsgExecLegacyContent.json
+++ b/source/json_tables/cosmos/gov/v1/MsgExecLegacyContent.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "content",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "content is the proposal's content.",
"Required": "No"
},
diff --git a/source/json_tables/cosmos/gov/v1/MsgSubmitProposal.json b/source/json_tables/cosmos/gov/v1/MsgSubmitProposal.json
index 0ce6440d..d7f0450c 100644
--- a/source/json_tables/cosmos/gov/v1/MsgSubmitProposal.json
+++ b/source/json_tables/cosmos/gov/v1/MsgSubmitProposal.json
@@ -1,13 +1,13 @@
[
{
"Parameter": "messages",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "messages are the arbitrary messages to be executed if proposal passes.",
"Required": "No"
},
{
"Parameter": "initial_deposit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "initial_deposit is the deposit value that must be paid at proposal submission.",
"Required": "Yes"
},
diff --git a/source/json_tables/cosmos/gov/v1/Params.json b/source/json_tables/cosmos/gov/v1/Params.json
index 87778333..30552f4e 100644
--- a/source/json_tables/cosmos/gov/v1/Params.json
+++ b/source/json_tables/cosmos/gov/v1/Params.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "min_deposit",
- "Type": "types.Coin array",
+ "Type": "Coin array",
"Description": "Minimum deposit for a proposal to enter voting period."
},
{
"Parameter": "max_deposit_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months."
},
{
"Parameter": "voting_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Duration of the voting period."
},
{
@@ -46,7 +46,7 @@
},
{
"Parameter": "expedited_voting_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Duration of the voting period of an expedited proposal. Since: cosmos-sdk 0.50"
},
{
@@ -56,7 +56,7 @@
},
{
"Parameter": "expedited_min_deposit",
- "Type": "types.Coin array",
+ "Type": "Coin array",
"Description": "Minimum expedited deposit for a proposal to enter voting period."
},
{
diff --git a/source/json_tables/cosmos/gov/v1/Proposal.json b/source/json_tables/cosmos/gov/v1/Proposal.json
index d4d80457..f1d9f903 100644
--- a/source/json_tables/cosmos/gov/v1/Proposal.json
+++ b/source/json_tables/cosmos/gov/v1/Proposal.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "messages",
- "Type": "types1.Any array",
+ "Type": "Any array",
"Description": "messages are the arbitrary messages to be executed if the proposal passes."
},
{
@@ -21,27 +21,27 @@
},
{
"Parameter": "submit_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "submit_time is the time of proposal submission."
},
{
"Parameter": "deposit_end_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "deposit_end_time is the end time for deposition."
},
{
"Parameter": "total_deposit",
- "Type": "types.Coin array",
+ "Type": "Coin array",
"Description": "total_deposit is the total deposit on the proposal."
},
{
"Parameter": "voting_start_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "voting_start_time is the starting time to vote on a proposal."
},
{
"Parameter": "voting_end_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "voting_end_time is the end time of voting on a proposal."
},
{
diff --git a/source/json_tables/cosmos/gov/v1/QueryDepositsRequest.json b/source/json_tables/cosmos/gov/v1/QueryDepositsRequest.json
index bea767fe..db8525bc 100644
--- a/source/json_tables/cosmos/gov/v1/QueryDepositsRequest.json
+++ b/source/json_tables/cosmos/gov/v1/QueryDepositsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/gov/v1/QueryDepositsResponse.json b/source/json_tables/cosmos/gov/v1/QueryDepositsResponse.json
index f5dc318a..86d2d5fc 100644
--- a/source/json_tables/cosmos/gov/v1/QueryDepositsResponse.json
+++ b/source/json_tables/cosmos/gov/v1/QueryDepositsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/gov/v1/QueryProposalsRequest.json b/source/json_tables/cosmos/gov/v1/QueryProposalsRequest.json
index a9fbd3cf..3f126ac7 100644
--- a/source/json_tables/cosmos/gov/v1/QueryProposalsRequest.json
+++ b/source/json_tables/cosmos/gov/v1/QueryProposalsRequest.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/gov/v1/QueryProposalsResponse.json b/source/json_tables/cosmos/gov/v1/QueryProposalsResponse.json
index 5e8a46ff..4e55b1fd 100644
--- a/source/json_tables/cosmos/gov/v1/QueryProposalsResponse.json
+++ b/source/json_tables/cosmos/gov/v1/QueryProposalsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/gov/v1/QueryVotesRequest.json b/source/json_tables/cosmos/gov/v1/QueryVotesRequest.json
index bea767fe..db8525bc 100644
--- a/source/json_tables/cosmos/gov/v1/QueryVotesRequest.json
+++ b/source/json_tables/cosmos/gov/v1/QueryVotesRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/gov/v1/QueryVotesResponse.json b/source/json_tables/cosmos/gov/v1/QueryVotesResponse.json
index 958e7556..3dd3a0b5 100644
--- a/source/json_tables/cosmos/gov/v1/QueryVotesResponse.json
+++ b/source/json_tables/cosmos/gov/v1/QueryVotesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/gov/v1/VotingParams.json b/source/json_tables/cosmos/gov/v1/VotingParams.json
index dfc98eb8..3e742777 100644
--- a/source/json_tables/cosmos/gov/v1/VotingParams.json
+++ b/source/json_tables/cosmos/gov/v1/VotingParams.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "voting_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Duration of the voting period."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/Deposit.json b/source/json_tables/cosmos/gov/v1beta1/Deposit.json
index de255990..f9a957ca 100644
--- a/source/json_tables/cosmos/gov/v1beta1/Deposit.json
+++ b/source/json_tables/cosmos/gov/v1beta1/Deposit.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "amount to be deposited by depositor."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/DepositParams.json b/source/json_tables/cosmos/gov/v1beta1/DepositParams.json
index 38b8e77d..e831c38d 100644
--- a/source/json_tables/cosmos/gov/v1beta1/DepositParams.json
+++ b/source/json_tables/cosmos/gov/v1beta1/DepositParams.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "min_deposit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Minimum deposit for a proposal to enter voting period."
},
{
"Parameter": "max_deposit_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/MsgDeposit.json b/source/json_tables/cosmos/gov/v1beta1/MsgDeposit.json
index 69f61628..d1e552d7 100644
--- a/source/json_tables/cosmos/gov/v1beta1/MsgDeposit.json
+++ b/source/json_tables/cosmos/gov/v1beta1/MsgDeposit.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "amount to be deposited by depositor.",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/gov/v1beta1/MsgSubmitProposal.json b/source/json_tables/cosmos/gov/v1beta1/MsgSubmitProposal.json
index 2e35b979..b5c05f02 100644
--- a/source/json_tables/cosmos/gov/v1beta1/MsgSubmitProposal.json
+++ b/source/json_tables/cosmos/gov/v1beta1/MsgSubmitProposal.json
@@ -1,13 +1,13 @@
[
{
"Parameter": "content",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "content is the proposal's content.",
"Required": "No"
},
{
"Parameter": "initial_deposit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "initial_deposit is the deposit value that must be paid at proposal submission.",
"Required": "Yes"
},
diff --git a/source/json_tables/cosmos/gov/v1beta1/Proposal.json b/source/json_tables/cosmos/gov/v1beta1/Proposal.json
index 34637d8a..c0108b66 100644
--- a/source/json_tables/cosmos/gov/v1beta1/Proposal.json
+++ b/source/json_tables/cosmos/gov/v1beta1/Proposal.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "content",
- "Type": "types1.Any",
+ "Type": "Any",
"Description": "content is the proposal's content."
},
{
@@ -21,27 +21,27 @@
},
{
"Parameter": "submit_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "submit_time is the time of proposal submission."
},
{
"Parameter": "deposit_end_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "deposit_end_time is the end time for deposition."
},
{
"Parameter": "total_deposit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "total_deposit is the total deposit on the proposal."
},
{
"Parameter": "voting_start_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "voting_start_time is the starting time to vote on a proposal."
},
{
"Parameter": "voting_end_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "voting_end_time is the end time of voting on a proposal."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/QueryDepositsRequest.json b/source/json_tables/cosmos/gov/v1beta1/QueryDepositsRequest.json
index bea767fe..db8525bc 100644
--- a/source/json_tables/cosmos/gov/v1beta1/QueryDepositsRequest.json
+++ b/source/json_tables/cosmos/gov/v1beta1/QueryDepositsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/gov/v1beta1/QueryDepositsResponse.json b/source/json_tables/cosmos/gov/v1beta1/QueryDepositsResponse.json
index f5dc318a..86d2d5fc 100644
--- a/source/json_tables/cosmos/gov/v1beta1/QueryDepositsResponse.json
+++ b/source/json_tables/cosmos/gov/v1beta1/QueryDepositsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/QueryProposalsRequest.json b/source/json_tables/cosmos/gov/v1beta1/QueryProposalsRequest.json
index a9fbd3cf..3f126ac7 100644
--- a/source/json_tables/cosmos/gov/v1beta1/QueryProposalsRequest.json
+++ b/source/json_tables/cosmos/gov/v1beta1/QueryProposalsRequest.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/gov/v1beta1/QueryProposalsResponse.json b/source/json_tables/cosmos/gov/v1beta1/QueryProposalsResponse.json
index 5e8a46ff..4e55b1fd 100644
--- a/source/json_tables/cosmos/gov/v1beta1/QueryProposalsResponse.json
+++ b/source/json_tables/cosmos/gov/v1beta1/QueryProposalsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/QueryVotesRequest.json b/source/json_tables/cosmos/gov/v1beta1/QueryVotesRequest.json
index bea767fe..db8525bc 100644
--- a/source/json_tables/cosmos/gov/v1beta1/QueryVotesRequest.json
+++ b/source/json_tables/cosmos/gov/v1beta1/QueryVotesRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/gov/v1beta1/QueryVotesResponse.json b/source/json_tables/cosmos/gov/v1beta1/QueryVotesResponse.json
index 958e7556..3dd3a0b5 100644
--- a/source/json_tables/cosmos/gov/v1beta1/QueryVotesResponse.json
+++ b/source/json_tables/cosmos/gov/v1beta1/QueryVotesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/TallyParams.json b/source/json_tables/cosmos/gov/v1beta1/TallyParams.json
index e740ee3c..7f97d727 100644
--- a/source/json_tables/cosmos/gov/v1beta1/TallyParams.json
+++ b/source/json_tables/cosmos/gov/v1beta1/TallyParams.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "quorum",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "Minimum percentage of total stake needed to vote for a result to be considered valid."
},
{
"Parameter": "threshold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5."
},
{
"Parameter": "veto_threshold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/TallyResult.json b/source/json_tables/cosmos/gov/v1beta1/TallyResult.json
index b5b00a65..93846f39 100644
--- a/source/json_tables/cosmos/gov/v1beta1/TallyResult.json
+++ b/source/json_tables/cosmos/gov/v1beta1/TallyResult.json
@@ -1,22 +1,22 @@
[
{
"Parameter": "yes",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "yes is the number of yes votes on a proposal."
},
{
"Parameter": "abstain",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "abstain is the number of abstain votes on a proposal."
},
{
"Parameter": "no",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "no is the number of no votes on a proposal."
},
{
"Parameter": "no_with_veto",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "no_with_veto is the number of no with veto votes on a proposal."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/VotingParams.json b/source/json_tables/cosmos/gov/v1beta1/VotingParams.json
index dfc98eb8..3e742777 100644
--- a/source/json_tables/cosmos/gov/v1beta1/VotingParams.json
+++ b/source/json_tables/cosmos/gov/v1beta1/VotingParams.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "voting_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "Duration of the voting period."
}
]
diff --git a/source/json_tables/cosmos/gov/v1beta1/WeightedVoteOption.json b/source/json_tables/cosmos/gov/v1beta1/WeightedVoteOption.json
index 418294b0..32aed1cf 100644
--- a/source/json_tables/cosmos/gov/v1beta1/WeightedVoteOption.json
+++ b/source/json_tables/cosmos/gov/v1beta1/WeightedVoteOption.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "weight",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "weight is the vote weight associated with the vote option."
}
]
diff --git a/source/json_tables/cosmos/group/DecisionPolicyWindows.json b/source/json_tables/cosmos/group/DecisionPolicyWindows.json
index 2b47fbf0..85c223be 100644
--- a/source/json_tables/cosmos/group/DecisionPolicyWindows.json
+++ b/source/json_tables/cosmos/group/DecisionPolicyWindows.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "voting_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "voting_period is the duration from submission of a proposal to the end of voting period Within this times votes can be submitted with MsgVote."
},
{
"Parameter": "min_execution_period",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "min_execution_period is the minimum duration after the proposal submission where members can start sending MsgExec. This means that the window for sending a MsgExec transaction is: `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` where max_execution_period is a app-specific config, defined in the keeper. If not set, min_execution_period will default to 0. Please make sure to set a `min_execution_period` that is smaller than `voting_period + max_execution_period`, or else the above execution window is empty, meaning that all proposals created with this decision policy won't be able to be executed."
}
]
diff --git a/source/json_tables/cosmos/group/GenesisState.json b/source/json_tables/cosmos/group/GenesisState.json
index 22e82832..bfb87f6c 100644
--- a/source/json_tables/cosmos/group/GenesisState.json
+++ b/source/json_tables/cosmos/group/GenesisState.json
@@ -2,7 +2,7 @@
{
"Parameter": "group_seq",
"Type": "uint64",
- "Description": "group_seq is the group table orm.Sequence, it is used to get the next group ID."
+ "Description": "group_seq is the group table sequence, it is used to get the next group ID."
},
{
"Parameter": "groups",
@@ -17,7 +17,7 @@
{
"Parameter": "group_policy_seq",
"Type": "uint64",
- "Description": "group_policy_seq is the group policy table orm.Sequence, it is used to generate the next group policy account address."
+ "Description": "group_policy_seq is the group policy table sequence, it is used to generate the next group policy account address."
},
{
"Parameter": "group_policies",
@@ -27,7 +27,7 @@
{
"Parameter": "proposal_seq",
"Type": "uint64",
- "Description": "proposal_seq is the proposal table orm.Sequence, it is used to get the next proposal ID."
+ "Description": "proposal_seq is the proposal table sequence, it is used to get the next proposal ID."
},
{
"Parameter": "proposals",
diff --git a/source/json_tables/cosmos/group/GroupInfo.json b/source/json_tables/cosmos/group/GroupInfo.json
index e850a20e..141edad0 100644
--- a/source/json_tables/cosmos/group/GroupInfo.json
+++ b/source/json_tables/cosmos/group/GroupInfo.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "created_at",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "created_at is a timestamp specifying when a group was created."
}
]
diff --git a/source/json_tables/cosmos/group/GroupPolicyInfo.json b/source/json_tables/cosmos/group/GroupPolicyInfo.json
index e57027a6..ea40ce5f 100644
--- a/source/json_tables/cosmos/group/GroupPolicyInfo.json
+++ b/source/json_tables/cosmos/group/GroupPolicyInfo.json
@@ -26,12 +26,12 @@
},
{
"Parameter": "decision_policy",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "decision_policy specifies the group policy's decision policy."
},
{
"Parameter": "created_at",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "created_at is a timestamp specifying when a group policy was created."
}
]
diff --git a/source/json_tables/cosmos/group/Member.json b/source/json_tables/cosmos/group/Member.json
index ff423201..588b7fe8 100644
--- a/source/json_tables/cosmos/group/Member.json
+++ b/source/json_tables/cosmos/group/Member.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "added_at",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "added_at is a timestamp specifying when a member was added."
}
]
diff --git a/source/json_tables/cosmos/group/MsgCreateGroupPolicy.json b/source/json_tables/cosmos/group/MsgCreateGroupPolicy.json
index a143b62c..c4a5429d 100644
--- a/source/json_tables/cosmos/group/MsgCreateGroupPolicy.json
+++ b/source/json_tables/cosmos/group/MsgCreateGroupPolicy.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "decision_policy",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "decision_policy specifies the group policy's decision policy.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/MsgCreateGroupWithPolicy.json b/source/json_tables/cosmos/group/MsgCreateGroupWithPolicy.json
index d5b14e20..0bcdf8cb 100644
--- a/source/json_tables/cosmos/group/MsgCreateGroupWithPolicy.json
+++ b/source/json_tables/cosmos/group/MsgCreateGroupWithPolicy.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "decision_policy",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "decision_policy specifies the group policy's decision policy.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/MsgSubmitProposal.json b/source/json_tables/cosmos/group/MsgSubmitProposal.json
index f207f6cd..6dbb8633 100644
--- a/source/json_tables/cosmos/group/MsgSubmitProposal.json
+++ b/source/json_tables/cosmos/group/MsgSubmitProposal.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "messages",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "messages is a list of `sdk.Msg`s that will be executed if the proposal passes.",
"Required": "No"
},
diff --git a/source/json_tables/cosmos/group/MsgUpdateGroupPolicyDecisionPolicy.json b/source/json_tables/cosmos/group/MsgUpdateGroupPolicyDecisionPolicy.json
index 0b9dba3a..7b6d5c6b 100644
--- a/source/json_tables/cosmos/group/MsgUpdateGroupPolicyDecisionPolicy.json
+++ b/source/json_tables/cosmos/group/MsgUpdateGroupPolicyDecisionPolicy.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "decision_policy",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "decision_policy is the updated group policy's decision policy.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/Proposal.json b/source/json_tables/cosmos/group/Proposal.json
index 915a8b92..a4e1d099 100644
--- a/source/json_tables/cosmos/group/Proposal.json
+++ b/source/json_tables/cosmos/group/Proposal.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "submit_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "submit_time is a timestamp specifying when a proposal was submitted."
},
{
@@ -46,7 +46,7 @@
},
{
"Parameter": "voting_period_end",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "voting_period_end is the timestamp before which voting must be done. Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done at this point, and the `final_tally_result`and `status` fields will be accordingly updated."
},
{
@@ -56,7 +56,7 @@
},
{
"Parameter": "messages",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "messages is a list of `sdk.Msg`s that will be executed if the proposal passes."
},
{
diff --git a/source/json_tables/cosmos/group/QueryGroupMembersRequest.json b/source/json_tables/cosmos/group/QueryGroupMembersRequest.json
index fd790927..18c2521f 100644
--- a/source/json_tables/cosmos/group/QueryGroupMembersRequest.json
+++ b/source/json_tables/cosmos/group/QueryGroupMembersRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryGroupMembersResponse.json b/source/json_tables/cosmos/group/QueryGroupMembersResponse.json
index 445b9fbc..f342f848 100644
--- a/source/json_tables/cosmos/group/QueryGroupMembersResponse.json
+++ b/source/json_tables/cosmos/group/QueryGroupMembersResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminRequest.json b/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminRequest.json
index 90c7dac5..770b3974 100644
--- a/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminRequest.json
+++ b/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminResponse.json b/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminResponse.json
index d0bea630..483ea105 100644
--- a/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminResponse.json
+++ b/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupRequest.json b/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupRequest.json
index 5d8e4ad4..35b0a632 100644
--- a/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupRequest.json
+++ b/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupResponse.json b/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupResponse.json
index 860c4843..d9c5bdd5 100644
--- a/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupResponse.json
+++ b/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/QueryGroupsByAdminRequest.json b/source/json_tables/cosmos/group/QueryGroupsByAdminRequest.json
index 5552ea47..ce34b51d 100644
--- a/source/json_tables/cosmos/group/QueryGroupsByAdminRequest.json
+++ b/source/json_tables/cosmos/group/QueryGroupsByAdminRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryGroupsByAdminResponse.json b/source/json_tables/cosmos/group/QueryGroupsByAdminResponse.json
index c9113e9e..e51b9432 100644
--- a/source/json_tables/cosmos/group/QueryGroupsByAdminResponse.json
+++ b/source/json_tables/cosmos/group/QueryGroupsByAdminResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/QueryGroupsByMemberRequest.json b/source/json_tables/cosmos/group/QueryGroupsByMemberRequest.json
index be238c48..56e51a2f 100644
--- a/source/json_tables/cosmos/group/QueryGroupsByMemberRequest.json
+++ b/source/json_tables/cosmos/group/QueryGroupsByMemberRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryGroupsByMemberResponse.json b/source/json_tables/cosmos/group/QueryGroupsByMemberResponse.json
index 6ec22637..d9dc6310 100644
--- a/source/json_tables/cosmos/group/QueryGroupsByMemberResponse.json
+++ b/source/json_tables/cosmos/group/QueryGroupsByMemberResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/QueryGroupsRequest.json b/source/json_tables/cosmos/group/QueryGroupsRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/cosmos/group/QueryGroupsRequest.json
+++ b/source/json_tables/cosmos/group/QueryGroupsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryGroupsResponse.json b/source/json_tables/cosmos/group/QueryGroupsResponse.json
index 5ff3fe82..58411261 100644
--- a/source/json_tables/cosmos/group/QueryGroupsResponse.json
+++ b/source/json_tables/cosmos/group/QueryGroupsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyRequest.json b/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyRequest.json
index 20112c01..d9b08124 100644
--- a/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyRequest.json
+++ b/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyResponse.json b/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyResponse.json
index a37228de..6ed13c49 100644
--- a/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyResponse.json
+++ b/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/QueryVotesByProposalRequest.json b/source/json_tables/cosmos/group/QueryVotesByProposalRequest.json
index a03d91da..2b0f768d 100644
--- a/source/json_tables/cosmos/group/QueryVotesByProposalRequest.json
+++ b/source/json_tables/cosmos/group/QueryVotesByProposalRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryVotesByProposalResponse.json b/source/json_tables/cosmos/group/QueryVotesByProposalResponse.json
index 50dd98d0..dbe30cf1 100644
--- a/source/json_tables/cosmos/group/QueryVotesByProposalResponse.json
+++ b/source/json_tables/cosmos/group/QueryVotesByProposalResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/QueryVotesByVoterRequest.json b/source/json_tables/cosmos/group/QueryVotesByVoterRequest.json
index f1a44ff1..98dfee2b 100644
--- a/source/json_tables/cosmos/group/QueryVotesByVoterRequest.json
+++ b/source/json_tables/cosmos/group/QueryVotesByVoterRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/group/QueryVotesByVoterResponse.json b/source/json_tables/cosmos/group/QueryVotesByVoterResponse.json
index b6154a90..b174d474 100644
--- a/source/json_tables/cosmos/group/QueryVotesByVoterResponse.json
+++ b/source/json_tables/cosmos/group/QueryVotesByVoterResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/group/Vote.json b/source/json_tables/cosmos/group/Vote.json
index 53d3f082..9baf2480 100644
--- a/source/json_tables/cosmos/group/Vote.json
+++ b/source/json_tables/cosmos/group/Vote.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "submit_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "submit_time is the timestamp when the vote was submitted."
}
]
diff --git a/source/json_tables/cosmos/mint/Minter.json b/source/json_tables/cosmos/mint/Minter.json
index 5832433a..252028be 100644
--- a/source/json_tables/cosmos/mint/Minter.json
+++ b/source/json_tables/cosmos/mint/Minter.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "inflation",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "current annual inflation rate"
},
{
"Parameter": "annual_provisions",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "current annual expected provisions"
}
]
diff --git a/source/json_tables/cosmos/mint/Params.json b/source/json_tables/cosmos/mint/Params.json
index 14b481e9..f48151b1 100644
--- a/source/json_tables/cosmos/mint/Params.json
+++ b/source/json_tables/cosmos/mint/Params.json
@@ -6,22 +6,22 @@
},
{
"Parameter": "inflation_rate_change",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maximum annual change in inflation rate"
},
{
"Parameter": "inflation_max",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maximum inflation rate"
},
{
"Parameter": "inflation_min",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "minimum inflation rate"
},
{
"Parameter": "goal_bonded",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "goal of percent bonded atoms"
},
{
diff --git a/source/json_tables/cosmos/mint/QueryAnnualProvisionsResponse.json b/source/json_tables/cosmos/mint/QueryAnnualProvisionsResponse.json
index 65486b07..56e827a0 100644
--- a/source/json_tables/cosmos/mint/QueryAnnualProvisionsResponse.json
+++ b/source/json_tables/cosmos/mint/QueryAnnualProvisionsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "annual_provisions",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "annual_provisions is the current minting annual provisions value."
}
]
diff --git a/source/json_tables/cosmos/mint/QueryInflationResponse.json b/source/json_tables/cosmos/mint/QueryInflationResponse.json
index b1098f22..02a4dd8a 100644
--- a/source/json_tables/cosmos/mint/QueryInflationResponse.json
+++ b/source/json_tables/cosmos/mint/QueryInflationResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "inflation",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "inflation is the current minting inflation value."
}
]
diff --git a/source/json_tables/cosmos/nft/Class.json b/source/json_tables/cosmos/nft/Class.json
index 5f8d6654..6a78c013 100644
--- a/source/json_tables/cosmos/nft/Class.json
+++ b/source/json_tables/cosmos/nft/Class.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "data",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "data is the app specific metadata of the NFT class. Optional"
}
]
diff --git a/source/json_tables/cosmos/nft/NFT.json b/source/json_tables/cosmos/nft/NFT.json
index 111d0866..ebf4c4e8 100644
--- a/source/json_tables/cosmos/nft/NFT.json
+++ b/source/json_tables/cosmos/nft/NFT.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "data",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "data is an app specific data of the NFT. Optional"
}
]
diff --git a/source/json_tables/cosmos/nft/QueryClassesRequest.json b/source/json_tables/cosmos/nft/QueryClassesRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/cosmos/nft/QueryClassesRequest.json
+++ b/source/json_tables/cosmos/nft/QueryClassesRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/nft/QueryClassesResponse.json b/source/json_tables/cosmos/nft/QueryClassesResponse.json
index 21689a47..0a45fa99 100644
--- a/source/json_tables/cosmos/nft/QueryClassesResponse.json
+++ b/source/json_tables/cosmos/nft/QueryClassesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/nft/QueryNFTsRequest.json b/source/json_tables/cosmos/nft/QueryNFTsRequest.json
index 14af7d98..dbd3549a 100644
--- a/source/json_tables/cosmos/nft/QueryNFTsRequest.json
+++ b/source/json_tables/cosmos/nft/QueryNFTsRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/nft/QueryNFTsResponse.json b/source/json_tables/cosmos/nft/QueryNFTsResponse.json
index 87fbbb80..9a677182 100644
--- a/source/json_tables/cosmos/nft/QueryNFTsResponse.json
+++ b/source/json_tables/cosmos/nft/QueryNFTsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/node/StatusResponse.json b/source/json_tables/cosmos/node/StatusResponse.json
index c6235acc..95debd67 100644
--- a/source/json_tables/cosmos/node/StatusResponse.json
+++ b/source/json_tables/cosmos/node/StatusResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "timestamp",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/slashing/Params.json b/source/json_tables/cosmos/slashing/Params.json
index 45b3cddd..8439b985 100644
--- a/source/json_tables/cosmos/slashing/Params.json
+++ b/source/json_tables/cosmos/slashing/Params.json
@@ -6,22 +6,22 @@
},
{
"Parameter": "min_signed_per_window",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "downtime_jail_duration",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": ""
},
{
"Parameter": "slash_fraction_double_sign",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "slash_fraction_downtime",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/slashing/QuerySigningInfosRequest.json b/source/json_tables/cosmos/slashing/QuerySigningInfosRequest.json
index 5e714e9a..ba3f6b36 100644
--- a/source/json_tables/cosmos/slashing/QuerySigningInfosRequest.json
+++ b/source/json_tables/cosmos/slashing/QuerySigningInfosRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/slashing/QuerySigningInfosResponse.json b/source/json_tables/cosmos/slashing/QuerySigningInfosResponse.json
index 6ac57e01..491d1711 100644
--- a/source/json_tables/cosmos/slashing/QuerySigningInfosResponse.json
+++ b/source/json_tables/cosmos/slashing/QuerySigningInfosResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/slashing/ValidatorSigningInfo.json b/source/json_tables/cosmos/slashing/ValidatorSigningInfo.json
index 467cb820..85bf2cc5 100644
--- a/source/json_tables/cosmos/slashing/ValidatorSigningInfo.json
+++ b/source/json_tables/cosmos/slashing/ValidatorSigningInfo.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "jailed_until",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "Timestamp until which the validator is jailed due to liveness downtime."
},
{
diff --git a/source/json_tables/cosmos/staking/Commission.json b/source/json_tables/cosmos/staking/Commission.json
index fd13d7c9..e5ee1462 100644
--- a/source/json_tables/cosmos/staking/Commission.json
+++ b/source/json_tables/cosmos/staking/Commission.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "update_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "update_time is the last time the commission rate was changed."
}
]
diff --git a/source/json_tables/cosmos/staking/CommissionRates.json b/source/json_tables/cosmos/staking/CommissionRates.json
index 8e21dd6e..ac096b30 100644
--- a/source/json_tables/cosmos/staking/CommissionRates.json
+++ b/source/json_tables/cosmos/staking/CommissionRates.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "rate is the commission rate charged to delegators, as a fraction."
},
{
"Parameter": "max_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "max_rate defines the maximum commission rate which validator can ever charge, as a fraction."
},
{
"Parameter": "max_change_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "max_change_rate defines the maximum daily increase of the validator commission, as a fraction."
}
]
diff --git a/source/json_tables/cosmos/staking/Delegation.json b/source/json_tables/cosmos/staking/Delegation.json
index 349d279b..ad0e49ef 100644
--- a/source/json_tables/cosmos/staking/Delegation.json
+++ b/source/json_tables/cosmos/staking/Delegation.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "shares",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "shares define the delegation shares received."
}
]
diff --git a/source/json_tables/cosmos/staking/DelegationResponse.json b/source/json_tables/cosmos/staking/DelegationResponse.json
index 6c70f468..4378c317 100644
--- a/source/json_tables/cosmos/staking/DelegationResponse.json
+++ b/source/json_tables/cosmos/staking/DelegationResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balance",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/staking/GenesisState.json b/source/json_tables/cosmos/staking/GenesisState.json
index 337a9220..c6ce9afb 100644
--- a/source/json_tables/cosmos/staking/GenesisState.json
+++ b/source/json_tables/cosmos/staking/GenesisState.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "last_total_power",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "last_total_power tracks the total amounts of bonded tokens recorded during the previous end block."
},
{
diff --git a/source/json_tables/cosmos/staking/HistoricalInfo.json b/source/json_tables/cosmos/staking/HistoricalInfo.json
index e85bfae8..2866aad2 100644
--- a/source/json_tables/cosmos/staking/HistoricalInfo.json
+++ b/source/json_tables/cosmos/staking/HistoricalInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "header",
- "Type": "v1.Header",
+ "Type": "Header",
"Description": ""
},
{
diff --git a/source/json_tables/cosmos/staking/MsgBeginRedelegate.json b/source/json_tables/cosmos/staking/MsgBeginRedelegate.json
index 4209e32d..b8456503 100644
--- a/source/json_tables/cosmos/staking/MsgBeginRedelegate.json
+++ b/source/json_tables/cosmos/staking/MsgBeginRedelegate.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "amount",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/staking/MsgBeginRedelegateResponse.json b/source/json_tables/cosmos/staking/MsgBeginRedelegateResponse.json
index a611a62c..39a59a9f 100644
--- a/source/json_tables/cosmos/staking/MsgBeginRedelegateResponse.json
+++ b/source/json_tables/cosmos/staking/MsgBeginRedelegateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "completion_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/staking/MsgCancelUnbondingDelegation.json b/source/json_tables/cosmos/staking/MsgCancelUnbondingDelegation.json
index 11cddbdd..f3adf915 100644
--- a/source/json_tables/cosmos/staking/MsgCancelUnbondingDelegation.json
+++ b/source/json_tables/cosmos/staking/MsgCancelUnbondingDelegation.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "amount is always less than or equal to unbonding delegation entry balance",
"Required": "Yes"
},
diff --git a/source/json_tables/cosmos/staking/MsgCreateValidator.json b/source/json_tables/cosmos/staking/MsgCreateValidator.json
index 74af0c96..16de7c8a 100644
--- a/source/json_tables/cosmos/staking/MsgCreateValidator.json
+++ b/source/json_tables/cosmos/staking/MsgCreateValidator.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "min_self_delegation",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "",
"Required": "Yes"
},
@@ -31,13 +31,13 @@
},
{
"Parameter": "pubkey",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "",
"Required": "No"
},
{
"Parameter": "value",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/staking/MsgDelegate.json b/source/json_tables/cosmos/staking/MsgDelegate.json
index 4f9abc7b..6b6e4fb2 100644
--- a/source/json_tables/cosmos/staking/MsgDelegate.json
+++ b/source/json_tables/cosmos/staking/MsgDelegate.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/staking/MsgEditValidator.json b/source/json_tables/cosmos/staking/MsgEditValidator.json
index 16f7769e..a1e3fb65 100644
--- a/source/json_tables/cosmos/staking/MsgEditValidator.json
+++ b/source/json_tables/cosmos/staking/MsgEditValidator.json
@@ -13,13 +13,13 @@
},
{
"Parameter": "commission_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "We pass a reference to the new commission rate and min self delegation as it's not mandatory to update. If not updated, the deserialized rate will be zero with no way to distinguish if an update was intended. REF: #2373",
"Required": "Yes"
},
{
"Parameter": "min_self_delegation",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/staking/MsgTransferDelegation.json b/source/json_tables/cosmos/staking/MsgTransferDelegation.json
index a020c121..f3d36d56 100644
--- a/source/json_tables/cosmos/staking/MsgTransferDelegation.json
+++ b/source/json_tables/cosmos/staking/MsgTransferDelegation.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "amount",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/staking/MsgUndelegate.json b/source/json_tables/cosmos/staking/MsgUndelegate.json
index 4f9abc7b..6b6e4fb2 100644
--- a/source/json_tables/cosmos/staking/MsgUndelegate.json
+++ b/source/json_tables/cosmos/staking/MsgUndelegate.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/cosmos/staking/MsgUndelegateResponse.json b/source/json_tables/cosmos/staking/MsgUndelegateResponse.json
index d4be619f..437462b5 100644
--- a/source/json_tables/cosmos/staking/MsgUndelegateResponse.json
+++ b/source/json_tables/cosmos/staking/MsgUndelegateResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "completion_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
},
{
"Parameter": "amount",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "amount returns the amount of undelegated coins Since: cosmos-sdk 0.50"
}
]
diff --git a/source/json_tables/cosmos/staking/Params.json b/source/json_tables/cosmos/staking/Params.json
index a538183f..efaaa640 100644
--- a/source/json_tables/cosmos/staking/Params.json
+++ b/source/json_tables/cosmos/staking/Params.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "unbonding_time",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "unbonding_time is the time duration of unbonding."
},
{
@@ -26,7 +26,7 @@
},
{
"Parameter": "min_commission_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators"
}
]
diff --git a/source/json_tables/cosmos/staking/Pool.json b/source/json_tables/cosmos/staking/Pool.json
index 53c31c09..e209be05 100644
--- a/source/json_tables/cosmos/staking/Pool.json
+++ b/source/json_tables/cosmos/staking/Pool.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "not_bonded_tokens",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
"Parameter": "bonded_tokens",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/staking/QueryDelegatorDelegationsRequest.json b/source/json_tables/cosmos/staking/QueryDelegatorDelegationsRequest.json
index ea5f4e96..f4beb1d9 100644
--- a/source/json_tables/cosmos/staking/QueryDelegatorDelegationsRequest.json
+++ b/source/json_tables/cosmos/staking/QueryDelegatorDelegationsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/staking/QueryDelegatorDelegationsResponse.json b/source/json_tables/cosmos/staking/QueryDelegatorDelegationsResponse.json
index 17513231..5e954e0d 100644
--- a/source/json_tables/cosmos/staking/QueryDelegatorDelegationsResponse.json
+++ b/source/json_tables/cosmos/staking/QueryDelegatorDelegationsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/staking/QueryDelegatorUnbondingDelegationsRequest.json b/source/json_tables/cosmos/staking/QueryDelegatorUnbondingDelegationsRequest.json
index ea5f4e96..f4beb1d9 100644
--- a/source/json_tables/cosmos/staking/QueryDelegatorUnbondingDelegationsRequest.json
+++ b/source/json_tables/cosmos/staking/QueryDelegatorUnbondingDelegationsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/staking/QueryDelegatorUnbondingDelegationsResponse.json b/source/json_tables/cosmos/staking/QueryDelegatorUnbondingDelegationsResponse.json
index bc317686..d910fbef 100644
--- a/source/json_tables/cosmos/staking/QueryDelegatorUnbondingDelegationsResponse.json
+++ b/source/json_tables/cosmos/staking/QueryDelegatorUnbondingDelegationsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/staking/QueryDelegatorValidatorsRequest.json b/source/json_tables/cosmos/staking/QueryDelegatorValidatorsRequest.json
index ea5f4e96..f4beb1d9 100644
--- a/source/json_tables/cosmos/staking/QueryDelegatorValidatorsRequest.json
+++ b/source/json_tables/cosmos/staking/QueryDelegatorValidatorsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/staking/QueryDelegatorValidatorsResponse.json b/source/json_tables/cosmos/staking/QueryDelegatorValidatorsResponse.json
index d851ed61..8f3f8e9e 100644
--- a/source/json_tables/cosmos/staking/QueryDelegatorValidatorsResponse.json
+++ b/source/json_tables/cosmos/staking/QueryDelegatorValidatorsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/staking/QueryRedelegationsRequest.json b/source/json_tables/cosmos/staking/QueryRedelegationsRequest.json
index 2650d73a..659b0044 100644
--- a/source/json_tables/cosmos/staking/QueryRedelegationsRequest.json
+++ b/source/json_tables/cosmos/staking/QueryRedelegationsRequest.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/staking/QueryRedelegationsResponse.json b/source/json_tables/cosmos/staking/QueryRedelegationsResponse.json
index 9f33d223..af1fa2de 100644
--- a/source/json_tables/cosmos/staking/QueryRedelegationsResponse.json
+++ b/source/json_tables/cosmos/staking/QueryRedelegationsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/staking/QueryValidatorDelegationsRequest.json b/source/json_tables/cosmos/staking/QueryValidatorDelegationsRequest.json
index 088d5a2a..1fb3e197 100644
--- a/source/json_tables/cosmos/staking/QueryValidatorDelegationsRequest.json
+++ b/source/json_tables/cosmos/staking/QueryValidatorDelegationsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/staking/QueryValidatorDelegationsResponse.json b/source/json_tables/cosmos/staking/QueryValidatorDelegationsResponse.json
index 0f04d777..bc4b7297 100644
--- a/source/json_tables/cosmos/staking/QueryValidatorDelegationsResponse.json
+++ b/source/json_tables/cosmos/staking/QueryValidatorDelegationsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/staking/QueryValidatorUnbondingDelegationsRequest.json b/source/json_tables/cosmos/staking/QueryValidatorUnbondingDelegationsRequest.json
index 088d5a2a..1fb3e197 100644
--- a/source/json_tables/cosmos/staking/QueryValidatorUnbondingDelegationsRequest.json
+++ b/source/json_tables/cosmos/staking/QueryValidatorUnbondingDelegationsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/staking/QueryValidatorUnbondingDelegationsResponse.json b/source/json_tables/cosmos/staking/QueryValidatorUnbondingDelegationsResponse.json
index bc317686..d910fbef 100644
--- a/source/json_tables/cosmos/staking/QueryValidatorUnbondingDelegationsResponse.json
+++ b/source/json_tables/cosmos/staking/QueryValidatorUnbondingDelegationsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/staking/QueryValidatorsRequest.json b/source/json_tables/cosmos/staking/QueryValidatorsRequest.json
index 1dea2366..23c38486 100644
--- a/source/json_tables/cosmos/staking/QueryValidatorsRequest.json
+++ b/source/json_tables/cosmos/staking/QueryValidatorsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/staking/QueryValidatorsResponse.json b/source/json_tables/cosmos/staking/QueryValidatorsResponse.json
index dc199a7f..5fb28e14 100644
--- a/source/json_tables/cosmos/staking/QueryValidatorsResponse.json
+++ b/source/json_tables/cosmos/staking/QueryValidatorsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/cosmos/staking/RedelegationEntry.json b/source/json_tables/cosmos/staking/RedelegationEntry.json
index 4a2b91e6..daa7f415 100644
--- a/source/json_tables/cosmos/staking/RedelegationEntry.json
+++ b/source/json_tables/cosmos/staking/RedelegationEntry.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "completion_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "completion_time defines the unix time for redelegation completion."
},
{
"Parameter": "initial_balance",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "initial_balance defines the initial balance when redelegation started."
},
{
"Parameter": "shares_dst",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "shares_dst is the amount of destination-validator shares created by redelegation."
},
{
diff --git a/source/json_tables/cosmos/staking/RedelegationEntryResponse.json b/source/json_tables/cosmos/staking/RedelegationEntryResponse.json
index 2fa178fe..ecd1fcc7 100644
--- a/source/json_tables/cosmos/staking/RedelegationEntryResponse.json
+++ b/source/json_tables/cosmos/staking/RedelegationEntryResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balance",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/staking/StakeAuthorization.json b/source/json_tables/cosmos/staking/StakeAuthorization.json
index dc59c136..49da2abc 100644
--- a/source/json_tables/cosmos/staking/StakeAuthorization.json
+++ b/source/json_tables/cosmos/staking/StakeAuthorization.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "max_tokens",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is empty, there is no spend limit and any amount of coins can be delegated."
},
{
diff --git a/source/json_tables/cosmos/staking/UnbondingDelegationEntry.json b/source/json_tables/cosmos/staking/UnbondingDelegationEntry.json
index 437304a6..482a9428 100644
--- a/source/json_tables/cosmos/staking/UnbondingDelegationEntry.json
+++ b/source/json_tables/cosmos/staking/UnbondingDelegationEntry.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "completion_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "completion_time is the unix time for unbonding completion."
},
{
"Parameter": "initial_balance",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "initial_balance defines the tokens initially scheduled to receive at completion."
},
{
"Parameter": "balance",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "balance defines the tokens to receive at completion."
},
{
diff --git a/source/json_tables/cosmos/staking/Validator.json b/source/json_tables/cosmos/staking/Validator.json
index e2f5c413..8110ed4c 100644
--- a/source/json_tables/cosmos/staking/Validator.json
+++ b/source/json_tables/cosmos/staking/Validator.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "consensus_pubkey",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "consensus_pubkey is the consensus public key of the validator, as a Protobuf Any."
},
{
@@ -21,12 +21,12 @@
},
{
"Parameter": "tokens",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "tokens define the delegated tokens (incl. self-delegation)."
},
{
"Parameter": "delegator_shares",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "delegator_shares defines total shares issued to a validator's delegators."
},
{
@@ -41,7 +41,7 @@
},
{
"Parameter": "unbonding_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "unbonding_time defines, if unbonding, the min time for the validator to complete unbonding."
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "min_self_delegation",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46"
},
{
diff --git a/source/json_tables/cosmos/staking/ValidatorUpdates.json b/source/json_tables/cosmos/staking/ValidatorUpdates.json
index af98cde9..aaf356b6 100644
--- a/source/json_tables/cosmos/staking/ValidatorUpdates.json
+++ b/source/json_tables/cosmos/staking/ValidatorUpdates.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "updates",
- "Type": "v11.ValidatorUpdate array",
+ "Type": "ValidatorUpdate array",
"Description": ""
}
]
diff --git a/source/json_tables/cosmos/tx/AuxSignerData.json b/source/json_tables/cosmos/tx/AuxSignerData.json
index 1d94393f..fc8e0106 100644
--- a/source/json_tables/cosmos/tx/AuxSignerData.json
+++ b/source/json_tables/cosmos/tx/AuxSignerData.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "mode",
- "Type": "signing.SignMode",
+ "Type": "SignMode",
"Description": "mode is the signing mode of the single signer."
},
{
diff --git a/source/json_tables/cosmos/tx/BroadcastTxResponse.json b/source/json_tables/cosmos/tx/BroadcastTxResponse.json
index b5d26817..acc59409 100644
--- a/source/json_tables/cosmos/tx/BroadcastTxResponse.json
+++ b/source/json_tables/cosmos/tx/BroadcastTxResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "tx_response",
- "Type": "types.TxResponse",
+ "Type": "TxResponse",
"Description": "tx_response is the queried TxResponses."
}
]
diff --git a/source/json_tables/cosmos/tx/Fee.json b/source/json_tables/cosmos/tx/Fee.json
index 5f9ca07c..c7e70d65 100644
--- a/source/json_tables/cosmos/tx/Fee.json
+++ b/source/json_tables/cosmos/tx/Fee.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "amount is the amount of coins to be paid as a fee"
},
{
diff --git a/source/json_tables/cosmos/tx/GetBlockWithTxsRequest.json b/source/json_tables/cosmos/tx/GetBlockWithTxsRequest.json
index 95bb9a09..b2521d40 100644
--- a/source/json_tables/cosmos/tx/GetBlockWithTxsRequest.json
+++ b/source/json_tables/cosmos/tx/GetBlockWithTxsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines a pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/cosmos/tx/GetBlockWithTxsResponse.json b/source/json_tables/cosmos/tx/GetBlockWithTxsResponse.json
index 6cde3873..3b5b3bca 100644
--- a/source/json_tables/cosmos/tx/GetBlockWithTxsResponse.json
+++ b/source/json_tables/cosmos/tx/GetBlockWithTxsResponse.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "block_id",
- "Type": "v1.BlockID",
+ "Type": "BlockID",
"Description": ""
},
{
"Parameter": "block",
- "Type": "v1.Block",
+ "Type": "Block",
"Description": ""
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines a pagination for the response."
}
]
diff --git a/source/json_tables/cosmos/tx/GetTxResponse.json b/source/json_tables/cosmos/tx/GetTxResponse.json
index 44d87462..8eb54a2d 100644
--- a/source/json_tables/cosmos/tx/GetTxResponse.json
+++ b/source/json_tables/cosmos/tx/GetTxResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "tx_response",
- "Type": "types.TxResponse",
+ "Type": "TxResponse",
"Description": "tx_response is the queried TxResponses."
}
]
diff --git a/source/json_tables/cosmos/tx/GetTxsEventRequest.json b/source/json_tables/cosmos/tx/GetTxsEventRequest.json
index 2e0e494f..059576d0 100644
--- a/source/json_tables/cosmos/tx/GetTxsEventRequest.json
+++ b/source/json_tables/cosmos/tx/GetTxsEventRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines a pagination for the request. Deprecated post v0.46.x: use page and limit instead.",
"Required": "No"
},
diff --git a/source/json_tables/cosmos/tx/GetTxsEventResponse.json b/source/json_tables/cosmos/tx/GetTxsEventResponse.json
index 572d02e0..88409703 100644
--- a/source/json_tables/cosmos/tx/GetTxsEventResponse.json
+++ b/source/json_tables/cosmos/tx/GetTxsEventResponse.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "tx_responses",
- "Type": "types.TxResponse array",
+ "Type": "TxResponse array",
"Description": "tx_responses is the list of queried TxResponses."
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines a pagination for the response. Deprecated post v0.46.x: use total instead."
},
{
diff --git a/source/json_tables/cosmos/tx/ModeInfo_Multi.json b/source/json_tables/cosmos/tx/ModeInfo_Multi.json
index a88fa949..67ef2b8e 100644
--- a/source/json_tables/cosmos/tx/ModeInfo_Multi.json
+++ b/source/json_tables/cosmos/tx/ModeInfo_Multi.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "bitarray",
- "Type": "types1.CompactBitArray",
+ "Type": "CompactBitArray",
"Description": "bitarray specifies which keys within the multisig are signing"
},
{
diff --git a/source/json_tables/cosmos/tx/ModeInfo_Single.json b/source/json_tables/cosmos/tx/ModeInfo_Single.json
index 2c027793..d937a3cc 100644
--- a/source/json_tables/cosmos/tx/ModeInfo_Single.json
+++ b/source/json_tables/cosmos/tx/ModeInfo_Single.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "mode",
- "Type": "signing.SignMode",
+ "Type": "SignMode",
"Description": "mode is the signing mode of the single signer"
}
]
diff --git a/source/json_tables/cosmos/tx/SignDocDirectAux.json b/source/json_tables/cosmos/tx/SignDocDirectAux.json
index 03ef5aa0..62caa90c 100644
--- a/source/json_tables/cosmos/tx/SignDocDirectAux.json
+++ b/source/json_tables/cosmos/tx/SignDocDirectAux.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "public_key",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "public_key is the public key of the signing account."
},
{
diff --git a/source/json_tables/cosmos/tx/SignerInfo.json b/source/json_tables/cosmos/tx/SignerInfo.json
index 240cac1b..2c9415e0 100644
--- a/source/json_tables/cosmos/tx/SignerInfo.json
+++ b/source/json_tables/cosmos/tx/SignerInfo.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "public_key",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "public_key is the public key of the signer. It is optional for accounts that already exist in state. If unset, the verifier can use the required \\ signer address for this position and lookup the public key."
},
{
diff --git a/source/json_tables/cosmos/tx/SimulateResponse.json b/source/json_tables/cosmos/tx/SimulateResponse.json
index 2a06651b..1aaf983d 100644
--- a/source/json_tables/cosmos/tx/SimulateResponse.json
+++ b/source/json_tables/cosmos/tx/SimulateResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "gas_info",
- "Type": "types.GasInfo",
+ "Type": "GasInfo",
"Description": "gas_info is the information about gas used in the simulation."
},
{
"Parameter": "result",
- "Type": "types.Result",
+ "Type": "Result",
"Description": "result is the result of the simulation."
}
]
diff --git a/source/json_tables/cosmos/tx/Tip.json b/source/json_tables/cosmos/tx/Tip.json
index 133b11e2..5867b6a0 100644
--- a/source/json_tables/cosmos/tx/Tip.json
+++ b/source/json_tables/cosmos/tx/Tip.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "amount is the amount of the tip"
},
{
diff --git a/source/json_tables/cosmos/tx/TxBody.json b/source/json_tables/cosmos/tx/TxBody.json
index aeb36615..22a01007 100644
--- a/source/json_tables/cosmos/tx/TxBody.json
+++ b/source/json_tables/cosmos/tx/TxBody.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "messages",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction."
},
{
@@ -16,12 +16,12 @@
},
{
"Parameter": "extension_options",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected"
},
{
"Parameter": "non_critical_extension_options",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": "extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored"
}
]
diff --git a/source/json_tables/cosmos/tx/signing/SignatureDescriptor.json b/source/json_tables/cosmos/tx/signing/SignatureDescriptor.json
index 0f44a8f2..d91963db 100644
--- a/source/json_tables/cosmos/tx/signing/SignatureDescriptor.json
+++ b/source/json_tables/cosmos/tx/signing/SignatureDescriptor.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "public_key",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "public_key is the public key of the signer"
},
{
diff --git a/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi.json b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi.json
index f52968c2..2c580a2d 100644
--- a/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi.json
+++ b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "bitarray",
- "Type": "types1.CompactBitArray",
+ "Type": "CompactBitArray",
"Description": "bitarray specifies which keys within the multisig are signing"
},
{
diff --git a/source/json_tables/cosmos/upgrade/Plan.json b/source/json_tables/cosmos/upgrade/Plan.json
index 211204d3..9cae91d9 100644
--- a/source/json_tables/cosmos/upgrade/Plan.json
+++ b/source/json_tables/cosmos/upgrade/Plan.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown."
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "upgraded_client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown."
}
]
diff --git a/source/json_tables/errors/chainlink_errors.json b/source/json_tables/errors/chainlink_errors.json
deleted file mode 100644
index 4c66bf7b..00000000
--- a/source/json_tables/errors/chainlink_errors.json
+++ /dev/null
@@ -1,117 +0,0 @@
-[
- {
- "module_name": "chainlink",
- "error_code": 1,
- "description": "stale report"
- },
- {
- "module_name": "chainlink",
- "error_code": 2,
- "description": "incomplete proposal"
- },
- {
- "module_name": "chainlink",
- "error_code": 3,
- "description": "repeated oracle address"
- },
- {
- "module_name": "chainlink",
- "error_code": 4,
- "description": "too many signers"
- },
- {
- "module_name": "chainlink",
- "error_code": 5,
- "description": "incorrect config"
- },
- {
- "module_name": "chainlink",
- "error_code": 6,
- "description": "config digest doesn't match"
- },
- {
- "module_name": "chainlink",
- "error_code": 7,
- "description": "wrong number of signatures"
- },
- {
- "module_name": "chainlink",
- "error_code": 8,
- "description": "incorrect signature"
- },
- {
- "module_name": "chainlink",
- "error_code": 9,
- "description": "no transmitter specified"
- },
- {
- "module_name": "chainlink",
- "error_code": 10,
- "description": "incorrect transmission data"
- },
- {
- "module_name": "chainlink",
- "error_code": 11,
- "description": "no transmissions found"
- },
- {
- "module_name": "chainlink",
- "error_code": 12,
- "description": "median value is out of bounds"
- },
- {
- "module_name": "chainlink",
- "error_code": 13,
- "description": "LINK denom doesn't match"
- },
- {
- "module_name": "chainlink",
- "error_code": 14,
- "description": "Reward Pool doesn't exist"
- },
- {
- "module_name": "chainlink",
- "error_code": 15,
- "description": "wrong number of payees and transmitters"
- },
- {
- "module_name": "chainlink",
- "error_code": 16,
- "description": "action is restricted to the module admin"
- },
- {
- "module_name": "chainlink",
- "error_code": 17,
- "description": "feed already exists"
- },
- {
- "module_name": "chainlink",
- "error_code": 19,
- "description": "feed doesnt exists"
- },
- {
- "module_name": "chainlink",
- "error_code": 20,
- "description": "action is admin-restricted"
- },
- {
- "module_name": "chainlink",
- "error_code": 21,
- "description": "insufficient reward pool"
- },
- {
- "module_name": "chainlink",
- "error_code": 22,
- "description": "payee already set"
- },
- {
- "module_name": "chainlink",
- "error_code": 23,
- "description": "action is payee-restricted"
- },
- {
- "module_name": "chainlink",
- "error_code": 24,
- "description": "feed config not found"
- }
-]
diff --git a/source/json_tables/errors/evm_errors.json b/source/json_tables/errors/evm_errors.json
index a187e3be..35d80356 100644
--- a/source/json_tables/errors/evm_errors.json
+++ b/source/json_tables/errors/evm_errors.json
@@ -113,5 +113,10 @@
"module_name": "evm",
"error_code": 24,
"description": "EVM Create operation is not authorized for user"
+ },
+ {
+ "module_name": "evm",
+ "error_code": 25,
+ "description": "address is not allowed to receive funds"
}
]
diff --git a/source/json_tables/errors/exchange_errors.json b/source/json_tables/errors/exchange_errors.json
index 1b016796..db8f7e41 100644
--- a/source/json_tables/errors/exchange_errors.json
+++ b/source/json_tables/errors/exchange_errors.json
@@ -94,11 +94,6 @@
"error_code": 19,
"description": "order doesnt exist"
},
- {
- "module_name": "exchange",
- "error_code": 20,
- "description": "spot limit orderbook fill invalid"
- },
{
"module_name": "exchange",
"error_code": 21,
diff --git a/source/json_tables/errors/vouchers_errors.json b/source/json_tables/errors/vouchers_errors.json
new file mode 100644
index 00000000..bd4cc1ff
--- /dev/null
+++ b/source/json_tables/errors/vouchers_errors.json
@@ -0,0 +1,7 @@
+[
+ {
+ "module_name": "vouchers",
+ "error_code": 1,
+ "description": "voucher not found"
+ }
+]
diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgRegisterInterchainAccount.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgRegisterInterchainAccount.json
index 9fbdeb5e..8c65a817 100644
--- a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgRegisterInterchainAccount.json
+++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgRegisterInterchainAccount.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "ordering",
- "Type": "types.Order",
+ "Type": "Order",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgSendTx.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgSendTx.json
index 46a61350..6e627186 100644
--- a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgSendTx.json
+++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgSendTx.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "packet_data",
- "Type": "types1.InterchainAccountPacketData",
+ "Type": "InterchainAccountPacketData",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/ControllerGenesisState.json b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/ControllerGenesisState.json
index 672eee21..9eb3cf82 100644
--- a/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/ControllerGenesisState.json
+++ b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/ControllerGenesisState.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "params",
- "Type": "types.Params",
+ "Type": "Params",
"Description": ""
}
]
diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/HostGenesisState.json b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/HostGenesisState.json
index e5386da0..61cd58b6 100644
--- a/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/HostGenesisState.json
+++ b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/HostGenesisState.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "params",
- "Type": "types1.Params",
+ "Type": "Params",
"Description": ""
}
]
diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/types/CosmosTx.json b/source/json_tables/ibc/apps/27-interchain-accounts/types/CosmosTx.json
index 84bd08c0..78bc80bd 100644
--- a/source/json_tables/ibc/apps/27-interchain-accounts/types/CosmosTx.json
+++ b/source/json_tables/ibc/apps/27-interchain-accounts/types/CosmosTx.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "messages",
- "Type": "types.Any array",
+ "Type": "Any array",
"Description": ""
}
]
diff --git a/source/json_tables/ibc/apps/29-fee/types/Fee.json b/source/json_tables/ibc/apps/29-fee/types/Fee.json
index 72ab2541..cff19cf1 100644
--- a/source/json_tables/ibc/apps/29-fee/types/Fee.json
+++ b/source/json_tables/ibc/apps/29-fee/types/Fee.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "recv_fee",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "the packet receive fee"
},
{
"Parameter": "ack_fee",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "the packet acknowledgement fee"
},
{
"Parameter": "timeout_fee",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "the packet timeout fee"
}
]
diff --git a/source/json_tables/ibc/apps/29-fee/types/ForwardRelayerAddress.json b/source/json_tables/ibc/apps/29-fee/types/ForwardRelayerAddress.json
index 5bf5062e..b4cc5adf 100644
--- a/source/json_tables/ibc/apps/29-fee/types/ForwardRelayerAddress.json
+++ b/source/json_tables/ibc/apps/29-fee/types/ForwardRelayerAddress.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "packet_id",
- "Type": "types.PacketId",
+ "Type": "PacketId",
"Description": "unique packet identifer comprised of the channel ID, port ID and sequence"
}
]
diff --git a/source/json_tables/ibc/apps/29-fee/types/IdentifiedPacketFees.json b/source/json_tables/ibc/apps/29-fee/types/IdentifiedPacketFees.json
index af2d8097..72292783 100644
--- a/source/json_tables/ibc/apps/29-fee/types/IdentifiedPacketFees.json
+++ b/source/json_tables/ibc/apps/29-fee/types/IdentifiedPacketFees.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "packet_id",
- "Type": "types1.PacketId",
+ "Type": "PacketId",
"Description": "unique packet identifier comprised of the channel ID, port ID and sequence"
},
{
diff --git a/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFeeAsync.json b/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFeeAsync.json
index 3321b282..98648c9e 100644
--- a/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFeeAsync.json
+++ b/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFeeAsync.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "packet_id",
- "Type": "types.PacketId",
+ "Type": "PacketId",
"Description": "unique packet identifier comprised of the channel ID, port ID and sequence",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsRequest.json
index 4a1d4be1..12cb66af 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsRequest.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
},
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsResponse.json
index 5728680c..8d7b5540 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsResponse.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketRequest.json
index e1ac54ca..08f4a22c 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketRequest.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "packet_id",
- "Type": "types.PacketId",
+ "Type": "PacketId",
"Description": "unique packet identifier comprised of channel ID, port ID and sequence",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelRequest.json
index 9755f48f..a40eca5f 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelRequest.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
},
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelResponse.json
index 02c4051e..2476acc3 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelResponse.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsRequest.json
index 4a1d4be1..12cb66af 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsRequest.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
},
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsResponse.json
index 5b88422c..4606a758 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsResponse.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesRequest.json
index e203108b..89acb8f1 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesRequest.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "packet_id",
- "Type": "types.PacketId",
+ "Type": "PacketId",
"Description": "the packet identifier for the associated fees",
"Required": "Yes"
}
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesResponse.json
index a97b183c..3e45b58a 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesResponse.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "ack_fees",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "the total packet acknowledgement fees"
}
]
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesRequest.json
index e203108b..89acb8f1 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesRequest.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "packet_id",
- "Type": "types.PacketId",
+ "Type": "PacketId",
"Description": "the packet identifier for the associated fees",
"Required": "Yes"
}
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesResponse.json
index c7f00809..216ce97e 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesResponse.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "recv_fees",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "the total packet receive fees"
}
]
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesRequest.json
index e203108b..89acb8f1 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesRequest.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "packet_id",
- "Type": "types.PacketId",
+ "Type": "PacketId",
"Description": "the packet identifier for the associated fees",
"Required": "Yes"
}
diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesResponse.json
index c10dc2c8..7db9848d 100644
--- a/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesResponse.json
+++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "timeout_fees",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "the total packet timeout fees"
}
]
diff --git a/source/json_tables/ibc/apps/transfer/types/Allocation.json b/source/json_tables/ibc/apps/transfer/types/Allocation.json
index f6eef2a9..97f7b544 100644
--- a/source/json_tables/ibc/apps/transfer/types/Allocation.json
+++ b/source/json_tables/ibc/apps/transfer/types/Allocation.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "spend_limit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "spend limitation on the channel"
},
{
diff --git a/source/json_tables/ibc/apps/transfer/types/GenesisState.json b/source/json_tables/ibc/apps/transfer/types/GenesisState.json
index d083f6e3..0335e381 100644
--- a/source/json_tables/ibc/apps/transfer/types/GenesisState.json
+++ b/source/json_tables/ibc/apps/transfer/types/GenesisState.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "total_escrowed",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "total_escrowed contains the total amount of tokens escrowed by the transfer module"
}
]
diff --git a/source/json_tables/ibc/apps/transfer/types/MsgTransfer.json b/source/json_tables/ibc/apps/transfer/types/MsgTransfer.json
index e6269d80..71bb43ff 100644
--- a/source/json_tables/ibc/apps/transfer/types/MsgTransfer.json
+++ b/source/json_tables/ibc/apps/transfer/types/MsgTransfer.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "token",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "the tokens to be transferred",
"Required": "Yes"
},
@@ -31,7 +31,7 @@
},
{
"Parameter": "timeout_height",
- "Type": "types1.Height",
+ "Type": "Height",
"Description": "Timeout height relative to the current block height. The timeout is disabled when set to 0.",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesRequest.json b/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesRequest.json
+++ b/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesResponse.json b/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesResponse.json
index dce74bde..5a334715 100644
--- a/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesResponse.json
+++ b/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomResponse.json b/source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomResponse.json
index 043cecec..e153d77b 100644
--- a/source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomResponse.json
+++ b/source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": ""
}
]
diff --git a/source/json_tables/ibc/core/02-client/types/ConsensusStateWithHeight.json b/source/json_tables/ibc/core/02-client/types/ConsensusStateWithHeight.json
index 0d2dcb21..d99ebb1b 100644
--- a/source/json_tables/ibc/core/02-client/types/ConsensusStateWithHeight.json
+++ b/source/json_tables/ibc/core/02-client/types/ConsensusStateWithHeight.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "consensus_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "consensus state"
}
]
diff --git a/source/json_tables/ibc/core/02-client/types/IdentifiedClientState.json b/source/json_tables/ibc/core/02-client/types/IdentifiedClientState.json
index befe318e..b65a4bbc 100644
--- a/source/json_tables/ibc/core/02-client/types/IdentifiedClientState.json
+++ b/source/json_tables/ibc/core/02-client/types/IdentifiedClientState.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "client state"
}
]
diff --git a/source/json_tables/ibc/core/02-client/types/MsgCreateClient.json b/source/json_tables/ibc/core/02-client/types/MsgCreateClient.json
index 13136da0..98e4558c 100644
--- a/source/json_tables/ibc/core/02-client/types/MsgCreateClient.json
+++ b/source/json_tables/ibc/core/02-client/types/MsgCreateClient.json
@@ -1,13 +1,13 @@
[
{
"Parameter": "client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "light client state",
"Required": "No"
},
{
"Parameter": "consensus_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "consensus state associated with the client that corresponds to a given height.",
"Required": "No"
},
diff --git a/source/json_tables/ibc/core/02-client/types/MsgIBCSoftwareUpgrade.json b/source/json_tables/ibc/core/02-client/types/MsgIBCSoftwareUpgrade.json
index 03d41a2b..fe77fa24 100644
--- a/source/json_tables/ibc/core/02-client/types/MsgIBCSoftwareUpgrade.json
+++ b/source/json_tables/ibc/core/02-client/types/MsgIBCSoftwareUpgrade.json
@@ -1,13 +1,13 @@
[
{
"Parameter": "plan",
- "Type": "types1.Plan",
+ "Type": "Plan",
"Description": "",
"Required": "Yes"
},
{
"Parameter": "upgraded_client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "An UpgradedClientState must be provided to perform an IBC breaking upgrade. This will make the chain commit to the correct upgraded (self) client state before the upgrade occurs, so that connecting chains can verify that the new upgraded client is valid by verifying a proof on the previous version of the chain. This will allow IBC connections to persist smoothly across planned chain upgrades. Correspondingly, the UpgradedClientState field has been deprecated in the Cosmos SDK to allow for this logic to exist solely in the 02-client module.",
"Required": "No"
},
diff --git a/source/json_tables/ibc/core/02-client/types/MsgSubmitMisbehaviour.json b/source/json_tables/ibc/core/02-client/types/MsgSubmitMisbehaviour.json
index 7d1a41ed..464a0bee 100644
--- a/source/json_tables/ibc/core/02-client/types/MsgSubmitMisbehaviour.json
+++ b/source/json_tables/ibc/core/02-client/types/MsgSubmitMisbehaviour.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "misbehaviour",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "misbehaviour used for freezing the light client",
"Required": "No"
},
diff --git a/source/json_tables/ibc/core/02-client/types/MsgUpdateClient.json b/source/json_tables/ibc/core/02-client/types/MsgUpdateClient.json
index c5b10bfd..03467e2e 100644
--- a/source/json_tables/ibc/core/02-client/types/MsgUpdateClient.json
+++ b/source/json_tables/ibc/core/02-client/types/MsgUpdateClient.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "client_message",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "client message to update the light client",
"Required": "No"
},
diff --git a/source/json_tables/ibc/core/02-client/types/MsgUpgradeClient.json b/source/json_tables/ibc/core/02-client/types/MsgUpgradeClient.json
index 2a669cf9..14efb646 100644
--- a/source/json_tables/ibc/core/02-client/types/MsgUpgradeClient.json
+++ b/source/json_tables/ibc/core/02-client/types/MsgUpgradeClient.json
@@ -7,13 +7,13 @@
},
{
"Parameter": "client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "upgraded client state",
"Required": "No"
},
{
"Parameter": "consensus_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "upgraded consensus state, only contains enough information to serve as a basis of trust in update logic",
"Required": "No"
},
diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientStateResponse.json b/source/json_tables/ibc/core/02-client/types/QueryClientStateResponse.json
index fcc82619..f47e80d1 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryClientStateResponse.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryClientStateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "client state associated with the request identifier"
},
{
diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientStatesRequest.json b/source/json_tables/ibc/core/02-client/types/QueryClientStatesRequest.json
index bb7e1a45..d0b7f9db 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryClientStatesRequest.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryClientStatesRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination request",
"Required": "No"
}
diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientStatesResponse.json b/source/json_tables/ibc/core/02-client/types/QueryClientStatesResponse.json
index 089abc89..6abd2a54 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryClientStatesResponse.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryClientStatesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination response"
}
]
diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsRequest.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsRequest.json
index 9cb28825..8cb9f724 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsRequest.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination request",
"Required": "No"
}
diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsResponse.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsResponse.json
index 4a31d4ec..dd69efa9 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsResponse.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination response"
}
]
diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateResponse.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateResponse.json
index 186615b3..2e84369b 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateResponse.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "consensus state associated with the client identifier at the given height"
},
{
diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesRequest.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesRequest.json
index 9cb28825..8cb9f724 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesRequest.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination request",
"Required": "No"
}
diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesResponse.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesResponse.json
index 199a7645..104c0ff4 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesResponse.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination response"
}
]
diff --git a/source/json_tables/ibc/core/02-client/types/QueryUpgradedClientStateResponse.json b/source/json_tables/ibc/core/02-client/types/QueryUpgradedClientStateResponse.json
index 5ed20a4d..534845b9 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryUpgradedClientStateResponse.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryUpgradedClientStateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "upgraded_client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "client state associated with the request identifier"
}
]
diff --git a/source/json_tables/ibc/core/02-client/types/QueryUpgradedConsensusStateResponse.json b/source/json_tables/ibc/core/02-client/types/QueryUpgradedConsensusStateResponse.json
index c53280fb..f2483bb1 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryUpgradedConsensusStateResponse.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryUpgradedConsensusStateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "upgraded_consensus_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "Consensus state associated with the request identifier"
}
]
diff --git a/source/json_tables/ibc/core/02-client/types/QueryVerifyMembershipRequest.json b/source/json_tables/ibc/core/02-client/types/QueryVerifyMembershipRequest.json
index 797ec959..b19e4856 100644
--- a/source/json_tables/ibc/core/02-client/types/QueryVerifyMembershipRequest.json
+++ b/source/json_tables/ibc/core/02-client/types/QueryVerifyMembershipRequest.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "merkle_path",
- "Type": "types1.MerklePath",
+ "Type": "MerklePath",
"Description": "the commitment key path.",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/02-client/types/UpgradeProposal.json b/source/json_tables/ibc/core/02-client/types/UpgradeProposal.json
index 78fdf036..df853b01 100644
--- a/source/json_tables/ibc/core/02-client/types/UpgradeProposal.json
+++ b/source/json_tables/ibc/core/02-client/types/UpgradeProposal.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "plan",
- "Type": "types1.Plan",
+ "Type": "Plan",
"Description": ""
},
{
"Parameter": "upgraded_client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "An UpgradedClientState must be provided to perform an IBC breaking upgrade. This will make the chain commit to the correct upgraded (self) client state before the upgrade occurs, so that connecting chains can verify that the new upgraded client is valid by verifying a proof on the previous version of the chain. This will allow IBC connections to persist smoothly across planned chain upgrades"
}
]
diff --git a/source/json_tables/ibc/core/03-connection/types/Counterparty.json b/source/json_tables/ibc/core/03-connection/types/Counterparty.json
index fc436554..485aa219 100644
--- a/source/json_tables/ibc/core/03-connection/types/Counterparty.json
+++ b/source/json_tables/ibc/core/03-connection/types/Counterparty.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "prefix",
- "Type": "types.MerklePrefix",
+ "Type": "MerklePrefix",
"Description": "commitment merkle prefix of the counterparty chain."
}
]
diff --git a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenAck.json b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenAck.json
index 15e85f12..1a2341c2 100644
--- a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenAck.json
+++ b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenAck.json
@@ -19,13 +19,13 @@
},
{
"Parameter": "client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "",
"Required": "No"
},
{
"Parameter": "proof_height",
- "Type": "types1.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
@@ -49,7 +49,7 @@
},
{
"Parameter": "consensus_height",
- "Type": "types1.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenConfirm.json b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenConfirm.json
index 30493520..5a0760c4 100644
--- a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenConfirm.json
+++ b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenConfirm.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types1.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenTry.json b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenTry.json
index 68cce25a..3a8f2906 100644
--- a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenTry.json
+++ b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenTry.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "client_state",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "",
"Required": "No"
},
@@ -37,7 +37,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types1.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
@@ -61,7 +61,7 @@
},
{
"Parameter": "consensus_height",
- "Type": "types1.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/03-connection/types/QueryClientConnectionsResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryClientConnectionsResponse.json
index 363b460f..e67a2042 100644
--- a/source/json_tables/ibc/core/03-connection/types/QueryClientConnectionsResponse.json
+++ b/source/json_tables/ibc/core/03-connection/types/QueryClientConnectionsResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was generated"
}
]
diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateResponse.json
index 29b68ef8..88f595f6 100644
--- a/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateResponse.json
+++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "identified_client_state",
- "Type": "types.IdentifiedClientState",
+ "Type": "IdentifiedClientState",
"Description": "client state associated with the channel"
},
{
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateResponse.json
index e6766981..fd67405f 100644
--- a/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateResponse.json
+++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus_state",
- "Type": "types1.Any",
+ "Type": "Any",
"Description": "consensus state associated with the channel"
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionResponse.json
index 799db8c7..c4b432dc 100644
--- a/source/json_tables/ibc/core/03-connection/types/QueryConnectionResponse.json
+++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionsRequest.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionsRequest.json
index 5e714e9a..ba3f6b36 100644
--- a/source/json_tables/ibc/core/03-connection/types/QueryConnectionsRequest.json
+++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "",
"Required": "No"
}
diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionsResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionsResponse.json
index f9c3b300..aa8653ee 100644
--- a/source/json_tables/ibc/core/03-connection/types/QueryConnectionsResponse.json
+++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionsResponse.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination response"
},
{
"Parameter": "height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "query block height"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgement.json b/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgement.json
index 0ec858b0..a2145328 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgement.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgement.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseConfirm.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseConfirm.json
index 61e02544..0889fe50 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseConfirm.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseConfirm.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenAck.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenAck.json
index ac8cfee8..b8cf7ae0 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenAck.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenAck.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenConfirm.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenConfirm.json
index 946b04c7..686f3546 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenConfirm.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenConfirm.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTry.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTry.json
index 0cbc70aa..2a91bd04 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTry.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTry.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAck.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAck.json
index 28ced091..4c9558e2 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAck.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAck.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeCancel.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeCancel.json
index d7b0ed81..ffa087b4 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeCancel.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeCancel.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeConfirm.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeConfirm.json
index 08c88d9d..8a0342f6 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeConfirm.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeConfirm.json
@@ -37,7 +37,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeOpen.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeOpen.json
index 7bda0c06..dfe73ae9 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeOpen.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeOpen.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTimeout.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTimeout.json
index 1869e197..e01409ec 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTimeout.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTimeout.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTry.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTry.json
index ca40a899..b13f97a4 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTry.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTry.json
@@ -43,7 +43,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgRecvPacket.json b/source/json_tables/ibc/core/04-channel/types/MsgRecvPacket.json
index 3ba0469a..c2a1c956 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgRecvPacket.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgRecvPacket.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgTimeout.json b/source/json_tables/ibc/core/04-channel/types/MsgTimeout.json
index 3aa12293..b391d53f 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgTimeout.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgTimeout.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/MsgTimeoutOnClose.json b/source/json_tables/ibc/core/04-channel/types/MsgTimeoutOnClose.json
index 5c71ae15..d9d8a5b6 100644
--- a/source/json_tables/ibc/core/04-channel/types/MsgTimeoutOnClose.json
+++ b/source/json_tables/ibc/core/04-channel/types/MsgTimeoutOnClose.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/Packet.json b/source/json_tables/ibc/core/04-channel/types/Packet.json
index 06d5a0c9..75d51ced 100644
--- a/source/json_tables/ibc/core/04-channel/types/Packet.json
+++ b/source/json_tables/ibc/core/04-channel/types/Packet.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "timeout_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "block height after which the packet times out"
},
{
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateResponse.json
index 29b68ef8..88f595f6 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "identified_client_state",
- "Type": "types.IdentifiedClientState",
+ "Type": "IdentifiedClientState",
"Description": "client state associated with the channel"
},
{
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateResponse.json
index e6766981..fd67405f 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "consensus_state",
- "Type": "types1.Any",
+ "Type": "Any",
"Description": "consensus state associated with the channel"
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelResponse.json
index 627c3644..ace0e299 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryChannelResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelsRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelsRequest.json
index bb7e1a45..d0b7f9db 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryChannelsRequest.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination request",
"Required": "No"
}
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelsResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelsResponse.json
index 80dafe6b..c6b1f5d6 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryChannelsResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelsResponse.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination response"
},
{
"Parameter": "height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "query block height"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsRequest.json
index 4b270b38..cd1e92fe 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsRequest.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination request",
"Required": "No"
}
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsResponse.json
index 615f4bd9..35bea0e8 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsResponse.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination response"
},
{
"Parameter": "height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "query block height"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveResponse.json
index c39d12fc..e60dcaa0 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendResponse.json
index 641a7e9a..d85f6448 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementResponse.json
index 4d432998..c1cf3f76 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsRequest.json
index f64e7a3e..6b0e9a80 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsRequest.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination request",
"Required": "No"
},
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsResponse.json
index 5b7ca087..6ba96d6a 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsResponse.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination response"
},
{
"Parameter": "height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "query block height"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentResponse.json
index 217aa03d..8918ba65 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsRequest.json
index a6c5d195..074407f4 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsRequest.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination request",
"Required": "No"
}
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsResponse.json
index 1de02ecd..6689305f 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsResponse.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination response"
},
{
"Parameter": "height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "query block height"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptResponse.json
index 462e0dd8..93c87385 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksResponse.json
index ef1a5c70..b6652d1b 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "query block height"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsResponse.json
index 3ba337b4..860a50f2 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "query block height"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorResponse.json
index 6ae31bd4..b79b60ca 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUpgradeResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeResponse.json
index 65a0c687..cf39f169 100644
--- a/source/json_tables/ibc/core/04-channel/types/QueryUpgradeResponse.json
+++ b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proof_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "height at which the proof was retrieved"
}
]
diff --git a/source/json_tables/ibc/core/04-channel/types/Timeout.json b/source/json_tables/ibc/core/04-channel/types/Timeout.json
index 2f60f9c7..166e66f4 100644
--- a/source/json_tables/ibc/core/04-channel/types/Timeout.json
+++ b/source/json_tables/ibc/core/04-channel/types/Timeout.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": "block height after which the packet or upgrade times out"
},
{
diff --git a/source/json_tables/ibc/core/23-commitment/types/MerkleProof.json b/source/json_tables/ibc/core/23-commitment/types/MerkleProof.json
index c4cbf9ed..e48b3b62 100644
--- a/source/json_tables/ibc/core/23-commitment/types/MerkleProof.json
+++ b/source/json_tables/ibc/core/23-commitment/types/MerkleProof.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "proofs",
- "Type": "_go.CommitmentProof array",
+ "Type": "CommitmentProof array",
"Description": ""
}
]
diff --git a/source/json_tables/ibc/core/types/GenesisState.json b/source/json_tables/ibc/core/types/GenesisState.json
index d2dbc455..66688511 100644
--- a/source/json_tables/ibc/core/types/GenesisState.json
+++ b/source/json_tables/ibc/core/types/GenesisState.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "client_genesis",
- "Type": "types.GenesisState",
+ "Type": "GenesisState",
"Description": "ICS002 - Clients genesis state"
},
{
"Parameter": "connection_genesis",
- "Type": "types1.GenesisState",
+ "Type": "GenesisState",
"Description": "ICS003 - Connections genesis state"
},
{
"Parameter": "channel_genesis",
- "Type": "types2.GenesisState",
+ "Type": "GenesisState",
"Description": "ICS004 - Channel genesis state"
}
]
diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/ClientState.json b/source/json_tables/ibc/light-clients/08-wasm/types/ClientState.json
index 537df5fc..dda3a64e 100644
--- a/source/json_tables/ibc/light-clients/08-wasm/types/ClientState.json
+++ b/source/json_tables/ibc/light-clients/08-wasm/types/ClientState.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "latest_height",
- "Type": "types.Height",
+ "Type": "Height",
"Description": ""
}
]
diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsRequest.json b/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsRequest.json
+++ b/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsResponse.json b/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsResponse.json
index 37fdfefb..abc340b4 100644
--- a/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsResponse.json
+++ b/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/indexer/event_provider_api/StreamBlockEventsRequest.json b/source/json_tables/indexer/event_provider_api/StreamBlockEventsRequest.json
index fe123506..b9125f63 100644
--- a/source/json_tables/indexer/event_provider_api/StreamBlockEventsRequest.json
+++ b/source/json_tables/indexer/event_provider_api/StreamBlockEventsRequest.json
@@ -10,5 +10,11 @@
"Type": "int32",
"Description": "",
"Required": "Yes"
+ },
+ {
+ "Parameter": "events",
+ "Type": "string",
+ "Description": "Comma separated list of events to get",
+ "Required": "Yes"
}
]
diff --git a/source/json_tables/indexer/injective_accounts_rpc/DerivativeTrade.json b/source/json_tables/indexer/injective_accounts_rpc/DerivativeTrade.json
index 1a57d909..4e445b18 100644
--- a/source/json_tables/indexer/injective_accounts_rpc/DerivativeTrade.json
+++ b/source/json_tables/indexer/injective_accounts_rpc/DerivativeTrade.json
@@ -57,7 +57,7 @@
{
"Parameter": "execution_side",
"Type": "string",
- "Description": "Trade's execution side, marker/taker"
+ "Description": "Trade's execution side, maker,taker,n/a (n/a = not applicable)"
},
{
"Parameter": "cid",
diff --git a/source/json_tables/indexer/injective_accounts_rpc/SpotTrade.json b/source/json_tables/indexer/injective_accounts_rpc/SpotTrade.json
index c11ed996..7ffab74c 100644
--- a/source/json_tables/indexer/injective_accounts_rpc/SpotTrade.json
+++ b/source/json_tables/indexer/injective_accounts_rpc/SpotTrade.json
@@ -52,7 +52,7 @@
{
"Parameter": "execution_side",
"Type": "string",
- "Description": "Trade's execution side, marker/taker"
+ "Description": "Trade's execution side, maker,taker,n/a (n/a = not applicable)"
},
{
"Parameter": "cid",
diff --git a/source/json_tables/indexer/injective_archiver_rpc/HistoricalTrade.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalTrade.json
index b850f07d..6b999c1f 100644
--- a/source/json_tables/indexer/injective_archiver_rpc/HistoricalTrade.json
+++ b/source/json_tables/indexer/injective_archiver_rpc/HistoricalTrade.json
@@ -47,7 +47,7 @@
{
"Parameter": "execution_side",
"Type": "string",
- "Description": "Trade's execution side, maker/taker"
+ "Description": "Trade's execution side, maker,taker,n/a (n/a = not applicable)"
},
{
"Parameter": "usd_value",
@@ -68,5 +68,20 @@
"Parameter": "trade_id",
"Type": "string",
"Description": "Unique trade ID"
+ },
+ {
+ "Parameter": "execution_type",
+ "Type": "string",
+ "Description": "The execution type of the trade"
+ },
+ {
+ "Parameter": "cid",
+ "Type": "string",
+ "Description": "Client-provided unique identifier for the order"
+ },
+ {
+ "Parameter": "funding_rate",
+ "Type": "string",
+ "Description": "The funding rate at the time of the trade execution, applicable only for derivative trades"
}
]
diff --git a/source/json_tables/indexer/injective_archiver_rpc/HistoricalTradesRequest.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalTradesRequest.json
index 0c964e80..231968c8 100644
--- a/source/json_tables/indexer/injective_archiver_rpc/HistoricalTradesRequest.json
+++ b/source/json_tables/indexer/injective_archiver_rpc/HistoricalTradesRequest.json
@@ -40,5 +40,11 @@
"Type": "string",
"Description": "Account address",
"Required": "Yes"
+ },
+ {
+ "Parameter": "execution_types",
+ "Type": "string array",
+ "Description": "Filter by execution type of trades",
+ "Required": "Yes"
}
]
diff --git a/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json b/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json
index fc639765..4ec3ccf5 100644
--- a/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json
+++ b/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json
@@ -34,5 +34,11 @@
"Type": "int32",
"Description": "Number of bars (higher priority than from) starting with to. If countback is set, from should be ignored.",
"Required": "Yes"
+ },
+ {
+ "Parameter": "use_oracle_prices",
+ "Type": "bool",
+ "Description": "Use oracle prices as fallback for missing derivative candles.",
+ "Required": "Yes"
}
]
diff --git a/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json
index 3cbc50e4..931df70a 100644
--- a/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json
+++ b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json
@@ -73,5 +73,10 @@
"Parameter": "effective_cumulative_funding_entry",
"Type": "string",
"Description": "Effective cumulative funding entry of the position"
+ },
+ {
+ "Parameter": "upnl",
+ "Type": "string",
+ "Description": "Unrealized profit and loss of the position (only present when requested with with_upnl=true)"
}
]
diff --git a/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeTrade.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeTrade.json
index 1a57d909..4e445b18 100644
--- a/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeTrade.json
+++ b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeTrade.json
@@ -57,7 +57,7 @@
{
"Parameter": "execution_side",
"Type": "string",
- "Description": "Trade's execution side, marker/taker"
+ "Description": "Trade's execution side, maker,taker,n/a (n/a = not applicable)"
},
{
"Parameter": "cid",
diff --git a/source/json_tables/indexer/injective_explorer_rpc/TxData.json b/source/json_tables/indexer/injective_explorer_rpc/TxData.json
index e8eff497..635fbf42 100644
--- a/source/json_tables/indexer/injective_explorer_rpc/TxData.json
+++ b/source/json_tables/indexer/injective_explorer_rpc/TxData.json
@@ -73,5 +73,10 @@
"Parameter": "ethereum_tx_hash_hex",
"Type": "string",
"Description": ""
+ },
+ {
+ "Parameter": "memo",
+ "Type": "string",
+ "Description": ""
}
]
diff --git a/source/json_tables/indexer/injective_oracle_rpc/StreamOracleListRequest.json b/source/json_tables/indexer/injective_oracle_rpc/StreamOracleListRequest.json
new file mode 100644
index 00000000..fcef5fb5
--- /dev/null
+++ b/source/json_tables/indexer/injective_oracle_rpc/StreamOracleListRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "oracle_type",
+ "Type": "string",
+ "Description": "Filter by oracle type",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "symbols",
+ "Type": "string array",
+ "Description": "Oracle symbols to stream; empty streams all symbols for the given oracle type",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_oracle_rpc/StreamOracleListResponse.json b/source/json_tables/indexer/injective_oracle_rpc/StreamOracleListResponse.json
new file mode 100644
index 00000000..dd123f8d
--- /dev/null
+++ b/source/json_tables/indexer/injective_oracle_rpc/StreamOracleListResponse.json
@@ -0,0 +1,22 @@
+[
+ {
+ "Parameter": "symbol",
+ "Type": "string",
+ "Description": "The symbol of the oracle asset"
+ },
+ {
+ "Parameter": "oracle_type",
+ "Type": "string",
+ "Description": "Oracle type"
+ },
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "The price of the oracle asset"
+ },
+ {
+ "Parameter": "timestamp",
+ "Type": "int64",
+ "Description": "Operation timestamp in UNIX millis."
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/CosmosPubKey.json b/source/json_tables/indexer/injective_rfq_gw_rpc/CosmosPubKey.json
new file mode 100644
index 00000000..c6720c83
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_gw_rpc/CosmosPubKey.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "type",
+ "Type": "string",
+ "Description": "Pubkey type URL"
+ },
+ {
+ "Parameter": "key",
+ "Type": "string",
+ "Description": "Hex-encoded string of the public key"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/PrepareAutoSignRequest.json b/source/json_tables/indexer/injective_rfq_gw_rpc/PrepareAutoSignRequest.json
new file mode 100644
index 00000000..60fcdff1
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_gw_rpc/PrepareAutoSignRequest.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "request",
+ "Type": "RFQGwPrepareAutoSignRequestType",
+ "Description": "",
+ "Required": "No"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/PrepareAutoSignResponse.json b/source/json_tables/indexer/injective_rfq_gw_rpc/PrepareAutoSignResponse.json
new file mode 100644
index 00000000..60fc9f17
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_gw_rpc/PrepareAutoSignResponse.json
@@ -0,0 +1,67 @@
+[
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "Generated RFQ ID"
+ },
+ {
+ "Parameter": "tx",
+ "Type": "byte array",
+ "Description": "Fee-delegated prepared transaction bytes containing MsgExec wrapper"
+ },
+ {
+ "Parameter": "fee_payer_sig",
+ "Type": "string",
+ "Description": "Hex-encoded fee payer signature"
+ },
+ {
+ "Parameter": "fee_payer",
+ "Type": "string",
+ "Description": "Fee payer address"
+ },
+ {
+ "Parameter": "sign_mode",
+ "Type": "string",
+ "Description": "Sign mode (SIGN_MODE_DIRECT)"
+ },
+ {
+ "Parameter": "pub_key_type",
+ "Type": "string",
+ "Description": "Fee payer public key type"
+ },
+ {
+ "Parameter": "fee_payer_pub_key",
+ "Type": "CosmosPubKey",
+ "Description": "Fee payer public key"
+ },
+ {
+ "Parameter": "quotes",
+ "Type": "RFQGwPrepareQuoteResult array",
+ "Description": "Selected quotes in execution order"
+ },
+ {
+ "Parameter": "autosign_account_number",
+ "Type": "uint64",
+ "Description": "Autosign (ephemeral) account number"
+ },
+ {
+ "Parameter": "autosign_account_sequence",
+ "Type": "uint64",
+ "Description": "Autosign (ephemeral) account sequence"
+ },
+ {
+ "Parameter": "fee_payer_account_number",
+ "Type": "uint64",
+ "Description": "Fee payer Cosmos account number"
+ },
+ {
+ "Parameter": "fee_payer_account_sequence",
+ "Type": "uint64",
+ "Description": "Fee payer Cosmos account sequence"
+ },
+ {
+ "Parameter": "quotes_wait_ms",
+ "Type": "uint64",
+ "Description": "Actual milliseconds elapsed waiting for quotes; use as quotes_wait_time_ms hint in next request"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareAutoSignRequestType.json b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareAutoSignRequestType.json
new file mode 100644
index 00000000..c93f8a0e
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareAutoSignRequestType.json
@@ -0,0 +1,92 @@
+[
+ {
+ "Parameter": "client_id",
+ "Type": "string",
+ "Description": ""
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": ""
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": ""
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": ""
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": ""
+ },
+ {
+ "Parameter": "worst_price",
+ "Type": "string",
+ "Description": ""
+ },
+ {
+ "Parameter": "autosign_address",
+ "Type": "string",
+ "Description": "Ephemeral autosign address (MsgExec grantee) that signs the prepared tx"
+ },
+ {
+ "Parameter": "expiry",
+ "Type": "uint64",
+ "Description": "RFQ request expiry in milliseconds. 0 = no expiry"
+ },
+ {
+ "Parameter": "autosign_pub_key",
+ "Type": "string",
+ "Description": "Hex-encoded autosign ephemeral public key"
+ },
+ {
+ "Parameter": "autosign_account_number",
+ "Type": "uint64",
+ "Description": "Autosign (ephemeral) Cosmos account number"
+ },
+ {
+ "Parameter": "autosign_account_sequence",
+ "Type": "uint64",
+ "Description": "Autosign (ephemeral) Cosmos account sequence (nonce)"
+ },
+ {
+ "Parameter": "fee_payer_account_number",
+ "Type": "uint64",
+ "Description": "Fee payer Cosmos account number"
+ },
+ {
+ "Parameter": "fee_payer_account_sequence",
+ "Type": "uint64",
+ "Description": "Fee payer Cosmos account sequence (nonce)"
+ },
+ {
+ "Parameter": "quotes_wait_time_ms",
+ "Type": "uint64",
+ "Description": "How long to wait for quotes (max 5000ms)"
+ },
+ {
+ "Parameter": "unfilled_action",
+ "Type": "RFQSettlementUnfilledActionType",
+ "Description": "Action for quantity not filled by the selected quotes. Set `limit` to place a limit order at the given price, `market` to sweep the remainder as a market order. Omit to settle only the quoted amount."
+ },
+ {
+ "Parameter": "subaccount_nonce",
+ "Type": "uint32",
+ "Description": "Taker subaccount nonce at settlement time. Prevents replay when submitting multiple RFQs in the same block. Defaults to 0 (contract reads the on-chain nonce)."
+ },
+ {
+ "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": "taker_address",
+ "Type": "string",
+ "Description": "Real taker address (authz granter); used as MsgExecuteContractCompat sender"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareQuoteResult.json b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareQuoteResult.json
new file mode 100644
index 00000000..551872e3
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQGwPrepareQuoteResult.json
@@ -0,0 +1,22 @@
+[
+ {
+ "Parameter": "maker",
+ "Type": "string",
+ "Description": "Maker address"
+ },
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "Quote price"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quote quantity"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Quote margin"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQSettlementLimitActionType.json b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQSettlementLimitActionType.json
new file mode 100644
index 00000000..c7a0185d
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQSettlementLimitActionType.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "Limit price"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_gw_rpc/RFQSettlementUnfilledActionType.json b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQSettlementUnfilledActionType.json
new file mode 100644
index 00000000..fe268ab2
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_gw_rpc/RFQSettlementUnfilledActionType.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "limit",
+ "Type": "RFQSettlementLimitActionType",
+ "Description": "Limit order action"
+ },
+ {
+ "Parameter": "market",
+ "Type": "RFQSettlementMarketActionType",
+ "Description": "Market order action"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderAck.json b/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderAck.json
new file mode 100644
index 00000000..d019b39e
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderAck.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "order",
+ "Type": "ConditionalOrderResponseType",
+ "Description": "Created conditional order"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderInput.json b/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderInput.json
new file mode 100644
index 00000000..6753149e
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderInput.json
@@ -0,0 +1,102 @@
+[
+ {
+ "Parameter": "version",
+ "Type": "uint32",
+ "Description": "Protocol version"
+ },
+ {
+ "Parameter": "chain_id",
+ "Type": "string",
+ "Description": "Chain ID (e.g. injective-1)"
+ },
+ {
+ "Parameter": "contract_address",
+ "Type": "string",
+ "Description": "RFQ contract address"
+ },
+ {
+ "Parameter": "taker",
+ "Type": "string",
+ "Description": "Taker address (bech32)"
+ },
+ {
+ "Parameter": "epoch",
+ "Type": "uint64",
+ "Description": "Taker's current epoch (replay protection)"
+ },
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "Unique RFQ order ID"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Derivative market ID"
+ },
+ {
+ "Parameter": "subaccount_nonce",
+ "Type": "uint32",
+ "Description": "Taker subaccount index"
+ },
+ {
+ "Parameter": "lane_version",
+ "Type": "uint64",
+ "Description": "Lane version (replay + OCO protection)"
+ },
+ {
+ "Parameter": "deadline_ms",
+ "Type": "uint64",
+ "Description": "Expiry timestamp in milliseconds"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Trade direction"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "FPDecimal quantity (e.g. \"1\", \"4.9\")"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Collateral amount as FPDecimal"
+ },
+ {
+ "Parameter": "worst_price",
+ "Type": "string",
+ "Description": "FPDecimal worst acceptable price"
+ },
+ {
+ "Parameter": "min_total_fill_quantity",
+ "Type": "string",
+ "Description": "FPDecimal minimum total fill quantity"
+ },
+ {
+ "Parameter": "trigger_type",
+ "Type": "string",
+ "Description": "Trigger condition type"
+ },
+ {
+ "Parameter": "trigger_price",
+ "Type": "string",
+ "Description": "Mark price threshold for the trigger condition"
+ },
+ {
+ "Parameter": "unfilled_action",
+ "Type": "string",
+ "Description": "Post-unfilled action JSON (optional)"
+ },
+ {
+ "Parameter": "cid",
+ "Type": "string",
+ "Description": "Optional client ID"
+ },
+ {
+ "Parameter": "allowed_relayer",
+ "Type": "string",
+ "Description": "Optional relayer restriction"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderResponseType.json b/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderResponseType.json
new file mode 100644
index 00000000..b5ef2d18
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderResponseType.json
@@ -0,0 +1,82 @@
+[
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "RFQ order ID"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Derivative market ID"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Exit direction (long/short)"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Collateral amount"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Contract quantity"
+ },
+ {
+ "Parameter": "worst_price",
+ "Type": "string",
+ "Description": "Worst acceptable price"
+ },
+ {
+ "Parameter": "request_address",
+ "Type": "string",
+ "Description": "Taker address"
+ },
+ {
+ "Parameter": "trigger_price",
+ "Type": "string",
+ "Description": "Mark price threshold"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Order status"
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "Creation timestamp in milliseconds"
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Last update timestamp in milliseconds"
+ },
+ {
+ "Parameter": "expires_at",
+ "Type": "int64",
+ "Description": "Expiry timestamp in milliseconds"
+ },
+ {
+ "Parameter": "trigger_type",
+ "Type": "string",
+ "Description": "Trigger condition (mark_price_gte, mark_price_lte)"
+ },
+ {
+ "Parameter": "min_total_fill_quantity",
+ "Type": "string",
+ "Description": "Minimum total fill quantity"
+ },
+ {
+ "Parameter": "event_time",
+ "Type": "uint64",
+ "Description": "Event time timestamp in milliseconds (streaming only)"
+ },
+ {
+ "Parameter": "error",
+ "Type": "string",
+ "Description": "Last error message, if any"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/CreateConditionalOrderRequest.json b/source/json_tables/indexer/injective_rfq_rpc/CreateConditionalOrderRequest.json
new file mode 100644
index 00000000..87bcb42a
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/CreateConditionalOrderRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "order",
+ "Type": "ConditionalOrderInput",
+ "Description": "Conditional order fields",
+ "Required": "No"
+ },
+ {
+ "Parameter": "signature",
+ "Type": "string",
+ "Description": "Hex-encoded 65-byte ECDSA recoverable signature (r‖s‖v). To produce: build the canonical JSON object with these fields in exact order, no omitted keys, null for absent values: version (uint8) — protocol version chain_id (string) — e.g. \"injective-1\" contract_address (string) — RFQ contract bech32 address taker (string) — taker bech32 address epoch (uint64) — taker's current epoch rfq_id (uint64) — unique order ID market_id (string) — derivative market ID hex subaccount_nonce (uint32) — taker subaccount index lane_version (uint64) — lane version for replay protection deadline_ms (uint64) — expiry timestamp in milliseconds direction (string) — \"long\" or \"short\" quantity (string) — FPDecimal e.g. \"1\", \"4.9\" margin (string) — collateral amount as FPDecimal worst_price (string) — FPDecimal worst acceptable price min_total_fill_quantity (string) — FPDecimal minimum fill trigger (enum) — {\"mark_price_gte\":\"\"} or {\"mark_price_lte\":\"\"} unfilled_action (null) — always null in v1 cid (*string) — optional client ID, or null allowed_relayer (*string) — optional relayer address, or null Then: signature = secp256k1_sign(Keccak256(canonical_json), taker_private_key)",
+ "Required": "No"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/CreateConditionalOrderResponse.json b/source/json_tables/indexer/injective_rfq_rpc/CreateConditionalOrderResponse.json
new file mode 100644
index 00000000..d019b39e
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/CreateConditionalOrderResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "order",
+ "Type": "ConditionalOrderResponseType",
+ "Description": "Created conditional order"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/CreateRFQRequestType.json b/source/json_tables/indexer/injective_rfq_rpc/CreateRFQRequestType.json
new file mode 100644
index 00000000..0bc5e13d
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/CreateRFQRequestType.json
@@ -0,0 +1,42 @@
+[
+ {
+ "Parameter": "client_id",
+ "Type": "string",
+ "Description": "Client ID"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Market ID"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Direction (long/short)"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin amount"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity"
+ },
+ {
+ "Parameter": "worst_price",
+ "Type": "string",
+ "Description": "Worst acceptable price"
+ },
+ {
+ "Parameter": "expiry",
+ "Type": "uint64",
+ "Description": "Expiry timestamp in milliseconds"
+ },
+ {
+ "Parameter": "price_check",
+ "Type": "bool",
+ "Description": "Whether the request is for price check only"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/ListConditionalOrdersRequest.json b/source/json_tables/indexer/injective_rfq_rpc/ListConditionalOrdersRequest.json
new file mode 100644
index 00000000..93983e59
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/ListConditionalOrdersRequest.json
@@ -0,0 +1,32 @@
+[
+ {
+ "Parameter": "request_address",
+ "Type": "string",
+ "Description": "Taker address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string array",
+ "Description": "Filter by one or more statuses; empty means no filter",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Filter by market ID",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "per_page",
+ "Type": "int32",
+ "Description": "Number of records per page",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "Pagination token",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/ListConditionalOrdersResponse.json b/source/json_tables/indexer/injective_rfq_rpc/ListConditionalOrdersResponse.json
new file mode 100644
index 00000000..213bb8d2
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/ListConditionalOrdersResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "orders",
+ "Type": "ConditionalOrderResponseType array",
+ "Description": "List of conditional orders"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/ListSettlementRequest.json b/source/json_tables/indexer/injective_rfq_rpc/ListSettlementRequest.json
new file mode 100644
index 00000000..85105b15
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/ListSettlementRequest.json
@@ -0,0 +1,20 @@
+[
+ {
+ "Parameter": "addresses",
+ "Type": "string array",
+ "Description": "Filter by taker addresses",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "per_page",
+ "Type": "int32",
+ "Description": "Number of records per page",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "Pagination token",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/ListSettlementResponse.json b/source/json_tables/indexer/injective_rfq_rpc/ListSettlementResponse.json
new file mode 100644
index 00000000..8c5a227b
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/ListSettlementResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "settlements",
+ "Type": "RFQSettlementType array",
+ "Description": "List of RFQ settlements"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/MakerStreamResponse.json b/source/json_tables/indexer/injective_rfq_rpc/MakerStreamResponse.json
new file mode 100644
index 00000000..58f6b332
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/MakerStreamResponse.json
@@ -0,0 +1,32 @@
+[
+ {
+ "Parameter": "message_type",
+ "Type": "string",
+ "Description": "Type: 'request', 'quote_ack', 'quote_update', 'settlement_update', 'error', 'pong'"
+ },
+ {
+ "Parameter": "request",
+ "Type": "RFQRequestType",
+ "Description": "RFQ request from taker"
+ },
+ {
+ "Parameter": "quote_ack",
+ "Type": "QuoteStreamAck",
+ "Description": "Acknowledgment for quote submission"
+ },
+ {
+ "Parameter": "error",
+ "Type": "StreamError",
+ "Description": "Error message"
+ },
+ {
+ "Parameter": "processed_quote",
+ "Type": "RFQProcessedQuoteType",
+ "Description": "Processed quote update for maker"
+ },
+ {
+ "Parameter": "settlement",
+ "Type": "RFQSettlementMakerUpdate",
+ "Description": "Settlement update for maker"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/MakerStreamStreamingRequest.json b/source/json_tables/indexer/injective_rfq_rpc/MakerStreamStreamingRequest.json
new file mode 100644
index 00000000..8585999d
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/MakerStreamStreamingRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "message_type",
+ "Type": "string",
+ "Description": "Type: 'quote', 'ping'",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "quote",
+ "Type": "RFQQuoteType",
+ "Description": "Quote to submit",
+ "Required": "No"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/QuoteRequest.json b/source/json_tables/indexer/injective_rfq_rpc/QuoteRequest.json
new file mode 100644
index 00000000..702ee0ee
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/QuoteRequest.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "quote",
+ "Type": "RFQQuoteType",
+ "Description": "RFQ quote to create",
+ "Required": "No"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/QuoteResponse.json b/source/json_tables/indexer/injective_rfq_rpc/QuoteResponse.json
new file mode 100644
index 00000000..75bc6675
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/QuoteResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status of the operation"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/QuoteStreamAck.json b/source/json_tables/indexer/injective_rfq_rpc/QuoteStreamAck.json
new file mode 100644
index 00000000..55167fc0
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/QuoteStreamAck.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "RFQ ID"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status of the operation"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQExpiryType.json b/source/json_tables/indexer/injective_rfq_rpc/RFQExpiryType.json
new file mode 100644
index 00000000..5e5bf90f
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQExpiryType.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "timestamp",
+ "Type": "uint64",
+ "Description": "Expiry timestamp in milliseconds"
+ },
+ {
+ "Parameter": "height",
+ "Type": "uint64",
+ "Description": "Expiry block height"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQProcessedQuoteType.json b/source/json_tables/indexer/injective_rfq_rpc/RFQProcessedQuoteType.json
new file mode 100644
index 00000000..48ec22f0
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQProcessedQuoteType.json
@@ -0,0 +1,127 @@
+[
+ {
+ "Parameter": "error",
+ "Type": "string",
+ "Description": "Error message if quote is rejected"
+ },
+ {
+ "Parameter": "executed_quantity",
+ "Type": "string",
+ "Description": "Executed quantity for the quote, if successful"
+ },
+ {
+ "Parameter": "executed_margin",
+ "Type": "string",
+ "Description": "Executed margin for the quote, if successful"
+ },
+ {
+ "Parameter": "chain_id",
+ "Type": "string",
+ "Description": "Chain ID"
+ },
+ {
+ "Parameter": "contract_address",
+ "Type": "string",
+ "Description": "Contract address"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Market ID"
+ },
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "RFQ ID"
+ },
+ {
+ "Parameter": "taker_direction",
+ "Type": "string",
+ "Description": "Taker direction (long/short)"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin amount"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity"
+ },
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "Price"
+ },
+ {
+ "Parameter": "expiry",
+ "Type": "RFQExpiryType",
+ "Description": "Expiry timestamp and height"
+ },
+ {
+ "Parameter": "maker",
+ "Type": "string",
+ "Description": "Maker address"
+ },
+ {
+ "Parameter": "taker",
+ "Type": "string",
+ "Description": "Taker address"
+ },
+ {
+ "Parameter": "signature",
+ "Type": "string",
+ "Description": "Signature"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status (pending, accepted, rejected, expired)"
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "Creation timestamp"
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Last update timestamp"
+ },
+ {
+ "Parameter": "height",
+ "Type": "uint64",
+ "Description": "Block height"
+ },
+ {
+ "Parameter": "event_time",
+ "Type": "uint64",
+ "Description": "Event time timestamp"
+ },
+ {
+ "Parameter": "transaction_time",
+ "Type": "uint64",
+ "Description": "Transaction time timestamp"
+ },
+ {
+ "Parameter": "maker_subaccount_nonce",
+ "Type": "uint64",
+ "Description": "Maker subaccount nonce used in quote signature"
+ },
+ {
+ "Parameter": "min_fill_quantity",
+ "Type": "string",
+ "Description": "Optional minimum fill quantity used in quote signature"
+ },
+ {
+ "Parameter": "price_check",
+ "Type": "bool",
+ "Description": "Whether the quote is for price check only"
+ },
+ {
+ "Parameter": "client_id",
+ "Type": "string",
+ "Description": "Client ID from the originating request"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQQuoteType.json b/source/json_tables/indexer/injective_rfq_rpc/RFQQuoteType.json
new file mode 100644
index 00000000..203d5b6d
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQQuoteType.json
@@ -0,0 +1,112 @@
+[
+ {
+ "Parameter": "chain_id",
+ "Type": "string",
+ "Description": "Chain ID"
+ },
+ {
+ "Parameter": "contract_address",
+ "Type": "string",
+ "Description": "Contract address"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Market ID"
+ },
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "RFQ ID"
+ },
+ {
+ "Parameter": "taker_direction",
+ "Type": "string",
+ "Description": "Taker direction (long/short)"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin amount"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity"
+ },
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "Price"
+ },
+ {
+ "Parameter": "expiry",
+ "Type": "RFQExpiryType",
+ "Description": "Expiry timestamp and height"
+ },
+ {
+ "Parameter": "maker",
+ "Type": "string",
+ "Description": "Maker address"
+ },
+ {
+ "Parameter": "taker",
+ "Type": "string",
+ "Description": "Taker address"
+ },
+ {
+ "Parameter": "signature",
+ "Type": "string",
+ "Description": "Signature"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status (pending, accepted, rejected, expired)"
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "Creation timestamp"
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Last update timestamp"
+ },
+ {
+ "Parameter": "height",
+ "Type": "uint64",
+ "Description": "Block height"
+ },
+ {
+ "Parameter": "event_time",
+ "Type": "uint64",
+ "Description": "Event time timestamp"
+ },
+ {
+ "Parameter": "transaction_time",
+ "Type": "uint64",
+ "Description": "Transaction time timestamp"
+ },
+ {
+ "Parameter": "maker_subaccount_nonce",
+ "Type": "uint64",
+ "Description": "Maker subaccount nonce used in quote signature"
+ },
+ {
+ "Parameter": "min_fill_quantity",
+ "Type": "string",
+ "Description": "Optional minimum fill quantity used in quote signature"
+ },
+ {
+ "Parameter": "price_check",
+ "Type": "bool",
+ "Description": "Whether the quote is for price check only"
+ },
+ {
+ "Parameter": "client_id",
+ "Type": "string",
+ "Description": "Client ID from the originating request"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQRequestInputType.json b/source/json_tables/indexer/injective_rfq_rpc/RFQRequestInputType.json
new file mode 100644
index 00000000..659c261f
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQRequestInputType.json
@@ -0,0 +1,52 @@
+[
+ {
+ "Parameter": "client_id",
+ "Type": "string",
+ "Description": "Client ID"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Market ID"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Direction (long/short)"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin amount"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity"
+ },
+ {
+ "Parameter": "worst_price",
+ "Type": "string",
+ "Description": "Worst acceptable price"
+ },
+ {
+ "Parameter": "request_address",
+ "Type": "string",
+ "Description": "Requester address"
+ },
+ {
+ "Parameter": "expiry",
+ "Type": "uint64",
+ "Description": "Expiry timestamp in milliseconds"
+ },
+ {
+ "Parameter": "transaction_time",
+ "Type": "uint64",
+ "Description": "Transaction time timestamp"
+ },
+ {
+ "Parameter": "price_check",
+ "Type": "bool",
+ "Description": "Whether the request is for price check only"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQRequestType.json b/source/json_tables/indexer/injective_rfq_rpc/RFQRequestType.json
new file mode 100644
index 00000000..e0aa62e3
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQRequestType.json
@@ -0,0 +1,72 @@
+[
+ {
+ "Parameter": "client_id",
+ "Type": "string",
+ "Description": "Client ID"
+ },
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "RFQ ID"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Market ID"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Direction (long/short)"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin amount"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity"
+ },
+ {
+ "Parameter": "worst_price",
+ "Type": "string",
+ "Description": "Worst acceptable price"
+ },
+ {
+ "Parameter": "request_address",
+ "Type": "string",
+ "Description": "Requester address"
+ },
+ {
+ "Parameter": "expiry",
+ "Type": "uint64",
+ "Description": "Expiry timestamp in milliseconds"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status (open, cancelled, completed)"
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "Creation timestamp"
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Last update timestamp"
+ },
+ {
+ "Parameter": "transaction_time",
+ "Type": "uint64",
+ "Description": "Transaction time timestamp"
+ },
+ {
+ "Parameter": "height",
+ "Type": "uint64",
+ "Description": "Block height"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementLimitActionType.json b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementLimitActionType.json
new file mode 100644
index 00000000..c7a0185d
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementLimitActionType.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "Limit price"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementMakerUpdate.json b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementMakerUpdate.json
new file mode 100644
index 00000000..ec232df8
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementMakerUpdate.json
@@ -0,0 +1,87 @@
+[
+ {
+ "Parameter": "quotes",
+ "Type": "RFQSettlementQuote array",
+ "Description": "List of quotes considered for settlement"
+ },
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "RFQ ID"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Market ID"
+ },
+ {
+ "Parameter": "taker",
+ "Type": "string",
+ "Description": "Taker address"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Direction (long/short)"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin amount"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity"
+ },
+ {
+ "Parameter": "worst_price",
+ "Type": "string",
+ "Description": "Worst acceptable price"
+ },
+ {
+ "Parameter": "unfilled_action",
+ "Type": "RFQSettlementUnfilledActionType",
+ "Description": "Unfilled action details"
+ },
+ {
+ "Parameter": "fallback_quantity",
+ "Type": "string",
+ "Description": "Fallback quantity"
+ },
+ {
+ "Parameter": "fallback_margin",
+ "Type": "string",
+ "Description": "Fallback margin"
+ },
+ {
+ "Parameter": "transaction_time",
+ "Type": "uint64",
+ "Description": "Transaction time timestamp"
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "Creation timestamp"
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Last update timestamp"
+ },
+ {
+ "Parameter": "event_time",
+ "Type": "uint64",
+ "Description": "Event time timestamp"
+ },
+ {
+ "Parameter": "height",
+ "Type": "uint64",
+ "Description": "Block height"
+ },
+ {
+ "Parameter": "cid",
+ "Type": "string",
+ "Description": "Settlement CID"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementQuote.json b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementQuote.json
new file mode 100644
index 00000000..a46b5c9b
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementQuote.json
@@ -0,0 +1,52 @@
+[
+ {
+ "Parameter": "maker",
+ "Type": "string",
+ "Description": "Maker address"
+ },
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "Price"
+ },
+ {
+ "Parameter": "quoted_margin",
+ "Type": "string",
+ "Description": "Quoted margin amount"
+ },
+ {
+ "Parameter": "quoted_quantity",
+ "Type": "string",
+ "Description": "Quoted quantity"
+ },
+ {
+ "Parameter": "executed_margin",
+ "Type": "string",
+ "Description": "Executed margin amount"
+ },
+ {
+ "Parameter": "executed_quantity",
+ "Type": "string",
+ "Description": "Executed quantity"
+ },
+ {
+ "Parameter": "expiry",
+ "Type": "RFQExpiryType",
+ "Description": "Expiry timestamp and height"
+ },
+ {
+ "Parameter": "signature",
+ "Type": "string",
+ "Description": "Signature"
+ },
+ {
+ "Parameter": "nonce",
+ "Type": "uint64",
+ "Description": "Nonce"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Quote status (accepted, rejected, expired)"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementType.json b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementType.json
new file mode 100644
index 00000000..fb9e8a3c
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementType.json
@@ -0,0 +1,82 @@
+[
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "RFQ ID"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Market ID"
+ },
+ {
+ "Parameter": "taker",
+ "Type": "string",
+ "Description": "Taker address"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Direction (long/short)"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin amount"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity"
+ },
+ {
+ "Parameter": "worst_price",
+ "Type": "string",
+ "Description": "Worst acceptable price"
+ },
+ {
+ "Parameter": "unfilled_action",
+ "Type": "RFQSettlementUnfilledActionType",
+ "Description": "Unfilled action details"
+ },
+ {
+ "Parameter": "fallback_quantity",
+ "Type": "string",
+ "Description": "Fallback quantity"
+ },
+ {
+ "Parameter": "fallback_margin",
+ "Type": "string",
+ "Description": "Fallback margin"
+ },
+ {
+ "Parameter": "transaction_time",
+ "Type": "uint64",
+ "Description": "Transaction time timestamp"
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "Creation timestamp"
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Last update timestamp"
+ },
+ {
+ "Parameter": "event_time",
+ "Type": "uint64",
+ "Description": "Event time timestamp"
+ },
+ {
+ "Parameter": "height",
+ "Type": "uint64",
+ "Description": "Block height"
+ },
+ {
+ "Parameter": "cid",
+ "Type": "string",
+ "Description": "Settlement CID"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementUnfilledActionType.json b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementUnfilledActionType.json
new file mode 100644
index 00000000..fe268ab2
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RFQSettlementUnfilledActionType.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "limit",
+ "Type": "RFQSettlementLimitActionType",
+ "Description": "Limit order action"
+ },
+ {
+ "Parameter": "market",
+ "Type": "RFQSettlementMarketActionType",
+ "Description": "Market order action"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RequestRequest.json b/source/json_tables/indexer/injective_rfq_rpc/RequestRequest.json
new file mode 100644
index 00000000..3608cfbc
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RequestRequest.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "request",
+ "Type": "RFQRequestInputType",
+ "Description": "RFQ request to create",
+ "Required": "No"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RequestResponse.json b/source/json_tables/indexer/injective_rfq_rpc/RequestResponse.json
new file mode 100644
index 00000000..170afbb2
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RequestResponse.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status of the operation"
+ },
+ {
+ "Parameter": "client_id",
+ "Type": "string",
+ "Description": "Client ID"
+ },
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "Generated RFQ ID"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/RequestStreamAck.json b/source/json_tables/indexer/injective_rfq_rpc/RequestStreamAck.json
new file mode 100644
index 00000000..3a3f6424
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/RequestStreamAck.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "rfq_id",
+ "Type": "uint64",
+ "Description": "RFQ ID"
+ },
+ {
+ "Parameter": "client_id",
+ "Type": "string",
+ "Description": "Client ID"
+ },
+ {
+ "Parameter": "status",
+ "Type": "string",
+ "Description": "Status of the operation"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamError.json b/source/json_tables/indexer/injective_rfq_rpc/StreamError.json
new file mode 100644
index 00000000..837a7abb
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/StreamError.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "code",
+ "Type": "string",
+ "Description": "Error code"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamQuoteRequest.json b/source/json_tables/indexer/injective_rfq_rpc/StreamQuoteRequest.json
new file mode 100644
index 00000000..e240476d
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/StreamQuoteRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "addresses",
+ "Type": "string array",
+ "Description": "Filter by addresses",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "Filter by market IDs",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamQuoteResponse.json b/source/json_tables/indexer/injective_rfq_rpc/StreamQuoteResponse.json
new file mode 100644
index 00000000..8b11c94a
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/StreamQuoteResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "quote",
+ "Type": "RFQProcessedQuoteType",
+ "Description": "RFQ quote update"
+ },
+ {
+ "Parameter": "stream_operation",
+ "Type": "string",
+ "Description": "Operation type (insert, update, delete)"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamRequestRequest.json b/source/json_tables/indexer/injective_rfq_rpc/StreamRequestRequest.json
new file mode 100644
index 00000000..9eceb098
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/StreamRequestRequest.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "Filter by market IDs",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamRequestResponse.json b/source/json_tables/indexer/injective_rfq_rpc/StreamRequestResponse.json
new file mode 100644
index 00000000..5a2f9938
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/StreamRequestResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "request",
+ "Type": "RFQRequestType",
+ "Description": "RFQ request update"
+ },
+ {
+ "Parameter": "stream_operation",
+ "Type": "string",
+ "Description": "Operation type (insert, update, delete)"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementRequest.json b/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementRequest.json
new file mode 100644
index 00000000..ca69a6ba
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementRequest.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "addresses",
+ "Type": "string array",
+ "Description": "Filter by addresses",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementResponse.json b/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementResponse.json
new file mode 100644
index 00000000..73325433
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "settlement",
+ "Type": "RFQSettlementType",
+ "Description": "RFQ settlement update"
+ },
+ {
+ "Parameter": "stream_operation",
+ "Type": "string",
+ "Description": "Operation type (insert, update, delete)"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/TakerStreamResponse.json b/source/json_tables/indexer/injective_rfq_rpc/TakerStreamResponse.json
new file mode 100644
index 00000000..9bf4fa7c
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/TakerStreamResponse.json
@@ -0,0 +1,32 @@
+[
+ {
+ "Parameter": "message_type",
+ "Type": "string",
+ "Description": "Type: 'quote', 'request_ack', 'error', 'pong', 'conditional_order_ack', 'conditional_order_update'"
+ },
+ {
+ "Parameter": "quote",
+ "Type": "RFQQuoteType",
+ "Description": "Quote from market maker"
+ },
+ {
+ "Parameter": "request_ack",
+ "Type": "RequestStreamAck",
+ "Description": "Acknowledgment for request creation"
+ },
+ {
+ "Parameter": "error",
+ "Type": "StreamError",
+ "Description": "Error message"
+ },
+ {
+ "Parameter": "conditional_order_ack",
+ "Type": "ConditionalOrderAck",
+ "Description": "Acknowledgment for conditional order creation"
+ },
+ {
+ "Parameter": "conditional_order",
+ "Type": "ConditionalOrderResponseType",
+ "Description": "Conditional order lifecycle update"
+ }
+]
diff --git a/source/json_tables/indexer/injective_rfq_rpc/TakerStreamStreamingRequest.json b/source/json_tables/indexer/injective_rfq_rpc/TakerStreamStreamingRequest.json
new file mode 100644
index 00000000..5c6a6408
--- /dev/null
+++ b/source/json_tables/indexer/injective_rfq_rpc/TakerStreamStreamingRequest.json
@@ -0,0 +1,26 @@
+[
+ {
+ "Parameter": "message_type",
+ "Type": "string",
+ "Description": "Type: 'request', 'ping', 'conditional_order'",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "request",
+ "Type": "CreateRFQRequestType",
+ "Description": "RFQ request to create",
+ "Required": "No"
+ },
+ {
+ "Parameter": "conditional_order",
+ "Type": "ConditionalOrderInput",
+ "Description": "Conditional order to create",
+ "Required": "No"
+ },
+ {
+ "Parameter": "conditional_order_signature",
+ "Type": "string",
+ "Description": "Signature for the conditional order",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_spot_exchange_rpc/SpotTrade.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SpotTrade.json
index c11ed996..7ffab74c 100644
--- a/source/json_tables/indexer/injective_spot_exchange_rpc/SpotTrade.json
+++ b/source/json_tables/indexer/injective_spot_exchange_rpc/SpotTrade.json
@@ -52,7 +52,7 @@
{
"Parameter": "execution_side",
"Type": "string",
- "Description": "Trade's execution side, marker/taker"
+ "Description": "Trade's execution side, maker,taker,n/a (n/a = not applicable)"
},
{
"Parameter": "cid",
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativeLimitOrder.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativeLimitOrder.json
new file mode 100644
index 00000000..b826fa10
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativeLimitOrder.json
@@ -0,0 +1,112 @@
+[
+ {
+ "Parameter": "order_hash",
+ "Type": "string",
+ "Description": "Hash of the order"
+ },
+ {
+ "Parameter": "order_side",
+ "Type": "string",
+ "Description": "The side of the order"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Derivative Market ID"
+ },
+ {
+ "Parameter": "subaccount_id",
+ "Type": "string",
+ "Description": "The subaccountId that this order belongs to"
+ },
+ {
+ "Parameter": "is_reduce_only",
+ "Type": "bool",
+ "Description": "True if the order is a reduce-only order"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin of the order"
+ },
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "Price of the order"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity of the order"
+ },
+ {
+ "Parameter": "unfilled_quantity",
+ "Type": "string",
+ "Description": "The amount of the quantity remaining unfilled"
+ },
+ {
+ "Parameter": "trigger_price",
+ "Type": "string",
+ "Description": "Trigger price is the trigger price used by stop/take orders"
+ },
+ {
+ "Parameter": "fee_recipient",
+ "Type": "string",
+ "Description": "Fee recipient address"
+ },
+ {
+ "Parameter": "state",
+ "Type": "string",
+ "Description": "Order state"
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "Order committed timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Order updated timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "order_number",
+ "Type": "int64",
+ "Description": "Order number of subaccount"
+ },
+ {
+ "Parameter": "order_type",
+ "Type": "string",
+ "Description": "Order type"
+ },
+ {
+ "Parameter": "is_conditional",
+ "Type": "bool",
+ "Description": "Order type"
+ },
+ {
+ "Parameter": "trigger_at",
+ "Type": "uint64",
+ "Description": "Trigger timestamp, only exists for conditional orders"
+ },
+ {
+ "Parameter": "placed_order_hash",
+ "Type": "string",
+ "Description": "OrderHash of order that is triggered by this conditional order"
+ },
+ {
+ "Parameter": "execution_type",
+ "Type": "string",
+ "Description": "Execution type of conditional order"
+ },
+ {
+ "Parameter": "tx_hash",
+ "Type": "string",
+ "Description": "Transaction Hash where order is created. Not all orders have this field"
+ },
+ {
+ "Parameter": "cid",
+ "Type": "string",
+ "Description": "Custom client order ID"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativePositionV2.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativePositionV2.json
new file mode 100644
index 00000000..931df70a
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativePositionV2.json
@@ -0,0 +1,82 @@
+[
+ {
+ "Parameter": "ticker",
+ "Type": "string",
+ "Description": "Ticker of the derivative market"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Derivative Market ID"
+ },
+ {
+ "Parameter": "subaccount_id",
+ "Type": "string",
+ "Description": "The subaccountId that the position belongs to"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Direction of the position"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity of the position"
+ },
+ {
+ "Parameter": "entry_price",
+ "Type": "string",
+ "Description": "Price of the position"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Margin of the position"
+ },
+ {
+ "Parameter": "liquidation_price",
+ "Type": "string",
+ "Description": "LiquidationPrice of the position"
+ },
+ {
+ "Parameter": "mark_price",
+ "Type": "string",
+ "Description": "MarkPrice of the position"
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Position updated timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "denom",
+ "Type": "string",
+ "Description": "Market quote denom"
+ },
+ {
+ "Parameter": "funding_last",
+ "Type": "string",
+ "Description": "Last funding fees since position opened"
+ },
+ {
+ "Parameter": "funding_sum",
+ "Type": "string",
+ "Description": "Net funding fees since position opened"
+ },
+ {
+ "Parameter": "cumulative_funding_entry",
+ "Type": "string",
+ "Description": "Cumulative funding entry of the position"
+ },
+ {
+ "Parameter": "effective_cumulative_funding_entry",
+ "Type": "string",
+ "Description": "Effective cumulative funding entry of the position"
+ },
+ {
+ "Parameter": "upnl",
+ "Type": "string",
+ "Description": "Unrealized profit and loss of the position (only present when requested with with_upnl=true)"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersHistoryRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersHistoryRequest.json
new file mode 100644
index 00000000..82e1ac83
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersHistoryRequest.json
@@ -0,0 +1,32 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "order side filter",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "account_address",
+ "Type": "string",
+ "Description": "filter by account address",
+ "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/OrdersHistoryResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersHistoryResponse.json
new file mode 100644
index 00000000..b30fffe8
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersHistoryResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "orders",
+ "Type": "TCDerivativeOrderHistoryType array",
+ "Description": "List of TC order history entries"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersRequest.json
new file mode 100644
index 00000000..82e1ac83
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersRequest.json
@@ -0,0 +1,32 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "order side filter",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "account_address",
+ "Type": "string",
+ "Description": "filter by account address",
+ "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/OrdersResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersResponse.json
new file mode 100644
index 00000000..e362db1f
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/OrdersResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "orders",
+ "Type": "DerivativeLimitOrder array",
+ "Description": "List of derivative limit orders"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionDelta.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionDelta.json
new file mode 100644
index 00000000..150f250c
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionDelta.json
@@ -0,0 +1,22 @@
+[
+ {
+ "Parameter": "trade_direction",
+ "Type": "string",
+ "Description": "The direction the trade"
+ },
+ {
+ "Parameter": "execution_price",
+ "Type": "string",
+ "Description": "Execution Price of the trade."
+ },
+ {
+ "Parameter": "execution_quantity",
+ "Type": "string",
+ "Description": "Execution Quantity of the trade."
+ },
+ {
+ "Parameter": "execution_margin",
+ "Type": "string",
+ "Description": "Execution Margin of the trade."
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionsRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionsRequest.json
new file mode 100644
index 00000000..e0c0943e
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionsRequest.json
@@ -0,0 +1,44 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "order side filter",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "account_address",
+ "Type": "string",
+ "Description": "filter by account address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "with_count",
+ "Type": "bool",
+ "Description": "Return the total number of matching records alongside results",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "per_page",
+ "Type": "int32",
+ "Description": "Number of results per page",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "Pagination token",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "with_upnl",
+ "Type": "bool",
+ "Description": "Include unrealized PnL in the response",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionsResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionsResponse.json
new file mode 100644
index 00000000..80b9c008
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/PositionsResponse.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "positions",
+ "Type": "DerivativePositionV2 array",
+ "Description": "List of derivative positions"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ },
+ {
+ "Parameter": "total",
+ "Type": "uint64",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersHistoryRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersHistoryRequest.json
new file mode 100644
index 00000000..5515a542
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersHistoryRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "account_address",
+ "Type": "string",
+ "Description": "filter by account address",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersHistoryResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersHistoryResponse.json
new file mode 100644
index 00000000..10910a4e
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersHistoryResponse.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "order",
+ "Type": "TCDerivativeOrderHistoryType",
+ "Description": "Updated TC order history entry"
+ },
+ {
+ "Parameter": "operation_type",
+ "Type": "string",
+ "Description": "Order update type"
+ },
+ {
+ "Parameter": "timestamp",
+ "Type": "int64",
+ "Description": "Operation timestamp in UNIX millis"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersRequest.json
new file mode 100644
index 00000000..5515a542
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "account_address",
+ "Type": "string",
+ "Description": "filter by account address",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersResponse.json
new file mode 100644
index 00000000..ff578e98
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamOrdersResponse.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "order",
+ "Type": "DerivativeLimitOrder",
+ "Description": "Updated derivative limit order"
+ },
+ {
+ "Parameter": "operation_type",
+ "Type": "string",
+ "Description": "Order update type"
+ },
+ {
+ "Parameter": "timestamp",
+ "Type": "int64",
+ "Description": "Operation timestamp in UNIX millis"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamPositionsRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamPositionsRequest.json
new file mode 100644
index 00000000..2f15ba48
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamPositionsRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "List of market IDs of the positions we want to stream",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "account_address",
+ "Type": "string",
+ "Description": "filter by account address",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamPositionsResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamPositionsResponse.json
new file mode 100644
index 00000000..7593bc91
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamPositionsResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "position",
+ "Type": "DerivativePositionV2",
+ "Description": "Updated derivative Position"
+ },
+ {
+ "Parameter": "timestamp",
+ "Type": "int64",
+ "Description": "Operation timestamp in UNIX millis."
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesRequest.json
new file mode 100644
index 00000000..5515a542
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "account_address",
+ "Type": "string",
+ "Description": "filter by account address",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesResponse.json
new file mode 100644
index 00000000..bada56f5
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesResponse.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "trade",
+ "Type": "TCDerivativeTrade",
+ "Description": "New TC derivative market trade"
+ },
+ {
+ "Parameter": "operation_type",
+ "Type": "string",
+ "Description": "Executed trades update type"
+ },
+ {
+ "Parameter": "timestamp",
+ "Type": "int64",
+ "Description": "Operation timestamp in UNIX millis"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeOrderHistoryType.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeOrderHistoryType.json
new file mode 100644
index 00000000..93532681
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeOrderHistoryType.json
@@ -0,0 +1,107 @@
+[
+ {
+ "Parameter": "order_hash",
+ "Type": "string",
+ "Description": "Hash of the order"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "Derivative Market ID is keccak265(baseDenom + quoteDenom)"
+ },
+ {
+ "Parameter": "is_active",
+ "Type": "bool",
+ "Description": "active state of the order"
+ },
+ {
+ "Parameter": "subaccount_id",
+ "Type": "string",
+ "Description": "The subaccountId that this order belongs to"
+ },
+ {
+ "Parameter": "execution_type",
+ "Type": "string",
+ "Description": "The execution type"
+ },
+ {
+ "Parameter": "order_type",
+ "Type": "string",
+ "Description": "The side of the order"
+ },
+ {
+ "Parameter": "price",
+ "Type": "string",
+ "Description": "Price of the order"
+ },
+ {
+ "Parameter": "trigger_price",
+ "Type": "string",
+ "Description": "Trigger price"
+ },
+ {
+ "Parameter": "quantity",
+ "Type": "string",
+ "Description": "Quantity of the order"
+ },
+ {
+ "Parameter": "filled_quantity",
+ "Type": "string",
+ "Description": "Filled amount"
+ },
+ {
+ "Parameter": "state",
+ "Type": "string",
+ "Description": "Order state"
+ },
+ {
+ "Parameter": "created_at",
+ "Type": "int64",
+ "Description": "Order committed timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "updated_at",
+ "Type": "int64",
+ "Description": "Order updated timestamp in UNIX millis."
+ },
+ {
+ "Parameter": "is_reduce_only",
+ "Type": "bool",
+ "Description": "True if an order is reduce only"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Order direction (order side)"
+ },
+ {
+ "Parameter": "is_conditional",
+ "Type": "bool",
+ "Description": "True if this is conditional order, otherwise false"
+ },
+ {
+ "Parameter": "trigger_at",
+ "Type": "uint64",
+ "Description": "Trigger timestamp in unix milli"
+ },
+ {
+ "Parameter": "placed_order_hash",
+ "Type": "string",
+ "Description": "Order hash placed when this triggers"
+ },
+ {
+ "Parameter": "margin",
+ "Type": "string",
+ "Description": "Order's margin"
+ },
+ {
+ "Parameter": "tx_hash",
+ "Type": "string",
+ "Description": "Transaction Hash where order is created. Not all orders have this field"
+ },
+ {
+ "Parameter": "cid",
+ "Type": "string",
+ "Description": "Custom client order ID"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeTrade.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeTrade.json
new file mode 100644
index 00000000..593b93a9
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeTrade.json
@@ -0,0 +1,87 @@
+[
+ {
+ "Parameter": "order_hash",
+ "Type": "string",
+ "Description": "Order hash."
+ },
+ {
+ "Parameter": "subaccount_id",
+ "Type": "string",
+ "Description": "The subaccountId that executed the trade"
+ },
+ {
+ "Parameter": "market_id",
+ "Type": "string",
+ "Description": "The ID of the market that this trade is in"
+ },
+ {
+ "Parameter": "trade_execution_type",
+ "Type": "string",
+ "Description": "The execution type of the trade"
+ },
+ {
+ "Parameter": "is_liquidation",
+ "Type": "bool",
+ "Description": "True if the trade is a liquidation"
+ },
+ {
+ "Parameter": "position_delta",
+ "Type": "PositionDelta",
+ "Description": "Position Delta from the trade"
+ },
+ {
+ "Parameter": "payout",
+ "Type": "string",
+ "Description": "The payout associated with the trade"
+ },
+ {
+ "Parameter": "fee",
+ "Type": "string",
+ "Description": "The fee associated with the trade"
+ },
+ {
+ "Parameter": "executed_at",
+ "Type": "int64",
+ "Description": "Timestamp of trade execution in UNIX millis"
+ },
+ {
+ "Parameter": "fee_recipient",
+ "Type": "string",
+ "Description": "Fee recipient address"
+ },
+ {
+ "Parameter": "trade_id",
+ "Type": "string",
+ "Description": "A unique string that helps differentiate between trades"
+ },
+ {
+ "Parameter": "execution_side",
+ "Type": "string",
+ "Description": "Trade's execution side, maker,taker,n/a (n/a = not applicable)"
+ },
+ {
+ "Parameter": "cid",
+ "Type": "string",
+ "Description": "Custom client order ID"
+ },
+ {
+ "Parameter": "pnl",
+ "Type": "string",
+ "Description": "Profit and loss of the trade"
+ },
+ {
+ "Parameter": "position_is_long",
+ "Type": "bool",
+ "Description": "True if the position associated with this trade is long"
+ },
+ {
+ "Parameter": "position_opened_at",
+ "Type": "int64",
+ "Description": "Timestamp when the position was opened in UNIX millis"
+ },
+ {
+ "Parameter": "position_entry_price",
+ "Type": "string",
+ "Description": "Entry price of the position associated with this trade"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json
new file mode 100644
index 00000000..f30fcbd4
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json
@@ -0,0 +1,56 @@
+[
+ {
+ "Parameter": "market_ids",
+ "Type": "string array",
+ "Description": "",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "direction",
+ "Type": "string",
+ "Description": "Filter by direction the trade",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "account_address",
+ "Type": "string",
+ "Description": "filter by account address",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "per_page",
+ "Type": "int32",
+ "Description": "Number of results per page",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "Pagination token",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "sort_by",
+ "Type": "string",
+ "Description": "Field to sort by",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "sort_direction",
+ "Type": "string",
+ "Description": "Sort direction",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "start_time",
+ "Type": "int64",
+ "Description": "The starting timestamp in UNIX milliseconds that the trades must be equal or older than",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "end_time",
+ "Type": "int64",
+ "Description": "The ending timestamp in UNIX milliseconds that the trades must be equal or younger than",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesResponse.json
new file mode 100644
index 00000000..f1e39ca9
--- /dev/null
+++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesResponse.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "trades",
+ "Type": "TCDerivativeTrade array",
+ "Description": "Trades of TC Derivative Markets"
+ },
+ {
+ "Parameter": "next",
+ "Type": "string array",
+ "Description": "Next tokens for pagination"
+ }
+]
diff --git a/source/json_tables/injective/auction/Bid.json b/source/json_tables/injective/auction/Bid.json
index 79692fa8..6284b42e 100644
--- a/source/json_tables/injective/auction/Bid.json
+++ b/source/json_tables/injective/auction/Bid.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coin",
+ "Type": "Coin",
"Description": ""
}
]
diff --git a/source/json_tables/injective/auction/GenesisState.json b/source/json_tables/injective/auction/GenesisState.json
index 9a0d3454..467cc894 100644
--- a/source/json_tables/injective/auction/GenesisState.json
+++ b/source/json_tables/injective/auction/GenesisState.json
@@ -23,5 +23,10 @@
"Parameter": "last_auction_result",
"Type": "LastAuctionResult",
"Description": "last auction result"
+ },
+ {
+ "Parameter": "vouchers",
+ "Type": "AddressVoucher array",
+ "Description": "outstanding vouchers (failed basket deliveries)"
}
]
diff --git a/source/json_tables/injective/auction/LastAuctionResult.json b/source/json_tables/injective/auction/LastAuctionResult.json
index 3a4ec69f..ae3a3488 100644
--- a/source/json_tables/injective/auction/LastAuctionResult.json
+++ b/source/json_tables/injective/auction/LastAuctionResult.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coin",
+ "Type": "Coin",
"Description": "amount describes the amount the winner get from the auction"
},
{
diff --git a/source/json_tables/injective/auction/MsgBid.json b/source/json_tables/injective/auction/MsgBid.json
index 0540f34a..d66283e6 100644
--- a/source/json_tables/injective/auction/MsgBid.json
+++ b/source/json_tables/injective/auction/MsgBid.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "bid_amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "amount of the bid in INJ tokens",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/auction/MsgClaimVoucher.json b/source/json_tables/injective/auction/MsgClaimVoucher.json
new file mode 100644
index 00000000..4abf5243
--- /dev/null
+++ b/source/json_tables/injective/auction/MsgClaimVoucher.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "sender",
+ "Type": "string",
+ "Description": "The sender's Injective address.",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "denom",
+ "Type": "string",
+ "Description": "The token denom of the voucher to claim.",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/auction/Params.json b/source/json_tables/injective/auction/Params.json
index c29d28fd..8c1ac89f 100644
--- a/source/json_tables/injective/auction/Params.json
+++ b/source/json_tables/injective/auction/Params.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "min_next_bid_increment_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_next_bid_increment_rate defines the minimum increment rate for new bids"
},
{
"Parameter": "inj_basket_max_cap",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "inj_basket_max_cap defines the maximum cap for INJ contained in an auction basket"
},
{
diff --git a/source/json_tables/injective/auction/QueryCurrentAuctionBasketResponse.json b/source/json_tables/injective/auction/QueryCurrentAuctionBasketResponse.json
index c77a1f57..a96be6e7 100644
--- a/source/json_tables/injective/auction/QueryCurrentAuctionBasketResponse.json
+++ b/source/json_tables/injective/auction/QueryCurrentAuctionBasketResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "amount describes the amount put on auction"
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "highestBidAmount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "highestBidAmount describes highest bid amount on current round"
}
]
diff --git a/source/json_tables/injective/auction/QueryVoucherRequest.json b/source/json_tables/injective/auction/QueryVoucherRequest.json
new file mode 100644
index 00000000..6fb06711
--- /dev/null
+++ b/source/json_tables/injective/auction/QueryVoucherRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "denom",
+ "Type": "string",
+ "Description": "Required. The token denom to look up.",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "address",
+ "Type": "string",
+ "Description": "Required. The bech32 address of the voucher holder.",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/auction/QueryVoucherResponse.json b/source/json_tables/injective/auction/QueryVoucherResponse.json
new file mode 100644
index 00000000..32ff1bd3
--- /dev/null
+++ b/source/json_tables/injective/auction/QueryVoucherResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "voucher",
+ "Type": "Coin",
+ "Description": "The outstanding voucher coin for the requested denom and address."
+ }
+]
diff --git a/source/json_tables/injective/auction/QueryVouchersRequest.json b/source/json_tables/injective/auction/QueryVouchersRequest.json
new file mode 100644
index 00000000..d4f5eed4
--- /dev/null
+++ b/source/json_tables/injective/auction/QueryVouchersRequest.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "denom",
+ "Type": "string",
+ "Description": "denom filter; empty string returns all vouchers",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/auction/QueryVouchersResponse.json b/source/json_tables/injective/auction/QueryVouchersResponse.json
new file mode 100644
index 00000000..0e252f80
--- /dev/null
+++ b/source/json_tables/injective/auction/QueryVouchersResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "vouchers",
+ "Type": "AddressVoucher array",
+ "Description": "List of outstanding vouchers matching the request filter."
+ }
+]
diff --git a/source/json_tables/injective/common/vouchers/AddressVoucher.json b/source/json_tables/injective/common/vouchers/AddressVoucher.json
new file mode 100644
index 00000000..aef4d438
--- /dev/null
+++ b/source/json_tables/injective/common/vouchers/AddressVoucher.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "address",
+ "Type": "string",
+ "Description": "The bech32 address of the voucher holder."
+ },
+ {
+ "Parameter": "voucher",
+ "Type": "Coin",
+ "Description": "The outstanding voucher coin."
+ }
+]
diff --git a/source/json_tables/injective/downtime-detector/GenesisDowntimeEntry.json b/source/json_tables/injective/downtime-detector/GenesisDowntimeEntry.json
index 2e00822d..40e269d9 100644
--- a/source/json_tables/injective/downtime-detector/GenesisDowntimeEntry.json
+++ b/source/json_tables/injective/downtime-detector/GenesisDowntimeEntry.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "last_downtime",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
}
]
diff --git a/source/json_tables/injective/downtime-detector/GenesisState.json b/source/json_tables/injective/downtime-detector/GenesisState.json
index 3d5c5dfc..da2a8e70 100644
--- a/source/json_tables/injective/downtime-detector/GenesisState.json
+++ b/source/json_tables/injective/downtime-detector/GenesisState.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "last_block_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": ""
}
]
diff --git a/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthRequest.json b/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthRequest.json
index 4d3ecbc2..90ed7914 100644
--- a/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthRequest.json
+++ b/source/json_tables/injective/downtime-detector/RecoveredSinceDowntimeOfLengthRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "recovery",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/erc20/Params.json b/source/json_tables/injective/erc20/Params.json
index 5709a14c..d0d8b120 100644
--- a/source/json_tables/injective/erc20/Params.json
+++ b/source/json_tables/injective/erc20/Params.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "denom_creation_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": ""
}
]
diff --git a/source/json_tables/injective/erc20/QueryAllTokenPairsRequest.json b/source/json_tables/injective/erc20/QueryAllTokenPairsRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/injective/erc20/QueryAllTokenPairsRequest.json
+++ b/source/json_tables/injective/erc20/QueryAllTokenPairsRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/injective/erc20/QueryAllTokenPairsResponse.json b/source/json_tables/injective/erc20/QueryAllTokenPairsResponse.json
index b3d8d0e0..a2953ac3 100644
--- a/source/json_tables/injective/erc20/QueryAllTokenPairsResponse.json
+++ b/source/json_tables/injective/erc20/QueryAllTokenPairsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/injective/evm/AccessListTx.json b/source/json_tables/injective/evm/AccessListTx.json
index 2fcce0d5..1fefcac9 100644
--- a/source/json_tables/injective/evm/AccessListTx.json
+++ b/source/json_tables/injective/evm/AccessListTx.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "chain_id",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "chain_id of the destination EVM chain"
},
{
@@ -11,7 +11,7 @@
},
{
"Parameter": "gas_price",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "gas_price defines the value for each gas unit"
},
{
@@ -26,7 +26,7 @@
},
{
"Parameter": "value",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "value defines the unsigned integer value of the transaction amount."
},
{
diff --git a/source/json_tables/injective/evm/ChainConfig.json b/source/json_tables/injective/evm/ChainConfig.json
index 46c09e1b..7d348b48 100644
--- a/source/json_tables/injective/evm/ChainConfig.json
+++ b/source/json_tables/injective/evm/ChainConfig.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "homestead_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "homestead_block switch (nil no fork, 0 = already homestead)"
},
{
"Parameter": "dao_fork_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork)"
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "eip150_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork)"
},
{
@@ -26,82 +26,82 @@
},
{
"Parameter": "eip155_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "eip155_block: EIP155Block HF block"
},
{
"Parameter": "eip158_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "eip158_block: EIP158 HF block"
},
{
"Parameter": "byzantium_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium)"
},
{
"Parameter": "constantinople_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "constantinople_block: Constantinople switch block (nil no fork, 0 = already activated)"
},
{
"Parameter": "petersburg_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "petersburg_block: Petersburg switch block (nil same as Constantinople)"
},
{
"Parameter": "istanbul_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul)"
},
{
"Parameter": "muir_glacier_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated)"
},
{
"Parameter": "berlin_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin)"
},
{
"Parameter": "london_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "london_block: London switch block (nil = no fork, 0 = already on london)"
},
{
"Parameter": "arrow_glacier_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated)"
},
{
"Parameter": "gray_glacier_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated)"
},
{
"Parameter": "merge_netsplit_block",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "merge_netsplit_block: Virtual fork after The Merge to use as a network splitter"
},
{
"Parameter": "shanghai_time",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "shanghai switch time (nil = no fork, 0 = already on shanghai)"
},
{
"Parameter": "cancun_time",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "cancun switch time (nil = no fork, 0 = already on cancun)"
},
{
"Parameter": "prague_time",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "prague switch time (nil = no fork, 0 = already on prague)"
},
{
"Parameter": "eip155_chain_id",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "eip155_chain_id: identifies the chain and is used for replay protection"
},
{
diff --git a/source/json_tables/injective/evm/DynamicFeeTx.json b/source/json_tables/injective/evm/DynamicFeeTx.json
index bd408b26..3c6cd9f2 100644
--- a/source/json_tables/injective/evm/DynamicFeeTx.json
+++ b/source/json_tables/injective/evm/DynamicFeeTx.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "chain_id",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "chain_id of the destination EVM chain"
},
{
@@ -11,12 +11,12 @@
},
{
"Parameter": "gas_tip_cap",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "gas_tip_cap defines the max value for the gas tip"
},
{
"Parameter": "gas_fee_cap",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "gas_fee_cap defines the max value for the gas fee"
},
{
@@ -31,7 +31,7 @@
},
{
"Parameter": "value",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "value defines the the transaction amount."
},
{
diff --git a/source/json_tables/injective/evm/EthCallRequest.json b/source/json_tables/injective/evm/EthCallRequest.json
index f9c0a6d1..87d09d31 100644
--- a/source/json_tables/injective/evm/EthCallRequest.json
+++ b/source/json_tables/injective/evm/EthCallRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "proposer_address",
- "Type": "github_com_cosmos_cosmos_sdk_types.ConsAddress",
+ "Type": "ConsAddress",
"Description": "proposer_address of the requested block in hex format",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/evm/LegacyTx.json b/source/json_tables/injective/evm/LegacyTx.json
index ed1ba994..907a172d 100644
--- a/source/json_tables/injective/evm/LegacyTx.json
+++ b/source/json_tables/injective/evm/LegacyTx.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "gas_price",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "gas_price defines the value for each gas unit"
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "value",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "value defines the unsigned integer value of the transaction amount."
},
{
diff --git a/source/json_tables/injective/evm/MsgEthereumTx.json b/source/json_tables/injective/evm/MsgEthereumTx.json
index cbe09c06..b4a8ebc2 100644
--- a/source/json_tables/injective/evm/MsgEthereumTx.json
+++ b/source/json_tables/injective/evm/MsgEthereumTx.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "data",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "data is inner transaction data of the Ethereum transaction",
"Required": "No"
},
diff --git a/source/json_tables/injective/evm/QueryBaseFeeResponse.json b/source/json_tables/injective/evm/QueryBaseFeeResponse.json
index 307364f2..bfa27132 100644
--- a/source/json_tables/injective/evm/QueryBaseFeeResponse.json
+++ b/source/json_tables/injective/evm/QueryBaseFeeResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "base_fee",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "base_fee is the EIP1559 base fee"
}
]
diff --git a/source/json_tables/injective/evm/QueryTraceBlockRequest.json b/source/json_tables/injective/evm/QueryTraceBlockRequest.json
index f8e07705..0403d89e 100644
--- a/source/json_tables/injective/evm/QueryTraceBlockRequest.json
+++ b/source/json_tables/injective/evm/QueryTraceBlockRequest.json
@@ -25,13 +25,13 @@
},
{
"Parameter": "block_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "block_time of the traced block",
"Required": "Yes"
},
{
"Parameter": "proposer_address",
- "Type": "github_com_cosmos_cosmos_sdk_types.ConsAddress",
+ "Type": "ConsAddress",
"Description": "proposer_address is the address of the requested block",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/evm/QueryTraceCallRequest.json b/source/json_tables/injective/evm/QueryTraceCallRequest.json
index 673be606..8cb3682c 100644
--- a/source/json_tables/injective/evm/QueryTraceCallRequest.json
+++ b/source/json_tables/injective/evm/QueryTraceCallRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "proposer_address",
- "Type": "github_com_cosmos_cosmos_sdk_types.ConsAddress",
+ "Type": "ConsAddress",
"Description": "proposer_address of the requested block in hex format",
"Required": "Yes"
},
@@ -37,7 +37,7 @@
},
{
"Parameter": "block_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "block_time of requested transaction",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/evm/QueryTraceTxRequest.json b/source/json_tables/injective/evm/QueryTraceTxRequest.json
index b2346875..86dc2827 100644
--- a/source/json_tables/injective/evm/QueryTraceTxRequest.json
+++ b/source/json_tables/injective/evm/QueryTraceTxRequest.json
@@ -31,13 +31,13 @@
},
{
"Parameter": "block_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "block_time of requested transaction",
"Required": "Yes"
},
{
"Parameter": "proposer_address",
- "Type": "github_com_cosmos_cosmos_sdk_types.ConsAddress",
+ "Type": "ConsAddress",
"Description": "proposer_address is the proposer of the requested block",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/evm/QueryTxLogsRequest.json b/source/json_tables/injective/evm/QueryTxLogsRequest.json
index f4d0bd84..e5e0d4f9 100644
--- a/source/json_tables/injective/evm/QueryTxLogsRequest.json
+++ b/source/json_tables/injective/evm/QueryTxLogsRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/injective/evm/QueryTxLogsResponse.json b/source/json_tables/injective/evm/QueryTxLogsResponse.json
index 1384ac1a..7c65c764 100644
--- a/source/json_tables/injective/evm/QueryTxLogsResponse.json
+++ b/source/json_tables/injective/evm/QueryTxLogsResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/injective/exchange/AccountRewards.json b/source/json_tables/injective/exchange/AccountRewards.json
index 76655ba0..4dd38de0 100644
--- a/source/json_tables/injective/exchange/AccountRewards.json
+++ b/source/json_tables/injective/exchange/AccountRewards.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/AccountVolume.json b/source/json_tables/injective/exchange/AccountVolume.json
index 36aa7fb0..6b3da23a 100644
--- a/source/json_tables/injective/exchange/AccountVolume.json
+++ b/source/json_tables/injective/exchange/AccountVolume.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "volume",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/ActiveGrant.json b/source/json_tables/injective/exchange/ActiveGrant.json
index 205af3b9..d38f3d91 100644
--- a/source/json_tables/injective/exchange/ActiveGrant.json
+++ b/source/json_tables/injective/exchange/ActiveGrant.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/BalanceMismatch.json b/source/json_tables/injective/exchange/BalanceMismatch.json
index 48b0f136..8c24ac57 100644
--- a/source/json_tables/injective/exchange/BalanceMismatch.json
+++ b/source/json_tables/injective/exchange/BalanceMismatch.json
@@ -11,27 +11,27 @@
},
{
"Parameter": "available",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the available balance"
},
{
"Parameter": "total",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the total balance"
},
{
"Parameter": "balance_hold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the balance hold"
},
{
"Parameter": "expected_total",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the expected total balance"
},
{
"Parameter": "difference",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the difference between the total balance and the expected total balance"
}
]
diff --git a/source/json_tables/injective/exchange/BalanceWithMarginHold.json b/source/json_tables/injective/exchange/BalanceWithMarginHold.json
index 1631448e..f9526a86 100644
--- a/source/json_tables/injective/exchange/BalanceWithMarginHold.json
+++ b/source/json_tables/injective/exchange/BalanceWithMarginHold.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "available",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the available balance"
},
{
"Parameter": "total",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the total balance"
},
{
"Parameter": "balance_hold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the balance on hold"
}
]
diff --git a/source/json_tables/injective/exchange/BatchCommunityPoolSpendProposal.json b/source/json_tables/injective/exchange/BatchCommunityPoolSpendProposal.json
index 5c9a1f61..f2fd00f2 100644
--- a/source/json_tables/injective/exchange/BatchCommunityPoolSpendProposal.json
+++ b/source/json_tables/injective/exchange/BatchCommunityPoolSpendProposal.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proposals",
- "Type": "types1.CommunityPoolSpendProposal array",
+ "Type": "CommunityPoolSpendProposal array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/BinaryOptionsMarket.json b/source/json_tables/injective/exchange/BinaryOptionsMarket.json
index 71a455e9..b40a343d 100644
--- a/source/json_tables/injective/exchange/BinaryOptionsMarket.json
+++ b/source/json_tables/injective/exchange/BinaryOptionsMarket.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types1.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
@@ -51,17 +51,17 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the maker fee rate of a binary options market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the taker fee rate of a derivative market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market"
},
{
@@ -71,22 +71,22 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market"
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/BinaryOptionsMarketLaunchProposal.json b/source/json_tables/injective/exchange/BinaryOptionsMarketLaunchProposal.json
index d4e35f87..4b422813 100644
--- a/source/json_tables/injective/exchange/BinaryOptionsMarketLaunchProposal.json
+++ b/source/json_tables/injective/exchange/BinaryOptionsMarketLaunchProposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
@@ -56,27 +56,27 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the maker fee rate of a binary options market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the taker fee rate of a derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/BinaryOptionsMarketParamUpdateProposal.json b/source/json_tables/injective/exchange/BinaryOptionsMarketParamUpdateProposal.json
index c94745ad..f9e1c857 100644
--- a/source/json_tables/injective/exchange/BinaryOptionsMarketParamUpdateProposal.json
+++ b/source/json_tables/injective/exchange/BinaryOptionsMarketParamUpdateProposal.json
@@ -16,27 +16,27 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the exchange trade fee for makers for the derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the exchange trade fee for takers for the derivative market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the relayer fee share rate for the derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "new price at which market will be settled"
},
{
@@ -76,7 +76,7 @@
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
}
]
diff --git a/source/json_tables/injective/exchange/CampaignRewardPool.json b/source/json_tables/injective/exchange/CampaignRewardPool.json
index 38f47b04..36ea5985 100644
--- a/source/json_tables/injective/exchange/CampaignRewardPool.json
+++ b/source/json_tables/injective/exchange/CampaignRewardPool.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "max_campaign_rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "max_campaign_rewards are the maximum reward amounts to be disbursed at the end of the campaign"
}
]
diff --git a/source/json_tables/injective/exchange/DenomMinNotional.json b/source/json_tables/injective/exchange/DenomMinNotional.json
index cfaddbd4..18059fd7 100644
--- a/source/json_tables/injective/exchange/DenomMinNotional.json
+++ b/source/json_tables/injective/exchange/DenomMinNotional.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the minimum notional value for the token (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/Deposit.json b/source/json_tables/injective/exchange/Deposit.json
index 1bd7b124..a65844bc 100644
--- a/source/json_tables/injective/exchange/Deposit.json
+++ b/source/json_tables/injective/exchange/Deposit.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "available_balance",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "total_balance",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/DerivativeLimitOrder.json b/source/json_tables/injective/exchange/DerivativeLimitOrder.json
index 4da1584e..ffe4bb14 100644
--- a/source/json_tables/injective/exchange/DerivativeLimitOrder.json
+++ b/source/json_tables/injective/exchange/DerivativeLimitOrder.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin is the margin used by the limit order"
},
{
"Parameter": "fillable",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable"
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
},
{
diff --git a/source/json_tables/injective/exchange/DerivativeMarket.json b/source/json_tables/injective/exchange/DerivativeMarket.json
index 843011d9..110d1743 100644
--- a/source/json_tables/injective/exchange/DerivativeMarket.json
+++ b/source/json_tables/injective/exchange/DerivativeMarket.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types1.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
@@ -36,27 +36,27 @@
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio of a derivative market"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio of a derivative market"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the maker fee rate of a derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the taker fee rate of a derivative market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market"
},
{
@@ -71,17 +71,17 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in chain format)"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in chain format)"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in chain format)"
},
{
@@ -101,7 +101,7 @@
},
{
"Parameter": "reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "reduce_margin_ratio defines the ratio of the margin that is reduced"
},
{
diff --git a/source/json_tables/injective/exchange/DerivativeMarketOrder.json b/source/json_tables/injective/exchange/DerivativeMarketOrder.json
index 0daaee26..8b659f9b 100644
--- a/source/json_tables/injective/exchange/DerivativeMarketOrder.json
+++ b/source/json_tables/injective/exchange/DerivativeMarketOrder.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "margin_hold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
},
{
diff --git a/source/json_tables/injective/exchange/DerivativeMarketOrderCancel.json b/source/json_tables/injective/exchange/DerivativeMarketOrderCancel.json
index 73e295a9..b6fe8d54 100644
--- a/source/json_tables/injective/exchange/DerivativeMarketOrderCancel.json
+++ b/source/json_tables/injective/exchange/DerivativeMarketOrderCancel.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "cancel_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/DerivativeMarketOrderResults.json b/source/json_tables/injective/exchange/DerivativeMarketOrderResults.json
index e5ca5362..15e275bd 100644
--- a/source/json_tables/injective/exchange/DerivativeMarketOrderResults.json
+++ b/source/json_tables/injective/exchange/DerivativeMarketOrderResults.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "payout",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/DerivativeMarketParamUpdateProposal.json b/source/json_tables/injective/exchange/DerivativeMarketParamUpdateProposal.json
index 64b5f435..ee1d3e03 100644
--- a/source/json_tables/injective/exchange/DerivativeMarketParamUpdateProposal.json
+++ b/source/json_tables/injective/exchange/DerivativeMarketParamUpdateProposal.json
@@ -16,47 +16,47 @@
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the derivative market"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the derivative market"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the exchange trade fee for makers for the derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the exchange trade fee for takers for the derivative market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the relayer fee share rate for the derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
"Parameter": "HourlyInterestRate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_interest_rate defines the hourly interest rate"
},
{
"Parameter": "HourlyFundingRateCap",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate"
},
{
@@ -76,7 +76,7 @@
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/DerivativeMarketSettlementInfo.json b/source/json_tables/injective/exchange/DerivativeMarketSettlementInfo.json
index 1669f68a..d285267c 100644
--- a/source/json_tables/injective/exchange/DerivativeMarketSettlementInfo.json
+++ b/source/json_tables/injective/exchange/DerivativeMarketSettlementInfo.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "settlement_price defines the settlement price"
}
]
diff --git a/source/json_tables/injective/exchange/DerivativeOrder.json b/source/json_tables/injective/exchange/DerivativeOrder.json
index e949c85d..e0ee9de7 100644
--- a/source/json_tables/injective/exchange/DerivativeOrder.json
+++ b/source/json_tables/injective/exchange/DerivativeOrder.json
@@ -16,12 +16,12 @@
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin is the margin used by the limit order"
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
}
]
diff --git a/source/json_tables/injective/exchange/DerivativeTradeLog.json b/source/json_tables/injective/exchange/DerivativeTradeLog.json
index 0588fa9f..6cfa0313 100644
--- a/source/json_tables/injective/exchange/DerivativeTradeLog.json
+++ b/source/json_tables/injective/exchange/DerivativeTradeLog.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "payout",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -36,7 +36,7 @@
},
{
"Parameter": "pnl",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/EffectiveGrant.json b/source/json_tables/injective/exchange/EffectiveGrant.json
index 03e7bd1e..dbf13031 100644
--- a/source/json_tables/injective/exchange/EffectiveGrant.json
+++ b/source/json_tables/injective/exchange/EffectiveGrant.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "net_granted_stake",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/EffectivePosition.json b/source/json_tables/injective/exchange/EffectivePosition.json
index 3be79d52..ab72b836 100644
--- a/source/json_tables/injective/exchange/EffectivePosition.json
+++ b/source/json_tables/injective/exchange/EffectivePosition.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the position (in chain format)"
},
{
"Parameter": "entry_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the entry price of the position (in chain format)"
},
{
"Parameter": "effective_margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the effective margin of the position (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/ExpiryFuturesMarketInfo.json b/source/json_tables/injective/exchange/ExpiryFuturesMarketInfo.json
index 07d559e0..96559ef6 100644
--- a/source/json_tables/injective/exchange/ExpiryFuturesMarketInfo.json
+++ b/source/json_tables/injective/exchange/ExpiryFuturesMarketInfo.json
@@ -16,12 +16,12 @@
},
{
"Parameter": "expiration_twap_start_price_cumulative",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "expiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in chain format)"
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "settlement_price defines the settlement price for a time expiry futures market (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/ExpiryFuturesMarketLaunchProposal.json b/source/json_tables/injective/exchange/ExpiryFuturesMarketLaunchProposal.json
index 5db2c134..0bdf0a5f 100644
--- a/source/json_tables/injective/exchange/ExpiryFuturesMarketLaunchProposal.json
+++ b/source/json_tables/injective/exchange/ExpiryFuturesMarketLaunchProposal.json
@@ -36,7 +36,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
@@ -46,37 +46,37 @@
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the derivative market"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the derivative market"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the exchange trade fee for makers for the derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the exchange trade fee for takers for the derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/FeeDiscountTierInfo.json b/source/json_tables/injective/exchange/FeeDiscountTierInfo.json
index 5e37c45d..446b22d4 100644
--- a/source/json_tables/injective/exchange/FeeDiscountTierInfo.json
+++ b/source/json_tables/injective/exchange/FeeDiscountTierInfo.json
@@ -1,22 +1,22 @@
[
{
"Parameter": "maker_discount_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the maker discount rate"
},
{
"Parameter": "taker_discount_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the taker discount rate"
},
{
"Parameter": "staked_amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "the staked amount required to qualify for the discount (in chain format)"
},
{
"Parameter": "volume",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the volume required to qualify for the discount (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/FullDerivativeMarket.json b/source/json_tables/injective/exchange/FullDerivativeMarket.json
index a7db64c2..6aca5cc3 100644
--- a/source/json_tables/injective/exchange/FullDerivativeMarket.json
+++ b/source/json_tables/injective/exchange/FullDerivativeMarket.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "mark_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "mark price (in chain format)"
},
{
diff --git a/source/json_tables/injective/exchange/FullGrantAuthorizations.json b/source/json_tables/injective/exchange/FullGrantAuthorizations.json
index a13c7858..7bee8804 100644
--- a/source/json_tables/injective/exchange/FullGrantAuthorizations.json
+++ b/source/json_tables/injective/exchange/FullGrantAuthorizations.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "total_grant_amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/GenericExchangeAuthorization.json b/source/json_tables/injective/exchange/GenericExchangeAuthorization.json
index 0b497d37..e1489cb1 100644
--- a/source/json_tables/injective/exchange/GenericExchangeAuthorization.json
+++ b/source/json_tables/injective/exchange/GenericExchangeAuthorization.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "spend_limit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "SpendLimit is the maximum amount of tokens that the grantee can spend on behalf of the granter. If not set, there is no spend limit."
}
]
diff --git a/source/json_tables/injective/exchange/GrantAuthorization.json b/source/json_tables/injective/exchange/GrantAuthorization.json
index b57855b4..dbb0390a 100644
--- a/source/json_tables/injective/exchange/GrantAuthorization.json
+++ b/source/json_tables/injective/exchange/GrantAuthorization.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/Level.json b/source/json_tables/injective/exchange/Level.json
index e26a9c58..6cdd49f0 100644
--- a/source/json_tables/injective/exchange/Level.json
+++ b/source/json_tables/injective/exchange/Level.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "p",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price (in chain format)"
},
{
"Parameter": "q",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/MarketBalance.json b/source/json_tables/injective/exchange/MarketBalance.json
index 459041a8..1ea47fbb 100644
--- a/source/json_tables/injective/exchange/MarketBalance.json
+++ b/source/json_tables/injective/exchange/MarketBalance.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balance",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/MarketFeeMultiplier.json b/source/json_tables/injective/exchange/MarketFeeMultiplier.json
index fe282927..3836a670 100644
--- a/source/json_tables/injective/exchange/MarketFeeMultiplier.json
+++ b/source/json_tables/injective/exchange/MarketFeeMultiplier.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/MarketForcedSettlementProposal.json b/source/json_tables/injective/exchange/MarketForcedSettlementProposal.json
index 7872f360..2b1ecb3f 100644
--- a/source/json_tables/injective/exchange/MarketForcedSettlementProposal.json
+++ b/source/json_tables/injective/exchange/MarketForcedSettlementProposal.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/MidPriceAndTOB.json b/source/json_tables/injective/exchange/MidPriceAndTOB.json
index 4b9b723d..e70dfd81 100644
--- a/source/json_tables/injective/exchange/MidPriceAndTOB.json
+++ b/source/json_tables/injective/exchange/MidPriceAndTOB.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "mid_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "mid price of the market (in chain format)"
},
{
"Parameter": "best_buy_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best buy price of the market (in chain format)"
},
{
"Parameter": "best_sell_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best sell price of the market (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/MsgAdminUpdateBinaryOptionsMarket.json b/source/json_tables/injective/exchange/MsgAdminUpdateBinaryOptionsMarket.json
index ee706109..10397406 100644
--- a/source/json_tables/injective/exchange/MsgAdminUpdateBinaryOptionsMarket.json
+++ b/source/json_tables/injective/exchange/MsgAdminUpdateBinaryOptionsMarket.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "new price at which market will be settled",
"Required": "No"
},
diff --git a/source/json_tables/injective/exchange/MsgDecreasePositionMargin.json b/source/json_tables/injective/exchange/MsgDecreasePositionMargin.json
index 99f437ae..90ee4f8d 100644
--- a/source/json_tables/injective/exchange/MsgDecreasePositionMargin.json
+++ b/source/json_tables/injective/exchange/MsgDecreasePositionMargin.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "amount defines the amount of margin to withdraw from the position (in chain format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/MsgDeposit.json b/source/json_tables/injective/exchange/MsgDeposit.json
index ca41c342..4cea3024 100644
--- a/source/json_tables/injective/exchange/MsgDeposit.json
+++ b/source/json_tables/injective/exchange/MsgDeposit.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "the amount of the deposit (in chain format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/MsgExternalTransfer.json b/source/json_tables/injective/exchange/MsgExternalTransfer.json
index 9772bfad..f6f73b2b 100644
--- a/source/json_tables/injective/exchange/MsgExternalTransfer.json
+++ b/source/json_tables/injective/exchange/MsgExternalTransfer.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/MsgIncreasePositionMargin.json b/source/json_tables/injective/exchange/MsgIncreasePositionMargin.json
index b9d7255d..d5cfdde1 100644
--- a/source/json_tables/injective/exchange/MsgIncreasePositionMargin.json
+++ b/source/json_tables/injective/exchange/MsgIncreasePositionMargin.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "amount defines the amount of margin to add to the position (in chain format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/MsgInstantBinaryOptionsMarketLaunch.json b/source/json_tables/injective/exchange/MsgInstantBinaryOptionsMarketLaunch.json
index 64e25dbb..a834cc9d 100644
--- a/source/json_tables/injective/exchange/MsgInstantBinaryOptionsMarketLaunch.json
+++ b/source/json_tables/injective/exchange/MsgInstantBinaryOptionsMarketLaunch.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types1.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type",
"Required": "Yes"
},
@@ -37,13 +37,13 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the trade fee rate for makers on the perpetual market",
"Required": "Yes"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the trade fee rate for takers on the perpetual market",
"Required": "Yes"
},
@@ -73,19 +73,19 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market",
"Required": "Yes"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market",
"Required": "Yes"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/MsgInstantExpiryFuturesMarketLaunch.json b/source/json_tables/injective/exchange/MsgInstantExpiryFuturesMarketLaunch.json
index e91dda2d..82d4a21b 100644
--- a/source/json_tables/injective/exchange/MsgInstantExpiryFuturesMarketLaunch.json
+++ b/source/json_tables/injective/exchange/MsgInstantExpiryFuturesMarketLaunch.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types1.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type",
"Required": "Yes"
},
@@ -49,43 +49,43 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the trade fee rate for makers on the expiry futures market",
"Required": "Yes"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the trade fee rate for takers on the expiry futures market",
"Required": "Yes"
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the derivative market",
"Required": "Yes"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the derivative market",
"Required": "Yes"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin",
"Required": "Yes"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity",
"Required": "Yes"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/MsgInstantPerpetualMarketLaunch.json b/source/json_tables/injective/exchange/MsgInstantPerpetualMarketLaunch.json
index 29b8a518..c5d4cbc3 100644
--- a/source/json_tables/injective/exchange/MsgInstantPerpetualMarketLaunch.json
+++ b/source/json_tables/injective/exchange/MsgInstantPerpetualMarketLaunch.json
@@ -37,49 +37,49 @@
},
{
"Parameter": "oracle_type",
- "Type": "types1.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type",
"Required": "Yes"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the trade fee rate for makers on the perpetual market",
"Required": "Yes"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the trade fee rate for takers on the perpetual market",
"Required": "Yes"
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the perpetual market",
"Required": "Yes"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the perpetual market",
"Required": "Yes"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin",
"Required": "Yes"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity",
"Required": "Yes"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/MsgInstantSpotMarketLaunch.json b/source/json_tables/injective/exchange/MsgInstantSpotMarketLaunch.json
index 2fdac99a..3c0f0218 100644
--- a/source/json_tables/injective/exchange/MsgInstantSpotMarketLaunch.json
+++ b/source/json_tables/injective/exchange/MsgInstantSpotMarketLaunch.json
@@ -25,19 +25,19 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price",
"Required": "Yes"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity",
"Required": "Yes"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/exchange/MsgPrivilegedExecuteContractResponse.json b/source/json_tables/injective/exchange/MsgPrivilegedExecuteContractResponse.json
index 65f26fd9..3ba56690 100644
--- a/source/json_tables/injective/exchange/MsgPrivilegedExecuteContractResponse.json
+++ b/source/json_tables/injective/exchange/MsgPrivilegedExecuteContractResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "funds_diff",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/MsgSignData.json b/source/json_tables/injective/exchange/MsgSignData.json
index 54002345..bf8edeb1 100644
--- a/source/json_tables/injective/exchange/MsgSignData.json
+++ b/source/json_tables/injective/exchange/MsgSignData.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "Signer",
- "Type": "github_com_cosmos_cosmos_sdk_types.AccAddress",
+ "Type": "AccAddress",
"Description": "Signer is the sdk.AccAddress of the message signer",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/exchange/MsgSubaccountTransfer.json b/source/json_tables/injective/exchange/MsgSubaccountTransfer.json
index b36215dc..9b3e792f 100644
--- a/source/json_tables/injective/exchange/MsgSubaccountTransfer.json
+++ b/source/json_tables/injective/exchange/MsgSubaccountTransfer.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "the amount of the transfer",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/MsgUpdateDerivativeMarket.json b/source/json_tables/injective/exchange/MsgUpdateDerivativeMarket.json
index da8b8900..df38b42b 100644
--- a/source/json_tables/injective/exchange/MsgUpdateDerivativeMarket.json
+++ b/source/json_tables/injective/exchange/MsgUpdateDerivativeMarket.json
@@ -19,31 +19,31 @@
},
{
"Parameter": "new_min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value for min_price_tick_size",
"Required": "No"
},
{
"Parameter": "new_min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value min_quantity_tick_size",
"Required": "No"
},
{
"Parameter": "new_min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated min notional",
"Required": "No"
},
{
"Parameter": "new_initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value for initial_margin_ratio",
"Required": "No"
},
{
"Parameter": "new_maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value for maintenance_margin_ratio",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/MsgUpdateSpotMarket.json b/source/json_tables/injective/exchange/MsgUpdateSpotMarket.json
index f5f875ab..6d411c63 100644
--- a/source/json_tables/injective/exchange/MsgUpdateSpotMarket.json
+++ b/source/json_tables/injective/exchange/MsgUpdateSpotMarket.json
@@ -19,19 +19,19 @@
},
{
"Parameter": "new_min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated min price tick size value",
"Required": "No"
},
{
"Parameter": "new_min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated min quantity tick size value",
"Required": "No"
},
{
"Parameter": "new_min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated min notional",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/MsgWithdraw.json b/source/json_tables/injective/exchange/MsgWithdraw.json
index 4d1bdc44..eafa557d 100644
--- a/source/json_tables/injective/exchange/MsgWithdraw.json
+++ b/source/json_tables/injective/exchange/MsgWithdraw.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "the amount of the withdrawal (in chain format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/OpenNotionalCapCapped.json b/source/json_tables/injective/exchange/OpenNotionalCapCapped.json
index c5c99c03..02b67109 100644
--- a/source/json_tables/injective/exchange/OpenNotionalCapCapped.json
+++ b/source/json_tables/injective/exchange/OpenNotionalCapCapped.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "value",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/OracleParams.json b/source/json_tables/injective/exchange/OracleParams.json
index a719913c..f3408bf0 100644
--- a/source/json_tables/injective/exchange/OracleParams.json
+++ b/source/json_tables/injective/exchange/OracleParams.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
}
]
diff --git a/source/json_tables/injective/exchange/OrderInfo.json b/source/json_tables/injective/exchange/OrderInfo.json
index 76598691..568eda3e 100644
--- a/source/json_tables/injective/exchange/OrderInfo.json
+++ b/source/json_tables/injective/exchange/OrderInfo.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order"
},
{
diff --git a/source/json_tables/injective/exchange/Params.json b/source/json_tables/injective/exchange/Params.json
index bcb19690..36a62a68 100644
--- a/source/json_tables/injective/exchange/Params.json
+++ b/source/json_tables/injective/exchange/Params.json
@@ -1,42 +1,42 @@
[
{
"Parameter": "spot_market_instant_listing_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "spot_market_instant_listing_fee defines the expedited fee in INJ required to create a spot market by bypassing governance"
},
{
"Parameter": "derivative_market_instant_listing_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "derivative_market_instant_listing_fee defines the expedited fee in INJ required to create a derivative market by bypassing governance"
},
{
"Parameter": "default_spot_maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_spot_maker_fee defines the default exchange trade fee for makers on a spot market"
},
{
"Parameter": "default_spot_taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_spot_taker_fee_rate defines the default exchange trade fee rate for takers on a new spot market"
},
{
"Parameter": "default_derivative_maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_derivative_maker_fee defines the default exchange trade fee for makers on a new derivative market"
},
{
"Parameter": "default_derivative_taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_derivative_taker_fee defines the default exchange trade fee for takers on a new derivative market"
},
{
"Parameter": "default_initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_initial_margin_ratio defines the default initial margin ratio on a new derivative market"
},
{
"Parameter": "default_maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_maintenance_margin_ratio defines the default maintenance margin ratio on a new derivative market"
},
{
@@ -51,17 +51,17 @@
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the trade fee share percentage that goes to relayers"
},
{
"Parameter": "default_hourly_funding_rate_cap",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_hourly_funding_rate_cap defines the default maximum absolute value of the hourly funding rate"
},
{
"Parameter": "default_hourly_interest_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_interest_rate defines the hourly interest rate"
},
{
@@ -71,7 +71,7 @@
},
{
"Parameter": "inj_reward_staked_requirement_threshold",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "inj_reward_staked_requirement_threshold defines the threshold on INJ rewards after which one also needs staked INJ to receive more"
},
{
@@ -81,12 +81,12 @@
},
{
"Parameter": "liquidator_reward_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "liquidator_reward_share_rate defines the ratio of the split of the surplus collateral that goes to the liquidator"
},
{
"Parameter": "binary_options_market_instant_listing_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "binary_options_market_instant_listing_fee defines the expedited fee in INJ required to create a derivative market by bypassing governance"
},
{
@@ -96,22 +96,22 @@
},
{
"Parameter": "spot_atomic_market_order_fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "spot_atomic_market_order_fee_multiplier defines the default multiplier for executing atomic market orders in spot markets"
},
{
"Parameter": "derivative_atomic_market_order_fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "derivative_atomic_market_order_fee_multiplier defines the default multiplier for executing atomic market orders in derivative markets"
},
{
"Parameter": "binary_options_atomic_market_order_fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "binary_options_atomic_market_order_fee_multiplier defines the default multiplier for executing atomic market orders in binary markets"
},
{
"Parameter": "minimal_protocol_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "minimal_protocol_fee_rate defines the minimal protocol fee rate"
},
{
@@ -136,8 +136,8 @@
},
{
"Parameter": "inj_auction_max_cap",
- "Type": "cosmossdk_io_math.Int",
- "Description": "inj_auction_max_cap defines the maximum cap for INJ sent to auction"
+ "Type": "Int",
+ "Description": "inj_auction_max_cap defines the maximum cap for INJ sent to auction. Deprecated: the cap is now driven by the auction module's InjBasketMaxCap; this field is ignored."
},
{
"Parameter": "fixed_gas_enabled",
diff --git a/source/json_tables/injective/exchange/PerpetualMarketFunding.json b/source/json_tables/injective/exchange/PerpetualMarketFunding.json
index c9741487..41d9c853 100644
--- a/source/json_tables/injective/exchange/PerpetualMarketFunding.json
+++ b/source/json_tables/injective/exchange/PerpetualMarketFunding.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "cumulative_funding",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "cumulative_funding defines the cumulative funding of a perpetual market."
},
{
"Parameter": "cumulative_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"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"
},
{
diff --git a/source/json_tables/injective/exchange/PerpetualMarketInfo.json b/source/json_tables/injective/exchange/PerpetualMarketInfo.json
index 26cd6e6e..d03b7517 100644
--- a/source/json_tables/injective/exchange/PerpetualMarketInfo.json
+++ b/source/json_tables/injective/exchange/PerpetualMarketInfo.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "hourly_funding_rate_cap",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate"
},
{
"Parameter": "hourly_interest_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_interest_rate defines the hourly interest rate"
},
{
diff --git a/source/json_tables/injective/exchange/PerpetualMarketLaunchProposal.json b/source/json_tables/injective/exchange/PerpetualMarketLaunchProposal.json
index dedaf4ef..75c6625d 100644
--- a/source/json_tables/injective/exchange/PerpetualMarketLaunchProposal.json
+++ b/source/json_tables/injective/exchange/PerpetualMarketLaunchProposal.json
@@ -36,42 +36,42 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the derivative market"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the derivative market"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the exchange trade fee for makers for the derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the exchange trade fee for takers for the derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/PointsMultiplier.json b/source/json_tables/injective/exchange/PointsMultiplier.json
index dc9bfc18..b75e7d3d 100644
--- a/source/json_tables/injective/exchange/PointsMultiplier.json
+++ b/source/json_tables/injective/exchange/PointsMultiplier.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "maker_points_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "taker_points_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/Position.json b/source/json_tables/injective/exchange/Position.json
index 356094cc..f6bbd052 100644
--- a/source/json_tables/injective/exchange/Position.json
+++ b/source/json_tables/injective/exchange/Position.json
@@ -6,22 +6,22 @@
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The quantity of the position (in chain format)"
},
{
"Parameter": "entry_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The entry price of the position (in chain format)"
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The margin of the position (in chain format)"
},
{
"Parameter": "cumulative_funding_entry",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The cumulative funding"
}
]
diff --git a/source/json_tables/injective/exchange/PositionDelta.json b/source/json_tables/injective/exchange/PositionDelta.json
index 6b03dc30..b6d14d01 100644
--- a/source/json_tables/injective/exchange/PositionDelta.json
+++ b/source/json_tables/injective/exchange/PositionDelta.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "execution_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "execution_margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "execution_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/PriceLevel.json b/source/json_tables/injective/exchange/PriceLevel.json
index 801e8051..b498396c 100644
--- a/source/json_tables/injective/exchange/PriceLevel.json
+++ b/source/json_tables/injective/exchange/PriceLevel.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity"
}
]
diff --git a/source/json_tables/injective/exchange/ProviderOracleParams.json b/source/json_tables/injective/exchange/ProviderOracleParams.json
index bfac78ac..c91c4444 100644
--- a/source/json_tables/injective/exchange/ProviderOracleParams.json
+++ b/source/json_tables/injective/exchange/ProviderOracleParams.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
}
]
diff --git a/source/json_tables/injective/exchange/QueryDenomMinNotionalResponse.json b/source/json_tables/injective/exchange/QueryDenomMinNotionalResponse.json
index fd9c915c..5b68e9b3 100644
--- a/source/json_tables/injective/exchange/QueryDenomMinNotionalResponse.json
+++ b/source/json_tables/injective/exchange/QueryDenomMinNotionalResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the minimum notional amount for the denom (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/QueryDerivativeMidPriceAndTOBResponse.json b/source/json_tables/injective/exchange/QueryDerivativeMidPriceAndTOBResponse.json
index eb70dcc6..b6bf19f6 100644
--- a/source/json_tables/injective/exchange/QueryDerivativeMidPriceAndTOBResponse.json
+++ b/source/json_tables/injective/exchange/QueryDerivativeMidPriceAndTOBResponse.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "mid_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "mid price of the market"
},
{
"Parameter": "best_buy_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best buy price of the market"
},
{
"Parameter": "best_sell_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best sell price of the market"
}
]
diff --git a/source/json_tables/injective/exchange/QueryDerivativeOrderbookRequest.json b/source/json_tables/injective/exchange/QueryDerivativeOrderbookRequest.json
index 8f8d6192..87e0227a 100644
--- a/source/json_tables/injective/exchange/QueryDerivativeOrderbookRequest.json
+++ b/source/json_tables/injective/exchange/QueryDerivativeOrderbookRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "limit_cumulative_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/QueryGrantAuthorizationResponse.json b/source/json_tables/injective/exchange/QueryGrantAuthorizationResponse.json
index 78431df1..ed319593 100644
--- a/source/json_tables/injective/exchange/QueryGrantAuthorizationResponse.json
+++ b/source/json_tables/injective/exchange/QueryGrantAuthorizationResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/QueryGrantAuthorizationsResponse.json b/source/json_tables/injective/exchange/QueryGrantAuthorizationsResponse.json
index 2141ecb4..339458cf 100644
--- a/source/json_tables/injective/exchange/QueryGrantAuthorizationsResponse.json
+++ b/source/json_tables/injective/exchange/QueryGrantAuthorizationsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "total_grant_amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/QueryMarketAtomicExecutionFeeMultiplierResponse.json b/source/json_tables/injective/exchange/QueryMarketAtomicExecutionFeeMultiplierResponse.json
index bcf8ade7..4c5ca0d9 100644
--- a/source/json_tables/injective/exchange/QueryMarketAtomicExecutionFeeMultiplierResponse.json
+++ b/source/json_tables/injective/exchange/QueryMarketAtomicExecutionFeeMultiplierResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/QueryMarketVolatilityResponse.json b/source/json_tables/injective/exchange/QueryMarketVolatilityResponse.json
index cb9911e7..d8959381 100644
--- a/source/json_tables/injective/exchange/QueryMarketVolatilityResponse.json
+++ b/source/json_tables/injective/exchange/QueryMarketVolatilityResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "volatility",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "history_metadata",
- "Type": "types.MetadataStatistics",
+ "Type": "MetadataStatistics",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/QuerySpotMidPriceAndTOBResponse.json b/source/json_tables/injective/exchange/QuerySpotMidPriceAndTOBResponse.json
index 4b9b723d..e70dfd81 100644
--- a/source/json_tables/injective/exchange/QuerySpotMidPriceAndTOBResponse.json
+++ b/source/json_tables/injective/exchange/QuerySpotMidPriceAndTOBResponse.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "mid_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "mid price of the market (in chain format)"
},
{
"Parameter": "best_buy_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best buy price of the market (in chain format)"
},
{
"Parameter": "best_sell_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best sell price of the market (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/QuerySpotOrderbookRequest.json b/source/json_tables/injective/exchange/QuerySpotOrderbookRequest.json
index be3c6db2..289030aa 100644
--- a/source/json_tables/injective/exchange/QuerySpotOrderbookRequest.json
+++ b/source/json_tables/injective/exchange/QuerySpotOrderbookRequest.json
@@ -19,13 +19,13 @@
},
{
"Parameter": "limit_cumulative_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "limits the number of entries to return per side based on the cumulative notional (in chain format)",
"Required": "No"
},
{
"Parameter": "limit_cumulative_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "limits the number of entries to return per side based on the cumulative quantity (in chain format)",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/QueryTradeRewardCampaignResponse.json b/source/json_tables/injective/exchange/QueryTradeRewardCampaignResponse.json
index 9d2051cb..149d0f9b 100644
--- a/source/json_tables/injective/exchange/QueryTradeRewardCampaignResponse.json
+++ b/source/json_tables/injective/exchange/QueryTradeRewardCampaignResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "total_trade_reward_points",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "pending_total_trade_reward_points",
- "Type": "cosmossdk_io_math.LegacyDec array",
+ "Type": "LegacyDec array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/QueryTradeRewardPointsResponse.json b/source/json_tables/injective/exchange/QueryTradeRewardPointsResponse.json
index f2929226..80b39819 100644
--- a/source/json_tables/injective/exchange/QueryTradeRewardPointsResponse.json
+++ b/source/json_tables/injective/exchange/QueryTradeRewardPointsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "account_trade_reward_points",
- "Type": "cosmossdk_io_math.LegacyDec array",
+ "Type": "LegacyDec array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/QueryTraderDerivativeOrdersToCancelUpToAmountRequest.json b/source/json_tables/injective/exchange/QueryTraderDerivativeOrdersToCancelUpToAmountRequest.json
index e95679b3..ac6f8893 100644
--- a/source/json_tables/injective/exchange/QueryTraderDerivativeOrdersToCancelUpToAmountRequest.json
+++ b/source/json_tables/injective/exchange/QueryTraderDerivativeOrdersToCancelUpToAmountRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "quote_amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quote amount to cancel (free up)",
"Required": "Yes"
},
@@ -25,7 +25,7 @@
},
{
"Parameter": "reference_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The reference price for the cancellation strategy, e.g. mid price or mark price",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/QueryTraderSpotOrdersToCancelUpToAmountRequest.json b/source/json_tables/injective/exchange/QueryTraderSpotOrdersToCancelUpToAmountRequest.json
index 889acbba..cf21afb8 100644
--- a/source/json_tables/injective/exchange/QueryTraderSpotOrdersToCancelUpToAmountRequest.json
+++ b/source/json_tables/injective/exchange/QueryTraderSpotOrdersToCancelUpToAmountRequest.json
@@ -13,13 +13,13 @@
},
{
"Parameter": "base_amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the base amount to cancel (free up)",
"Required": "Yes"
},
{
"Parameter": "quote_amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quote amount to cancel (free up)",
"Required": "Yes"
},
@@ -31,7 +31,7 @@
},
{
"Parameter": "reference_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The reference price for the cancellation strategy, e.g. mid price or mark price",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/RewardPointUpdate.json b/source/json_tables/injective/exchange/RewardPointUpdate.json
index 767289e4..9dcb5d6c 100644
--- a/source/json_tables/injective/exchange/RewardPointUpdate.json
+++ b/source/json_tables/injective/exchange/RewardPointUpdate.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "new_points",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "new_points overwrites the current trading reward points for the account"
}
]
diff --git a/source/json_tables/injective/exchange/SpotLimitOrder.json b/source/json_tables/injective/exchange/SpotLimitOrder.json
index 651150b6..58263ebb 100644
--- a/source/json_tables/injective/exchange/SpotLimitOrder.json
+++ b/source/json_tables/injective/exchange/SpotLimitOrder.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "fillable",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable"
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
},
{
diff --git a/source/json_tables/injective/exchange/SpotMarket.json b/source/json_tables/injective/exchange/SpotMarket.json
index 9195300c..1d72c90c 100644
--- a/source/json_tables/injective/exchange/SpotMarket.json
+++ b/source/json_tables/injective/exchange/SpotMarket.json
@@ -16,17 +16,17 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the fee percentage makers pay when trading"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the fee percentage takers pay when trading"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market"
},
{
@@ -41,17 +41,17 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price required for orders in the market (in chain format)"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in chain format)"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in chain format)"
},
{
diff --git a/source/json_tables/injective/exchange/SpotMarketLaunchProposal.json b/source/json_tables/injective/exchange/SpotMarketLaunchProposal.json
index bd898d1c..29876136 100644
--- a/source/json_tables/injective/exchange/SpotMarketLaunchProposal.json
+++ b/source/json_tables/injective/exchange/SpotMarketLaunchProposal.json
@@ -26,27 +26,27 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the fee percentage makers pay when trading"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the fee percentage takers pay when trading"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/SpotMarketOrder.json b/source/json_tables/injective/exchange/SpotMarketOrder.json
index 81f1b726..12b310ca 100644
--- a/source/json_tables/injective/exchange/SpotMarketOrder.json
+++ b/source/json_tables/injective/exchange/SpotMarketOrder.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balance_hold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
}
]
diff --git a/source/json_tables/injective/exchange/SpotMarketOrderResults.json b/source/json_tables/injective/exchange/SpotMarketOrderResults.json
index 808ec5f9..38d5ec3d 100644
--- a/source/json_tables/injective/exchange/SpotMarketOrderResults.json
+++ b/source/json_tables/injective/exchange/SpotMarketOrderResults.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/SpotMarketParamUpdateProposal.json b/source/json_tables/injective/exchange/SpotMarketParamUpdateProposal.json
index df7d58b3..f63441b6 100644
--- a/source/json_tables/injective/exchange/SpotMarketParamUpdateProposal.json
+++ b/source/json_tables/injective/exchange/SpotMarketParamUpdateProposal.json
@@ -16,27 +16,27 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the trade fee rate for makers on the spot market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the trade fee rate for takers on the spot market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the relayer fee share rate for the spot market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/SpotOrder.json b/source/json_tables/injective/exchange/SpotOrder.json
index 94d7fbe7..f2e05390 100644
--- a/source/json_tables/injective/exchange/SpotOrder.json
+++ b/source/json_tables/injective/exchange/SpotOrder.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
}
]
diff --git a/source/json_tables/injective/exchange/SubaccountOrder.json b/source/json_tables/injective/exchange/SubaccountOrder.json
index 3fa82f50..db8c61a0 100644
--- a/source/json_tables/injective/exchange/SubaccountOrder.json
+++ b/source/json_tables/injective/exchange/SubaccountOrder.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable"
},
{
diff --git a/source/json_tables/injective/exchange/SubaccountOrderbookMetadata.json b/source/json_tables/injective/exchange/SubaccountOrderbookMetadata.json
index c1d620d5..3cf45db6 100644
--- a/source/json_tables/injective/exchange/SubaccountOrderbookMetadata.json
+++ b/source/json_tables/injective/exchange/SubaccountOrderbookMetadata.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "aggregate_reduce_only_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The aggregate quantity of the subaccount's reduce-only limit orders (in chain format)"
},
{
"Parameter": "aggregate_vanilla_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The aggregate quantity of the subaccount's vanilla limit orders (in chain format)"
},
{
diff --git a/source/json_tables/injective/exchange/TradeLog.json b/source/json_tables/injective/exchange/TradeLog.json
index 7934a8b5..96a1c8fb 100644
--- a/source/json_tables/injective/exchange/TradeLog.json
+++ b/source/json_tables/injective/exchange/TradeLog.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/TradeRecord.json b/source/json_tables/injective/exchange/TradeRecord.json
index b60c84af..d1bbbe2b 100644
--- a/source/json_tables/injective/exchange/TradeRecord.json
+++ b/source/json_tables/injective/exchange/TradeRecord.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the price of the trade (in chain format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the trade (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/TradingRewardCampaignAccountPoints.json b/source/json_tables/injective/exchange/TradingRewardCampaignAccountPoints.json
index e7a576ce..89447d49 100644
--- a/source/json_tables/injective/exchange/TradingRewardCampaignAccountPoints.json
+++ b/source/json_tables/injective/exchange/TradingRewardCampaignAccountPoints.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "points",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/TrimmedDerivativeConditionalOrder.json b/source/json_tables/injective/exchange/TrimmedDerivativeConditionalOrder.json
index cd16fc3e..8e98e34d 100644
--- a/source/json_tables/injective/exchange/TrimmedDerivativeConditionalOrder.json
+++ b/source/json_tables/injective/exchange/TrimmedDerivativeConditionalOrder.json
@@ -1,22 +1,22 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order (in chain format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order (in chain format)"
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin of the order (in chain format)"
},
{
"Parameter": "triggerPrice",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price to trigger the order (in chain format)"
},
{
diff --git a/source/json_tables/injective/exchange/TrimmedDerivativeLimitOrder.json b/source/json_tables/injective/exchange/TrimmedDerivativeLimitOrder.json
index ca4045f8..714af07d 100644
--- a/source/json_tables/injective/exchange/TrimmedDerivativeLimitOrder.json
+++ b/source/json_tables/injective/exchange/TrimmedDerivativeLimitOrder.json
@@ -1,22 +1,22 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order (in chain format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order (in chain format)"
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin of the order (in chain format)"
},
{
"Parameter": "fillable",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable (in chain format)"
},
{
diff --git a/source/json_tables/injective/exchange/TrimmedLimitOrder.json b/source/json_tables/injective/exchange/TrimmedLimitOrder.json
index 85396799..b87bdb5f 100644
--- a/source/json_tables/injective/exchange/TrimmedLimitOrder.json
+++ b/source/json_tables/injective/exchange/TrimmedLimitOrder.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the price of the order (in chain format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the order (in chain format)"
},
{
diff --git a/source/json_tables/injective/exchange/TrimmedSpotLimitOrder.json b/source/json_tables/injective/exchange/TrimmedSpotLimitOrder.json
index 17af4aba..bcc53d2c 100644
--- a/source/json_tables/injective/exchange/TrimmedSpotLimitOrder.json
+++ b/source/json_tables/injective/exchange/TrimmedSpotLimitOrder.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order (in chain format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order (in chain format)"
},
{
"Parameter": "fillable",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable (in chain format)"
},
{
diff --git a/source/json_tables/injective/exchange/VolumeRecord.json b/source/json_tables/injective/exchange/VolumeRecord.json
index c10e981c..20aa0e94 100644
--- a/source/json_tables/injective/exchange/VolumeRecord.json
+++ b/source/json_tables/injective/exchange/VolumeRecord.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "maker_volume",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "taker_volume",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/AccountRewards.json b/source/json_tables/injective/exchange/v2/AccountRewards.json
index 76655ba0..4dd38de0 100644
--- a/source/json_tables/injective/exchange/v2/AccountRewards.json
+++ b/source/json_tables/injective/exchange/v2/AccountRewards.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/AccountVolume.json b/source/json_tables/injective/exchange/v2/AccountVolume.json
index 36aa7fb0..6b3da23a 100644
--- a/source/json_tables/injective/exchange/v2/AccountVolume.json
+++ b/source/json_tables/injective/exchange/v2/AccountVolume.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "volume",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/ActiveGrant.json b/source/json_tables/injective/exchange/v2/ActiveGrant.json
index 205af3b9..d38f3d91 100644
--- a/source/json_tables/injective/exchange/v2/ActiveGrant.json
+++ b/source/json_tables/injective/exchange/v2/ActiveGrant.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/BalanceMismatch.json b/source/json_tables/injective/exchange/v2/BalanceMismatch.json
index 48b0f136..8c24ac57 100644
--- a/source/json_tables/injective/exchange/v2/BalanceMismatch.json
+++ b/source/json_tables/injective/exchange/v2/BalanceMismatch.json
@@ -11,27 +11,27 @@
},
{
"Parameter": "available",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the available balance"
},
{
"Parameter": "total",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the total balance"
},
{
"Parameter": "balance_hold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the balance hold"
},
{
"Parameter": "expected_total",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the expected total balance"
},
{
"Parameter": "difference",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the difference between the total balance and the expected total balance"
}
]
diff --git a/source/json_tables/injective/exchange/v2/BalanceWithMarginHold.json b/source/json_tables/injective/exchange/v2/BalanceWithMarginHold.json
index 1631448e..f9526a86 100644
--- a/source/json_tables/injective/exchange/v2/BalanceWithMarginHold.json
+++ b/source/json_tables/injective/exchange/v2/BalanceWithMarginHold.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "available",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the available balance"
},
{
"Parameter": "total",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the total balance"
},
{
"Parameter": "balance_hold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the balance on hold"
}
]
diff --git a/source/json_tables/injective/exchange/v2/BatchCommunityPoolSpendProposal.json b/source/json_tables/injective/exchange/v2/BatchCommunityPoolSpendProposal.json
index 5c9a1f61..f2fd00f2 100644
--- a/source/json_tables/injective/exchange/v2/BatchCommunityPoolSpendProposal.json
+++ b/source/json_tables/injective/exchange/v2/BatchCommunityPoolSpendProposal.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proposals",
- "Type": "types1.CommunityPoolSpendProposal array",
+ "Type": "CommunityPoolSpendProposal array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/BinaryOptionsMarket.json b/source/json_tables/injective/exchange/v2/BinaryOptionsMarket.json
index 8908c180..4cac7b18 100644
--- a/source/json_tables/injective/exchange/v2/BinaryOptionsMarket.json
+++ b/source/json_tables/injective/exchange/v2/BinaryOptionsMarket.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
@@ -51,17 +51,17 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the maker fee rate of a binary options market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the taker fee rate of a derivative market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market"
},
{
@@ -71,22 +71,22 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format)"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format)"
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "settlement_price defines the settlement price of the binary options market (in human readable format)"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/BinaryOptionsMarketLaunchProposal.json b/source/json_tables/injective/exchange/v2/BinaryOptionsMarketLaunchProposal.json
index e7bd6e91..e700d148 100644
--- a/source/json_tables/injective/exchange/v2/BinaryOptionsMarketLaunchProposal.json
+++ b/source/json_tables/injective/exchange/v2/BinaryOptionsMarketLaunchProposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
@@ -56,27 +56,27 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the maker fee rate of a binary options market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the taker fee rate of a derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/v2/BinaryOptionsMarketParamUpdateProposal.json b/source/json_tables/injective/exchange/v2/BinaryOptionsMarketParamUpdateProposal.json
index 68896b3b..299b3a02 100644
--- a/source/json_tables/injective/exchange/v2/BinaryOptionsMarketParamUpdateProposal.json
+++ b/source/json_tables/injective/exchange/v2/BinaryOptionsMarketParamUpdateProposal.json
@@ -16,27 +16,27 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the exchange trade fee for makers for the derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the exchange trade fee for takers for the derivative market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the relayer fee share rate for the derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "new price at which market will be settled"
},
{
@@ -76,7 +76,7 @@
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/v2/CampaignRewardPool.json b/source/json_tables/injective/exchange/v2/CampaignRewardPool.json
index ad6bb73e..bb9a76e2 100644
--- a/source/json_tables/injective/exchange/v2/CampaignRewardPool.json
+++ b/source/json_tables/injective/exchange/v2/CampaignRewardPool.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "max_campaign_rewards",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "max_campaign_rewards are the maximum reward amounts to be disbursed at the end of the campaign"
}
]
diff --git a/source/json_tables/injective/exchange/v2/DenomMinNotional.json b/source/json_tables/injective/exchange/v2/DenomMinNotional.json
index 813ff054..16a0dfb5 100644
--- a/source/json_tables/injective/exchange/v2/DenomMinNotional.json
+++ b/source/json_tables/injective/exchange/v2/DenomMinNotional.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the minimum notional value for the token (in human readable format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/Deposit.json b/source/json_tables/injective/exchange/v2/Deposit.json
index c1c41495..9443c922 100644
--- a/source/json_tables/injective/exchange/v2/Deposit.json
+++ b/source/json_tables/injective/exchange/v2/Deposit.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "available_balance",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the available balance (in chain format)"
},
{
"Parameter": "total_balance",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the total balance (in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/DerivativeLimitOrder.json b/source/json_tables/injective/exchange/v2/DerivativeLimitOrder.json
index c92fed88..cf4e7b76 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeLimitOrder.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeLimitOrder.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin is the margin used by the limit order"
},
{
"Parameter": "fillable",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable"
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
},
{
diff --git a/source/json_tables/injective/exchange/v2/DerivativeMarket.json b/source/json_tables/injective/exchange/v2/DerivativeMarket.json
index 8479e267..e315f761 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeMarket.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeMarket.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
@@ -36,27 +36,27 @@
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio of a derivative market"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio of a derivative market"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the maker fee rate of a derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the taker fee rate of a derivative market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market"
},
{
@@ -71,17 +71,17 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format)"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format)"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)"
},
{
@@ -101,7 +101,7 @@
},
{
"Parameter": "reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "reduce_margin_ratio defines the ratio of the margin that is reduced"
},
{
diff --git a/source/json_tables/injective/exchange/v2/DerivativeMarketOrder.json b/source/json_tables/injective/exchange/v2/DerivativeMarketOrder.json
index 0daaee26..8b659f9b 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeMarketOrder.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeMarketOrder.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "margin_hold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
},
{
diff --git a/source/json_tables/injective/exchange/v2/DerivativeMarketOrderCancel.json b/source/json_tables/injective/exchange/v2/DerivativeMarketOrderCancel.json
index 73e295a9..b6fe8d54 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeMarketOrderCancel.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeMarketOrderCancel.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "cancel_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/DerivativeMarketOrderResults.json b/source/json_tables/injective/exchange/v2/DerivativeMarketOrderResults.json
index e5ca5362..15e275bd 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeMarketOrderResults.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeMarketOrderResults.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "payout",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/DerivativeMarketParamUpdateProposal.json b/source/json_tables/injective/exchange/v2/DerivativeMarketParamUpdateProposal.json
index aa66e1de..9204f26f 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeMarketParamUpdateProposal.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeMarketParamUpdateProposal.json
@@ -16,47 +16,47 @@
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the derivative market"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the derivative market"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the exchange trade fee for makers for the derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the exchange trade fee for takers for the derivative market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the relayer fee share rate for the derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
"Parameter": "HourlyInterestRate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_interest_rate defines the hourly interest rate"
},
{
"Parameter": "HourlyFundingRateCap",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate"
},
{
@@ -76,7 +76,7 @@
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
@@ -86,7 +86,7 @@
},
{
"Parameter": "reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "reduce_margin_ratio defines the ratio of the margin that is reduced"
},
{
diff --git a/source/json_tables/injective/exchange/v2/DerivativeMarketSettlementInfo.json b/source/json_tables/injective/exchange/v2/DerivativeMarketSettlementInfo.json
index 1669f68a..d285267c 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeMarketSettlementInfo.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeMarketSettlementInfo.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "settlement_price defines the settlement price"
}
]
diff --git a/source/json_tables/injective/exchange/v2/DerivativeOrder.json b/source/json_tables/injective/exchange/v2/DerivativeOrder.json
index 821e5213..1ae75982 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeOrder.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeOrder.json
@@ -16,12 +16,12 @@
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin is the margin used by the limit order (in human readable format)"
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders (in human readable format) (optional)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/DerivativeOrderV2Changes.json b/source/json_tables/injective/exchange/v2/DerivativeOrderV2Changes.json
index 9d8336e4..4b4e1117 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeOrderV2Changes.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeOrderV2Changes.json
@@ -11,27 +11,27 @@
},
{
"Parameter": "p",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order"
},
{
"Parameter": "q",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order"
},
{
"Parameter": "m",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin of the order"
},
{
"Parameter": "f",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable"
},
{
"Parameter": "tp",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger price of the order"
}
]
diff --git a/source/json_tables/injective/exchange/v2/DerivativeTradeLog.json b/source/json_tables/injective/exchange/v2/DerivativeTradeLog.json
index 0588fa9f..6cfa0313 100644
--- a/source/json_tables/injective/exchange/v2/DerivativeTradeLog.json
+++ b/source/json_tables/injective/exchange/v2/DerivativeTradeLog.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "payout",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -36,7 +36,7 @@
},
{
"Parameter": "pnl",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/EffectiveGrant.json b/source/json_tables/injective/exchange/v2/EffectiveGrant.json
index 03e7bd1e..dbf13031 100644
--- a/source/json_tables/injective/exchange/v2/EffectiveGrant.json
+++ b/source/json_tables/injective/exchange/v2/EffectiveGrant.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "net_granted_stake",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/v2/EffectivePosition.json b/source/json_tables/injective/exchange/v2/EffectivePosition.json
index b7724914..00ef5397 100644
--- a/source/json_tables/injective/exchange/v2/EffectivePosition.json
+++ b/source/json_tables/injective/exchange/v2/EffectivePosition.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the position (in human readable format)"
},
{
"Parameter": "entry_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the entry price of the position (in human readable format)"
},
{
"Parameter": "effective_margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the effective margin of the position (in human readable format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketInfo.json b/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketInfo.json
index 38b7c707..358f5af9 100644
--- a/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketInfo.json
+++ b/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketInfo.json
@@ -16,22 +16,22 @@
},
{
"Parameter": "expiration_twap_start_price_cumulative",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "expiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format) Deprecated: For correctly calculating the expiration price using TWAP, we need to keep the cumulative price at the start of TWAP calculation separately for the base asset and the quote asset. Use expiration_twap_start_base_cumulative_price and expiration_twap_start_quote_cumulative_price instead."
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "settlement_price defines the settlement price for a time expiry futures market (in human readable format)"
},
{
"Parameter": "expiration_twap_start_base_cumulative_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "expiration_twap_start_base_cumulative_price defines the cumulative price for the base asset at the start of the TWAP calculation window (in human readable format)"
},
{
"Parameter": "expiration_twap_start_quote_cumulative_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "expiration_twap_start_quote_cumulative_price defines the cumulative price for the quote asset at the start of the TWAP calculation window (in human readable format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketLaunchProposal.json b/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketLaunchProposal.json
index 41f06cf0..9cf258cc 100644
--- a/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketLaunchProposal.json
+++ b/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketLaunchProposal.json
@@ -36,7 +36,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
@@ -46,37 +46,37 @@
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the derivative market"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the derivative market"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the exchange trade fee for makers for the derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the exchange trade fee for takers for the derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
@@ -86,7 +86,7 @@
},
{
"Parameter": "reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "reduce_margin_ratio defines the ratio of the margin that is reduced"
},
{
diff --git a/source/json_tables/injective/exchange/v2/FeeDiscountTierInfo.json b/source/json_tables/injective/exchange/v2/FeeDiscountTierInfo.json
index c6f407ea..0ac60a71 100644
--- a/source/json_tables/injective/exchange/v2/FeeDiscountTierInfo.json
+++ b/source/json_tables/injective/exchange/v2/FeeDiscountTierInfo.json
@@ -1,22 +1,22 @@
[
{
"Parameter": "maker_discount_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the maker discount rate"
},
{
"Parameter": "taker_discount_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the taker discount rate"
},
{
"Parameter": "staked_amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "the staked amount required to qualify for the discount (in chain format)"
},
{
"Parameter": "volume",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the volume required to qualify for the discount (in human readable format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/ForcePausedInfo.json b/source/json_tables/injective/exchange/v2/ForcePausedInfo.json
index d698bbca..7f9c5f00 100644
--- a/source/json_tables/injective/exchange/v2/ForcePausedInfo.json
+++ b/source/json_tables/injective/exchange/v2/ForcePausedInfo.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "mark_price_at_pausing",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/FullDerivativeMarket.json b/source/json_tables/injective/exchange/v2/FullDerivativeMarket.json
index f469a2a5..e4c32087 100644
--- a/source/json_tables/injective/exchange/v2/FullDerivativeMarket.json
+++ b/source/json_tables/injective/exchange/v2/FullDerivativeMarket.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "mark_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "mark price (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/FullGrantAuthorizations.json b/source/json_tables/injective/exchange/v2/FullGrantAuthorizations.json
index a13c7858..7bee8804 100644
--- a/source/json_tables/injective/exchange/v2/FullGrantAuthorizations.json
+++ b/source/json_tables/injective/exchange/v2/FullGrantAuthorizations.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "total_grant_amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/v2/GenericExchangeAuthorization.json b/source/json_tables/injective/exchange/v2/GenericExchangeAuthorization.json
index 0b497d37..e1489cb1 100644
--- a/source/json_tables/injective/exchange/v2/GenericExchangeAuthorization.json
+++ b/source/json_tables/injective/exchange/v2/GenericExchangeAuthorization.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "spend_limit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "SpendLimit is the maximum amount of tokens that the grantee can spend on behalf of the granter. If not set, there is no spend limit."
}
]
diff --git a/source/json_tables/injective/exchange/v2/GrantAuthorization.json b/source/json_tables/injective/exchange/v2/GrantAuthorization.json
index d871bf36..37ccf6ee 100644
--- a/source/json_tables/injective/exchange/v2/GrantAuthorization.json
+++ b/source/json_tables/injective/exchange/v2/GrantAuthorization.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "the amount of stake granted (INJ in chain format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/Level.json b/source/json_tables/injective/exchange/v2/Level.json
index 036dd47e..9c1fd176 100644
--- a/source/json_tables/injective/exchange/v2/Level.json
+++ b/source/json_tables/injective/exchange/v2/Level.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "p",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price (in human readable format)"
},
{
"Parameter": "q",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity (in human readable format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/MarketBalance.json b/source/json_tables/injective/exchange/v2/MarketBalance.json
index 2b71fb8f..4730afa9 100644
--- a/source/json_tables/injective/exchange/v2/MarketBalance.json
+++ b/source/json_tables/injective/exchange/v2/MarketBalance.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balance",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the current balance of the market"
}
]
diff --git a/source/json_tables/injective/exchange/v2/MarketFeeMultiplier.json b/source/json_tables/injective/exchange/v2/MarketFeeMultiplier.json
index fe282927..3836a670 100644
--- a/source/json_tables/injective/exchange/v2/MarketFeeMultiplier.json
+++ b/source/json_tables/injective/exchange/v2/MarketFeeMultiplier.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/MarketForcedSettlementProposal.json b/source/json_tables/injective/exchange/v2/MarketForcedSettlementProposal.json
index 7872f360..2b1ecb3f 100644
--- a/source/json_tables/injective/exchange/v2/MarketForcedSettlementProposal.json
+++ b/source/json_tables/injective/exchange/v2/MarketForcedSettlementProposal.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/MidPriceAndTOB.json b/source/json_tables/injective/exchange/v2/MidPriceAndTOB.json
index 2845d2af..4ef2fd91 100644
--- a/source/json_tables/injective/exchange/v2/MidPriceAndTOB.json
+++ b/source/json_tables/injective/exchange/v2/MidPriceAndTOB.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "mid_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "mid price of the market (in human readable format)"
},
{
"Parameter": "best_buy_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best buy price of the market (in human readable format)"
},
{
"Parameter": "best_sell_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best sell price of the market (in human readable format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/MsgAdminUpdateBinaryOptionsMarket.json b/source/json_tables/injective/exchange/v2/MsgAdminUpdateBinaryOptionsMarket.json
index 9f73d551..c382ee4b 100644
--- a/source/json_tables/injective/exchange/v2/MsgAdminUpdateBinaryOptionsMarket.json
+++ b/source/json_tables/injective/exchange/v2/MsgAdminUpdateBinaryOptionsMarket.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "settlement_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "new price at which market will be settled",
"Required": "No"
},
diff --git a/source/json_tables/injective/exchange/v2/MsgDecreasePositionMargin.json b/source/json_tables/injective/exchange/v2/MsgDecreasePositionMargin.json
index 715da2be..c8bcacd6 100644
--- a/source/json_tables/injective/exchange/v2/MsgDecreasePositionMargin.json
+++ b/source/json_tables/injective/exchange/v2/MsgDecreasePositionMargin.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "amount defines the amount of margin to withdraw from the position (in human readable format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/v2/MsgDeposit.json b/source/json_tables/injective/exchange/v2/MsgDeposit.json
index 87dc558a..b9bbfbad 100644
--- a/source/json_tables/injective/exchange/v2/MsgDeposit.json
+++ b/source/json_tables/injective/exchange/v2/MsgDeposit.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "the amount of the deposit (in chain format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/v2/MsgExternalTransfer.json b/source/json_tables/injective/exchange/v2/MsgExternalTransfer.json
index 88d91ffa..c956b61f 100644
--- a/source/json_tables/injective/exchange/v2/MsgExternalTransfer.json
+++ b/source/json_tables/injective/exchange/v2/MsgExternalTransfer.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "the amount to transfer (in chain format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/v2/MsgIncreasePositionMargin.json b/source/json_tables/injective/exchange/v2/MsgIncreasePositionMargin.json
index 786d0758..1147ec78 100644
--- a/source/json_tables/injective/exchange/v2/MsgIncreasePositionMargin.json
+++ b/source/json_tables/injective/exchange/v2/MsgIncreasePositionMargin.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "amount defines the amount of margin to add to the position (in human readable format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/v2/MsgInstantBinaryOptionsMarketLaunch.json b/source/json_tables/injective/exchange/v2/MsgInstantBinaryOptionsMarketLaunch.json
index d6064d51..87e2e247 100644
--- a/source/json_tables/injective/exchange/v2/MsgInstantBinaryOptionsMarketLaunch.json
+++ b/source/json_tables/injective/exchange/v2/MsgInstantBinaryOptionsMarketLaunch.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types1.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type",
"Required": "Yes"
},
@@ -37,13 +37,13 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the trade fee rate for makers on the perpetual market",
"Required": "Yes"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the trade fee rate for takers on the perpetual market",
"Required": "Yes"
},
@@ -73,19 +73,19 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price and margin required for orders in the market (in human readable format)",
"Required": "Yes"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format)",
"Required": "Yes"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/exchange/v2/MsgInstantExpiryFuturesMarketLaunch.json b/source/json_tables/injective/exchange/v2/MsgInstantExpiryFuturesMarketLaunch.json
index aefdced2..b84bb476 100644
--- a/source/json_tables/injective/exchange/v2/MsgInstantExpiryFuturesMarketLaunch.json
+++ b/source/json_tables/injective/exchange/v2/MsgInstantExpiryFuturesMarketLaunch.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types1.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type",
"Required": "Yes"
},
@@ -49,49 +49,49 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the trade fee rate for makers on the expiry futures market",
"Required": "Yes"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the trade fee rate for takers on the expiry futures market",
"Required": "Yes"
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the derivative market",
"Required": "Yes"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the derivative market",
"Required": "Yes"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin",
"Required": "Yes"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity",
"Required": "Yes"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market",
"Required": "Yes"
},
{
"Parameter": "reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "reduce_margin_ratio defines the ratio of the margin that is reduced",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/exchange/v2/MsgInstantPerpetualMarketLaunch.json b/source/json_tables/injective/exchange/v2/MsgInstantPerpetualMarketLaunch.json
index c2b3a78c..9b73123d 100644
--- a/source/json_tables/injective/exchange/v2/MsgInstantPerpetualMarketLaunch.json
+++ b/source/json_tables/injective/exchange/v2/MsgInstantPerpetualMarketLaunch.json
@@ -37,55 +37,55 @@
},
{
"Parameter": "oracle_type",
- "Type": "types1.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type",
"Required": "Yes"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the trade fee rate for makers on the perpetual market",
"Required": "Yes"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the trade fee rate for takers on the perpetual market",
"Required": "Yes"
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the perpetual market",
"Required": "Yes"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the perpetual market",
"Required": "Yes"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin (in human readable format)",
"Required": "Yes"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity (in human readable format)",
"Required": "Yes"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)",
"Required": "Yes"
},
{
"Parameter": "reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "reduce_margin_ratio defines the ratio of the margin that is reduced",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/exchange/v2/MsgInstantSpotMarketLaunch.json b/source/json_tables/injective/exchange/v2/MsgInstantSpotMarketLaunch.json
index 8e057560..946173e5 100644
--- a/source/json_tables/injective/exchange/v2/MsgInstantSpotMarketLaunch.json
+++ b/source/json_tables/injective/exchange/v2/MsgInstantSpotMarketLaunch.json
@@ -25,19 +25,19 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price (in human readable format)",
"Required": "Yes"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity (in human readable format)",
"Required": "Yes"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/exchange/v2/MsgPrivilegedExecuteContractResponse.json b/source/json_tables/injective/exchange/v2/MsgPrivilegedExecuteContractResponse.json
index 65f26fd9..3ba56690 100644
--- a/source/json_tables/injective/exchange/v2/MsgPrivilegedExecuteContractResponse.json
+++ b/source/json_tables/injective/exchange/v2/MsgPrivilegedExecuteContractResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "funds_diff",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/MsgSignData.json b/source/json_tables/injective/exchange/v2/MsgSignData.json
index 54002345..bf8edeb1 100644
--- a/source/json_tables/injective/exchange/v2/MsgSignData.json
+++ b/source/json_tables/injective/exchange/v2/MsgSignData.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "Signer",
- "Type": "github_com_cosmos_cosmos_sdk_types.AccAddress",
+ "Type": "AccAddress",
"Description": "Signer is the sdk.AccAddress of the message signer",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/exchange/v2/MsgSubaccountTransfer.json b/source/json_tables/injective/exchange/v2/MsgSubaccountTransfer.json
index 88d91ffa..c956b61f 100644
--- a/source/json_tables/injective/exchange/v2/MsgSubaccountTransfer.json
+++ b/source/json_tables/injective/exchange/v2/MsgSubaccountTransfer.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "the amount to transfer (in chain format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/v2/MsgUpdateDerivativeMarket.json b/source/json_tables/injective/exchange/v2/MsgUpdateDerivativeMarket.json
index 624f14e2..d32035bb 100644
--- a/source/json_tables/injective/exchange/v2/MsgUpdateDerivativeMarket.json
+++ b/source/json_tables/injective/exchange/v2/MsgUpdateDerivativeMarket.json
@@ -19,37 +19,37 @@
},
{
"Parameter": "new_min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value for min_price_tick_size (in human readable format)",
"Required": "No"
},
{
"Parameter": "new_min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value min_quantity_tick_size (in human readable format)",
"Required": "No"
},
{
"Parameter": "new_min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated min notional (in human readable format)",
"Required": "No"
},
{
"Parameter": "new_initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value for initial_margin_ratio",
"Required": "No"
},
{
"Parameter": "new_maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value for maintenance_margin_ratio",
"Required": "No"
},
{
"Parameter": "new_reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated value for reduce_margin_ratio",
"Required": "No"
},
diff --git a/source/json_tables/injective/exchange/v2/MsgUpdateSpotMarket.json b/source/json_tables/injective/exchange/v2/MsgUpdateSpotMarket.json
index 950316f1..8107a95d 100644
--- a/source/json_tables/injective/exchange/v2/MsgUpdateSpotMarket.json
+++ b/source/json_tables/injective/exchange/v2/MsgUpdateSpotMarket.json
@@ -19,19 +19,19 @@
},
{
"Parameter": "new_min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated min price tick size value (in human readable format)",
"Required": "No"
},
{
"Parameter": "new_min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated min quantity tick size value (in human readable format)",
"Required": "No"
},
{
"Parameter": "new_min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "(optional) updated min notional (in human readable format)",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/v2/MsgWithdraw.json b/source/json_tables/injective/exchange/v2/MsgWithdraw.json
index 4d1bdc44..eafa557d 100644
--- a/source/json_tables/injective/exchange/v2/MsgWithdraw.json
+++ b/source/json_tables/injective/exchange/v2/MsgWithdraw.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "the amount of the withdrawal (in chain format)",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/exchange/v2/OpenInterest.json b/source/json_tables/injective/exchange/v2/OpenInterest.json
index 1fb23993..a8f736b9 100644
--- a/source/json_tables/injective/exchange/v2/OpenInterest.json
+++ b/source/json_tables/injective/exchange/v2/OpenInterest.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balance",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the open interest of the market"
}
]
diff --git a/source/json_tables/injective/exchange/v2/OpenNotionalCapCapped.json b/source/json_tables/injective/exchange/v2/OpenNotionalCapCapped.json
index c5c99c03..02b67109 100644
--- a/source/json_tables/injective/exchange/v2/OpenNotionalCapCapped.json
+++ b/source/json_tables/injective/exchange/v2/OpenNotionalCapCapped.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "value",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/OracleParams.json b/source/json_tables/injective/exchange/v2/OracleParams.json
index a719913c..f3408bf0 100644
--- a/source/json_tables/injective/exchange/v2/OracleParams.json
+++ b/source/json_tables/injective/exchange/v2/OracleParams.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
}
]
diff --git a/source/json_tables/injective/exchange/v2/OrderInfo.json b/source/json_tables/injective/exchange/v2/OrderInfo.json
index 87f29735..6c8eea90 100644
--- a/source/json_tables/injective/exchange/v2/OrderInfo.json
+++ b/source/json_tables/injective/exchange/v2/OrderInfo.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order (in human readable format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/Params.json b/source/json_tables/injective/exchange/v2/Params.json
index 18ac844e..08c19956 100644
--- a/source/json_tables/injective/exchange/v2/Params.json
+++ b/source/json_tables/injective/exchange/v2/Params.json
@@ -1,42 +1,42 @@
[
{
"Parameter": "spot_market_instant_listing_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "spot_market_instant_listing_fee defines the expedited fee in INJ required to create a spot market by bypassing governance"
},
{
"Parameter": "derivative_market_instant_listing_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "derivative_market_instant_listing_fee defines the expedited fee in INJ required to create a derivative market by bypassing governance"
},
{
"Parameter": "default_spot_maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_spot_maker_fee defines the default exchange trade fee for makers on a spot market"
},
{
"Parameter": "default_spot_taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_spot_taker_fee_rate defines the default exchange trade fee rate for takers on a new spot market"
},
{
"Parameter": "default_derivative_maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_derivative_maker_fee defines the default exchange trade fee for makers on a new derivative market"
},
{
"Parameter": "default_derivative_taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_derivative_taker_fee defines the default exchange trade fee for takers on a new derivative market"
},
{
"Parameter": "default_initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_initial_margin_ratio defines the default initial margin ratio on a new derivative market"
},
{
"Parameter": "default_maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_maintenance_margin_ratio defines the default maintenance margin ratio on a new derivative market"
},
{
@@ -51,17 +51,17 @@
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the trade fee share percentage that goes to relayers"
},
{
"Parameter": "default_hourly_funding_rate_cap",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_hourly_funding_rate_cap defines the default maximum absolute value of the hourly funding rate"
},
{
"Parameter": "default_hourly_interest_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_interest_rate defines the hourly interest rate"
},
{
@@ -71,7 +71,7 @@
},
{
"Parameter": "inj_reward_staked_requirement_threshold",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "inj_reward_staked_requirement_threshold defines the threshold on INJ rewards after which one also needs staked INJ to receive more"
},
{
@@ -81,12 +81,12 @@
},
{
"Parameter": "liquidator_reward_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "liquidator_reward_share_rate defines the ratio of the split of the surplus collateral that goes to the liquidator"
},
{
"Parameter": "binary_options_market_instant_listing_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "binary_options_market_instant_listing_fee defines the expedited fee in INJ required to create a derivative market by bypassing governance"
},
{
@@ -96,22 +96,22 @@
},
{
"Parameter": "spot_atomic_market_order_fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "spot_atomic_market_order_fee_multiplier defines the default multiplier for executing atomic market orders in spot markets"
},
{
"Parameter": "derivative_atomic_market_order_fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "derivative_atomic_market_order_fee_multiplier defines the default multiplier for executing atomic market orders in derivative markets"
},
{
"Parameter": "binary_options_atomic_market_order_fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "binary_options_atomic_market_order_fee_multiplier defines the default multiplier for executing atomic market orders in binary markets"
},
{
"Parameter": "minimal_protocol_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "minimal_protocol_fee_rate defines the minimal protocol fee rate"
},
{
@@ -136,8 +136,8 @@
},
{
"Parameter": "inj_auction_max_cap",
- "Type": "cosmossdk_io_math.Int",
- "Description": "inj_auction_max_cap defines the maximum cap for INJ sent to auction"
+ "Type": "Int",
+ "Description": "inj_auction_max_cap defines the maximum cap for INJ sent to auction. Deprecated: the cap is now driven by the auction module's InjBasketMaxCap; this field is ignored."
},
{
"Parameter": "fixed_gas_enabled",
@@ -151,7 +151,7 @@
},
{
"Parameter": "default_reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "default_reduce_margin_ratio defines the default reduce margin ratio on a new derivative market"
},
{
@@ -170,8 +170,18 @@
"Description": "post_only_mode_blocks_amount defines the amount of blocks the post only mode will be enabled after the downtime-detector module detects a chain downtime"
},
{
- "Parameter": "enforced_restrictions_contracts",
+ "Parameter": "deprecated_enforced_restrictions_contracts",
"Type": "EnforcedRestrictionsContract array",
- "Description": "Contracts that exchange will be listening to pause markets denominated in respective erc20: denoms, with their pause event signatures"
+ "Description": "DEPRECATED, left for upgrade purposes Contracts that exchange will be listening to pause markets denominated in respective erc20: denoms, with their pause event signatures"
+ },
+ {
+ "Parameter": "white_knight_liquidators",
+ "Type": "string array",
+ "Description": "white_knight_liquidators defines addresses that can liquidate positions with a dedicated white-knight reward share in positive payout liquidations"
+ },
+ {
+ "Parameter": "white_knight_liquidator_reward_share_rate",
+ "Type": "LegacyDec",
+ "Description": "white_knight_liquidator_reward_share_rate defines the ratio of the split of the surplus collateral that goes to a white knight liquidator"
}
]
diff --git a/source/json_tables/injective/exchange/v2/PerpetualMarketFunding.json b/source/json_tables/injective/exchange/v2/PerpetualMarketFunding.json
index 0cece34d..2e7e8ac7 100644
--- a/source/json_tables/injective/exchange/v2/PerpetualMarketFunding.json
+++ b/source/json_tables/injective/exchange/v2/PerpetualMarketFunding.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "cumulative_funding",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "cumulative_funding defines the cumulative funding of a perpetual market."
},
{
"Parameter": "cumulative_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"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"
},
{
diff --git a/source/json_tables/injective/exchange/v2/PerpetualMarketInfo.json b/source/json_tables/injective/exchange/v2/PerpetualMarketInfo.json
index 26cd6e6e..d03b7517 100644
--- a/source/json_tables/injective/exchange/v2/PerpetualMarketInfo.json
+++ b/source/json_tables/injective/exchange/v2/PerpetualMarketInfo.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "hourly_funding_rate_cap",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate"
},
{
"Parameter": "hourly_interest_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "hourly_interest_rate defines the hourly interest rate"
},
{
diff --git a/source/json_tables/injective/exchange/v2/PerpetualMarketLaunchProposal.json b/source/json_tables/injective/exchange/v2/PerpetualMarketLaunchProposal.json
index 2f90257b..6115925e 100644
--- a/source/json_tables/injective/exchange/v2/PerpetualMarketLaunchProposal.json
+++ b/source/json_tables/injective/exchange/v2/PerpetualMarketLaunchProposal.json
@@ -36,42 +36,42 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
},
{
"Parameter": "initial_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "initial_margin_ratio defines the initial margin ratio for the derivative market"
},
{
"Parameter": "maintenance_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maintenance_margin_ratio defines the maintenance margin ratio for the derivative market"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the exchange trade fee for makers for the derivative market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the exchange trade fee for takers for the derivative market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
@@ -81,7 +81,7 @@
},
{
"Parameter": "reduce_margin_ratio",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "reduce_margin_ratio defines the ratio of the margin that is reduced"
},
{
diff --git a/source/json_tables/injective/exchange/v2/PointsMultiplier.json b/source/json_tables/injective/exchange/v2/PointsMultiplier.json
index dc9bfc18..b75e7d3d 100644
--- a/source/json_tables/injective/exchange/v2/PointsMultiplier.json
+++ b/source/json_tables/injective/exchange/v2/PointsMultiplier.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "maker_points_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "taker_points_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/Position.json b/source/json_tables/injective/exchange/v2/Position.json
index c8a42339..484ba437 100644
--- a/source/json_tables/injective/exchange/v2/Position.json
+++ b/source/json_tables/injective/exchange/v2/Position.json
@@ -6,22 +6,22 @@
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The quantity of the position (in human readable format)"
},
{
"Parameter": "entry_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The entry price of the position (in human readable format)"
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The margin of the position (in human readable format)"
},
{
"Parameter": "cumulative_funding_entry",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The cumulative funding"
}
]
diff --git a/source/json_tables/injective/exchange/v2/PositionDelta.json b/source/json_tables/injective/exchange/v2/PositionDelta.json
index 6b03dc30..b6d14d01 100644
--- a/source/json_tables/injective/exchange/v2/PositionDelta.json
+++ b/source/json_tables/injective/exchange/v2/PositionDelta.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "execution_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "execution_margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "execution_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/PriceLevel.json b/source/json_tables/injective/exchange/v2/PriceLevel.json
index 801e8051..b498396c 100644
--- a/source/json_tables/injective/exchange/v2/PriceLevel.json
+++ b/source/json_tables/injective/exchange/v2/PriceLevel.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity"
}
]
diff --git a/source/json_tables/injective/exchange/v2/ProviderOracleParams.json b/source/json_tables/injective/exchange/v2/ProviderOracleParams.json
index bfac78ac..c91c4444 100644
--- a/source/json_tables/injective/exchange/v2/ProviderOracleParams.json
+++ b/source/json_tables/injective/exchange/v2/ProviderOracleParams.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type"
}
]
diff --git a/source/json_tables/injective/exchange/v2/QueryDenomMinNotionalResponse.json b/source/json_tables/injective/exchange/v2/QueryDenomMinNotionalResponse.json
index 247bfb04..b5df7d37 100644
--- a/source/json_tables/injective/exchange/v2/QueryDenomMinNotionalResponse.json
+++ b/source/json_tables/injective/exchange/v2/QueryDenomMinNotionalResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the minimum notional amount for the denom (in human readable format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/QueryDerivativeMidPriceAndTOBResponse.json b/source/json_tables/injective/exchange/v2/QueryDerivativeMidPriceAndTOBResponse.json
index eb70dcc6..b6bf19f6 100644
--- a/source/json_tables/injective/exchange/v2/QueryDerivativeMidPriceAndTOBResponse.json
+++ b/source/json_tables/injective/exchange/v2/QueryDerivativeMidPriceAndTOBResponse.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "mid_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "mid price of the market"
},
{
"Parameter": "best_buy_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best buy price of the market"
},
{
"Parameter": "best_sell_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best sell price of the market"
}
]
diff --git a/source/json_tables/injective/exchange/v2/QueryDerivativeOrderbookRequest.json b/source/json_tables/injective/exchange/v2/QueryDerivativeOrderbookRequest.json
index 8f8d6192..87e0227a 100644
--- a/source/json_tables/injective/exchange/v2/QueryDerivativeOrderbookRequest.json
+++ b/source/json_tables/injective/exchange/v2/QueryDerivativeOrderbookRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "limit_cumulative_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/v2/QueryGrantAuthorizationResponse.json b/source/json_tables/injective/exchange/v2/QueryGrantAuthorizationResponse.json
index 78431df1..ed319593 100644
--- a/source/json_tables/injective/exchange/v2/QueryGrantAuthorizationResponse.json
+++ b/source/json_tables/injective/exchange/v2/QueryGrantAuthorizationResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/QueryGrantAuthorizationsResponse.json b/source/json_tables/injective/exchange/v2/QueryGrantAuthorizationsResponse.json
index 2141ecb4..339458cf 100644
--- a/source/json_tables/injective/exchange/v2/QueryGrantAuthorizationsResponse.json
+++ b/source/json_tables/injective/exchange/v2/QueryGrantAuthorizationsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "total_grant_amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/v2/QueryMarketAtomicExecutionFeeMultiplierResponse.json b/source/json_tables/injective/exchange/v2/QueryMarketAtomicExecutionFeeMultiplierResponse.json
index bcf8ade7..4c5ca0d9 100644
--- a/source/json_tables/injective/exchange/v2/QueryMarketAtomicExecutionFeeMultiplierResponse.json
+++ b/source/json_tables/injective/exchange/v2/QueryMarketAtomicExecutionFeeMultiplierResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/QueryMarketVolatilityResponse.json b/source/json_tables/injective/exchange/v2/QueryMarketVolatilityResponse.json
index cb9911e7..d8959381 100644
--- a/source/json_tables/injective/exchange/v2/QueryMarketVolatilityResponse.json
+++ b/source/json_tables/injective/exchange/v2/QueryMarketVolatilityResponse.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "volatility",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "history_metadata",
- "Type": "types.MetadataStatistics",
+ "Type": "MetadataStatistics",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/v2/QuerySpotMidPriceAndTOBResponse.json b/source/json_tables/injective/exchange/v2/QuerySpotMidPriceAndTOBResponse.json
index 3339d6f3..b15c249c 100644
--- a/source/json_tables/injective/exchange/v2/QuerySpotMidPriceAndTOBResponse.json
+++ b/source/json_tables/injective/exchange/v2/QuerySpotMidPriceAndTOBResponse.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "mid_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "mid price of the market (in human readable format)"
},
{
"Parameter": "best_buy_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best buy price of the market (in human readable format)"
},
{
"Parameter": "best_sell_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "best sell price of the market"
}
]
diff --git a/source/json_tables/injective/exchange/v2/QuerySpotOrderbookRequest.json b/source/json_tables/injective/exchange/v2/QuerySpotOrderbookRequest.json
index 602f8eb1..bc9f41a2 100644
--- a/source/json_tables/injective/exchange/v2/QuerySpotOrderbookRequest.json
+++ b/source/json_tables/injective/exchange/v2/QuerySpotOrderbookRequest.json
@@ -19,13 +19,13 @@
},
{
"Parameter": "limit_cumulative_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "limits the number of entries to return per side based on the cumulative notional (in human readable format)",
"Required": "No"
},
{
"Parameter": "limit_cumulative_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "limits the number of entries to return per side based on the cumulative quantity (in human readable format)",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/v2/QueryTradeRewardCampaignResponse.json b/source/json_tables/injective/exchange/v2/QueryTradeRewardCampaignResponse.json
index 9d2051cb..149d0f9b 100644
--- a/source/json_tables/injective/exchange/v2/QueryTradeRewardCampaignResponse.json
+++ b/source/json_tables/injective/exchange/v2/QueryTradeRewardCampaignResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "total_trade_reward_points",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "pending_total_trade_reward_points",
- "Type": "cosmossdk_io_math.LegacyDec array",
+ "Type": "LegacyDec array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/QueryTradeRewardPointsResponse.json b/source/json_tables/injective/exchange/v2/QueryTradeRewardPointsResponse.json
index f2929226..80b39819 100644
--- a/source/json_tables/injective/exchange/v2/QueryTradeRewardPointsResponse.json
+++ b/source/json_tables/injective/exchange/v2/QueryTradeRewardPointsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "account_trade_reward_points",
- "Type": "cosmossdk_io_math.LegacyDec array",
+ "Type": "LegacyDec array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/QueryTraderDerivativeOrdersToCancelUpToAmountRequest.json b/source/json_tables/injective/exchange/v2/QueryTraderDerivativeOrdersToCancelUpToAmountRequest.json
index e95679b3..ac6f8893 100644
--- a/source/json_tables/injective/exchange/v2/QueryTraderDerivativeOrdersToCancelUpToAmountRequest.json
+++ b/source/json_tables/injective/exchange/v2/QueryTraderDerivativeOrdersToCancelUpToAmountRequest.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "quote_amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quote amount to cancel (free up)",
"Required": "Yes"
},
@@ -25,7 +25,7 @@
},
{
"Parameter": "reference_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The reference price for the cancellation strategy, e.g. mid price or mark price",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/v2/QueryTraderSpotOrdersToCancelUpToAmountRequest.json b/source/json_tables/injective/exchange/v2/QueryTraderSpotOrdersToCancelUpToAmountRequest.json
index 889acbba..cf21afb8 100644
--- a/source/json_tables/injective/exchange/v2/QueryTraderSpotOrdersToCancelUpToAmountRequest.json
+++ b/source/json_tables/injective/exchange/v2/QueryTraderSpotOrdersToCancelUpToAmountRequest.json
@@ -13,13 +13,13 @@
},
{
"Parameter": "base_amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the base amount to cancel (free up)",
"Required": "Yes"
},
{
"Parameter": "quote_amount",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quote amount to cancel (free up)",
"Required": "Yes"
},
@@ -31,7 +31,7 @@
},
{
"Parameter": "reference_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The reference price for the cancellation strategy, e.g. mid price or mark price",
"Required": "No"
}
diff --git a/source/json_tables/injective/exchange/v2/RewardPointUpdate.json b/source/json_tables/injective/exchange/v2/RewardPointUpdate.json
index 767289e4..9dcb5d6c 100644
--- a/source/json_tables/injective/exchange/v2/RewardPointUpdate.json
+++ b/source/json_tables/injective/exchange/v2/RewardPointUpdate.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "new_points",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "new_points overwrites the current trading reward points for the account"
}
]
diff --git a/source/json_tables/injective/exchange/v2/SpotLimitOrder.json b/source/json_tables/injective/exchange/v2/SpotLimitOrder.json
index 576786f6..fe517e64 100644
--- a/source/json_tables/injective/exchange/v2/SpotLimitOrder.json
+++ b/source/json_tables/injective/exchange/v2/SpotLimitOrder.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "fillable",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable"
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
},
{
diff --git a/source/json_tables/injective/exchange/v2/SpotMarket.json b/source/json_tables/injective/exchange/v2/SpotMarket.json
index 00606455..1c9e57ae 100644
--- a/source/json_tables/injective/exchange/v2/SpotMarket.json
+++ b/source/json_tables/injective/exchange/v2/SpotMarket.json
@@ -16,17 +16,17 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the fee percentage makers pay when trading"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the fee percentage takers pay when trading"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market"
},
{
@@ -41,17 +41,17 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format)"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format)"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/SpotMarketLaunchProposal.json b/source/json_tables/injective/exchange/v2/SpotMarketLaunchProposal.json
index bd898d1c..29876136 100644
--- a/source/json_tables/injective/exchange/v2/SpotMarketLaunchProposal.json
+++ b/source/json_tables/injective/exchange/v2/SpotMarketLaunchProposal.json
@@ -26,27 +26,27 @@
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the fee percentage makers pay when trading"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the fee percentage takers pay when trading"
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/v2/SpotMarketOrder.json b/source/json_tables/injective/exchange/v2/SpotMarketOrder.json
index 81f1b726..12b310ca 100644
--- a/source/json_tables/injective/exchange/v2/SpotMarketOrder.json
+++ b/source/json_tables/injective/exchange/v2/SpotMarketOrder.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balance_hold",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -21,7 +21,7 @@
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
}
]
diff --git a/source/json_tables/injective/exchange/v2/SpotMarketOrderResults.json b/source/json_tables/injective/exchange/v2/SpotMarketOrderResults.json
index 808ec5f9..38d5ec3d 100644
--- a/source/json_tables/injective/exchange/v2/SpotMarketOrderResults.json
+++ b/source/json_tables/injective/exchange/v2/SpotMarketOrderResults.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/SpotMarketParamUpdateProposal.json b/source/json_tables/injective/exchange/v2/SpotMarketParamUpdateProposal.json
index 98ee631a..2cbe272a 100644
--- a/source/json_tables/injective/exchange/v2/SpotMarketParamUpdateProposal.json
+++ b/source/json_tables/injective/exchange/v2/SpotMarketParamUpdateProposal.json
@@ -16,27 +16,27 @@
},
{
"Parameter": "maker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "maker_fee_rate defines the trade fee rate for makers on the spot market"
},
{
"Parameter": "taker_fee_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "taker_fee_rate defines the trade fee rate for takers on the spot market"
},
{
"Parameter": "relayer_fee_share_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "relayer_fee_share_rate defines the relayer fee share rate for the spot market"
},
{
"Parameter": "min_price_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_price_tick_size defines the minimum tick size of the order's price and margin"
},
{
"Parameter": "min_quantity_tick_size",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_quantity_tick_size defines the minimum tick size of the order's quantity"
},
{
@@ -51,7 +51,7 @@
},
{
"Parameter": "min_notional",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market"
},
{
diff --git a/source/json_tables/injective/exchange/v2/SpotOrder.json b/source/json_tables/injective/exchange/v2/SpotOrder.json
index 21594567..08e36cd7 100644
--- a/source/json_tables/injective/exchange/v2/SpotOrder.json
+++ b/source/json_tables/injective/exchange/v2/SpotOrder.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "trigger_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders (in human readable format) (optional)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/SpotOrderV2Changes.json b/source/json_tables/injective/exchange/v2/SpotOrderV2Changes.json
index 5751e549..ee5d1ed4 100644
--- a/source/json_tables/injective/exchange/v2/SpotOrderV2Changes.json
+++ b/source/json_tables/injective/exchange/v2/SpotOrderV2Changes.json
@@ -11,22 +11,22 @@
},
{
"Parameter": "p",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order"
},
{
"Parameter": "q",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order"
},
{
"Parameter": "f",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable"
},
{
"Parameter": "tp",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "trigger_price is the trigger price used by stop/take orders"
}
]
diff --git a/source/json_tables/injective/exchange/v2/SubaccountOrder.json b/source/json_tables/injective/exchange/v2/SubaccountOrder.json
index 3fa82f50..db8c61a0 100644
--- a/source/json_tables/injective/exchange/v2/SubaccountOrder.json
+++ b/source/json_tables/injective/exchange/v2/SubaccountOrder.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable"
},
{
diff --git a/source/json_tables/injective/exchange/v2/SubaccountOrderbookMetadata.json b/source/json_tables/injective/exchange/v2/SubaccountOrderbookMetadata.json
index 286788f1..218a90c0 100644
--- a/source/json_tables/injective/exchange/v2/SubaccountOrderbookMetadata.json
+++ b/source/json_tables/injective/exchange/v2/SubaccountOrderbookMetadata.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "aggregate_reduce_only_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The aggregate quantity of the subaccount's reduce-only limit orders (in human readable format)"
},
{
"Parameter": "aggregate_vanilla_quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The aggregate quantity of the subaccount's vanilla limit orders (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/TradeLog.json b/source/json_tables/injective/exchange/v2/TradeLog.json
index 7934a8b5..96a1c8fb 100644
--- a/source/json_tables/injective/exchange/v2/TradeLog.json
+++ b/source/json_tables/injective/exchange/v2/TradeLog.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -16,7 +16,7 @@
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/exchange/v2/TradeRecord.json b/source/json_tables/injective/exchange/v2/TradeRecord.json
index 12897bce..0308f6a7 100644
--- a/source/json_tables/injective/exchange/v2/TradeRecord.json
+++ b/source/json_tables/injective/exchange/v2/TradeRecord.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the price of the trade (in human readable format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the trade (in human readable format)"
}
]
diff --git a/source/json_tables/injective/exchange/v2/TradingRewardCampaignAccountPoints.json b/source/json_tables/injective/exchange/v2/TradingRewardCampaignAccountPoints.json
index e7a576ce..89447d49 100644
--- a/source/json_tables/injective/exchange/v2/TradingRewardCampaignAccountPoints.json
+++ b/source/json_tables/injective/exchange/v2/TradingRewardCampaignAccountPoints.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "points",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/exchange/v2/TrimmedDerivativeConditionalOrder.json b/source/json_tables/injective/exchange/v2/TrimmedDerivativeConditionalOrder.json
index 841fb174..0fd15c10 100644
--- a/source/json_tables/injective/exchange/v2/TrimmedDerivativeConditionalOrder.json
+++ b/source/json_tables/injective/exchange/v2/TrimmedDerivativeConditionalOrder.json
@@ -1,22 +1,22 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order (in human readable format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order (in human readable format)"
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin of the order (in human readable format)"
},
{
"Parameter": "triggerPrice",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price to trigger the order (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/TrimmedDerivativeLimitOrder.json b/source/json_tables/injective/exchange/v2/TrimmedDerivativeLimitOrder.json
index eaebc65c..b636c4e7 100644
--- a/source/json_tables/injective/exchange/v2/TrimmedDerivativeLimitOrder.json
+++ b/source/json_tables/injective/exchange/v2/TrimmedDerivativeLimitOrder.json
@@ -1,22 +1,22 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order (in human readable format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order (in human readable format)"
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "margin of the order (in human readable format)"
},
{
"Parameter": "fillable",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/TrimmedLimitOrder.json b/source/json_tables/injective/exchange/v2/TrimmedLimitOrder.json
index 13d59d05..a623d3b5 100644
--- a/source/json_tables/injective/exchange/v2/TrimmedLimitOrder.json
+++ b/source/json_tables/injective/exchange/v2/TrimmedLimitOrder.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order (in human readable format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/TrimmedSpotLimitOrder.json b/source/json_tables/injective/exchange/v2/TrimmedSpotLimitOrder.json
index 44ead1ed..76f18180 100644
--- a/source/json_tables/injective/exchange/v2/TrimmedSpotLimitOrder.json
+++ b/source/json_tables/injective/exchange/v2/TrimmedSpotLimitOrder.json
@@ -1,17 +1,17 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price of the order (in human readable format)"
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "quantity of the order (in human readable format)"
},
{
"Parameter": "fillable",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the amount of the quantity remaining fillable (in human readable format)"
},
{
diff --git a/source/json_tables/injective/exchange/v2/VolumeRecord.json b/source/json_tables/injective/exchange/v2/VolumeRecord.json
index bd60d0ef..313f23c9 100644
--- a/source/json_tables/injective/exchange/v2/VolumeRecord.json
+++ b/source/json_tables/injective/exchange/v2/VolumeRecord.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "maker_volume",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the market's maker volume (in human readable format)"
},
{
"Parameter": "taker_volume",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the market's taker volume (in human readable format)"
}
]
diff --git a/source/json_tables/injective/insurance/FailedRedemptionSchedule.json b/source/json_tables/injective/insurance/FailedRedemptionSchedule.json
new file mode 100644
index 00000000..c79faed1
--- /dev/null
+++ b/source/json_tables/injective/insurance/FailedRedemptionSchedule.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "id",
+ "Type": "uint64",
+ "Description": "id of the failed redemption"
+ },
+ {
+ "Parameter": "schedule",
+ "Type": "RedemptionSchedule",
+ "Description": "the original redemption schedule that failed to execute"
+ },
+ {
+ "Parameter": "err",
+ "Type": "string",
+ "Description": "the error message from the failed withdrawal attempt"
+ }
+]
diff --git a/source/json_tables/injective/insurance/GenesisState.json b/source/json_tables/injective/insurance/GenesisState.json
index ae094268..cbebeb1e 100644
--- a/source/json_tables/injective/insurance/GenesisState.json
+++ b/source/json_tables/injective/insurance/GenesisState.json
@@ -23,5 +23,20 @@
"Parameter": "next_redemption_schedule_id",
"Type": "uint64",
"Description": "next_redemption_schedule_id describes next redemption schedule id to be used for next schedule incremented by 1 per redemption request"
+ },
+ {
+ "Parameter": "failed_redemption_schedules",
+ "Type": "FailedRedemptionSchedule array",
+ "Description": "failed_redemption_schedules describes redemptions that failed during settlement and are preserved for manual resolution"
+ },
+ {
+ "Parameter": "next_failed_redemption_schedule_id",
+ "Type": "uint64",
+ "Description": "next_failed_redemption_schedule_id describes the next id for failed redemption schedules, incremented by 1 per failed settlement"
+ },
+ {
+ "Parameter": "vouchers",
+ "Type": "AddressVoucher array",
+ "Description": "outstanding vouchers (failed redemption deliveries)"
}
]
diff --git a/source/json_tables/injective/insurance/InsuranceFund.json b/source/json_tables/injective/insurance/InsuranceFund.json
index fab9467a..033d7810 100644
--- a/source/json_tables/injective/insurance/InsuranceFund.json
+++ b/source/json_tables/injective/insurance/InsuranceFund.json
@@ -11,17 +11,17 @@
},
{
"Parameter": "redemption_notice_period_duration",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "redemption_notice_period_duration defines the minimum notice period duration that must pass after an underwriter sends a redemption request before the underwriter can claim his tokens"
},
{
"Parameter": "balance",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "balance of fund"
},
{
"Parameter": "total_share",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "total share tokens minted"
},
{
@@ -46,7 +46,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type of the binary options or derivative market"
},
{
diff --git a/source/json_tables/injective/insurance/MsgClaimVoucher.json b/source/json_tables/injective/insurance/MsgClaimVoucher.json
new file mode 100644
index 00000000..4abf5243
--- /dev/null
+++ b/source/json_tables/injective/insurance/MsgClaimVoucher.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "sender",
+ "Type": "string",
+ "Description": "The sender's Injective address.",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "denom",
+ "Type": "string",
+ "Description": "The token denom of the voucher to claim.",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/insurance/MsgCreateInsuranceFund.json b/source/json_tables/injective/insurance/MsgCreateInsuranceFund.json
index 713c5efa..250386fe 100644
--- a/source/json_tables/injective/insurance/MsgCreateInsuranceFund.json
+++ b/source/json_tables/injective/insurance/MsgCreateInsuranceFund.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "oracle_type",
- "Type": "types.OracleType",
+ "Type": "OracleType",
"Description": "Oracle type of the binary options or derivative market",
"Required": "Yes"
},
@@ -43,7 +43,7 @@
},
{
"Parameter": "initial_deposit",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "Initial deposit of the insurance fund",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/insurance/MsgRequestRedemption.json b/source/json_tables/injective/insurance/MsgRequestRedemption.json
index 84a0b1ee..6ae0d46b 100644
--- a/source/json_tables/injective/insurance/MsgRequestRedemption.json
+++ b/source/json_tables/injective/insurance/MsgRequestRedemption.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "amount",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "Insurance fund share token amount to be redeemed.",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/insurance/MsgUnderwrite.json b/source/json_tables/injective/insurance/MsgUnderwrite.json
index a34dcf3b..4c5a4afe 100644
--- a/source/json_tables/injective/insurance/MsgUnderwrite.json
+++ b/source/json_tables/injective/insurance/MsgUnderwrite.json
@@ -13,7 +13,7 @@
},
{
"Parameter": "deposit",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "Amount of quote_denom to underwrite the insurance fund.",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/insurance/Params.json b/source/json_tables/injective/insurance/Params.json
index bd57c02d..24fd0f7d 100644
--- a/source/json_tables/injective/insurance/Params.json
+++ b/source/json_tables/injective/insurance/Params.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "default_redemption_notice_period_duration",
- "Type": "time.Duration",
+ "Type": "Duration",
"Description": "default_redemption_notice_period_duration defines the default minimum notice period duration that must pass after an underwriter sends a redemption request before the underwriter can claim his tokens"
}
]
diff --git a/source/json_tables/injective/insurance/QueryEstimatedRedemptionsResponse.json b/source/json_tables/injective/insurance/QueryEstimatedRedemptionsResponse.json
index 84af2d86..00b6449b 100644
--- a/source/json_tables/injective/insurance/QueryEstimatedRedemptionsResponse.json
+++ b/source/json_tables/injective/insurance/QueryEstimatedRedemptionsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "types.Coin array",
+ "Type": "Coin array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/insurance/QueryFailedRedemptionsResponse.json b/source/json_tables/injective/insurance/QueryFailedRedemptionsResponse.json
new file mode 100644
index 00000000..1c829ee3
--- /dev/null
+++ b/source/json_tables/injective/insurance/QueryFailedRedemptionsResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "schedules",
+ "Type": "FailedRedemptionSchedule array",
+ "Description": ""
+ }
+]
diff --git a/source/json_tables/injective/insurance/QueryPendingRedemptionsResponse.json b/source/json_tables/injective/insurance/QueryPendingRedemptionsResponse.json
index 84af2d86..00b6449b 100644
--- a/source/json_tables/injective/insurance/QueryPendingRedemptionsResponse.json
+++ b/source/json_tables/injective/insurance/QueryPendingRedemptionsResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "types.Coin array",
+ "Type": "Coin array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/insurance/QueryVoucherRequest.json b/source/json_tables/injective/insurance/QueryVoucherRequest.json
new file mode 100644
index 00000000..6fb06711
--- /dev/null
+++ b/source/json_tables/injective/insurance/QueryVoucherRequest.json
@@ -0,0 +1,14 @@
+[
+ {
+ "Parameter": "denom",
+ "Type": "string",
+ "Description": "Required. The token denom to look up.",
+ "Required": "Yes"
+ },
+ {
+ "Parameter": "address",
+ "Type": "string",
+ "Description": "Required. The bech32 address of the voucher holder.",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/insurance/QueryVoucherResponse.json b/source/json_tables/injective/insurance/QueryVoucherResponse.json
new file mode 100644
index 00000000..32ff1bd3
--- /dev/null
+++ b/source/json_tables/injective/insurance/QueryVoucherResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "voucher",
+ "Type": "Coin",
+ "Description": "The outstanding voucher coin for the requested denom and address."
+ }
+]
diff --git a/source/json_tables/injective/insurance/QueryVouchersRequest.json b/source/json_tables/injective/insurance/QueryVouchersRequest.json
new file mode 100644
index 00000000..d4f5eed4
--- /dev/null
+++ b/source/json_tables/injective/insurance/QueryVouchersRequest.json
@@ -0,0 +1,8 @@
+[
+ {
+ "Parameter": "denom",
+ "Type": "string",
+ "Description": "denom filter; empty string returns all vouchers",
+ "Required": "Yes"
+ }
+]
diff --git a/source/json_tables/injective/insurance/QueryVouchersResponse.json b/source/json_tables/injective/insurance/QueryVouchersResponse.json
new file mode 100644
index 00000000..0e252f80
--- /dev/null
+++ b/source/json_tables/injective/insurance/QueryVouchersResponse.json
@@ -0,0 +1,7 @@
+[
+ {
+ "Parameter": "vouchers",
+ "Type": "AddressVoucher array",
+ "Description": "List of outstanding vouchers matching the request filter."
+ }
+]
diff --git a/source/json_tables/injective/insurance/RedemptionSchedule.json b/source/json_tables/injective/insurance/RedemptionSchedule.json
index 862c26ee..26c0ae15 100644
--- a/source/json_tables/injective/insurance/RedemptionSchedule.json
+++ b/source/json_tables/injective/insurance/RedemptionSchedule.json
@@ -16,12 +16,12 @@
},
{
"Parameter": "claimable_redemption_time",
- "Type": "time.Time",
+ "Type": "Time",
"Description": "the time after which the redemption can be claimed"
},
{
"Parameter": "redemption_amount",
- "Type": "types1.Coin",
+ "Type": "Coin",
"Description": "the insurance_pool_token amount to redeem"
}
]
diff --git a/source/json_tables/injective/oracle/BandOracleRequest.json b/source/json_tables/injective/oracle/BandOracleRequest.json
index b443336d..8e3ddd58 100644
--- a/source/json_tables/injective/oracle/BandOracleRequest.json
+++ b/source/json_tables/injective/oracle/BandOracleRequest.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "fee_limit",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "FeeLimit is the maximum tokens that will be paid to all data source providers.",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/oracle/BandPriceState.json b/source/json_tables/injective/oracle/BandPriceState.json
index 43e22662..467750a7 100644
--- a/source/json_tables/injective/oracle/BandPriceState.json
+++ b/source/json_tables/injective/oracle/BandPriceState.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "rate",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/ChainlinkDataStreamsPriceState.json b/source/json_tables/injective/oracle/ChainlinkDataStreamsPriceState.json
index b60b9ee4..8e76a48f 100644
--- a/source/json_tables/injective/oracle/ChainlinkDataStreamsPriceState.json
+++ b/source/json_tables/injective/oracle/ChainlinkDataStreamsPriceState.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "report_price",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
@@ -23,5 +23,10 @@
"Parameter": "price_state",
"Type": "PriceState",
"Description": ""
+ },
+ {
+ "Parameter": "expires_at",
+ "Type": "uint64",
+ "Description": ""
}
]
diff --git a/source/json_tables/injective/oracle/ChainlinkPriceState.json b/source/json_tables/injective/oracle/ChainlinkPriceState.json
index d3bc42e7..b37b99d3 100644
--- a/source/json_tables/injective/oracle/ChainlinkPriceState.json
+++ b/source/json_tables/injective/oracle/ChainlinkPriceState.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "answer",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/MetadataStatistics.json b/source/json_tables/injective/oracle/MetadataStatistics.json
index b49bd941..a1b0c379 100644
--- a/source/json_tables/injective/oracle/MetadataStatistics.json
+++ b/source/json_tables/injective/oracle/MetadataStatistics.json
@@ -11,12 +11,12 @@
},
{
"Parameter": "mean",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "Mean refers to the arithmetic mean For trades, the mean is the VWAP computed over the grouped trade records ∑ (price * quantity) / ∑ quantity For oracle prices, the mean is computed over the price records ∑ (price) / prices_count"
},
{
"Parameter": "twap",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "TWAP refers to the time-weighted average price which equals ∑ (price_i * ∆t_i) / ∑ ∆t_i where ∆t_i = t_i - t_{i-1}"
},
{
@@ -31,17 +31,17 @@
},
{
"Parameter": "min_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "MinPrice refers to the smallest individual raw price considered"
},
{
"Parameter": "max_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "MaxPrice refers to the largest individual raw price considered"
},
{
"Parameter": "median_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "MedianPrice refers to the median individual raw price considered"
}
]
diff --git a/source/json_tables/injective/oracle/MsgRelayPriceFeedPrice.json b/source/json_tables/injective/oracle/MsgRelayPriceFeedPrice.json
index ace26b31..300a0818 100644
--- a/source/json_tables/injective/oracle/MsgRelayPriceFeedPrice.json
+++ b/source/json_tables/injective/oracle/MsgRelayPriceFeedPrice.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec array",
+ "Type": "LegacyDec array",
"Description": "price defines the price of the oracle base and quote",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/oracle/MsgRelayProviderPrices.json b/source/json_tables/injective/oracle/MsgRelayProviderPrices.json
index b19b1cf2..93ad315b 100644
--- a/source/json_tables/injective/oracle/MsgRelayProviderPrices.json
+++ b/source/json_tables/injective/oracle/MsgRelayProviderPrices.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "prices",
- "Type": "cosmossdk_io_math.LegacyDec array",
+ "Type": "LegacyDec array",
"Description": "",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/oracle/Params.json b/source/json_tables/injective/oracle/Params.json
index c9d76e2d..3f4ec7df 100644
--- a/source/json_tables/injective/oracle/Params.json
+++ b/source/json_tables/injective/oracle/Params.json
@@ -9,11 +9,6 @@
"Type": "string",
"Description": ""
},
- {
- "Parameter": "accept_unverified_chainlink_data_streams_reports",
- "Type": "bool",
- "Description": ""
- },
{
"Parameter": "chainlink_data_streams_verification_gas_limit",
"Type": "uint64",
diff --git a/source/json_tables/injective/oracle/PriceFeedPrice.json b/source/json_tables/injective/oracle/PriceFeedPrice.json
index d150c847..5d25b1df 100644
--- a/source/json_tables/injective/oracle/PriceFeedPrice.json
+++ b/source/json_tables/injective/oracle/PriceFeedPrice.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/oracle/PricePairState.json b/source/json_tables/injective/oracle/PricePairState.json
index 79c61915..e125da9a 100644
--- a/source/json_tables/injective/oracle/PricePairState.json
+++ b/source/json_tables/injective/oracle/PricePairState.json
@@ -1,27 +1,27 @@
[
{
"Parameter": "pair_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "base_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "quote_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "base_cumulative_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "quote_cumulative_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/PriceRecord.json b/source/json_tables/injective/oracle/PriceRecord.json
index 5539668e..667f5bdc 100644
--- a/source/json_tables/injective/oracle/PriceRecord.json
+++ b/source/json_tables/injective/oracle/PriceRecord.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/oracle/PriceState.json b/source/json_tables/injective/oracle/PriceState.json
index 121d5664..2f67987f 100644
--- a/source/json_tables/injective/oracle/PriceState.json
+++ b/source/json_tables/injective/oracle/PriceState.json
@@ -1,12 +1,12 @@
[
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "cumulative_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/PythPriceState.json b/source/json_tables/injective/oracle/PythPriceState.json
index 03cbcb23..16be5c88 100644
--- a/source/json_tables/injective/oracle/PythPriceState.json
+++ b/source/json_tables/injective/oracle/PythPriceState.json
@@ -6,17 +6,17 @@
},
{
"Parameter": "ema_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "ema_conf",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "conf",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/QueryOracleVolatilityResponse.json b/source/json_tables/injective/oracle/QueryOracleVolatilityResponse.json
index 48a93e38..d94c27b9 100644
--- a/source/json_tables/injective/oracle/QueryOracleVolatilityResponse.json
+++ b/source/json_tables/injective/oracle/QueryOracleVolatilityResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "volatility",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/SetBandIBCPriceEvent.json b/source/json_tables/injective/oracle/SetBandIBCPriceEvent.json
index 0c881873..de484f25 100644
--- a/source/json_tables/injective/oracle/SetBandIBCPriceEvent.json
+++ b/source/json_tables/injective/oracle/SetBandIBCPriceEvent.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "prices",
- "Type": "cosmossdk_io_math.LegacyDec array",
+ "Type": "LegacyDec array",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/SetBandPriceEvent.json b/source/json_tables/injective/oracle/SetBandPriceEvent.json
index 27b4fb13..eac4f921 100644
--- a/source/json_tables/injective/oracle/SetBandPriceEvent.json
+++ b/source/json_tables/injective/oracle/SetBandPriceEvent.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/SetChainlinkPriceEvent.json b/source/json_tables/injective/oracle/SetChainlinkPriceEvent.json
index da5bfb91..77ba8068 100644
--- a/source/json_tables/injective/oracle/SetChainlinkPriceEvent.json
+++ b/source/json_tables/injective/oracle/SetChainlinkPriceEvent.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "answer",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/SetCoinbasePriceEvent.json b/source/json_tables/injective/oracle/SetCoinbasePriceEvent.json
index 22550b54..2f1c9661 100644
--- a/source/json_tables/injective/oracle/SetCoinbasePriceEvent.json
+++ b/source/json_tables/injective/oracle/SetCoinbasePriceEvent.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/SetPriceFeedPriceEvent.json b/source/json_tables/injective/oracle/SetPriceFeedPriceEvent.json
index b3407b06..a98a4436 100644
--- a/source/json_tables/injective/oracle/SetPriceFeedPriceEvent.json
+++ b/source/json_tables/injective/oracle/SetPriceFeedPriceEvent.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "price defines the price of the oracle base and quote"
}
]
diff --git a/source/json_tables/injective/oracle/SetProviderPriceEvent.json b/source/json_tables/injective/oracle/SetProviderPriceEvent.json
index d967b5f9..4b00b8e1 100644
--- a/source/json_tables/injective/oracle/SetProviderPriceEvent.json
+++ b/source/json_tables/injective/oracle/SetProviderPriceEvent.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/oracle/SignedPriceOfAssetPair.json b/source/json_tables/injective/oracle/SignedPriceOfAssetPair.json
index 1d720515..7cd62102 100644
--- a/source/json_tables/injective/oracle/SignedPriceOfAssetPair.json
+++ b/source/json_tables/injective/oracle/SignedPriceOfAssetPair.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/oracle/StorkPriceState.json b/source/json_tables/injective/oracle/StorkPriceState.json
index aeaede1a..db1ac715 100644
--- a/source/json_tables/injective/oracle/StorkPriceState.json
+++ b/source/json_tables/injective/oracle/StorkPriceState.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "value",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the value of the price scaled by 1e18"
},
{
diff --git a/source/json_tables/injective/peggy/Attestation.json b/source/json_tables/injective/peggy/Attestation.json
index daf06fa0..2a7f3999 100644
--- a/source/json_tables/injective/peggy/Attestation.json
+++ b/source/json_tables/injective/peggy/Attestation.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "claim",
- "Type": "types.Any",
+ "Type": "Any",
"Description": ""
}
]
diff --git a/source/json_tables/injective/peggy/BatchFees.json b/source/json_tables/injective/peggy/BatchFees.json
index f7be8eae..b341179f 100644
--- a/source/json_tables/injective/peggy/BatchFees.json
+++ b/source/json_tables/injective/peggy/BatchFees.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "total_fees",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/injective/peggy/BlockTransferRecord.json b/source/json_tables/injective/peggy/BlockTransferRecord.json
new file mode 100644
index 00000000..6a2f7269
--- /dev/null
+++ b/source/json_tables/injective/peggy/BlockTransferRecord.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "block_number",
+ "Type": "uint64",
+ "Description": "block number at which the transfers occurred"
+ },
+ {
+ "Parameter": "amount",
+ "Type": "Int",
+ "Description": "sum amount of transfers that happened in that block"
+ }
+]
diff --git a/source/json_tables/injective/peggy/BridgeTransfer.json b/source/json_tables/injective/peggy/BridgeTransfer.json
index 2697c7bd..452fb809 100644
--- a/source/json_tables/injective/peggy/BridgeTransfer.json
+++ b/source/json_tables/injective/peggy/BridgeTransfer.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "quantity that was bridged (chain format)"
},
{
diff --git a/source/json_tables/injective/peggy/ERC20Token.json b/source/json_tables/injective/peggy/ERC20Token.json
index db5b2a15..2bcd36c5 100644
--- a/source/json_tables/injective/peggy/ERC20Token.json
+++ b/source/json_tables/injective/peggy/ERC20Token.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
}
]
diff --git a/source/json_tables/injective/peggy/GenesisState.json b/source/json_tables/injective/peggy/GenesisState.json
index 94848829..f61f7237 100644
--- a/source/json_tables/injective/peggy/GenesisState.json
+++ b/source/json_tables/injective/peggy/GenesisState.json
@@ -78,5 +78,15 @@
"Parameter": "rate_limits",
"Type": "RateLimit array",
"Description": ""
+ },
+ {
+ "Parameter": "rate_limit_transfers",
+ "Type": "RateLimitTransfers array",
+ "Description": ""
+ },
+ {
+ "Parameter": "mint_amounts",
+ "Type": "MintAmount array",
+ "Description": ""
}
]
diff --git a/source/json_tables/injective/peggy/MintAmount.json b/source/json_tables/injective/peggy/MintAmount.json
new file mode 100644
index 00000000..28a8e204
--- /dev/null
+++ b/source/json_tables/injective/peggy/MintAmount.json
@@ -0,0 +1,12 @@
+[
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "address of the erc20 bridged in"
+ },
+ {
+ "Parameter": "amount",
+ "Type": "Int",
+ "Description": "amount currently minted on chain"
+ }
+]
diff --git a/source/json_tables/injective/peggy/MsgCreateRateLimit.json b/source/json_tables/injective/peggy/MsgCreateRateLimit.json
index 6142c0e6..fd3cfd66 100644
--- a/source/json_tables/injective/peggy/MsgCreateRateLimit.json
+++ b/source/json_tables/injective/peggy/MsgCreateRateLimit.json
@@ -25,13 +25,13 @@
},
{
"Parameter": "rate_limit_usd",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the notional USD limit imposed on all outgoing traffic (per token)",
"Required": "Yes"
},
{
"Parameter": "absolute_mint_limit",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "the absolute amount of tokens that can be minted on Injective",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/peggy/MsgDepositClaim.json b/source/json_tables/injective/peggy/MsgDepositClaim.json
index 8ffec1bd..800e934b 100644
--- a/source/json_tables/injective/peggy/MsgDepositClaim.json
+++ b/source/json_tables/injective/peggy/MsgDepositClaim.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/peggy/MsgSendToEth.json b/source/json_tables/injective/peggy/MsgSendToEth.json
index 7250d735..a3c3a4a4 100644
--- a/source/json_tables/injective/peggy/MsgSendToEth.json
+++ b/source/json_tables/injective/peggy/MsgSendToEth.json
@@ -13,13 +13,13 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "The amount of tokens to send",
"Required": "Yes"
},
{
"Parameter": "bridge_fee",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "The fee paid for the bridge, distinct from the fee paid to the chain to actually send this message in the first place. So a successful send has two layers of fees for the user",
"Required": "Yes"
}
diff --git a/source/json_tables/injective/peggy/MsgSubmitBadSignatureEvidence.json b/source/json_tables/injective/peggy/MsgSubmitBadSignatureEvidence.json
index b200a492..37634b8a 100644
--- a/source/json_tables/injective/peggy/MsgSubmitBadSignatureEvidence.json
+++ b/source/json_tables/injective/peggy/MsgSubmitBadSignatureEvidence.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "subject",
- "Type": "types1.Any",
+ "Type": "Any",
"Description": "",
"Required": "No"
},
diff --git a/source/json_tables/injective/peggy/MsgUpdateRateLimit.json b/source/json_tables/injective/peggy/MsgUpdateRateLimit.json
index 4b425a10..5f5e3c0e 100644
--- a/source/json_tables/injective/peggy/MsgUpdateRateLimit.json
+++ b/source/json_tables/injective/peggy/MsgUpdateRateLimit.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "new_rate_limit_usd",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "new_rate_limit_usd is the new notional limit (on withdrawals) in USD",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/peggy/MsgValsetUpdatedClaim.json b/source/json_tables/injective/peggy/MsgValsetUpdatedClaim.json
index 6f2c6c6f..f147af53 100644
--- a/source/json_tables/injective/peggy/MsgValsetUpdatedClaim.json
+++ b/source/json_tables/injective/peggy/MsgValsetUpdatedClaim.json
@@ -25,7 +25,7 @@
},
{
"Parameter": "reward_amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/peggy/Params.json b/source/json_tables/injective/peggy/Params.json
index 2e98c211..ba617f55 100644
--- a/source/json_tables/injective/peggy/Params.json
+++ b/source/json_tables/injective/peggy/Params.json
@@ -51,22 +51,22 @@
},
{
"Parameter": "slash_fraction_valset",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "slash_fraction_batch",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "slash_fraction_claim",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "slash_fraction_conflicting_claim",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -76,7 +76,7 @@
},
{
"Parameter": "slash_fraction_bad_eth_signature",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -101,7 +101,7 @@
},
{
"Parameter": "valset_reward",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": ""
},
{
diff --git a/source/json_tables/injective/peggy/RateLimit.json b/source/json_tables/injective/peggy/RateLimit.json
index b5b7be41..00988c32 100644
--- a/source/json_tables/injective/peggy/RateLimit.json
+++ b/source/json_tables/injective/peggy/RateLimit.json
@@ -21,13 +21,13 @@
},
{
"Parameter": "rate_limit_usd",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the notional USD limit imposed on all outgoing traffic (per token)"
},
{
"Parameter": "absolute_mint_limit",
- "Type": "cosmossdk_io_math.Int",
- "Description": "the absolute amount of tokens that can be minted on Injective"
+ "Type": "Int",
+ "Description": "[DEPRECATED] the absolute amount of tokens that can be minted on Injective"
},
{
"Parameter": "transfers",
diff --git a/source/json_tables/injective/peggy/RateLimitTransfers.json b/source/json_tables/injective/peggy/RateLimitTransfers.json
new file mode 100644
index 00000000..7d957c6f
--- /dev/null
+++ b/source/json_tables/injective/peggy/RateLimitTransfers.json
@@ -0,0 +1,17 @@
+[
+ {
+ "Parameter": "token",
+ "Type": "string",
+ "Description": "contract address of the erc20 on Ethereum"
+ },
+ {
+ "Parameter": "inflows",
+ "Type": "BlockTransferRecord array",
+ "Description": "records of deposit transfers across blocks"
+ },
+ {
+ "Parameter": "outflows",
+ "Type": "BlockTransferRecord array",
+ "Description": "records of withdrawal transfers across blocks"
+ }
+]
diff --git a/source/json_tables/injective/peggy/Valset.json b/source/json_tables/injective/peggy/Valset.json
index a73e47b4..a33fba42 100644
--- a/source/json_tables/injective/peggy/Valset.json
+++ b/source/json_tables/injective/peggy/Valset.json
@@ -16,7 +16,7 @@
},
{
"Parameter": "reward_amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": ""
},
{
diff --git a/source/json_tables/injective/peggy/Withdrawal.json b/source/json_tables/injective/peggy/Withdrawal.json
index 8e7ba8b7..46e376a9 100644
--- a/source/json_tables/injective/peggy/Withdrawal.json
+++ b/source/json_tables/injective/peggy/Withdrawal.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "amount",
- "Type": "cosmossdk_io_math.Int",
+ "Type": "Int",
"Description": "Amount of tokens withdrawn to Ethereum"
}
]
diff --git a/source/json_tables/injective/permissions/AddressVoucher.json b/source/json_tables/injective/permissions/AddressVoucher.json
deleted file mode 100644
index 9cc734c2..00000000
--- a/source/json_tables/injective/permissions/AddressVoucher.json
+++ /dev/null
@@ -1,12 +0,0 @@
-[
- {
- "Parameter": "address",
- "Type": "string",
- "Description": "The Injective address that the voucher is for"
- },
- {
- "Parameter": "voucher",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coin",
- "Description": "The voucher amount"
- }
-]
diff --git a/source/json_tables/injective/permissions/EnforcedRestrictionsEVMContract.json b/source/json_tables/injective/permissions/EnforcedRestrictionsEVMContract.json
new file mode 100644
index 00000000..e1e294ff
--- /dev/null
+++ b/source/json_tables/injective/permissions/EnforcedRestrictionsEVMContract.json
@@ -0,0 +1,27 @@
+[
+ {
+ "Parameter": "contract_address",
+ "Type": "string",
+ "Description": "EVM address of the contract"
+ },
+ {
+ "Parameter": "pause_event_signature",
+ "Type": "string",
+ "Description": "Pause event signature for the contract (e.g. \"Pause()\")"
+ },
+ {
+ "Parameter": "unpause_event_signature",
+ "Type": "string",
+ "Description": "Unpause event signature for the contract (e.g. \"Unpause()\")"
+ },
+ {
+ "Parameter": "blacklist_event_signature",
+ "Type": "string",
+ "Description": "Blacklist event signature for the contract (e.g. Blacklisted(address)\")"
+ },
+ {
+ "Parameter": "unblacklist_event_signature",
+ "Type": "string",
+ "Description": "UnBlacklist event signature for the contract (e.g. \"UnBlacklisted(address)\")"
+ }
+]
diff --git a/source/json_tables/injective/permissions/Params.json b/source/json_tables/injective/permissions/Params.json
index 546471b8..21c341e4 100644
--- a/source/json_tables/injective/permissions/Params.json
+++ b/source/json_tables/injective/permissions/Params.json
@@ -5,8 +5,13 @@
"Description": "Max amount of gas allowed for contract hook queries"
},
{
- "Parameter": "enforced_restrictions_contracts",
+ "Parameter": "deprecated_enforced_restrictions_contracts",
"Type": "string array",
- "Description": "EVM addresses of contracts that will not bypass module-to-module transfers"
+ "Description": "DEPRECATED in favor of enforced_restrictions_evm_contracts, but left for compatibility and upgrade purposes EVM addresses of contracts that will not bypass module-to-module transfers"
+ },
+ {
+ "Parameter": "enforced_restrictions_evm_contracts",
+ "Type": "EnforcedRestrictionsEVMContract array",
+ "Description": "EVM Contracts that module will be listening to sync permissions stored inside namespace on every update inside smart contract state"
}
]
diff --git a/source/json_tables/injective/permissions/QueryVoucherResponse.json b/source/json_tables/injective/permissions/QueryVoucherResponse.json
index f1719ab6..50c79b2b 100644
--- a/source/json_tables/injective/permissions/QueryVoucherResponse.json
+++ b/source/json_tables/injective/permissions/QueryVoucherResponse.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "voucher",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coin",
+ "Type": "Coin",
"Description": "The voucher amount"
}
]
diff --git a/source/json_tables/injective/permissions/QueryVouchersResponse.json b/source/json_tables/injective/permissions/QueryVouchersResponse.json
index 2868aa71..0e252f80 100644
--- a/source/json_tables/injective/permissions/QueryVouchersResponse.json
+++ b/source/json_tables/injective/permissions/QueryVouchersResponse.json
@@ -2,6 +2,6 @@
{
"Parameter": "vouchers",
"Type": "AddressVoucher array",
- "Description": "List of vouchers"
+ "Description": "List of outstanding vouchers matching the request filter."
}
]
diff --git a/source/json_tables/injective/stream/BankBalance.json b/source/json_tables/injective/stream/BankBalance.json
index 45e43635..251ca8ef 100644
--- a/source/json_tables/injective/stream/BankBalance.json
+++ b/source/json_tables/injective/stream/BankBalance.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balances",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": ""
}
]
diff --git a/source/json_tables/injective/stream/DerivativeOrder.json b/source/json_tables/injective/stream/DerivativeOrder.json
index 0318c358..10169013 100644
--- a/source/json_tables/injective/stream/DerivativeOrder.json
+++ b/source/json_tables/injective/stream/DerivativeOrder.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "order",
- "Type": "types.DerivativeLimitOrder",
+ "Type": "DerivativeLimitOrder",
"Description": "the derivative order details"
},
{
diff --git a/source/json_tables/injective/stream/DerivativeTrade.json b/source/json_tables/injective/stream/DerivativeTrade.json
index 7d0965ce..ba73b8d1 100644
--- a/source/json_tables/injective/stream/DerivativeTrade.json
+++ b/source/json_tables/injective/stream/DerivativeTrade.json
@@ -21,17 +21,17 @@
},
{
"Parameter": "position_delta",
- "Type": "types.PositionDelta",
+ "Type": "PositionDelta",
"Description": "the position delta of the trade"
},
{
"Parameter": "payout",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the payout of the trade"
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the fee of the trade"
},
{
diff --git a/source/json_tables/injective/stream/OraclePrice.json b/source/json_tables/injective/stream/OraclePrice.json
index cd69fd13..6deae1b5 100644
--- a/source/json_tables/injective/stream/OraclePrice.json
+++ b/source/json_tables/injective/stream/OraclePrice.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
diff --git a/source/json_tables/injective/stream/Orderbook.json b/source/json_tables/injective/stream/Orderbook.json
index 7a86d44e..b92ef6e1 100644
--- a/source/json_tables/injective/stream/Orderbook.json
+++ b/source/json_tables/injective/stream/Orderbook.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "buy_levels",
- "Type": "types.Level array",
+ "Type": "Level array",
"Description": ""
},
{
"Parameter": "sell_levels",
- "Type": "types.Level array",
+ "Type": "Level array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/stream/Position.json b/source/json_tables/injective/stream/Position.json
index d42e460f..630e2dd0 100644
--- a/source/json_tables/injective/stream/Position.json
+++ b/source/json_tables/injective/stream/Position.json
@@ -16,22 +16,22 @@
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the position"
},
{
"Parameter": "entry_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the entry price of the position"
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the margin of the position"
},
{
"Parameter": "cumulative_funding_entry",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the cumulative funding entry of the position"
}
]
diff --git a/source/json_tables/injective/stream/SpotOrder.json b/source/json_tables/injective/stream/SpotOrder.json
index fa575edd..a9747f4f 100644
--- a/source/json_tables/injective/stream/SpotOrder.json
+++ b/source/json_tables/injective/stream/SpotOrder.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "order",
- "Type": "types.SpotLimitOrder",
+ "Type": "SpotLimitOrder",
"Description": ""
}
]
diff --git a/source/json_tables/injective/stream/SpotTrade.json b/source/json_tables/injective/stream/SpotTrade.json
index 26bc6e65..fd2d59d8 100644
--- a/source/json_tables/injective/stream/SpotTrade.json
+++ b/source/json_tables/injective/stream/SpotTrade.json
@@ -16,12 +16,12 @@
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the trade"
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the price of the trade"
},
{
@@ -31,7 +31,7 @@
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the fee of the trade"
},
{
diff --git a/source/json_tables/injective/stream/SubaccountDeposit.json b/source/json_tables/injective/stream/SubaccountDeposit.json
index 096fe3b8..83261134 100644
--- a/source/json_tables/injective/stream/SubaccountDeposit.json
+++ b/source/json_tables/injective/stream/SubaccountDeposit.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "deposit",
- "Type": "types.Deposit",
+ "Type": "Deposit",
"Description": ""
}
]
diff --git a/source/json_tables/injective/stream/v2/BankBalance.json b/source/json_tables/injective/stream/v2/BankBalance.json
index e35680a1..ed347833 100644
--- a/source/json_tables/injective/stream/v2/BankBalance.json
+++ b/source/json_tables/injective/stream/v2/BankBalance.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "balances",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "list of account balances"
}
]
diff --git a/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailureUpdate.json b/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailureUpdate.json
index e5934ec0..502bab2d 100644
--- a/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailureUpdate.json
+++ b/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailureUpdate.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "mark_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the mark price"
},
{
diff --git a/source/json_tables/injective/stream/v2/DerivativeOrder.json b/source/json_tables/injective/stream/v2/DerivativeOrder.json
index c4727ddb..ace2ea94 100644
--- a/source/json_tables/injective/stream/v2/DerivativeOrder.json
+++ b/source/json_tables/injective/stream/v2/DerivativeOrder.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "order",
- "Type": "v2.DerivativeLimitOrder",
+ "Type": "DerivativeLimitOrder",
"Description": "the order details"
},
{
diff --git a/source/json_tables/injective/stream/v2/DerivativeTrade.json b/source/json_tables/injective/stream/v2/DerivativeTrade.json
index 8b3c268b..090dd5f3 100644
--- a/source/json_tables/injective/stream/v2/DerivativeTrade.json
+++ b/source/json_tables/injective/stream/v2/DerivativeTrade.json
@@ -21,17 +21,17 @@
},
{
"Parameter": "position_delta",
- "Type": "v2.PositionDelta",
+ "Type": "PositionDelta",
"Description": "the position delta of the trade (in human readable format)"
},
{
"Parameter": "payout",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the payout of the trade (in human readable format)"
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the fee of the trade (in human readable format)"
},
{
diff --git a/source/json_tables/injective/stream/v2/OraclePrice.json b/source/json_tables/injective/stream/v2/OraclePrice.json
index 248a4ae2..97a1fc78 100644
--- a/source/json_tables/injective/stream/v2/OraclePrice.json
+++ b/source/json_tables/injective/stream/v2/OraclePrice.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the updated price"
},
{
diff --git a/source/json_tables/injective/stream/v2/Orderbook.json b/source/json_tables/injective/stream/v2/Orderbook.json
index 07e703be..d6a1dd88 100644
--- a/source/json_tables/injective/stream/v2/Orderbook.json
+++ b/source/json_tables/injective/stream/v2/Orderbook.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "buy_levels",
- "Type": "v2.Level array",
+ "Type": "Level array",
"Description": "list of buy levels"
},
{
"Parameter": "sell_levels",
- "Type": "v2.Level array",
+ "Type": "Level array",
"Description": "list of sell levels"
}
]
diff --git a/source/json_tables/injective/stream/v2/Position.json b/source/json_tables/injective/stream/v2/Position.json
index c070c651..25b75f42 100644
--- a/source/json_tables/injective/stream/v2/Position.json
+++ b/source/json_tables/injective/stream/v2/Position.json
@@ -16,22 +16,22 @@
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the position (in human readable format)"
},
{
"Parameter": "entry_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the entry price of the position (in human readable format)"
},
{
"Parameter": "margin",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the margin of the position (in human readable format)"
},
{
"Parameter": "cumulative_funding_entry",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the cumulative funding entry of the position (in human readable format)"
}
]
diff --git a/source/json_tables/injective/stream/v2/SpotOrder.json b/source/json_tables/injective/stream/v2/SpotOrder.json
index 79701dd9..09e778c8 100644
--- a/source/json_tables/injective/stream/v2/SpotOrder.json
+++ b/source/json_tables/injective/stream/v2/SpotOrder.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "order",
- "Type": "v2.SpotLimitOrder",
+ "Type": "SpotLimitOrder",
"Description": "the order details"
}
]
diff --git a/source/json_tables/injective/stream/v2/SpotTrade.json b/source/json_tables/injective/stream/v2/SpotTrade.json
index cb9b5c85..f2c27149 100644
--- a/source/json_tables/injective/stream/v2/SpotTrade.json
+++ b/source/json_tables/injective/stream/v2/SpotTrade.json
@@ -16,12 +16,12 @@
},
{
"Parameter": "quantity",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the quantity of the trade (in human readable format)"
},
{
"Parameter": "price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the price of the trade (in human readable format)"
},
{
@@ -31,7 +31,7 @@
},
{
"Parameter": "fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "the fee of the trade (in human readable format)"
},
{
diff --git a/source/json_tables/injective/stream/v2/SubaccountDeposit.json b/source/json_tables/injective/stream/v2/SubaccountDeposit.json
index 6cc21a9a..83261134 100644
--- a/source/json_tables/injective/stream/v2/SubaccountDeposit.json
+++ b/source/json_tables/injective/stream/v2/SubaccountDeposit.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "deposit",
- "Type": "v2.Deposit",
+ "Type": "Deposit",
"Description": ""
}
]
diff --git a/source/json_tables/injective/tokenfactory/MsgBurn.json b/source/json_tables/injective/tokenfactory/MsgBurn.json
index c5a0da53..0acb07e9 100644
--- a/source/json_tables/injective/tokenfactory/MsgBurn.json
+++ b/source/json_tables/injective/tokenfactory/MsgBurn.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "The amount of tokens to burn",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/tokenfactory/MsgMint.json b/source/json_tables/injective/tokenfactory/MsgMint.json
index 5d0496e9..e9f31b18 100644
--- a/source/json_tables/injective/tokenfactory/MsgMint.json
+++ b/source/json_tables/injective/tokenfactory/MsgMint.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "amount",
- "Type": "types.Coin",
+ "Type": "Coin",
"Description": "The amount of tokens to mint",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata.json b/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata.json
index 97eb1759..efdfbb51 100644
--- a/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata.json
+++ b/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "metadata",
- "Type": "types1.Metadata",
+ "Type": "Metadata",
"Description": "The metadata",
"Required": "Yes"
},
diff --git a/source/json_tables/injective/tokenfactory/Params.json b/source/json_tables/injective/tokenfactory/Params.json
index 59a5e2f4..246003ea 100644
--- a/source/json_tables/injective/tokenfactory/Params.json
+++ b/source/json_tables/injective/tokenfactory/Params.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "denom_creation_fee",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "The denom creation fee"
}
]
diff --git a/source/json_tables/injective/txfees/EipBaseFee.json b/source/json_tables/injective/txfees/EipBaseFee.json
index f4bfdfd3..0f8117de 100644
--- a/source/json_tables/injective/txfees/EipBaseFee.json
+++ b/source/json_tables/injective/txfees/EipBaseFee.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "base_fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": "The current chain gas price"
}
]
diff --git a/source/json_tables/injective/txfees/Params.json b/source/json_tables/injective/txfees/Params.json
index e104010e..556ee084 100644
--- a/source/json_tables/injective/txfees/Params.json
+++ b/source/json_tables/injective/txfees/Params.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "min_gas_price_for_high_gas_tx",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -21,17 +21,17 @@
},
{
"Parameter": "min_gas_price",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "default_base_fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "max_base_fee_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
@@ -41,27 +41,27 @@
},
{
"Parameter": "max_block_change_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "target_block_space_percent_rate",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "recheck_fee_low_base_fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "recheck_fee_high_base_fee",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
},
{
"Parameter": "recheck_fee_base_fee_threshold_multiplier",
- "Type": "cosmossdk_io_math.LegacyDec",
+ "Type": "LegacyDec",
"Description": ""
}
]
diff --git a/source/json_tables/injective/wasmx/BatchStoreCodeProposal.json b/source/json_tables/injective/wasmx/BatchStoreCodeProposal.json
index 37391d8c..c9b29857 100644
--- a/source/json_tables/injective/wasmx/BatchStoreCodeProposal.json
+++ b/source/json_tables/injective/wasmx/BatchStoreCodeProposal.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "proposals",
- "Type": "types.StoreCodeProposal array",
+ "Type": "StoreCodeProposal array",
"Description": ""
}
]
diff --git a/source/json_tables/injective/wasmx/ContractExecutionCompatAuthorization.json b/source/json_tables/injective/wasmx/ContractExecutionCompatAuthorization.json
index 7e41d8a3..20e9e309 100644
--- a/source/json_tables/injective/wasmx/ContractExecutionCompatAuthorization.json
+++ b/source/json_tables/injective/wasmx/ContractExecutionCompatAuthorization.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "grants",
- "Type": "types.ContractGrant array",
+ "Type": "ContractGrant array",
"Description": "Grants for contract executions"
}
]
diff --git a/source/json_tables/injective/wasmx/Params.json b/source/json_tables/injective/wasmx/Params.json
index 3a7c3b6f..fb088f4c 100644
--- a/source/json_tables/injective/wasmx/Params.json
+++ b/source/json_tables/injective/wasmx/Params.json
@@ -21,7 +21,7 @@
},
{
"Parameter": "register_contract_access",
- "Type": "types.AccessConfig",
+ "Type": "AccessConfig",
"Description": ""
}
]
diff --git a/source/json_tables/wasmd/wasm/CodeInfoResponse.json b/source/json_tables/wasmd/wasm/CodeInfoResponse.json
index 64979a73..4663cf69 100644
--- a/source/json_tables/wasmd/wasm/CodeInfoResponse.json
+++ b/source/json_tables/wasmd/wasm/CodeInfoResponse.json
@@ -11,7 +11,7 @@
},
{
"Parameter": "data_hash",
- "Type": "github_com_cometbft_cometbft_libs_bytes.HexBytes",
+ "Type": "HexBytes",
"Description": ""
},
{
diff --git a/source/json_tables/wasmd/wasm/CombinedLimit.json b/source/json_tables/wasmd/wasm/CombinedLimit.json
index 5969e7b1..973f4e36 100644
--- a/source/json_tables/wasmd/wasm/CombinedLimit.json
+++ b/source/json_tables/wasmd/wasm/CombinedLimit.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "amounts",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Amounts is the maximal amount of tokens transferable to the contract."
}
]
diff --git a/source/json_tables/wasmd/wasm/ContractGrant.json b/source/json_tables/wasmd/wasm/ContractGrant.json
index d7509db2..6c2ecf2a 100644
--- a/source/json_tables/wasmd/wasm/ContractGrant.json
+++ b/source/json_tables/wasmd/wasm/ContractGrant.json
@@ -6,12 +6,12 @@
},
{
"Parameter": "limit",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "Limit defines execution limits that are enforced and updated when the grant is applied. When the limit lapsed the grant is removed."
},
{
"Parameter": "filter",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "Filter define more fine-grained control on the message payload passed to the contract in the operation. When no filter applies on execution, the operation is prohibited."
}
]
diff --git a/source/json_tables/wasmd/wasm/ContractInfo.json b/source/json_tables/wasmd/wasm/ContractInfo.json
index 0dd25afc..0c64b387 100644
--- a/source/json_tables/wasmd/wasm/ContractInfo.json
+++ b/source/json_tables/wasmd/wasm/ContractInfo.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "extension",
- "Type": "types.Any",
+ "Type": "Any",
"Description": "Extension is an extension point to store custom metadata within the persistence model."
}
]
diff --git a/source/json_tables/wasmd/wasm/ExecuteContractProposal.json b/source/json_tables/wasmd/wasm/ExecuteContractProposal.json
index b4069aec..f390ead7 100644
--- a/source/json_tables/wasmd/wasm/ExecuteContractProposal.json
+++ b/source/json_tables/wasmd/wasm/ExecuteContractProposal.json
@@ -26,7 +26,7 @@
},
{
"Parameter": "funds",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Funds coins that are transferred to the contract on instantiation"
}
]
diff --git a/source/json_tables/wasmd/wasm/InstantiateContract2Proposal.json b/source/json_tables/wasmd/wasm/InstantiateContract2Proposal.json
index 5c622e45..e4b3ad82 100644
--- a/source/json_tables/wasmd/wasm/InstantiateContract2Proposal.json
+++ b/source/json_tables/wasmd/wasm/InstantiateContract2Proposal.json
@@ -36,7 +36,7 @@
},
{
"Parameter": "funds",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Funds coins that are transferred to the contract on instantiation"
},
{
diff --git a/source/json_tables/wasmd/wasm/InstantiateContractProposal.json b/source/json_tables/wasmd/wasm/InstantiateContractProposal.json
index b7204186..deea4d89 100644
--- a/source/json_tables/wasmd/wasm/InstantiateContractProposal.json
+++ b/source/json_tables/wasmd/wasm/InstantiateContractProposal.json
@@ -36,7 +36,7 @@
},
{
"Parameter": "funds",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Funds coins that are transferred to the contract on instantiation"
}
]
diff --git a/source/json_tables/wasmd/wasm/MaxFundsLimit.json b/source/json_tables/wasmd/wasm/MaxFundsLimit.json
index ccc22f0c..01e95c53 100644
--- a/source/json_tables/wasmd/wasm/MaxFundsLimit.json
+++ b/source/json_tables/wasmd/wasm/MaxFundsLimit.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "amounts",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Amounts is the maximal amount of tokens transferable to the contract."
}
]
diff --git a/source/json_tables/wasmd/wasm/Model.json b/source/json_tables/wasmd/wasm/Model.json
index e5a954c6..0e9c7951 100644
--- a/source/json_tables/wasmd/wasm/Model.json
+++ b/source/json_tables/wasmd/wasm/Model.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "key",
- "Type": "github_com_cometbft_cometbft_libs_bytes.HexBytes",
+ "Type": "HexBytes",
"Description": "hex-encode key to read it better (this is often ascii)"
},
{
diff --git a/source/json_tables/wasmd/wasm/MsgExecuteContract.json b/source/json_tables/wasmd/wasm/MsgExecuteContract.json
index 16b53f0f..6c3cece3 100644
--- a/source/json_tables/wasmd/wasm/MsgExecuteContract.json
+++ b/source/json_tables/wasmd/wasm/MsgExecuteContract.json
@@ -19,7 +19,7 @@
},
{
"Parameter": "funds",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Funds coins that are transferred to the contract on execution",
"Required": "Yes"
}
diff --git a/source/json_tables/wasmd/wasm/MsgInstantiateContract.json b/source/json_tables/wasmd/wasm/MsgInstantiateContract.json
index 4fc3ead0..1cc8cba6 100644
--- a/source/json_tables/wasmd/wasm/MsgInstantiateContract.json
+++ b/source/json_tables/wasmd/wasm/MsgInstantiateContract.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "funds",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Funds coins that are transferred to the contract on instantiation",
"Required": "Yes"
}
diff --git a/source/json_tables/wasmd/wasm/MsgInstantiateContract2.json b/source/json_tables/wasmd/wasm/MsgInstantiateContract2.json
index cb8a1cce..5e52612c 100644
--- a/source/json_tables/wasmd/wasm/MsgInstantiateContract2.json
+++ b/source/json_tables/wasmd/wasm/MsgInstantiateContract2.json
@@ -31,7 +31,7 @@
},
{
"Parameter": "funds",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Funds coins that are transferred to the contract on instantiation",
"Required": "Yes"
},
diff --git a/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContract.json b/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContract.json
index b7fe404e..93696ee9 100644
--- a/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContract.json
+++ b/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContract.json
@@ -43,7 +43,7 @@
},
{
"Parameter": "funds",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Funds coins that are transferred from the authority account to the contract on instantiation",
"Required": "Yes"
},
diff --git a/source/json_tables/wasmd/wasm/QueryAllContractStateRequest.json b/source/json_tables/wasmd/wasm/QueryAllContractStateRequest.json
index 6c965b69..57115d35 100644
--- a/source/json_tables/wasmd/wasm/QueryAllContractStateRequest.json
+++ b/source/json_tables/wasmd/wasm/QueryAllContractStateRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/wasmd/wasm/QueryAllContractStateResponse.json b/source/json_tables/wasmd/wasm/QueryAllContractStateResponse.json
index 56bfbb54..f42d2908 100644
--- a/source/json_tables/wasmd/wasm/QueryAllContractStateResponse.json
+++ b/source/json_tables/wasmd/wasm/QueryAllContractStateResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/wasmd/wasm/QueryCodesRequest.json b/source/json_tables/wasmd/wasm/QueryCodesRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/wasmd/wasm/QueryCodesRequest.json
+++ b/source/json_tables/wasmd/wasm/QueryCodesRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/wasmd/wasm/QueryCodesResponse.json b/source/json_tables/wasmd/wasm/QueryCodesResponse.json
index 3b647e47..e19de7a2 100644
--- a/source/json_tables/wasmd/wasm/QueryCodesResponse.json
+++ b/source/json_tables/wasmd/wasm/QueryCodesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/wasmd/wasm/QueryContractHistoryRequest.json b/source/json_tables/wasmd/wasm/QueryContractHistoryRequest.json
index 39fefb39..58caa90d 100644
--- a/source/json_tables/wasmd/wasm/QueryContractHistoryRequest.json
+++ b/source/json_tables/wasmd/wasm/QueryContractHistoryRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/wasmd/wasm/QueryContractHistoryResponse.json b/source/json_tables/wasmd/wasm/QueryContractHistoryResponse.json
index fdf3f0d7..b588c536 100644
--- a/source/json_tables/wasmd/wasm/QueryContractHistoryResponse.json
+++ b/source/json_tables/wasmd/wasm/QueryContractHistoryResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/wasmd/wasm/QueryContractsByCodeRequest.json b/source/json_tables/wasmd/wasm/QueryContractsByCodeRequest.json
index e2027c95..ba7f7a24 100644
--- a/source/json_tables/wasmd/wasm/QueryContractsByCodeRequest.json
+++ b/source/json_tables/wasmd/wasm/QueryContractsByCodeRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/wasmd/wasm/QueryContractsByCodeResponse.json b/source/json_tables/wasmd/wasm/QueryContractsByCodeResponse.json
index 6b372a1a..281c7913 100644
--- a/source/json_tables/wasmd/wasm/QueryContractsByCodeResponse.json
+++ b/source/json_tables/wasmd/wasm/QueryContractsByCodeResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/wasmd/wasm/QueryContractsByCreatorRequest.json b/source/json_tables/wasmd/wasm/QueryContractsByCreatorRequest.json
index 2d387931..ee38e040 100644
--- a/source/json_tables/wasmd/wasm/QueryContractsByCreatorRequest.json
+++ b/source/json_tables/wasmd/wasm/QueryContractsByCreatorRequest.json
@@ -7,7 +7,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "Pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/wasmd/wasm/QueryContractsByCreatorResponse.json b/source/json_tables/wasmd/wasm/QueryContractsByCreatorResponse.json
index 74d9415b..8b74a497 100644
--- a/source/json_tables/wasmd/wasm/QueryContractsByCreatorResponse.json
+++ b/source/json_tables/wasmd/wasm/QueryContractsByCreatorResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "Pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/wasmd/wasm/QueryPinnedCodesRequest.json b/source/json_tables/wasmd/wasm/QueryPinnedCodesRequest.json
index 79346d2c..2b7c70b8 100644
--- a/source/json_tables/wasmd/wasm/QueryPinnedCodesRequest.json
+++ b/source/json_tables/wasmd/wasm/QueryPinnedCodesRequest.json
@@ -1,7 +1,7 @@
[
{
"Parameter": "pagination",
- "Type": "query.PageRequest",
+ "Type": "PageRequest",
"Description": "pagination defines an optional pagination for the request.",
"Required": "No"
}
diff --git a/source/json_tables/wasmd/wasm/QueryPinnedCodesResponse.json b/source/json_tables/wasmd/wasm/QueryPinnedCodesResponse.json
index 7757337b..63daac54 100644
--- a/source/json_tables/wasmd/wasm/QueryPinnedCodesResponse.json
+++ b/source/json_tables/wasmd/wasm/QueryPinnedCodesResponse.json
@@ -6,7 +6,7 @@
},
{
"Parameter": "pagination",
- "Type": "query.PageResponse",
+ "Type": "PageResponse",
"Description": "pagination defines the pagination in the response."
}
]
diff --git a/source/json_tables/wasmd/wasm/StoreAndInstantiateContractProposal.json b/source/json_tables/wasmd/wasm/StoreAndInstantiateContractProposal.json
index 75fecde7..9c737813 100644
--- a/source/json_tables/wasmd/wasm/StoreAndInstantiateContractProposal.json
+++ b/source/json_tables/wasmd/wasm/StoreAndInstantiateContractProposal.json
@@ -46,7 +46,7 @@
},
{
"Parameter": "funds",
- "Type": "github_com_cosmos_cosmos_sdk_types.Coins",
+ "Type": "Coins",
"Description": "Funds coins that are transferred to the contract on instantiation"
},
{