diff --git a/Makefile b/Makefile index 8e281fc2..bd729e72 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,26 @@ # Repository versions and URLs -COSMOS_SDK_VERSION := v0.50.13-evm-comet1-inj.6 +COSMOS_SDK_VERSION := v0.50.14-inj COSMOS_SDK_REPO := https://github.com/InjectiveLabs/cosmos-sdk.git -INJECTIVE_CORE_VERSION := v1.16.4 +INJECTIVE_CORE_VERSION := v1.17.0 INJECTIVE_CORE_REPO := https://github.com/InjectiveLabs/injective-core.git -INDEXER_VERSION := v1.16.91 +INDEXER_VERSION := v1.17.16 INDEXER_REPO := https://github.com/InjectiveLabs/injective-indexer.git -PYTHON_SDK_VERSION := v1.11.2 +IBC_GO_VERSION := v8.7.0-inj.3 +IBC_GO_REPO := https://github.com/InjectiveLabs/ibc-go.git + +COMETBFT_VERSION := v1.0.1-inj.4 +COMETBFT_REPO := https://github.com/InjectiveLabs/cometbft.git + +WASMD_VERSION := v0.53.3-inj.2 +WASMD_REPO := https://github.com/InjectiveLabs/wasmd.git + +PYTHON_SDK_VERSION := v1.12.0 PYTHON_SDK_REPO := https://github.com/InjectiveLabs/sdk-python.git -GO_SDK_VERSION := v1.58.3 +GO_SDK_VERSION := v1.59.0 GO_SDK_REPO := https://github.com/InjectiveLabs/sdk-go.git # Temporary directories @@ -19,6 +28,9 @@ TEMP_DIR := /tmp/injective-docs-repos COSMOS_SDK_DIR := $(TEMP_DIR)/cosmos-sdk INJECTIVE_CORE_DIR := $(TEMP_DIR)/injective-core INDEXER_DIR := $(TEMP_DIR)/injective-indexer +IBC_GO_DIR := $(TEMP_DIR)/ibc-go +COMETBFT_DIR := $(TEMP_DIR)/cometbft +WASMD_DIR := $(TEMP_DIR)/wasmd PYTHON_SDK_DIR := tmp-python-sdk GO_SDK_DIR := tmp-go-sdk @@ -42,14 +54,18 @@ refresh-examples: # Internal targets without repository management _update-errors: - @echo "Updating error documentation from repositories..." - @./scripts/extract_errors.sh $(COSMOS_SDK_DIR) $(INJECTIVE_CORE_DIR) + @echo "Cleaning existing errors directory..." + @rm -rf source/json_tables/errors + @mkdir -p source/json_tables/errors + @echo "Generating errors JSON files..." + @cd $(INJECTIVE_CORE_DIR) && go run scripts/docs/document_error_codes_script.go -dest $(CURDIR)/source/json_tables/errors @echo "Generating markdown documentation..." @./scripts/generate_errors_md.sh + @echo "Error documentation update complete!" _update-proto: @echo "Generating proto JSON files..." - @./scripts/generate_proto_json_files.sh $(COSMOS_SDK_DIR) $(INJECTIVE_CORE_DIR) $(INDEXER_DIR) + @./scripts/generate_proto_json_files.sh $(COSMOS_SDK_DIR) $(INJECTIVE_CORE_DIR) $(INDEXER_DIR) $(IBC_GO_DIR) $(COMETBFT_DIR) $(WASMD_DIR) # Public targets with repository management update-errors-documentation: @@ -70,6 +86,9 @@ clone-repos: @git clone -q --depth 1 --branch $(COSMOS_SDK_VERSION) $(COSMOS_SDK_REPO) $(COSMOS_SDK_DIR) @git clone -q --depth 1 --branch $(INJECTIVE_CORE_VERSION) $(INJECTIVE_CORE_REPO) $(INJECTIVE_CORE_DIR) @git clone -q --depth 1 --branch $(INDEXER_VERSION) $(INDEXER_REPO) $(INDEXER_DIR) + @git clone -q --depth 1 --branch $(IBC_GO_VERSION) $(IBC_GO_REPO) $(IBC_GO_DIR) + @git clone -q --depth 1 --branch $(COMETBFT_VERSION) $(COMETBFT_REPO) $(COMETBFT_DIR) + @git clone -q --depth 1 --branch $(WASMD_VERSION) $(WASMD_REPO) $(WASMD_DIR) clean-repos: @echo "Cleaning up repositories..." diff --git a/scripts/extract_errors.sh b/scripts/extract_errors.sh index d5680728..77856d31 100755 --- a/scripts/extract_errors.sh +++ b/scripts/extract_errors.sh @@ -108,17 +108,17 @@ process_modules() { # Clean up any existing files and create directory structure echo "Setting up directories..." -rm -rf "$BASE_OUTPUT_DIR/errors" "$BASE_OUTPUT_DIR/chain/errors" -mkdir -p "$BASE_OUTPUT_DIR/errors" "$BASE_OUTPUT_DIR/chain/errors" +rm -rf "$BASE_OUTPUT_DIR/cosmos/errors" "$BASE_OUTPUT_DIR/injective/errors" +mkdir -p "$BASE_OUTPUT_DIR/cosmos/errors" "$BASE_OUTPUT_DIR/injective/errors" # Process Cosmos SDK repository echo "Processing Cosmos SDK repository..." -process_modules "$COSMOS_SDK_DIR" "$BASE_OUTPUT_DIR/errors" "x" +process_modules "$COSMOS_SDK_DIR" "$BASE_OUTPUT_DIR/cosmos/errors" "x" # Process Injective Core repository echo "Processing Injective Core repository..." -process_modules "$INJECTIVE_CORE_DIR" "$BASE_OUTPUT_DIR/chain/errors" "injective-chain/modules" +process_modules "$INJECTIVE_CORE_DIR" "$BASE_OUTPUT_DIR/injective/errors" "injective-chain/modules" echo "Error extraction complete. JSON files have been created in:" -echo "- $BASE_OUTPUT_DIR/errors (Cosmos SDK modules)" -echo "- $BASE_OUTPUT_DIR/chain/errors (Injective Core modules)" \ No newline at end of file +echo "- $BASE_OUTPUT_DIR/cosmos/errors (Cosmos SDK modules)" +echo "- $BASE_OUTPUT_DIR/injective/errors (Injective Core modules)" \ No newline at end of file diff --git a/scripts/generate_errors_md.sh b/scripts/generate_errors_md.sh index 7a8e3ff1..474640d1 100755 --- a/scripts/generate_errors_md.sh +++ b/scripts/generate_errors_md.sh @@ -4,17 +4,16 @@ set -e OUTPUT_FILE="source/includes/_errors.md" -COSMOS_ERRORS_DIR="source/json_tables/errors" -INJECTIVE_ERRORS_DIR="source/json_tables/chain/errors" +ERRORS_DIR="source/json_tables/errors" # Function to add a module's errors to the markdown file add_module_errors() { local file=$1 - local prefix=$2 local module_name=$(basename "$file" .json) - # Just capitalize the first letter - local capitalized_name=$(echo "$module_name" | perl -pe 's/^(.)/\u$1/') + # Remove "_errors" suffix and capitalize the first letter + local clean_name=$(echo "$module_name" | sed 's/_errors$//') + local capitalized_name=$(echo "$clean_name" | perl -pe 's/^(.)/\u$1/') echo "## ${capitalized_name} module" >> "$OUTPUT_FILE" echo >> "$OUTPUT_FILE" @@ -26,23 +25,18 @@ add_module_errors() { # Remove existing file if it exists rm -f "$OUTPUT_FILE" -# Add Cosmos SDK section -if [ -d "$COSMOS_ERRORS_DIR" ]; then - echo "# Cosmos SDK errors" >> "$OUTPUT_FILE" - echo >> "$OUTPUT_FILE" - for file in "$COSMOS_ERRORS_DIR"/*.json; do - [ -f "$file" ] || continue - add_module_errors "$file" "Cosmos SDK" - done -fi +# Add header +echo "# Error Codes" >> "$OUTPUT_FILE" +echo >> "$OUTPUT_FILE" +echo "This section lists all error codes from various modules in the Injective ecosystem." >> "$OUTPUT_FILE" +echo >> "$OUTPUT_FILE" -# Add Injective section -if [ -d "$INJECTIVE_ERRORS_DIR" ]; then - echo "# Injective errors" >> "$OUTPUT_FILE" - echo >> "$OUTPUT_FILE" - for file in "$INJECTIVE_ERRORS_DIR"/*.json; do +# Process all error files in the errors directory +if [ -d "$ERRORS_DIR" ]; then + # Sort files alphabetically for consistent output + for file in $(ls "$ERRORS_DIR"/*.json 2>/dev/null | sort); do [ -f "$file" ] || continue - add_module_errors "$file" "Injective" + add_module_errors "$file" done fi diff --git a/scripts/generate_proto_json_files.sh b/scripts/generate_proto_json_files.sh index a609b372..5d488cac 100755 --- a/scripts/generate_proto_json_files.sh +++ b/scripts/generate_proto_json_files.sh @@ -5,7 +5,7 @@ set -euo pipefail # Script usage usage() { - echo "Usage: $0 " + echo "Usage: $0 " echo echo "Generate proto JSON files from repositories" echo @@ -13,14 +13,17 @@ usage() { echo " cosmos-sdk-path Path to the Cosmos SDK repository" echo " injective-core-path Path to the Injective Core repository" echo " indexer-path Path to the Indexer repository" + echo " ibc-go-path Path to the IBC Go repository" + echo " cometbft-path Path to the CometBFT repository" + echo " wasmd-path Path to the Wasmd repository" echo echo "Example:" - echo " $0 /tmp/cosmos-sdk /tmp/injective-core /tmp/injective-indexer" + echo " $0 /tmp/cosmos-sdk /tmp/injective-core /tmp/injective-indexer /tmp/ibc-go /tmp/cometbft /tmp/wasmd" exit 1 } # Check arguments -if [ $# -ne 3 ]; then +if [ $# -ne 6 ]; then usage fi @@ -39,17 +42,36 @@ init_config() { # Cosmos SDK configuration COSMOS_MODULES_PATH="$1/x" + COSMOS_CLIENT_GRPC_PATH="$1/client/grpc" COSMOS_PROTO_PATH="$1/proto/cosmos" COSMOS_OUTPUT_DIR="$OUTPUT_BASE_DIR/cosmos" # Indexer configuration INDEXER_API_PATH="$3/api/gen/grpc" - INDEXER_OUTPUT_DIR="$OUTPUT_BASE_DIR/indexer_new" + INDEXER_OUTPUT_DIR="$OUTPUT_BASE_DIR/indexer" + + # IBC Go configuration + IBC_MODULES_PATH="$4/modules" + IBC_PROTO_PATH="$4/proto/ibc" + IBC_OUTPUT_DIR="$OUTPUT_BASE_DIR/ibc" + + # CometBFT configuration + COMETBFT_MODULES_PATH="$5/api/cometbft" + COMETBFT_PROTO_PATH="$5/proto" + COMETBFT_OUTPUT_DIR="$OUTPUT_BASE_DIR/cometbft" + + # Wasmd configuration + WASMD_MODULES_PATH="$6/x" + WASMD_PROTO_PATH="$6/proto" + WASMD_OUTPUT_DIR="$OUTPUT_BASE_DIR/wasmd" # Export all variables export OUTPUT_BASE_DIR INJECTIVE_CHAIN_PATH INJECTIVE_MODULES_PATH INJECTIVE_TYPES_PATH \ INJECTIVE_STREAM_PATH INJECTIVE_PROTO_PATH INJECTIVE_OUTPUT_DIR COSMOS_MODULES_PATH \ - COSMOS_PROTO_PATH COSMOS_OUTPUT_DIR INDEXER_API_PATH INDEXER_OUTPUT_DIR + COSMOS_CLIENT_GRPC_PATH COSMOS_PROTO_PATH COSMOS_OUTPUT_DIR INDEXER_API_PATH INDEXER_OUTPUT_DIR \ + IBC_MODULES_PATH IBC_PROTO_PATH IBC_OUTPUT_DIR \ + COMETBFT_MODULES_PATH COMETBFT_PROTO_PATH COMETBFT_OUTPUT_DIR \ + WASMD_MODULES_PATH WASMD_PROTO_PATH WASMD_OUTPUT_DIR } # Check required commands @@ -202,10 +224,10 @@ process_pb_file() { declare -a comment_lines while IFS= read -r line || [ -n "$line" ]; do - if [[ $line =~ ^type[[:space:]]+([[:alnum:]]+)[[:space:]]+struct[[:space:]]+\{ ]]; then + if [[ $line =~ ^type[[:space:]]+([[:alnum:]_]+)[[:space:]]+struct[[:space:]]+\{ ]]; then local new_type="${BASH_REMATCH[1]}" - if [ -n "$current_type" ] && [ ${#fields[@]} -gt 0 ] && [[ ! "$current_type" =~ ^Event ]]; then + if [ -n "$current_type" ] && [ ${#fields[@]} -gt 0 ] && [[ ! "$current_type" =~ ^Event.+ ]]; then (IFS=$'\n'; echo "${fields[*]}") | jq -s '.' > "$output_dir/${current_type}.json" echo "Generated $output_dir/${current_type}.json" fi @@ -224,7 +246,7 @@ process_pb_file() { # Check if this line is a protobuf field definition if [[ $line =~ ^[[:space:]]*[A-Z][[:alnum:]]*[[:space:]] ]] && [[ $line =~ protobuf: ]]; then - if [ -n "$current_type" ] && [[ ! "$current_type" =~ ^Event ]]; then + if [ -n "$current_type" ] && [[ ! "$current_type" =~ ^Event.+ ]]; then local proto_name proto_name=$(get_proto_name "$line") if [ -n "$proto_name" ]; then @@ -262,7 +284,7 @@ process_pb_file() { done < "$pb_file" # Write the last type if it exists and has fields - if [ -n "$current_type" ] && [ ${#fields[@]} -gt 0 ] && [[ ! "$current_type" =~ ^Event ]]; then + if [ -n "$current_type" ] && [ ${#fields[@]} -gt 0 ] && [[ ! "$current_type" =~ ^Event.+ ]]; then (IFS=$'\n'; echo "${fields[*]}") | jq -s '.' > "$output_dir/${current_type}.json" echo "Generated $output_dir/${current_type}.json" fi @@ -422,6 +444,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 fi done } @@ -511,14 +540,76 @@ process_indexer_modules() { done } +# Process IBC modules - recursively find and process all 'types' folders +process_ibc_modules() { + local modules_path="$1" + local output_dir="$2" + + echo "Processing IBC modules..." + + # Process each module + for module_dir in "$modules_path"/*/; do + if [ -d "$module_dir" ]; then + module_name=$(basename "$module_dir") + echo "Processing IBC module: $module_name" + + # Find all 'types' directories within this module recursively + while IFS= read -r -d '' types_dir; do + # Get the relative path from the modules_path to preserve structure + local rel_path="${types_dir#$modules_path/}" + + # Create the corresponding output directory structure + local types_output_dir="$output_dir/$rel_path" + mkdir -p "$types_output_dir" + + echo "Processing types directory: $rel_path" + + # Process .pb.go files in this types directory + process_directory "$types_dir" "$types_output_dir" + + done < <(find "$module_dir" -type d -name "types" -print0) + fi + done +} + +# Process CometBFT modules - recursively find and process all .pb.go files +process_cometbft_modules() { + local modules_path="$1" + local output_dir="$2" + + echo "Processing CometBFT modules..." + + # Process each module + for module_dir in "$modules_path"/*/; do + if [ -d "$module_dir" ]; then + module_name=$(basename "$module_dir") + echo "Processing CometBFT module: $module_name" + + # Get the relative path from the modules_path to preserve structure + local rel_path="${module_dir#$modules_path/}" + # Remove trailing slash + rel_path="${rel_path%/}" + + # Create the corresponding output directory structure + local module_output_dir="$output_dir/$rel_path" + mkdir -p "$module_output_dir" + + echo "Processing CometBFT module directory: $rel_path" + + # Process all .pb.go files recursively in this module directory + process_directory_recursive "$module_dir" "$module_output_dir" + fi + done +} + # Initialize configuration with provided paths -init_config "$1" "$2" "$3" +init_config "$1" "$2" "$3" "$4" "$5" "$6" # Check requirements first check_requirements # Create base output directories -mkdir -p "$INJECTIVE_OUTPUT_DIR" "$COSMOS_OUTPUT_DIR" "$INDEXER_OUTPUT_DIR" +mkdir -p "$INJECTIVE_OUTPUT_DIR" "$COSMOS_OUTPUT_DIR" "$INDEXER_OUTPUT_DIR" "$IBC_OUTPUT_DIR" "$COMETBFT_OUTPUT_DIR" "$WASMD_OUTPUT_DIR" # Process Injective modules echo "Processing Injective modules..." @@ -537,9 +628,30 @@ if [ -d "$1/types" ]; then process_cosmos_types_directory "$1/types" "$COSMOS_OUTPUT_DIR" fi +# Process Cosmos SDK client/grpc directory and its subdirectories +if [ -d "$COSMOS_CLIENT_GRPC_PATH" ]; then + echo "Processing Cosmos SDK client/grpc directory..." + process_directory_recursive "$COSMOS_CLIENT_GRPC_PATH" "$COSMOS_OUTPUT_DIR" +fi + [ -d "$COSMOS_PROTO_PATH" ] && process_proto_directory "$COSMOS_PROTO_PATH" "$COSMOS_OUTPUT_DIR" # Process Indexer modules [ -d "$INDEXER_API_PATH" ] && process_indexer_modules "$INDEXER_API_PATH" "$INDEXER_OUTPUT_DIR" +# Process IBC modules +echo "Processing IBC modules..." +[ -d "$IBC_MODULES_PATH" ] && process_ibc_modules "$IBC_MODULES_PATH" "$IBC_OUTPUT_DIR" +[ -d "$IBC_PROTO_PATH" ] && process_proto_directory "$IBC_PROTO_PATH" "$IBC_OUTPUT_DIR" + +# Process CometBFT modules +echo "Processing CometBFT modules..." +[ -d "$COMETBFT_MODULES_PATH" ] && process_cometbft_modules "$COMETBFT_MODULES_PATH" "$COMETBFT_OUTPUT_DIR" +[ -d "$COMETBFT_PROTO_PATH" ] && process_proto_directory "$COMETBFT_PROTO_PATH" "$COMETBFT_OUTPUT_DIR" + +# Process Wasmd modules +echo "Processing Wasmd modules..." +[ -d "$WASMD_MODULES_PATH" ] && process_repository_modules "$WASMD_MODULES_PATH" "$WASMD_OUTPUT_DIR" +[ -d "$WASMD_PROTO_PATH" ] && process_proto_directory "$WASMD_PROTO_PATH" "$WASMD_OUTPUT_DIR" + echo "Processing complete!" \ No newline at end of file diff --git a/source/includes/_account.md b/source/includes/_account.md index 4f9c3716..7d47f86a 100644 --- a/source/includes/_account.md +++ b/source/includes/_account.md @@ -1155,11 +1155,11 @@ func main() { ``` - - - - -
ParameterTypeDescriptionRequired
senderStringThe sender's addressYes
eth_destStringDestination Ethereum addressYes
amountCoinThe coin to send across the bridge (note the restriction that this is a single coin, not a set of coins)Yes
bridge_feeCoinThe 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 userYes
+ + + + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
eth_deststringThe Ethereum address to send the tokens toYes
amounttypes.CoinThe amount of tokens to sendYes
bridge_feetypes.CoinThe 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 userYes

@@ -1300,7 +1300,7 @@ if __name__ == "__main__": amountFloatThe amount to transferYes maxFeePerGasIntegerThe maxFeePerGas in GweiYes maxPriorityFeePerGasIntegerThe maxPriorityFeePerGas in GweiYes -peggo_abiStringPeggo contract ABI|Yes +peggo_abiStringPeggo contract ABIYes dataStringThe body of the message to send to Injective chain to do the depositYes decimalsIntegerNumber of decimals in Injective chain of the token being transferred (default: 18)No @@ -1423,8 +1423,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
hashStringThe TX hash to query, encoded as a hex stringYes
+ +
ParameterTypeDescriptionRequired
hashstringhash is the tx hash to query, encoded as a hex string.Yes
@@ -2113,70 +2113,74 @@ tx: txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B ``` - - -
ParameterTypeDescription
txTxTransaction details
tx_resposneTxResponseTransaction details
+ + +
ParameterTypeDescription
txTxtx is the queried transaction.
tx_responsetypes.TxResponsetx_response is the queried TxResponses.

**Tx** - - - -
ParameterTypeDescription
bodyTxBodyBody is the processable content of the transaction
auth_infoAuthInfoAuthorization related content of the transaction (specifically signers, signer modes and fee)
signaturesBytes Array ArrayList of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position
+ + + +
ParameterTypeDescription
bodyTxBodybody is the processable content of the transaction
auth_infoAuthInfoauth_info is the authorization related content of the transaction, specifically signers, signer modes and fee
signatures][byte arraysignatures is a list of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position.

**TxBody** - - - - - -
ParameterTypeDescription
messagesAny ArrayList 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
memoStringMemo is any arbitrary note/comment to be added to the transaction
timeout_heightIntegerThe block height after which this transaction will not be processed by the chain
extension_optionsAny ArrayThese 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_optionsAny ArrayThese 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
+ + + + + +
ParameterTypeDescription
messagestypes.Any arraymessages 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.
memostringmemo 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_heightuint64timeout is the block height after which this transaction will not be processed by the chain
extension_optionstypes.Any arrayextension_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_optionstypes.Any arrayextension_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

**AuthInfo** - - - -
ParameterTypeDescription
signer_infosSignerInfo ArrayDefines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee
feeFeeFee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation
tipTipTip is the optional tip used for transactions fees paid in another denom (this field is ignored if the chain didn't enable tips, i.e. didn't add the `TipDecorator` in its posthandler)
+ + + +
ParameterTypeDescription
signer_infosSignerInfo arraysigner_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee.
feeFeeFee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.
tipTipTip is the optional tip used for transactions fees paid in another denom. This field is ignored if the chain didn't enable tips, i.e. didn't add the `TipDecorator` in its posthandler. Since: cosmos-sdk 0.46

**SignerInfo** - - - -
ParameterTypeDescription
public_keyAnyPublic 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_infoModeInfoDescribes the signing mode of the signer and is a nested structure to support nested multisig pubkey's
sequenceIntegerThe sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks
+ + + +
ParameterTypeDescription
public_keytypes.Anypublic_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_infoModeInfomode_info describes the signing mode of the signer and is a nested structure to support nested multisig pubkey's
sequenceuint64sequence 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.

**ModeInfo** - -
ParameterTypeDescription
sumSigning modeTypes that are valid to be assigned to Sum: *ModeInfo_Single_, *ModeInfo_Multi_
+ + + + + +
ParameterTypeDescription
singleModeInfo_Single
multiModeInfo_Multi
modesigning.SignModemode is the signing mode of the single signer
bitarraytypes1.CompactBitArraybitarray specifies which keys within the multisig are signing
mode_infosModeInfo arraymode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys

**Fee** - - - - -
ParameterTypeDescription
amountCoin ArrayAmount of coins to be paid as a fee
gas_limitIntegerMaximum gas that can be used in transaction processing before an out of gas error occurs
payerStringIf 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
granterStringIf 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
+ + + + +
ParameterTypeDescription
amountgithub_com_cosmos_cosmos_sdk_types.Coinsamount is the amount of coins to be paid as a fee
gas_limituint64gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs
payerstringif 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.
granterstringif 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

@@ -2192,9 +2196,9 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B **Tip** - - -
ParameterTypeDescription
amountCoin ArrayAmount of coins to be paid as a tip
tipperStringAddress of the account paying for the tip
+ + +
ParameterTypeDescription
amountgithub_com_cosmos_cosmos_sdk_types.Coinsamount is the amount of the tip
tipperstringtipper is the address of the account paying for the tip

@@ -2232,6 +2236,7 @@ txhash: A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B **IP rate limit group:** `chain` +### Request Parameters > Request Example: diff --git a/source/includes/_accountsrpc.md b/source/includes/_accountsrpc.md index 4d30c65d..94982d34 100644 --- a/source/includes/_accountsrpc.md +++ b/source/includes/_accountsrpc.md @@ -68,8 +68,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
account_addressStringInjective address of the account to query for subaccountsYes
+ +
ParameterTypeDescriptionRequired
account_addressstringAccount address, the subaccounts ownerYes
@@ -95,8 +95,8 @@ func main() { } ``` - -
ParameterTypeDescription
subaccountsString ArraySubaccounts list
+ +
ParameterTypeDescription
subaccountsstring array
@@ -193,13 +193,13 @@ func main() { ``` - - - - - - -
ParameterTypeDescriptionRequired
subaccount_idStringID of the subaccount to get the history fromYes
denomStringFilter by token denomNo
transfer_typesString ArrayFilter by transfer types. Valid options: internal, external, withdraw, depositNo
skipIntegerSkip the first N items from the resultNo
limitIntegerMaximum number of items to be returnedNo
end_timeIntegerUpper bound (inclusive) of account transfer history executed_at unix timestampNo
+ + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the history fromYes
denomstringFilter history by denomYes
transfer_typesstring arrayFilter history by transfer typeYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returnedYes
end_timeint64Upper bound of account transfer history's executedAtYes
@@ -279,44 +279,44 @@ func main() { } ``` - - -
ParameterTypeDescription
transfersSubaccountBalanceTransfer ArrayTransfers list
pagingPagingPagination details
+ + +
ParameterTypeDescription
transfersSubaccountBalanceTransfer arrayList of subaccount transfers
pagingPaging

**SubaccountBalanceTransfer** - - - - - - - -
ParameterTypeDescription
transfer_typeStringType of subaccount balance transfer
src_subaccount_idStringSubaccount ID of the sending side
src_account_addressStringAccount address of the sending side
dst_subaccount_idStringSubaccount ID of the receiving side
dst_account_addressStringAccount address of the receiving side
amountCosmosCoinTransfer amount
executed_atIntegerTransfer timestamp (in milliseconds)
+ + + + + + + +
ParameterTypeDescription
transfer_typestringType of the subaccount balance transfer
src_subaccount_idstringSubaccount ID of the sending side
src_account_addressstringAccount address of the sending side
dst_subaccount_idstringSubaccount ID of the receiving side
dst_account_addressstringAccount address of the receiving side
amountCosmosCoinCoin amount of the transfer
executed_atint64Timestamp of the transfer in UNIX millis

**CosmosCoin** - - -
ParameterTypeDescription
denomStringToken denom
amountStringToken amount
+ + +
ParameterTypeDescription
denomstringCoin denominator
amountstringCoin amount (big int)

**Paging** - - - - - -
ParameterTypeDescription
totalIntegerTotal number of available records
fromIntegerRecord index start
toIntegerRecord index end
count_by_subaccountIntegerCount entries by subaccount
nextString ArrayList of tokens to navigate to the next pages
+ + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
@@ -389,9 +389,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
subaccount_idStringID of the subaccount to get the balances fromYes
denomStringFilter by token denomYes
+ + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
denomstringSpecify denom to get balanceYes
@@ -426,28 +426,30 @@ func main() { } ``` - -
ParameterTypeDescription
balanceSubaccountBalanceBalance details
+ +
ParameterTypeDescription
balanceSubaccountBalanceSubaccount balance

**SubaccountBalance** - - - - -
ParameterTypeDescription
subaccount_idStringSubaccount ID
account_addressStringInjective address of the account the subaccount belongs to
denomStringToken denom
depositSubaccountDepositDeposit details
+ + + + +
ParameterTypeDescription
subaccount_idstringRelated subaccount ID
account_addressstringAccount address, owner of this subaccount
denomstringCoin denom on the chain.
depositSubaccountDeposit

**SubaccountDeposit** - - -
ParameterTypeDescription
total_balanceStringTotal balance
available_balanceStringAvailable balance
+ + + + +
ParameterTypeDescription
total_balancestring
available_balancestring
total_balance_usdstring
available_balance_usdstring
@@ -519,9 +521,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
subaccount_idStringID of the subaccount to get the balances fromYes
denomsStringFilter balances by denoms. If not set, the balances of all the denoms for the subaccount are providedNo
+ + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
denomsstring arrayFilter balances by denoms. If not set, the balances of all the denoms for the subaccount are provided.Yes
@@ -587,28 +589,30 @@ func main() { } ``` - -
ParameterTypeDescription
balancesSubaccountBalance ArrayList of subaccount balances
+ +
ParameterTypeDescription
balancesSubaccountBalance arrayList of subaccount balances

**SubaccountBalance** - - - - -
ParameterTypeDescription
subaccount_idStringSubaccount ID
account_addressStringInjective address of the account the subaccount belongs to
denomStringToken denom
depositSubaccountDepositDeposit details
+ + + + +
ParameterTypeDescription
subaccount_idstringRelated subaccount ID
account_addressstringAccount address, owner of this subaccount
denomstringCoin denom on the chain.
depositSubaccountDeposit

**SubaccountDeposit** - - -
ParameterTypeDescription
total_balanceStringTotal balance
available_balanceStringAvailable balance
+ + + + +
ParameterTypeDescription
total_balancestring
available_balancestring
total_balance_usdstring
available_balance_usdstring
@@ -692,10 +696,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
subaccount_idStringID of the subaccount to get the summary fromYes
market_idStringLimit the order summary to a specific marketNo
order_directionStringFilter by the direction of the orders. Valid options: buy, sellNo
+ + + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the summary fromYes
market_idstringMarketId is limiting order summary to specific market onlyYes
order_directionstringFilter by direction of the ordersYes
@@ -714,9 +718,9 @@ spot orders: 1 derivative orders: 7 ``` - - -
ParameterTypeDescription
spot_orders_totalIntegerTotal count of subaccount's spot orders in given market and direction
derivative_orders_totalIntegerTotal count of subaccount's derivative orders in given market and direction
+ + +
ParameterTypeDescription
spot_orders_totalint64Total count of subaccount's spot orders in given market and direction
derivative_orders_totalint64Total count of subaccount's derivative orders in given market and direction
@@ -825,9 +829,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
subaccount_idStringID of the subaccount to get the balances fromYes
denomsString ArrayFilter balances by denoms. If not set, the balances of all the denoms for the subaccount are providedNo
+ + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
denomsstring arrayFilter balances by denoms. If not set, the balances of all the denoms for the subaccount are provided.Yes
@@ -887,29 +891,31 @@ func main() { } ``` - + -
ParameterTypeDescription
balanceSubaccountBalanceSubaccount balance
timestampIntegerOperation timestamp in Unix milliseconds
+timestampint64Operation timestamp in UNIX millis.
**SubaccountBalance** - - - - -
ParameterTypeDescription
subaccount_idStringSubaccount ID
account_addressStringInjective address of the account the subaccount belongs to
denomStringToken denom
depositSubaccountDepositDeposit details
+ + + + +
ParameterTypeDescription
subaccount_idstringRelated subaccount ID
account_addressstringAccount address, owner of this subaccount
denomstringCoin denom on the chain.
depositSubaccountDeposit

**SubaccountDeposit** - - -
ParameterTypeDescription
total_balanceStringTotal balance
available_balanceStringAvailable balance
+ + + + +
ParameterTypeDescription
total_balancestring
available_balancestring
total_balance_usdstring
available_balance_usdstring
@@ -997,9 +1003,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
spot_order_hashesString ArrayArray with the order hashes you want to fetch in spot marketsNo
derivative_order_hashesString ArrayArray with the order hashes you want to fetch in derivative marketsNo
+ + +
ParameterTypeDescriptionRequired
spot_order_hashesstring arrayYes
derivative_order_hashesstring arrayYes
@@ -1072,28 +1078,28 @@ func main() { } ``` - - -
ParameterTypeDescription
spot_order_statesOrderStateRecord ArrayList of the spot order state records
derivative_order_statesOrderStateRecord ArrayList of the derivative order state records
+ + +
ParameterTypeDescription
spot_order_statesOrderStateRecord arrayList of the spot order state records
derivative_order_statesOrderStateRecord arrayList of the derivative order state records

**OrderStateRecord** - - - - - - - - - - - - -
ParameterTypeDescription
order_hashStringHash of the order
subaccount_idStringThe subaccountId that this order belongs to
market_idStringThe Market ID of the order
order_typeStringThe type of the order
order_sideStringThe side of the order
stateStringThe order state. Should be one of: booked, partial_filled, filled, canceled
quantity_filledStringThe filled quantity of the order
quantity_remainingStringThe unfilled quantity of the order
created_atIntegerOrder committed timestamp in UNIX milliseconds
updated_atIntegerOrder updated timestamp in UNIX milliseconds
priceStringOrder price
marginStringMargin for derivative order
+ + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringHash of the order
subaccount_idstringThe subaccountId that this order belongs to
market_idstringThe Market ID of the order
order_typestringThe type of the order
order_sidestringThe side of the order
statestringThe state (status) of the order
quantity_filledstringThe filled quantity of the order
quantity_remainingstringThe filled quantity of the order
created_atint64Order committed timestamp in UNIX millis.
updated_atint64Order updated timestamp in UNIX millis.
pricestringOrder prices
marginstringMargin for derivative order
@@ -1164,8 +1170,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
account_addressStringThe Injective addressYes
+ +
ParameterTypeDescriptionRequired
account_addressstringAccount addressYes
@@ -1276,31 +1282,31 @@ func main() { } ``` - -
ParameterTypeDescription
portfolioAccountPortfolioPortfolio details
+ +
ParameterTypeDescription
portfolioAccountPortfolioThe portfolio of this account

**AccountPortfolio** - - - - - -
ParameterTypeDescription
portfolio_valueStringThe account's portfolio value in USD
available_balanceStringThe account's available balance value in USD
locked_balanceStringThe account's locked balance value in USD
unrealized_pnlStringThe account's total unrealized PnL value in USD
subaccountsSubaccountPortfolio ArrayList of all subaccounts' portfolio
+ + + + + +
ParameterTypeDescription
portfolio_valuestringThe account's portfolio value in USD.
available_balancestringThe account's available balance value in USD.
locked_balancestringThe account's locked balance value in USD.
unrealized_pnlstringThe account's total unrealized PnL value in USD.
subaccountsSubaccountPortfolio arrayList of all subaccounts' portfolio

**SubaccountPortfolio** - - - - -
ParameterTypeDescription
subaccount_idStringThe subaccount ID
available_balanceStringThe subaccount's available balance value in USD
locked_balanceStringThe subaccount's locked balance value in USD
unrealized_pnlStringThe subaccount's total unrealized PnL value in USD
+ + + + +
ParameterTypeDescription
subaccount_idstringThe ID of this subaccount
available_balancestringThe subaccount's available balance value in USD.
locked_balancestringThe subaccount's locked balance value in USD.
unrealized_pnlstringThe subaccount's total unrealized PnL value in USD.
@@ -1380,9 +1386,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
epochIntegerThe distribution epoch sequence number. -1 for latestNo
account_addressStringAccount address for the rewards distributionNo
+ + +
ParameterTypeDescriptionRequired
epochint64The distribution epoch sequence number. -1 for latest.Yes
account_addressstringAccount address for the rewards distributionYes
@@ -1423,25 +1429,26 @@ func main() { } ``` - -
ParameterTypeDescription
rewardsReward ArrayThe trading rewards distributed
+ +
ParameterTypeDescription
rewardsReward arrayThe trading rewards distributed

**Reward** - - - -
ParameterTypeDescription
account_addressStringAccount Injective address
rewardsCoin ArrayReward coins distributed
distributed_atIntegerRewards distribution timestamp in UNIX milliseconds
+ + + +
ParameterTypeDescription
account_addressstringAccount address
rewardsCoin arrayReward coins distributed
distributed_atint64Rewards distribution timestamp in UNIX millis.

**Coin** - - -
ParameterTypeDescription
denomStringToken denom
amountStringToken amount
+ + + +
ParameterTypeDescription
denomstringDenom of the coin
amountstring
usd_valuestring
diff --git a/source/includes/_auction.md b/source/includes/_auction.md index 3341e2ee..b94aa71a 100644 --- a/source/includes/_auction.md +++ b/source/includes/_auction.md @@ -171,10 +171,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
senderStringThe sender Injective addressYes
bid_amountCoinBid amount in INJ tokensYes
roundIntegerThe current auction roundYes
+ + + +
ParameterTypeDescriptionRequired
senderstringthe sender's Injective addressYes
bid_amounttypes.Coinamount of the bid in INJ tokensYes
rounduint64the current auction round being bid onYes

diff --git a/source/includes/_auctionsrpc.md b/source/includes/_auctionsrpc.md index 6a19a3d4..6b8b85a6 100644 --- a/source/includes/_auctionsrpc.md +++ b/source/includes/_auctionsrpc.md @@ -70,8 +70,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
roundIntegerThe auction round number, -1 for latestYes
+ +
ParameterTypeDescriptionRequired
roundint64The auction round number. -1 for latest.Yes
@@ -142,41 +142,43 @@ func main() { } ``` - - -
ParameterTypeDescription
auctionAuctionAuction details
bidsBid ArrayAuction's bids
+ + +
ParameterTypeDescription
auctionAuctionThe auction
bidsBid arrayBids of the auction

**Auction** - - - - - - -
ParameterTypeDescription
winnerStringAccount Injective address
basketCoin ArrayCoins in the basket
winning_bid_amountStringAmount of the highest bid (in INJ)
roundIntegerThe auction round number
end_timestampIntegerAuction end timestamp in UNIX milliseconds
updated_atIntegerThe timestamp of the last update in UNIX milliseconds
+ + + + + + + +
ParameterTypeDescription
winnerstringAccount address of the auction winner
basketCoin arrayCoins in the basket
winning_bid_amountstring
rounduint64
end_timestampint64Auction end timestamp in UNIX millis.
updated_atint64UpdatedAt timestamp in UNIX millis.
contractAuctionContract

**Bid** - - - -
ParameterTypeDescription
bidderStringBidder account Injective address
amountStringThe bid amount
timestampIntegerBid timestamp in UNIX millis
+ + + +
ParameterTypeDescription
bidderstringAccount address of the bidder
amountstring
timestampint64Bid timestamp in UNIX millis.

**Coin** - - -
ParameterTypeDescription
denomStringToken denom
amountStringToken amount
+ + + +
ParameterTypeDescription
denomstringDenom of the coin
amountstring
usd_valuestring
@@ -186,7 +188,7 @@ Get the details of previous auctions. **IP rate limit group:** `indexer` - +### Request Parameters > Request Example: @@ -359,28 +361,30 @@ No parameters } ``` - -
ParameterTypeDescription
auctionsAuction ArrayList of auctions
+ +
ParameterTypeDescription
auctionsAuction arrayThe historical auctions

- - - - - - -
ParameterTypeDescription
winnerStringAccount Injective address
basketCoin ArrayCoins in the basket
winning_bid_amountStringAmount of the highest bid (in INJ)
roundIntegerThe auction round number
end_timestampIntegerAuction end timestamp in UNIX milliseconds
updated_atIntegerThe timestamp of the last update in UNIX milliseconds
+ + + + + + + +
ParameterTypeDescription
winnerstringAccount address of the auction winner
basketCoin arrayCoins in the basket
winning_bid_amountstring
rounduint64
end_timestampint64Auction end timestamp in UNIX millis.
updated_atint64UpdatedAt timestamp in UNIX millis.
contractAuctionContract

**Coin** - - -
ParameterTypeDescription
denomStringToken denom
amountStringToken amount
+ + + +
ParameterTypeDescription
denomstringDenom of the coin
amountstring
usd_valuestring
@@ -390,7 +394,7 @@ Returns the total amount of INJ burnt in auctions. **IP rate limit group:** `indexer` - +### Request Parameters > Request Example: @@ -479,8 +483,8 @@ No parameters } ``` - -
ParameterTypeDescription
total_inj_burntDecimalThe total amount of INJ burnt in auctions
+ +
ParameterTypeDescription
total_inj_burntstring
@@ -490,7 +494,7 @@ Stream live updates for auction bids. **IP rate limit group:** `indexer` - +### Request Parameters > Request Example: @@ -620,9 +624,9 @@ No parameters } ``` - - - - -
ParameterTypeDescription
bidderStringThe bidder Injective address
bid_amountStringThe bid amount (in INJ)
roundIntegerThe auction round number
timestampIntegerBid timestamp in UNIX milliseconds
+ + + + +
ParameterTypeDescription
bidderstringAccount address of the bidder
bid_amountstring
rounduint64
timestampint64Operation timestamp in UNIX millis.
diff --git a/source/includes/_authz.md b/source/includes/_authz.md index 17ac5fcf..0d278174 100644 --- a/source/includes/_authz.md +++ b/source/includes/_authz.md @@ -197,12 +197,11 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|granter|String|The INJ address authorizing a grantee|Yes| -|grantee|String|The INJ address being authorized by the granter|Yes| -|msg_type|String|The message type being authorized by the granter|Yes| -|expire_in|Integer|The expiration time for the authorization|Yes| + + + +
ParameterTypeDescriptionRequired
granterstringYes
granteestringYes
grantGrantYes
+ **Typed Authorization Messages** @@ -510,10 +509,10 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|grantee|String|The INJ address of the grantee|Yes| -|msgs|Array|The messages to be executed on behalf of the granter|Yes| + + +
ParameterTypeDescriptionRequired
granteestringYes
msgstypes.Any arrayExecute Msg. The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) triple and validate it.No
+ ### Response Parameters > Response Example: @@ -744,11 +743,11 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|granter|String|The INJ address unauthorizing a grantee|Yes| -|grantee|String|The INJ address being unauthorized by the granter|Yes| -|msg_type|String|The message type being unauthorized by the granter|Yes| + + + +
ParameterTypeDescriptionRequired
granterstringYes
granteestringYes
msg_type_urlstringYes
+ > Response Example: @@ -931,11 +930,12 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|granter|String|The account owner|Yes| -|grantee|String|The authorized account|Yes| -|msg_type_url|Integer|The authorized message type|No| + + + + +
ParameterTypeDescriptionRequired
granterstringYes
granteestringYes
msg_type_urlstringOptional, msg_type_url, when set, will query only grants matching given msg type.No
paginationquery.PageRequestpagination defines an pagination for the request.No
+ ### Response Parameters @@ -957,26 +957,25 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|grants|Grants|Grants object| + + +
ParameterTypeDescription
grantsGrant arrayauthorizations is a list of grants granted for grantee by granter.
paginationquery.PageResponsepagination defines an pagination for the response.
+ -**Grants** +
-|Parameter|Type|Description| -|----|----|----| -|authorization|Authorization|Authorization object| -|expiration|Expiration|Expiration object| +**Grant** -**Authorization** + + +
ParameterTypeDescription
authorizationtypes.Any
expirationtime.Timetime 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| -|----|----|----| -|type_url|String|The authorization type| -|value|String|The authorized message| +
-**Expiration** +**PageResponse** -|Parameter|Type|Description| -|----|----|----| -|seconds|String|The expiration time for an authorization| + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ diff --git a/source/includes/_bank.md b/source/includes/_bank.md index c59ac9d3..c97de685 100644 --- a/source/includes/_bank.md +++ b/source/includes/_bank.md @@ -173,12 +173,11 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|from_address|String|The Injective Chain address of the sender|Yes| -|to_address|String| The Injective Chain address of the receiver|Yes| -|amount|Integer|The amount of tokens to send|Yes| -|denom|String|The token denom|Yes| + + + +
ParameterTypeDescriptionRequired
from_addressstringYes
to_addressstringYes
amountgithub_com_cosmos_cosmos_sdk_types.CoinsYes
+ ### Response Parameters @@ -367,26 +366,28 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|Inputs|Input|Inputs|Yes| -|Outputs|Output|Outputs|Yes| + + +
ParameterTypeDescriptionRequired
inputsInput arrayInputs, despite being `repeated`, only allows one sender input. This is checked in MsgMultiSend's ValidateBasic.Yes
outputsOutput arrayYes
+ + +
***Input*** -|Parameter|Type|Description|Required| -|----|----|----|----| -|address|String|The Injective Chain address of the sender|Yes| -|amount|Integer|The amount of tokens to send|Yes| -|denom|String|The token denom|Yes| + + +
ParameterTypeDescription
addressstring
coinsgithub_com_cosmos_cosmos_sdk_types.Coins
+ + +
***Output*** -|Parameter|Type|Description|Required| -|----|----|----|----| -|address|String|The Injective Chain address of the receiver|Yes| -|amount|Integer|The amount of tokens to send|Yes| -|denom|String|The token denom|Yes| + + +
ParameterTypeDescription
addressstring
coinsgithub_com_cosmos_cosmos_sdk_types.Coins
+ @@ -405,6 +406,41 @@ DEBU[0003] gas wanted: 152844 fn=func1 src="client/ch gas fee: 0.000076422 INJ ``` + +
ParameterTypeDescription
tx_responsetypes.TxResponsetx_response is the queried TxResponses.
+ + +
+ +**TxResponse** + + + + + + + + + + + + + + +
ParameterTypeDescription
heightint64The block height
txhashstringThe transaction hash.
codespacestringNamespace for the Code
codeuint32Response code.
datastringResult bytes, if any.
raw_logstringThe output of the application's logger (raw string). May be non-deterministic.
logsABCIMessageLogsThe output of the application's logger (typed). May be non-deterministic.
infostringAdditional information. May be non-deterministic.
gas_wantedint64Amount of gas requested for transaction.
gas_usedint64Amount of gas consumed by transaction.
txtypes.AnyThe request transaction bytes.
timestampstringTime 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.
eventsv1.Event arrayEvents 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** + + + + +
ParameterTypeDescription
msg_indexuint32
logstring
eventsStringEventsEvents contains a slice of Event objects that were emitted during some execution.
+ + + ## QueryAllBalances Get the bank balance for all denoms. @@ -514,9 +550,23 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|address|String|The Injective Chain address|Yes| + + + +
ParameterTypeDescriptionRequired
addressstringaddress is the address to query balances for.Yes
paginationquery.PageRequestpagination defines an optional pagination for the request.No
resolve_denomboolresolve_denom is the flag to resolve the denom into a human-readable form from the metadata. Since: cosmos-sdk 0.50Yes
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -587,23 +637,28 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|balances|Balances|Balances object| -|pagination|Pagination|Pagination object| + + +
ParameterTypeDescription
balancesgithub_com_cosmos_cosmos_sdk_types.Coinsbalances is the balances of all the coins.
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
+ +**Coin** -**Balances** + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ -|Parameter|Type|Description| -|----|----|----| -|denom|String|Token denom| -|amount|String|Token amount| +
-**Pagination** +**PageResponse** -|Parameter|Type|Description| -|----|----|----| -|total|Integer|Total denoms| + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## QueryBalance @@ -718,10 +773,10 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|address|String|The Injective Chain address|Yes| -|denom|String|The token denom|Yes| + + +
ParameterTypeDescriptionRequired
addressstringaddress is the address to query balances for.Yes
denomstringdenom is the coin denom to query balances for.Yes
+ ### Response Parameters @@ -745,16 +800,18 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|balance|Balance|Balance object| + +
ParameterTypeDescription
balancetypes.Coinbalance is the balance of the coin.
+ + +
**Balance** -|Parameter|Type|Description| -|----|----|----| -|denom|String|Token denom| -|amount|String|Token amount| + + +
ParameterTypeDescription
addressstringaddress is the address of the balance holder.
coinsgithub_com_cosmos_cosmos_sdk_types.Coinscoins defines the different coins this balance holds.
+ ## SpendableBalances @@ -869,10 +926,22 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------ | --------------------------------------- | -------- | -| address | String | Address to query spendable balances for | Yes | -| pagination | Paging | Pagination of results | No | + + +
ParameterTypeDescriptionRequired
addressstringaddress is the address to query spendable balances for.Yes
paginationquery.PageRequestpagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -984,17 +1053,37 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | ------------ | --------------------- | -| balances | Coin Array | Balance object | -| pagination | PageResponse | Pagination of results | + + +
ParameterTypeDescription
balancesgithub_com_cosmos_cosmos_sdk_types.Coinsbalances is the spendable balances of all the coins.
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
**Coin** -| Parameter | Type | Description | -| --------- | ------ | ------------ | -| denom | String | Token denom | -| amount | String | Token amount | + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ + +
+ +**Coin** + + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## SpendableBalancesByDenom @@ -1108,10 +1197,10 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | --------------------------------------- | -------- | -| address | String | Address to query spendable balances for | Yes | -| denom | String | The token denom | Yes | + + +
ParameterTypeDescriptionRequired
addressstringaddress is the address to query balances for.Yes
denomstringdenom is the coin denom to query balances for.Yes
+ ### Response Parameters @@ -1136,16 +1225,18 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | ---- | -------------- | -| balance | Coin | Balance object | + +
ParameterTypeDescription
balancetypes.Coinbalance is the balance of the coin.
+ + +
**Coin** -| Parameter | Type | Description | -| --------- | ------ | ------------ | -| denom | String | Token denom | -| amount | String | Token amount | + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ ## TotalSupply @@ -1261,9 +1352,21 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------ | --------------------- | -------- | -| pagination | Paging | Pagination of results | No | + +
ParameterTypeDescriptionRequired
paginationquery.PageRequestpagination defines an optional pagination for the request. Since: cosmos-sdk 0.43No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -1371,17 +1474,28 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | ------------ | ------------------------------ | -| supply | Coin Array | Array of supply for each token | -| pagination | PageResponse | Pagination of results | + + +
ParameterTypeDescription
supplygithub_com_cosmos_cosmos_sdk_types.Coinssupply is the supply of the coins
paginationquery.PageResponsepagination defines the pagination in the response. Since: cosmos-sdk 0.43
+ + +
**Coin** -| Parameter | Type | Description | -| --------- | ------ | ------------ | -| denom | String | Token denom | -| amount | String | Token amount | + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## SupplyOf @@ -1492,9 +1606,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ----------- | -------- | -| denom | String | Token denom | Yes | + +
ParameterTypeDescriptionRequired
denomstringdenom is the coin denom to query balances for.Yes
+ ### Response Parameters @@ -1514,16 +1628,18 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | ------------ | --------------------- | -| amount | Coin | Supply for the token | + +
ParameterTypeDescription
amounttypes.Coinamount is the supply of the coin.
+ + +
**Coin** -| Parameter | Type | Description | -| --------- | ------ | ------------ | -| denom | String | Token denom | -| amount | String | Token amount | + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ ## DenomMetadata @@ -1635,9 +1751,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ----------- | -------- | -| denom | String | Token denom | Yes | + +
ParameterTypeDescriptionRequired
denomstringdenom is the coin denom to query the metadata for.Yes
+ ### Response Parameters @@ -1680,22 +1796,35 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | -------- | ----------------- | -| metadata | Metadata | Token information | + +
ParameterTypeDescription
metadataMetadatametadata describes and provides all the client information for the requested token.
+ + +
**Metadata** -| Parameter | Type | Description | -| ----------- | --------------- | ---------------------------------------------------------- | -| description | String | Token description | -| denom_units | DenomUnit Array | DenomUnits | -| base | String | Token denom | -| display | String | Token display name | -| name | String | Token name | -| symbol | String | Token symbol | -| uri | String | In general a URI to a document with additional information | -| uri_hash | String | SHA256 hash of a document pointed by URI | + + + + + + + + + +
ParameterTypeDescription
descriptionstring
denom_unitsDenomUnit arraydenom_units represents the list of DenomUnit's for a given coin
basestringbase represents the base denom (should be the DenomUnit with exponent = 0).
displaystringdisplay indicates the suggested denom that should be displayed in clients.
namestringname defines the name of the token (eg: Cosmos Atom) Since: cosmos-sdk 0.43
symbolstringsymbol is the token symbol usually shown on exchanges (eg: ATOM). This can be the same as the display. Since: cosmos-sdk 0.43
uristringURI to a document (on or off-chain) that contains additional information. Optional. Since: cosmos-sdk 0.46
uri_hashstringURIHash is a sha256 hash of a document pointed by URI. It's used to verify that the document didn't change. Optional. Since: cosmos-sdk 0.46
decimalsuint32Decimals represent the number of decimals use to represent token amount on chain Since: cosmos-sdk 0.50
+ + +
+ +**DenomUnit** + + + + +
ParameterTypeDescription
denomstringdenom represents the string name of the given denom unit (e.g uatom).
exponentuint32exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit's denom 1 denom = 10^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with exponent = 6, thus: 1 atom = 10^6 uatom).
aliasesstring arrayaliases is a list of string aliases for the given denom
+ ## DenomsMetadata @@ -1811,9 +1940,21 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------ | --------------------- | -------- | -| pagination | Paging | Pagination of results | No | + +
ParameterTypeDescriptionRequired
paginationquery.PageRequestpagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -2100,23 +2241,45 @@ func main() { } ``` -| Parameter | Type | Description | -| ---------- | -------------- | ------------------ | -| metadatas | Metadata Array | Tokens information | -| pagination | Pagination | Pagination object | + + +
ParameterTypeDescription
metadatasMetadata arraymetadata provides the client information for all the registered tokens.
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
**Metadata** -| Parameter | Type | Description | -| ----------- | --------------- | ---------------------------------------------------------- | -| description | String | Token description | -| denom_units | DenomUnit Array | DenomUnits | -| base | String | Token denom | -| display | String | Token display name | -| name | String | Token name | -| symbol | String | Token symbol | -| uri | String | In general a URI to a document with additional information | -| uri_hash | String | SHA256 hash of a document pointed by URI | + + + + + + + + + +
ParameterTypeDescription
descriptionstring
denom_unitsDenomUnit arraydenom_units represents the list of DenomUnit's for a given coin
basestringbase represents the base denom (should be the DenomUnit with exponent = 0).
displaystringdisplay indicates the suggested denom that should be displayed in clients.
namestringname defines the name of the token (eg: Cosmos Atom) Since: cosmos-sdk 0.43
symbolstringsymbol is the token symbol usually shown on exchanges (eg: ATOM). This can be the same as the display. Since: cosmos-sdk 0.43
uristringURI to a document (on or off-chain) that contains additional information. Optional. Since: cosmos-sdk 0.46
uri_hashstringURIHash is a sha256 hash of a document pointed by URI. It's used to verify that the document didn't change. Optional. Since: cosmos-sdk 0.46
decimalsuint32Decimals represent the number of decimals use to represent token amount on chain Since: cosmos-sdk 0.50
+ + +
+ +**DenomUnit** + + + + +
ParameterTypeDescription
denomstringdenom represents the string name of the given denom unit (e.g uatom).
exponentuint32exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit's denom 1 denom = 10^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with exponent = 6, thus: 1 atom = 10^6 uatom).
aliasesstring arrayaliases is a list of string aliases for the given denom
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## DenomsOwners @@ -2233,10 +2396,22 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------ | --------------------- | -------- | -| denom | String | Token denom | Yes | -| pagination | Paging | Pagination of results | No | + + +
ParameterTypeDescriptionRequired
denomstringdenom defines the coin denomination to query all account holders for.Yes
paginationquery.PageRequestpagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -2338,24 +2513,37 @@ func main() { } ``` -| Parameter | Type | Description | -| ------------ | ---------------- | ----------------- | -| denom_owners | DenomOwner Array | Token owners | -| pagination | Pagination | Pagination object | + + +
ParameterTypeDescription
denom_ownersDenomOwner array
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
**DenomOwner** -| Parameter | Type | Description | -| --------- | ------ | --------------- | -| address | String | Account address | -| balance | Coin | Token amount | + + +
ParameterTypeDescription
addressstringaddress defines the address that owns a particular denomination.
balancetypes.Coinbalance is the balance of the denominated coin for an account.
+ + +
**Coin** -| Parameter | Type | Description | -| --------- | ------ | ------------ | -| denom | String | Token denom | -| amount | String | Token amount | + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## SendEnabled @@ -2473,10 +2661,22 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------------ | --------------------- | -------- | -| denom | String Array | Token denoms | No | -| pagination | Paging | Pagination of results | No | + + +
ParameterTypeDescriptionRequired
denomsstring arraydenoms is the specific denoms you want look up. Leave empty to get all entries.Yes
paginationquery.PageRequestpagination defines an optional pagination for the request. This field is only read if the denoms field is empty.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -2488,14 +2688,25 @@ func main() { ``` go ``` -| Parameter | Type | Description | -| ------------ | ----------------- | ----------------------- | -| send_enabled | SendEnabled Array | SendEnabled information | -| pagination | Pagination | Pagination object | + + +
ParameterTypeDescription
send_enabledSendEnabled array
paginationquery.PageResponsepagination defines the pagination in the response. This field is only populated if the denoms field in the request is empty.
+ + +
**SendEnabled** -| Parameter | Type | Description | -| --------- | ------ | ------------- | -| denom | String | Token denom | -| enabled | Bool | True or False | + + +
ParameterTypeDescription
denomstring
enabledbool
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ diff --git a/source/includes/_binaryoptions.md b/source/includes/_binaryoptions.md index d19ff792..2b1158a4 100644 --- a/source/includes/_binaryoptions.md +++ b/source/includes/_binaryoptions.md @@ -193,7 +193,8 @@ func main() { settlement_pricecosmossdk_io_math.LegacyDecsettlement_price defines the settlement price of the binary options market (in human readable format) min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) admin_permissionsuint32level of admin permissions -quote_decimalsuint32quote token decimals +quote_decimalsuint32quote token decimals +open_notional_capOpenNotionalCapopen_notional_cap defines the maximum open notional for the market
@@ -229,6 +230,30 @@ func main() { 32Maintenance Margin Ratio Permission +
+ +**OpenNotionalCap_Uncapped** + + +
ParameterTypeDescription
uncappedOpenNotionalCapUncapped
+ + +
+ +**OpenNotionalCap_Capped** + + +
ParameterTypeDescription
cappedOpenNotionalCapCapped
+ + +
+ +**OpenNotionalCapCapped** + + +
ParameterTypeDescription
valuecosmossdk_io_math.LegacyDec
+ + ## MsgInstantBinaryOptionsMarketLaunch @@ -325,6 +350,9 @@ func main() { QuoteDenom: "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7", MinPriceTickSize: minPriceTickSize, MinQuantityTickSize: minQuantityTickSize, + OpenNotionalCap: exchangev2types.OpenNotionalCap{ + Cap: &exchangev2types.OpenNotionalCap_Uncapped{}, + }, } // AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg @@ -360,7 +388,8 @@ func main() { quote_denomstringAddress of the quote currency denomination for the binary options contractYes min_price_tick_sizecosmossdk_io_math.LegacyDecmin_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_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format)Yes -min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)Yes +min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)Yes +open_notional_capOpenNotionalCapopen_notional_cap defines the cap on the open notionalYes
@@ -383,6 +412,30 @@ func main() { 12Stork +
+ +**OpenNotionalCap_Uncapped** + + +
ParameterTypeDescription
uncappedOpenNotionalCapUncapped
+ + +
+ +**OpenNotionalCap_Capped** + + +
ParameterTypeDescription
cappedOpenNotionalCapCapped
+ + +
+ +**OpenNotionalCapCapped** + + +
ParameterTypeDescription
valuecosmossdk_io_math.LegacyDec
+ + ### Response Parameters > Response Example: @@ -1234,6 +1287,21 @@ async def main() -> None: ), ] + derivative_market_orders_to_create = [ + composer.derivative_order( + market_id=derivative_market_id_create, + subaccount_id=subaccount_id, + fee_recipient=fee_recipient, + price=Decimal(25100), + quantity=Decimal(0.1), + margin=composer.calculate_margin( + quantity=Decimal(0.1), price=Decimal(25100), leverage=Decimal(1), is_reduce_only=False + ), + order_type="BUY", + cid=str(uuid.uuid4()), + ), + ] + spot_orders_to_create = [ composer.spot_order( market_id=spot_market_id_create, @@ -1255,6 +1323,18 @@ async def main() -> None: ), ] + spot_market_orders_to_create = [ + composer.spot_order( + market_id=spot_market_id_create, + subaccount_id=subaccount_id, + fee_recipient=fee_recipient, + price=Decimal("3.5"), + quantity=Decimal("1"), + order_type="BUY", + cid=str(uuid.uuid4()), + ), + ] + # prepare tx msg msg = composer.msg_batch_update_orders( sender=address.to_acc_bech32(), @@ -1262,6 +1342,8 @@ async def main() -> None: spot_orders_to_create=spot_orders_to_create, derivative_orders_to_cancel=derivative_orders_to_cancel, spot_orders_to_cancel=spot_orders_to_cancel, + spot_market_orders_to_create=spot_market_orders_to_create, + derivative_market_orders_to_create=derivative_market_orders_to_create, ) # broadcast the transaction @@ -1373,6 +1455,18 @@ func main() { }, ) + spot_market_order := chainClient.CreateSpotOrderV2( + defaultSubaccountID, + &chainclient.SpotOrderData{ + OrderType: int32(exchangev2types.OrderType_BUY), //BUY SELL + Quantity: decimal.NewFromFloat(0.1), + Price: decimal.NewFromFloat(22), + FeeRecipient: senderAddress.String(), + MarketId: smarketId, + Cid: uuid.NewString(), + }, + ) + dmarketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce" damount := decimal.NewFromFloat(0.01) dprice := decimal.RequireFromString("31000") //31,000 @@ -1393,6 +1487,20 @@ func main() { }, ) + derivative_market_order := chainClient.CreateDerivativeOrderV2( + defaultSubaccountID, + &chainclient.DerivativeOrderData{ + OrderType: int32(exchangev2types.OrderType_BUY), //BUY SELL + Quantity: decimal.NewFromFloat(0.01), + Price: decimal.RequireFromString("33000"), + Leverage: decimal.RequireFromString("2"), + FeeRecipient: senderAddress.String(), + MarketId: dmarketId, + IsReduceOnly: false, + Cid: uuid.NewString(), + }, + ) + msg := exchangev2types.MsgBatchUpdateOrders{ Sender: senderAddress.String(), SubaccountId: defaultSubaccountID.Hex(), @@ -1400,6 +1508,8 @@ func main() { DerivativeOrdersToCreate: []*exchangev2types.DerivativeOrder{derivative_order}, SpotMarketIdsToCancelAll: smarketIds, DerivativeMarketIdsToCancelAll: dmarketIds, + SpotMarketOrdersToCreate: []*exchangev2types.SpotOrder{spot_market_order}, + DerivativeMarketOrdersToCreate: []*exchangev2types.DerivativeOrder{derivative_market_order}, } // AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg @@ -1431,7 +1541,10 @@ func main() { derivative_orders_to_createDerivativeOrder arraythe derivative orders to createNo binary_options_orders_to_cancelOrderData arraythe binary options orders to cancelNo binary_options_market_ids_to_cancel_allstring arraythe market IDs to cancel all binary options orders for (optional)No -binary_options_orders_to_createDerivativeOrder arraythe binary options orders to createNo +binary_options_orders_to_createDerivativeOrder arraythe binary options orders to createNo +spot_market_orders_to_createSpotOrder arraythe spot market orders to createNo +derivative_market_orders_to_createDerivativeOrder arraythe derivative market orders to createNo +binary_options_market_orders_to_createDerivativeOrder arraythe binary options market orders to createNo
diff --git a/source/includes/_chainexchange.md b/source/includes/_chainexchange.md index 4b66b335..cfa0fe82 100644 --- a/source/includes/_chainexchange.md +++ b/source/includes/_chainexchange.md @@ -322,9 +322,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
subaccount_idStringThe subaccount IDYes
denomStringThe token denomYes
+ + +
ParameterTypeDescriptionRequired
subaccount_idstringthe subaccount IDYes
denomstringthe token denomYes
### Response Parameters @@ -339,8 +339,8 @@ func main() { } ``` - -
ParameterTypeDescription
depositsDepositThe subaccount's deposits for the specified token
+ +
ParameterTypeDescription
depositsDeposit

@@ -480,18 +480,18 @@ No parameters } ``` - -
ParameterTypeDescription
balancesBalance ArrayList of all accounts' balances
+ +
ParameterTypeDescription
balancesBalance array

**Balance** - - - -
ParameterTypeDescription
subaccount_idStringThe subaccount ID
denomStringThe token denom
depositsDepositThe token deposit details
+ + + +
ParameterTypeDescription
subaccount_idstringthe subaccount ID
denomstringthe denom of the balance
depositsDepositthe token deposits details

@@ -641,8 +641,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
accountStringAccount address or subaccount idYes
+ +
ParameterTypeDescriptionRequired
accountstringcan either be an address or a subaccountYes
### Response Parameters @@ -676,26 +676,26 @@ func main() { } ``` - -
ParameterTypeDescription
aggregated_volumesMarketVolume ArrayVolume information. If an address is specified, then the aggregate_volumes will aggregate the volumes across all subaccounts for the address
+ +
ParameterTypeDescription
aggregate_volumesMarketVolume arrayif an address is specified, then the aggregate_volumes will aggregate the volumes across all subaccounts for the address

**MarketVolume** - - -
ParameterTypeDescription
market_idStringThe market ID
volumeVolumeRecordThe volume for a particular market
+ + +
ParameterTypeDescription
market_idstringthe market ID
volumeVolumeRecordthe market volume

**VolumeRecord** - - -
ParameterTypeDescription
maker_volumeDecimalThe maker volume (in human redable format)
taker_volumeDecimalThe taker volume (in human redable format)
+ + +
ParameterTypeDescription
maker_volumecosmossdk_io_math.LegacyDecthe market's maker volume (in human readable format)
taker_volumecosmossdk_io_math.LegacyDecthe market's taker volume (in human readable format)
@@ -827,9 +827,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
accountsString ArrayList of account addresses and/or subaccount IDs to query forNo
market_idsString ArrayList of market IDs to query forNo
+ + +
ParameterTypeDescriptionRequired
accountsstring arrayYes
market_idsstring arrayYes
### Response Parameters @@ -863,36 +863,36 @@ func main() { } ``` - - -
ParameterTypeDescription
aggregated_account_volumesAggregateAccountVolumeRecord ArrayThe aggregate volume records for the accounts specified
aggregated_market_volumesMarketVolume ArrayThe aggregate volumes for the markets specified
+ + +
ParameterTypeDescription
aggregate_account_volumesAggregateAccountVolumeRecord arraythe aggregate volume records for the accounts specified
aggregate_market_volumesMarketVolume arraythe aggregate volumes for the markets specified

**AggregateAccountVolumeRecord** - - -
ParameterTypeDescription
accountStringAccount the volume belongs to
market_volumesMarketVolume ArrayThe aggregate volumes for each market
+ + +
ParameterTypeDescription
accountstringaccount the volume belongs to
market_volumesMarketVolume arraythe aggregate volumes for each market

**MarketVolume** - - -
ParameterTypeDescription
market_idStringThe market ID
volumeVolumeRecordThe volume for a particular market
+ + +
ParameterTypeDescription
market_idstringthe market ID
volumeVolumeRecordthe market volume

**VolumeRecord** - - -
ParameterTypeDescription
maker_volumeDecimalThe maker volume (in human redable format)
taker_volumeDecimalThe taker volume (in human redable format)
+ + +
ParameterTypeDescription
maker_volumecosmossdk_io_math.LegacyDecthe market's maker volume (in human readable format)
taker_volumecosmossdk_io_math.LegacyDecthe market's taker volume (in human readable format)
@@ -1010,8 +1010,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringThe market IDYes
+ +
ParameterTypeDescriptionRequired
market_idstringYes
### Response Parameters @@ -1026,17 +1026,17 @@ func main() { } ``` - -
ParameterTypeDescription
volumeVolumeRecordThe aggregated market volume information
+ +
ParameterTypeDescription
volumeVolumeRecord

**VolumeRecord** - - -
ParameterTypeDescription
maker_volumeDecimalThe maker volume (in human redable format)
taker_volumeDecimalThe taker volume (in human redable format)
+ + +
ParameterTypeDescription
maker_volumecosmossdk_io_math.LegacyDecthe market's maker volume (in human readable format)
taker_volumecosmossdk_io_math.LegacyDecthe market's taker volume (in human readable format)
@@ -1153,8 +1153,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idsString ArrayList of market IDs to query volume forNo
+ +
ParameterTypeDescriptionRequired
market_idsstring arrayYes
### Response Parameters @@ -1174,30 +1174,30 @@ func main() { } ``` - -
ParameterTypeDescription
volumesMarketVolume ArrayThe markets volume information
+ +
ParameterTypeDescription
volumesMarketVolume arraythe aggregate volumes for the entire market

**MarketVolume** - - -
ParameterTypeDescription
market_idStringThe market ID
volumeVolumeRecordThe volume for a particular market
+ + +
ParameterTypeDescription
market_idstringthe market ID
volumeVolumeRecordthe market volume

**VolumeRecord** - - -
ParameterTypeDescription
maker_volumeDecimalThe maker volume (in human redable format)
taker_volumeDecimalThe taker volume (in human redable format)
+ + +
ParameterTypeDescription
maker_volumecosmossdk_io_math.LegacyDecthe market's maker volume (in human readable format)
taker_volumecosmossdk_io_math.LegacyDecthe market's taker volume (in human readable format)
-## DenomDecimal +## AuctionExchangeTransferDenomDecimal Retrieves the number of decimals used for a denom @@ -1206,8 +1206,8 @@ Retrieves the number of decimals used for a denom ### Request Parameters > Request Example: - - + + ```py import asyncio @@ -1222,7 +1222,9 @@ async def main() -> None: # initialize grpc client client = AsyncClient(network) - deposits = await client.fetch_denom_decimal(denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5") + deposits = await client.fetch_auction_exchange_transfer_denom_decimal( + denom="peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5" + ) print(deposits) @@ -1231,8 +1233,8 @@ if __name__ == "__main__": ``` - - + + ```go package main @@ -1296,7 +1298,7 @@ func main() { denom := "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5" - res, err := chainClient.FetchDenomDecimal(ctx, denom) + res, err := chainClient.FetchAuctionExchangeTransferDenomDecimal(ctx, denom) if err != nil { fmt.Println(err) } @@ -1308,8 +1310,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
denomStringThe asset denomYes
+ +
ParameterTypeDescriptionRequired
denomstringYes
### Response Parameters @@ -1321,12 +1323,12 @@ func main() { } ``` - -
ParameterTypeDescription
decimalIntegerNumber of decimals used for the asset
+ +
ParameterTypeDescription
decimaluint64
-## DenomDecimals +## AuctionExchangeTransferDenomDecimals Retrieves the denom decimals for multiple denoms @@ -1335,8 +1337,8 @@ Retrieves the denom decimals for multiple denoms ### Request Parameters > Request Example: - - + + ```py import asyncio @@ -1351,7 +1353,9 @@ async def main() -> None: # initialize grpc client client = AsyncClient(network) - deposits = await client.fetch_denom_decimals(denoms=["inj", "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5"]) + deposits = await client.fetch_auction_exchange_transfer_denom_decimals( + denoms=["inj", "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5"] + ) print(deposits) @@ -1360,8 +1364,8 @@ if __name__ == "__main__": ``` - - + + ```go package main @@ -1425,7 +1429,7 @@ func main() { denoms := []string{"inj", "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5"} - res, err := chainClient.FetchDenomDecimals(ctx, denoms) + res, err := chainClient.FetchAuctionExchangeTransferDenomDecimals(ctx, denoms) if err != nil { fmt.Println(err) } @@ -1437,8 +1441,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
denomsString ArrayList of asset denomsNo
+ +
ParameterTypeDescriptionRequired
denomsstring arraydenoms can be empty to query all denom decimalsYes
### Response Parameters @@ -1459,17 +1463,17 @@ func main() { } ``` - -
ParameterTypeDescription
denom_decimalsDenomDecimals ArrayList of decimals for the queried denoms
+ +
ParameterTypeDescription
denom_decimalsDenomDecimals array

**DenomDecimals** - - -
ParameterTypeDescription
denomStringThe asset denom
decimalsIntegerNumber of decimals
+ + +
ParameterTypeDescription
denomstringthe denom of the token
decimalsuint64the decimals of the token
@@ -1603,9 +1607,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
subaccount_idStringThe subaccount IDYes
market_idStringMarket ID to request forYes
+ + +
ParameterTypeDescriptionRequired
subaccount_idstringthe subaccount IDYes
market_idstringthe market IDYes
### Response Parameters @@ -1622,29 +1626,29 @@ func main() { } ``` - - -
ParameterTypeDescription
buy_ordersSubaccountOrderData ArrayBuy orders info
sell_ordersSubaccountOrderData ArraySell orders info
+ + +
ParameterTypeDescription
buy_ordersSubaccountOrderData array
sell_ordersSubaccountOrderData array

**SubaccountOrderData** - - -
ParameterTypeDescription
orderSubaccountOrderOrder info
order_hashBytesOrder hash
+ + +
ParameterTypeDescription
orderSubaccountOrder
order_hashbyte array

**SubaccountOrder** - - - - -
ParameterTypeDescription
priceDecimalOrder price
quantityDecimalThe amount of the order quantity remaining fillable
is_reduce_onlyBooleanTrue if the order is a reduce only order
cidStringThe client order ID provided by the creator
+ + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order
quantitycosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable
isReduceOnlybool
cidstring
@@ -1776,8 +1780,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
subaccount_idStringThe subaccount ID to query forYes
+ +
ParameterTypeDescriptionRequired
subaccount_idstringthe subaccount IDYes
### Response Parameters @@ -1789,8 +1793,8 @@ func main() { } ``` - -
ParameterTypeDescription
nonceIntegerThe nonce number
+ +
ParameterTypeDescription
nonceuint32
@@ -1921,8 +1925,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
subaccount_idStringThe subaccount ID to query forYes
+ +
ParameterTypeDescriptionRequired
subaccount_idstringthe subaccount IDYes
### Response Parameters @@ -1959,31 +1963,31 @@ func main() { } ``` - -
ParameterTypeDescription
metadataSubaccountOrderbookMetadataWithMarket ArrayList of subaccount's orderbook metadata information
+ +
ParameterTypeDescription
metadataSubaccountOrderbookMetadataWithMarket array

**SubaccountOrderbookMetadataWithMarket** - - - -
ParameterTypeDescription
metadataSubaccountOrderbookMetadataOrderbook metadata
market_idStringThe orderbook's market ID
is_buyBooleanTrue for buy. False for sell
+ + + +
ParameterTypeDescription
metadataSubaccountOrderbookMetadatathe subaccount orderbook details
market_idstringthe market ID
isBuybooltrue if the orderbook is for a buy orders

**SubaccountOrderbookMetadata** - - - - - - -
ParameterTypeDescription
vanilla_limit_order_countIntegerNumber of vanilla limit orders
reduce_only_limit_order_countIntegerNumber of reduce only limit orders
aggregate_reduce_only_quantityDecimalAggregate fillable quantity of the subaccount's reduce-only limit orders in the given direction
aggregate_vanilla_quantityDecimalAggregate fillable quantity of the subaccount's vanilla limit orders in the given direction
vanilla_conditional_order_countIntegerNumber of vanilla conditional orders
reduce_only_conditional_order_countIntegerNumber of reduce only conditional orders
+ + + + + + +
ParameterTypeDescription
vanilla_limit_order_countuint32The number of vanilla limit orders
reduce_only_limit_order_countuint32The number of reduce-only limit orders
aggregate_reduce_only_quantitycosmossdk_io_math.LegacyDecThe aggregate quantity of the subaccount's reduce-only limit orders (in human readable format)
aggregate_vanilla_quantitycosmossdk_io_math.LegacyDecThe aggregate quantity of the subaccount's vanilla limit orders (in human readable format)
vanilla_conditional_order_countuint32The number of vanilla conditional orders
reduce_only_conditional_order_countuint32The number of reduce-only conditional orders
@@ -2112,9 +2116,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
accountsString ListList of account addresses to query forNo
pending_pool_timestampIntegerRewards pool timestampNo
+ + +
ParameterTypeDescriptionRequired
accountsstring arrayYes
pending_pool_timestampint64Yes
### Response Parameters @@ -2128,8 +2132,8 @@ func main() { } ``` - -
ParameterTypeDescription
account_trade_reward_pointsDecimalNumber of points
+ +
ParameterTypeDescription
account_trade_reward_pointscosmossdk_io_math.LegacyDec array
@@ -2258,9 +2262,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
accountsString ListList of account addresses to query forNo
pending_pool_timestampIntegerRewards pool timestampNo
+ + +
ParameterTypeDescriptionRequired
accountsstring arrayYes
pending_pool_timestampint64Yes
### Response Parameters @@ -2274,8 +2278,8 @@ func main() { } ``` - -
ParameterTypeDescription
account_trade_reward_pointsDecimalNumber of points
+ +
ParameterTypeDescription
account_trade_reward_pointscosmossdk_io_math.LegacyDec array
@@ -2420,52 +2424,52 @@ No parameters } ``` - - - - - -
ParameterTypeDescription
trading_reward_campaign_infoTradingRewardCampaignInfoCampaign information
trading_reward_pool_campaign_scheduleCampaignRewardPool ArrayCampaign schedules
total_trade_reward_pointsDecimalTrade reward points
pending_trading_reward_pool_campaign_scheduleCampaignRewardPool ArrayPending campaigns schedules
pending_total_trade_reward_pointsDecimal ArrayPending campaigns points
+ + + + + +
ParameterTypeDescription
trading_reward_campaign_infoTradingRewardCampaignInfo
trading_reward_pool_campaign_scheduleCampaignRewardPool array
total_trade_reward_pointscosmossdk_io_math.LegacyDec
pending_trading_reward_pool_campaign_scheduleCampaignRewardPool array
pending_total_trade_reward_pointscosmossdk_io_math.LegacyDec array

**TradingRewardCampaignInfo** - - - - -
ParameterTypeDescription
campaign_duration_secondsIntegerCampaign duration in seconds
quote_denomsString ArrayThe trading fee quote denoms which will be counted for the rewards
trading_reward_boost_infoTradingRewardCampaignBoostInfoBoost information
disqualified_market_idsString ArrayList of disqualified marked IDs
+ + + + +
ParameterTypeDescription
campaign_duration_secondsint64number of seconds of the duration of each campaign
quote_denomsstring arraythe trading fee quote denoms which will be counted for the rewards
trading_reward_boost_infoTradingRewardCampaignBoostInfothe optional boost info for markets
disqualified_market_idsstring arraythe marketIDs which are disqualified from being rewarded

**CampaignRewardPool** - - -
ParameterTypeDescription
start_timestampIntegerCampaign start timestamp in seconds
max_campaign_rewardsDecimal ArrayMaximum reward amounts to be disbursed at the end of the campaign
+ + +
ParameterTypeDescription
start_timestampint64the campaign start timestamp in seconds
max_campaign_rewardsgithub_com_cosmos_cosmos_sdk_types.Coinsmax_campaign_rewards are the maximum reward amounts to be disbursed at the end of the campaign

**TradingRewardCampaignBoostInfo** - - - - -
ParameterTypeDescription
boosted_spot_market_idsString ArrayList of spot market IDs
spot_market_multipliersPointsMultiplier ArrayList of boost information for each spot market
boosted_derivative_market_idsString ArrayList of derivative market IDs
derivative_market_multipliersPointsMultiplier ArrayList of bood information for each derivative market
+ + + + +
ParameterTypeDescription
boosted_spot_market_idsstring array
spot_market_multipliersPointsMultiplier array
boosted_derivative_market_idsstring array
derivative_market_multipliersPointsMultiplier array

**PointsMultiplier** - - -
ParameterTypeDescription
maker_points_multiplierDecimalMultiplier for maker trades
taker_points_multiplierDecimalMultiplier for taker trades
+ + +
ParameterTypeDescription
maker_points_multipliercosmossdk_io_math.LegacyDec
taker_points_multipliercosmossdk_io_math.LegacyDec
@@ -2961,8 +2965,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
dust_factorIntegerDifference treshold to query withYes
+ +
ParameterTypeDescriptionRequired
dust_factorint64Yes
### Response Parameters @@ -3092,22 +3096,22 @@ func main() { } ``` - -
ParameterTypeDescription
balance_mismatchesBalanceMismatch ArrayList of balance mismatches
+ +
ParameterTypeDescription
balance_mismatchesBalanceMismatch array

**BalanceMismatch** - - - - - - - -
ParameterTypeDescription
subaccount_idStringThe subaccount ID the balance belongs to
denomStringThe token denom
availableDecimalThe available balance
totalDecimalThe total balance
balance_holdDecimalThe balance on hold
expected_totalDecimalThe expected total balance
differenceDecimalBalance difference
+ + + + + + + +
ParameterTypeDescription
subaccountIdstringthe subaccount ID
denomstringthe denom of the balance
availablecosmossdk_io_math.LegacyDecthe available balance
totalcosmossdk_io_math.LegacyDecthe total balance
balance_holdcosmossdk_io_math.LegacyDecthe balance hold
expected_totalcosmossdk_io_math.LegacyDecthe expected total balance
differencecosmossdk_io_math.LegacyDecthe difference between the total balance and the expected total balance
@@ -3245,20 +3249,20 @@ No parameters } ``` - -
ParameterTypeDescription
balance_with_balance_holdsBalanceWithMarginHold ArrayList of balances with hold
+ +
ParameterTypeDescription
balance_with_balance_holdsBalanceWithMarginHold array

**BalanceWithMarginHold** - - - - - -
ParameterTypeDescription
subaccount_idStringThe subaccount ID the balance belongs to
denomStringThe token denom
availableDecimalThe available balance
totalDecimalThe total balance
balance_holdDecimalThe balance on hold
+ + + + + +
ParameterTypeDescription
subaccountIdstringthe subaccount ID
denomstringthe denom of the balance
availablecosmossdk_io_math.LegacyDecthe available balance
totalcosmossdk_io_math.LegacyDecthe total balance
balance_holdcosmossdk_io_math.LegacyDecthe balance on hold
@@ -3418,17 +3422,17 @@ No parameters } ``` - -
ParameterTypeDescription
statisticsTierStatistic ArrayList of tier statistics
+ +
ParameterTypeDescription
statisticsTierStatistic array

**TierStatistic** - - -
ParameterTypeDescription
tierIntegerTier number
countIntegerThe tier count
+ + +
ParameterTypeDescription
tieruint64
countuint64
@@ -4267,20 +4271,20 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
market_idStringThe market ID to query forYes
trade_history_optionsTradeHistoryOptionsExtra query optionsNo
+ + +
ParameterTypeDescriptionRequired
market_idstringthe market ID to query volatility forYes
trade_history_optionsTradeHistoryOptionsthe trade history optionsNo

**TradeHistoryOptions** - - - - -
ParameterTypeDescription
trade_grouping_secInteger0 means use the chain's default grouping
max_ageIntegerRestricts the trade records oldest age in seconds from the current block time to consider. A value of 0 means use all the records present on the chain
include_raw_historyBooleanIf True, the raw underlying data used for the computation is included in the response
include_metadataBooleanIf True, metadata on the computation is included in the response
+ + + + +
ParameterTypeDescription
trade_grouping_secuint64TradeGroupingSec of 0 means use the chain's default grouping
max_ageuint64MaxAge restricts the trade records oldest age in seconds from the current block time to consider. A value of 0 means use all the records present on the chain.
include_raw_historyboolIf IncludeRawHistory is true, the raw underlying data used for the computation is included in the response
include_metadataboolIf IncludeMetadata is true, metadata on the computation is included in the response
### Response Parameters @@ -5579,6 +5583,143 @@ No parameters +## OpenInterest + +Retrieves a market's open interest + +**IP rate limit group:** `chain` + +### Request Parameters +> Request Example: + + + +```py +import asyncio +import json + +from pyinjective.async_client_v2 import AsyncClient +from pyinjective.core.network import Network + + +async def main() -> None: + """ + Demonstrate fetching denom min notionals using AsyncClient. + """ + # Select network: choose between Network.mainnet(), Network.testnet(), or Network.devnet() + network = Network.testnet() + + # Initialize the Async Client + client = AsyncClient(network) + + market_id = "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + open_interest = await client.fetch_open_interest(market_id=market_id) + print(json.dumps(open_interest, indent=2)) + + +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" +) + +func main() { + network := common.LoadNetwork("testnet", "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", + "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // 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() + + marketId := "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6" + + res, err := chainClient.FetchOpenInterest(ctx, marketId) + if err != nil { + fmt.Println(err) + } + + str, _ := json.MarshalIndent(res, "", "\t") + fmt.Print(string(str)) + +} +``` + + + +
ParameterTypeDescriptionRequired
market_idstringmarket idYes
+ + +### Response Parameters +> Response Example: + +``` json +{ + "amount": { + "market_id": "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6", + "balance": "1020516.638732418776111164" + } +} +``` + + +
ParameterTypeDescription
amountOpenInterest
+ + + ## MsgRewardsOptOut **IP rate limit group:** `chain` diff --git a/source/includes/_chainstream.md b/source/includes/_chainstream.md index 3d0f5f7a..a365d911 100644 --- a/source/includes/_chainstream.md +++ b/source/includes/_chainstream.md @@ -66,6 +66,12 @@ async def main() -> None: subaccount_ids=[subaccount_id], market_ids=[inj_usdt_perp_market] ) oracle_price_filter = composer.chain_stream_oracle_price_filter(symbols=["INJ", "USDT"]) + order_failures_filter = composer.chain_stream_order_failures_filter( + accounts=["inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r"] + ) + conditional_order_trigger_failures_filter = composer.chain_stream_conditional_order_trigger_failures_filter( + subaccount_ids=[subaccount_id], market_ids=[inj_usdt_perp_market] + ) task = asyncio.get_event_loop().create_task( client.listen_chain_stream_updates( @@ -82,6 +88,8 @@ async def main() -> None: derivative_orderbooks_filter=derivative_orderbooks_filter, positions_filter=positions_filter, oracle_price_filter=oracle_price_filter, + order_failures_filter=order_failures_filter, + conditional_order_trigger_failures_filter=conditional_order_trigger_failures_filter, ) ) @@ -174,6 +182,13 @@ func main() { OraclePriceFilter: &chainstreamv2.OraclePriceFilter{ Symbol: []string{"INJ", "USDT"}, }, + OrderFailuresFilter: &chainstreamv2.OrderFailuresFilter{ + Accounts: []string{"*"}, + }, + ConditionalOrderTriggerFailuresFilter: &chainstreamv2.ConditionalOrderTriggerFailuresFilter{ + SubaccountIds: []string{subaccountId}, + MarketIds: []string{injUsdtPerpMarket}, + }, } ctx := context.Background() @@ -210,7 +225,9 @@ func main() { spot_orderbooks_filterOrderbookFilterfilter for spot orderbooks eventsNo derivative_orderbooks_filterOrderbookFilterfilter for derivative orderbooks eventsNo positions_filterPositionsFilterfilter for positions eventsNo -oracle_price_filterOraclePriceFilterfilter for oracle prices eventsNo +oracle_price_filterOraclePriceFilterfilter for oracle prices eventsNo +order_failures_filterOrderFailuresFilterfilter for order failures eventsNo +conditional_order_trigger_failures_filterConditionalOrderTriggerFailuresFilterfilter for conditional order trigger failures eventsNo
@@ -269,7 +286,24 @@ func main() { **OraclePriceFilter** -
ParameterTypeDescription
symbolstring arraylist of symbol to filter by
+
ParameterTypeDescription
symbolstring arraylist of symbols to filter by
+ + +
+ +**OrderFailuresFilter** + + +
ParameterTypeDescription
accountsstring arraylist of account addresses to filter by
+ + +
+ +**ConditionalOrderTriggerFailuresFilter** + + + +
ParameterTypeDescription
subaccount_idsstring arraylist of subaccount IDs to filter by
market_idsstring arraylist of market IDs to filter by
@@ -290,7 +324,9 @@ Each message contains a list of events that are filtered by the request paramete derivative_orderbook_updatesOrderbookUpdate arraylist of derivative orderbook updates positionsPosition arraylist of positions updates oracle_pricesOraclePrice arraylist of oracle prices updates -gas_pricestringthe current gas price when the block was processed (in chain format) +gas_pricestringthe current gas price when the block was processed (in chain format) +order_failuresOrderFailureUpdate arraylist of order failures updates +conditional_order_trigger_failuresConditionalOrderTriggerFailureUpdate arraylist of conditional order trigger failures updates
@@ -404,6 +440,30 @@ Each message contains a list of events that are filtered by the request paramete
+**OrderFailureUpdate** + + + + + +
ParameterTypeDescription
accountstringthe account address
order_hashstringthe order hash
cidstringthe client order ID
error_codeuint32the error code
+ + +
+ +**ConditionalOrderTriggerFailureUpdate** + + + + + + + +
ParameterTypeDescription
market_idstringthe market ID
subaccount_idstringthe subaccount ID
mark_pricecosmossdk_io_math.LegacyDecthe mark price
order_hashstringthe order hash
cidstringthe client order ID
error_descriptionstringthe error code
+ + +
+ **OrderUpdateStatus** diff --git a/source/includes/_changelog.md b/source/includes/_changelog.md index 006898b4..16105730 100644 --- a/source/includes/_changelog.md +++ b/source/includes/_changelog.md @@ -1,5 +1,10 @@ # Change Log +## 2025-11-10 +- Updated all messages to reflect the changes included in the chain version 1.17.0, and the Indexer for that chain version +- Python SDK v1.12.0 +- Go SDK v1.59.0 + ## 2025-09-24 - Updated all messages to reflect the changes included in the chain version 1.16.4, and the Indexer for that chain version - Python SDK v1.11.2 diff --git a/source/includes/_chronosrpc.md b/source/includes/_chronosrpc.md deleted file mode 100644 index bf8d394d..00000000 --- a/source/includes/_chronosrpc.md +++ /dev/null @@ -1,1010 +0,0 @@ -# - ChronosAPI -ChronosAPI implements historical data API for e.g. TradingView. - - -## ChronosAPI.DerivativeMarketSymbolSearch - -Get info about specific derivative market symbol by ticker. - - - -|Parameter|Type|Description| -|----|----|----| -|symbol|String|Specify unique ticker to search.| - - - - - -|Parameter|Type|Description| -|----|----|----| -|data_status|String|The status code of a series with this symbol. The status is shown in the upper right corner of a chart. (Should be one of: [streaming endofday pulsed delayed_streaming]) | -|has_intraday|Boolean|Boolean value showing whether the symbol includes intraday (minutes) historical data.| -|has_seconds|Boolean|Boolean value showing whether the symbol includes seconds in the historical data.| -|has_weekly_and_monthly|Boolean|The boolean value showing whether data feed has its own weekly and monthly resolution bars or not.| -|name|String|Full name of a symbol. Will be displayed in the chart legend for this symbol.| -|seconds_multipliers|Array of string|It is an array containing resolutions that include seconds (excluding postfix) that the data feed provides.| -|type|String|Symbol type (forex/stock, crypto etc.). (Should be one of: [stock index forex spotMarket bitcoin expression spread cfd crypto]) | -|fractional|Boolean|Boolean showing whether this symbol wants to have complex price formatting (see minmov2) or not. The default value is false.| -|has_no_volume|Boolean|Boolean showing whether the symbol includes volume data or not.| -|s|String|Status of the response. (Should be one of: [ok error no_data]) | -|ticker|String|It's an unique identifier for this particular symbol in your symbology. If you specify this property then its value will be used for all data requests for this symbol.| -|description|String|Description of a symbol. Will be displayed in the chart legend for this symbol.| -|exchange|String|Short name of exchange where this symbol is traded.| -|force_session_rebuild|Boolean|The boolean value showing whether the library should filter bars using the current trading session.| -|listed_exchange|String|Short name of exchange where this symbol is traded.| -|volume_precision|Integer|Integer showing typical volume value decimal places for a particular symbol. 0 means volume is always an integer.| -|expired|Boolean|Boolean value showing whether this symbol is an expired spotMarket contract or not.| -|pricescale|Integer|Pricescale defines the number of decimal places. | -|supported_resolutions|Array of string|An array of resolutions which should be enabled in resolutions picker for this symbol. Each item of an array is expected to be a string. The default value is an empty array.| -|currency_code|String|The currency in which the instrument is traded. It is displayed in the Symbol Info dialog and on the price axes.| -|has_empty_bars|Boolean|The boolean value showing whether the library should generate empty bars in the session when there is no data from the data feed for this particular time.| -|minmov|number|Minmov is the amount of price precision steps for 1 tick.| -|minmov2|Integer|| -|sector|String|Sector for stocks to be displayed in the Symbol Info.| -|errmsg|String|Error message.| -|expiration_date|Integer|Unix timestamp of the expiration date. One must set this value when expired = true.| -|industry|String|Industry for stocks to be displayed in the Symbol Info.| -|intraday_multipliers|Array of string|Array of resolutions (in minutes) supported directly by the data feed. The default of [] means that the data feed supports aggregating by any number of minutes.| -|session|String|Bitcoin and other cryptocurrencies: the session string should be 24x7 (Should be one of: [24x7]) | -|symbol|String|It's the name of the symbol. It is a string that your users will be able to see. | -|has_daily|Boolean|The boolean value showing whether data feed has its own daily resolution bars or not.| -|timezone|String|Timezone of the exchange for this symbol. We expect to get the name of the time zone in olsondb format. (Should be one of: [Etc/UTC]) | - - - - -## ChronosAPI.SpotMarketConfig - -Data feed configuration data for TradingView. - - - -|Parameter|Type|Description| -|----|----|----| -|supported_resolutions|Array of string|Supported resolutios| -|supports_group_request|Boolean|Supports group requests| -|supports_marks|Boolean|Supports marks| -|supports_search|Boolean|Supports symbol search| -|supports_timescale_marks|Boolean|Supports timescale marks| - - - - -## ChronosAPI.SpotMarketSummary - -Gets spot market summary for the latest interval (hour, day, month) - - - -|Parameter|Type|Description| -|----|----|----| -|marketId|String|Market ID of the spot market| -|resolution|String|Specify the resolution (Should be one of: [hour 60m day 24h week 7days month 30days]) | - - - - - - - -|Parameter|Type|Description| -|----|----|----| -|low|number|Low price.| -|marketId|String|Market ID of the spotMarket market| -|open|number|Open price.| -|price|number|Current price based on latest fill event.| -|volume|number|Volume.| -|change|number|Change percent from opening price.| -|high|number|High price.| - - - - -## ChronosAPI.SpotMarketSymbolInfo - -Get a list of all spotMarket instruments for TradingView. - - - -|Parameter|Type|Description| -|----|----|----| -|group|String|ID of a symbol group. It is only required if you use groups of symbols to restrict access to instrument's data.| - - - - - -|Parameter|Type|Description| -|----|----|----| -|ticker|Array of string|This is a unique identifier for this particular symbol in your symbology. If you specify this property then its value will be used for all data requests for this symbol.| -|description|Array of string|Description of a symbol. Will be displayed in the chart legend for this symbol.| -|has-no-volume|Array of boolean|Boolean showing whether the symbol includes volume data or not. The default value is false.| -|has-weekly-and-monthly|Array of boolean|The boolean value showing whether data feed has its own weekly and monthly resolution bars or not.| -|minmov2|Array of integer|This is a number for complex price formatting cases. | -|pointvalue|Array of integer|The currency value of a single whole unit price change in the instrument's currency. If the value is not provided it is assumed to be 1.| -|s|String|Status of the response. (Should be one of: [ok error no_data]) | -|session-regular|Array of string|Bitcoin and other cryptocurrencies: the session string should be 24x7| -|currency|Array of string|Symbol currency, also named as counter currency. If a symbol is a currency pair, then the currency field has to contain the second currency of this pair. For example, USD is a currency for EURUSD ticker. Fiat currency must meet the ISO 4217 standard. The default value is null.| -|exchange-traded|Array of string|Short name of exchange where this symbol is traded.| -|has-daily|Array of boolean|The boolean value showing whether data feed has its own daily resolution bars or not.| -|timezone|Array of string|Timezone of the exchange for this symbol. We expect to get the name of the time zone in olsondb format.| -|bar-transform|Array of string|The principle of bar alignment. The default value is none.| -|intraday-multipliers|Array of string|This is an array containing intraday resolutions (in minutes) that the data feed may provide| -|minmovement|Array of number|Minimal tick change.| -|bar-source|Array of string|The principle of building bars. The default value is trade.| -|symbol|Array of string|This is the name of the symbol - a string that the users will see. It should contain uppercase letters, numbers, a dot or an underscore. Also, it will be used for data requests if you are not using tickers.| -|bar-fillgaps|Array of boolean|Is used to create the zero-volume bars in the absence of any trades| -|pricescale|Array of integer|Indicates how many decimal points the price has. For example, if the price has 2 decimal points (ex., 300.01), then pricescale is 100. If it has 3 decimals, then pricescale is 1000 etc. If the price doesn't have decimals, set pricescale to 1| -|expiration|Array of integer|Expiration of the spotMarket in the following format: YYYYMMDD. Required for spotMarket type symbols only. | -|errmsg|String|Error message.| -|exchange-listed|Array of string|Short name of exchange where this symbol is listed.| -|is-cfd|Array of boolean|Boolean value showing whether the symbol is CFD. The base instrument type is set using the type field.| -|name|Array of string|Full name of a symbol. Will be displayed in the chart legend for this symbol.| -|base-currency|Array of string|For currency pairs only. This field contains the first currency of the pair. For example, base currency for EURUSD ticker is EUR. Fiat currency must meet the ISO 4217 standard.| -|has-intraday|Array of boolean|Boolean value showing whether the symbol includes intraday (minutes) historical data.| -|root|Array of string|Root of the features. It's required for spotMarket symbol types only. Provide a null value for other symbol types. The default value is null.| -|root-description|Array of string|Short description of the spotMarket root that will be displayed in the symbol search. It's required for spotMarket only. Provide a null value for other symbol types. The default value is null.| -|type|Array of string|Symbol type (forex/stock, crypto etc.).| -|fractional|Array of boolean|Boolean showing whether this symbol wants to have complex price formatting (see minmov2) or not. The default value is false.| - - - - -## ChronosAPI.AllSpotMarketSummary - -Gets batch summary for all active markets, for the latest interval (hour, day, month) - - - - -|Parameter|Type|Description| -|----|----|----| -|resolution|String|Specify the resolution (Should be one of: [hour 60m day 24h week 7days month 30days]) | - - - - - - -## ChronosAPI.DerivativeMarketConfig - -Data feed configuration data for TradingView. - - - -|Parameter|Type|Description| -|----|----|----| -|supported_resolutions|Array of string|Supported resolutios| -|supports_group_request|Boolean|Supports group requests| -|supports_marks|Boolean|Supports marks| -|supports_search|Boolean|Supports symbol search| -|supports_timescale_marks|Boolean|Supports timescale marks| - - - - -## ChronosAPI.DerivativeMarketHistory - -Request for history bars of derivativeMarket for TradingView. - - - - -|Parameter|Type|Description| -|----|----|----| -|from|Integer|Unix timestamp (UTC) of the leftmost required bar, including from| -|resolution|String|Symbol resolution. Possible resolutions are daily (D or 1D, 2D ... ), weekly (1W, 2W ...), monthly (1M, 2M...) and an intra-day resolution – minutes(1, 2 ...).| -|symbol|String|Specify unique ticker to search.| -|to|Integer|Unix timestamp (UTC) of the rightmost required bar, including to. It can be in the future. In this case, the rightmost required bar is the latest available bar.| -|countback|Integer|Number of bars (higher priority than from) starting with to. If countback is set, from should be ignored.| - - - - - -|Parameter|Type|Description| -|----|----|----| -|errmsg|String|Error message.| -|h|Array of number|High price.| -|l|Array of number|Low price.| -|nb|Integer|Unix time of the next bar if there is no data in the requested period (optional).| -|s|String|Status of the response. (Should be one of: [ok error no_data]) | -|t|Array of integer|Bar time, Unix timestamp (UTC). Daily bars should only have the date part, time should be 0.| -|c|Array of number|Close price.| -|o|Array of number|Open price.| -|v|Array of number|Volume.| - - - - -## ChronosAPI.DerivativeMarketSymbolInfo - -Get a list of all derivativeMarket instruments for TradingView. - - - - -|Parameter|Type|Description| -|----|----|----| -|group|String|ID of a symbol group. It is only required if you use groups of symbols to restrict access to instrument's data.| - - - - - -|Parameter|Type|Description| -|----|----|----| -|session-regular|Array of string|Bitcoin and other cryptocurrencies: the session string should be 24x7| -|timezone|Array of string|Timezone of the exchange for this symbol. We expect to get the name of the time zone in olsondb format.| -|exchange-listed|Array of string|Short name of exchange where this symbol is listed.| -|bar-transform|Array of string|The principle of bar alignment. The default value is none.| -|description|Array of string|Description of a symbol. Will be displayed in the chart legend for this symbol.| -|exchange-traded|Array of string|Short name of exchange where this symbol is traded.| -|has-weekly-and-monthly|Array of boolean|The boolean value showing whether data feed has its own weekly and monthly resolution bars or not.| -|bar-fillgaps|Array of boolean|Is used to create the zero-volume bars in the absence of any trades| -|has-no-volume|Array of boolean|Boolean showing whether the symbol includes volume data or not. The default value is false.| -|is-cfd|Array of boolean|Boolean value showing whether the symbol is CFD. The base instrument type is set using the type field.| -|minmov2|Array of integer|This is a number for complex price formatting cases. | -|fractional|Array of boolean|Boolean showing whether this symbol wants to have complex price formatting (see minmov2) or not. The default value is false.| -|base-currency|Array of string|For currency pairs only. This field contains the first currency of the pair. For example, base currency for EURUSD ticker is EUR. Fiat currency must meet the ISO 4217 standard.| -|type|Array of string|Symbol type (forex/stock, crypto etc.).| -|bar-source|Array of string|The principle of building bars. The default value is trade.| -|s|String|Status of the response. (Should be one of: [ok error no_data]) | -|symbol|Array of string|This is the name of the symbol - a string that the users will see. It should contain uppercase letters, numbers, a dot or an underscore. Also, it will be used for data requests if you are not using tickers.| -|has-daily|Array of boolean|The boolean value showing whether data feed has its own daily resolution bars or not.| -|has-intraday|Array of boolean|Boolean value showing whether the symbol includes intraday (minutes) historical data.| -|minmovement|Array of number|Minimal tick change.| -|errmsg|String|Error message.| -|expiration|Array of integer|Expiration of the spotMarket in the following format: YYYYMMDD. Required for spotMarket type symbols only. | -|pointvalue|Array of integer|The currency value of a single whole unit price change in the instrument's currency. If the value is not provided it is assumed to be 1.| -|pricescale|Array of integer|Indicates how many decimal points the price has. For example, if the price has 2 decimal points (ex., 300.01), then pricescale is 100. If it has 3 decimals, then pricescale is 1000 etc. If the price doesn't have decimals, set pricescale to 1| -|root-description|Array of string|Short description of the spotMarket root that will be displayed in the symbol search. It's required for spotMarket only. Provide a null value for other symbol types. The default value is null.| -|currency|Array of string|Symbol currency, also named as counter currency. If a symbol is a currency pair, then the currency field has to contain the second currency of this pair. For example, USD is a currency for EURUSD ticker. Fiat currency must meet the ISO 4217 standard. The default value is null.| -|name|Array of string|Full name of a symbol. Will be displayed in the chart legend for this symbol.| -|root|Array of string|Root of the features. It's required for spotMarket symbol types only. Provide a null value for other symbol types. The default value is null.| -|ticker|Array of string|This is a unique identifier for this particular symbol in your symbology. If you specify this property then its value will be used for all data requests for this symbol.| -|intraday-multipliers|Array of string|This is an array containing intraday resolutions (in minutes) that the data feed may provide| - - - - -## ChronosAPI.AllDerivativeMarketSummary - -Gets batch summary for all active markets, for the latest interval (hour, day, month) - - - - -|Parameter|Type|Description| -|----|----|----| -|indexPrice|Boolean|Request the summary of index price feed| -|resolution|String|Specify the resolution (Should be one of: [hour 60m day 24h week 7days month 30days]) | - - - - - - -## ChronosAPI.DerivativeMarketSummary - -Gets derivative market summary for the latest interval (hour, day, month) - - - - -|Parameter|Type|Description| -|----|----|----| -|resolution|String|Specify the resolution (Should be one of: [hour 60m day 24h week 7days month 30days]) | -|indexPrice|Boolean|Request the summary of index price feed| -|marketId|String|Market ID of the derivative market| - - - - - -|Parameter|Type|Description| -|----|----|----| -|change|number|Change percent from opening price.| -|high|number|High price.| -|low|number|Low price.| -|marketId|String|Market ID of the derivativeMarket market| -|open|number|Open price.| -|price|number|Current price based on latest fill event.| -|volume|number|Volume.| - - - - -## ChronosAPI.SpotMarketHistory - -Request for history bars of spotMarket for TradingView. - - - - -|Parameter|Type|Description| -|----|----|----| -|to|Integer|Unix timestamp (UTC) of the rightmost required bar, including to. It can be in the future. In this case, the rightmost required bar is the latest available bar.| -|countback|Integer|Number of bars (higher priority than from) starting with to. If countback is set, from should be ignored.| -|from|Integer|Unix timestamp (UTC) of the leftmost required bar, including from| -|resolution|String|Symbol resolution. Possible resolutions are daily (D or 1D, 2D ... ), weekly (1W, 2W ...), monthly (1M, 2M...) and an intra-day resolution – minutes(1, 2 ...).| -|symbol|String|Specify unique ticker to search.| - - - - - -|Parameter|Type|Description| -|----|----|----| -|s|String|Status of the response. (Should be one of: [ok error no_data]) | -|errmsg|String|Error message.| -|h|Array of number|High price.| -|l|Array of number|Low price.| -|nb|Integer|Unix time of the next bar if there is no data in the requested period (optional).| -|c|Array of number|Close price.| -|o|Array of number|Open price.| -|t|Array of integer|Bar time, Unix timestamp (UTC). Daily bars should only have the date part, time should be 0.| -|v|Array of number|Volume.| - - - - -## ChronosAPI.SpotMarketSymbolSearch - -Get info about specific spot market symbol by ticker. - - - - -|Parameter|Type|Description| -|----|----|----| -|symbol|String|Specify unique ticker to search.| - - - - - -|Parameter|Type|Description| -|----|----|----| -|has_intraday|Boolean|Boolean value showing whether the symbol includes intraday (minutes) historical data.| -|pricescale|Integer|Pricescale defines the number of decimal places. | -|supported_resolutions|Array of string|An array of resolutions which should be enabled in resolutions picker for this symbol. Each item of an array is expected to be a string. The default value is an empty array.| -|volume_precision|Integer|Integer showing typical volume value decimal places for a particular symbol. 0 means volume is always an integer.| -|expiration_date|Integer|Unix timestamp of the expiration date. One must set this value when expired = true.| -|expired|Boolean|Boolean value showing whether this symbol is an expired spotMarket contract or not.| -|has_no_volume|Boolean|Boolean showing whether the symbol includes volume data or not.| -|sector|String|Sector for stocks to be displayed in the Symbol Info.| -|fractional|Boolean|Boolean showing whether this symbol wants to have complex price formatting (see minmov2) or not. The default value is false.| -|has_weekly_and_monthly|Boolean|The boolean value showing whether data feed has its own weekly and monthly resolution bars or not.| -|timezone|String|Timezone of the exchange for this symbol. We expect to get the name of the time zone in olsondb format. (Should be one of: [Etc/UTC]) | -|data_status|String|The status code of a series with this symbol. The status is shown in the upper right corner of a chart. (Should be one of: [streaming endofday pulsed delayed_streaming]) | -|description|String|Description of a symbol. Will be displayed in the chart legend for this symbol.| -|has_daily|Boolean|The boolean value showing whether data feed has its own daily resolution bars or not.| -|has_empty_bars|Boolean|The boolean value showing whether the library should generate empty bars in the session when there is no data from the data feed for this particular time.| -|has_seconds|Boolean|Boolean value showing whether the symbol includes seconds in the historical data.| -|minmov|number|Minmov is the amount of price precision steps for 1 tick.| -|industry|String|Industry for stocks to be displayed in the Symbol Info.| -|minmov2|Integer|| -|name|String|Full name of a symbol. Will be displayed in the chart legend for this symbol.| -|intraday_multipliers|Array of string|Array of resolutions (in minutes) supported directly by the data feed. The default of [] means that the data feed supports aggregating by any number of minutes.| -|type|String|Symbol type (forex/stock, crypto etc.). (Should be one of: [stock index forex spotMarket bitcoin expression spread cfd crypto]) | -|exchange|String|Short name of exchange where this symbol is traded.| -|listed_exchange|String|Short name of exchange where this symbol is traded.| -|s|String|Status of the response. (Should be one of: [ok error no_data]) | -|currency_code|String|The currency in which the instrument is traded. It is displayed in the Symbol Info dialog and on the price axes.| -|errmsg|String|Error message.| -|force_session_rebuild|Boolean|The boolean value showing whether the library should filter bars using the current trading session.| -|seconds_multipliers|Array of string|It is an array containing resolutions that include seconds (excluding postfix) that the data feed provides.| -|session|String|Bitcoin and other cryptocurrencies: the session string should be 24x7 (Should be one of: [24x7]) | -|symbol|String|It's the name of the symbol. It is a string that your users will be able to see. | -|ticker|String|It's an unique identifier for this particular symbol in your symbology. If you specify this property then its value will be used for all data requests for this symbol.| - diff --git a/source/includes/_derivatives.md b/source/includes/_derivatives.md index 376e06c4..f9b867e6 100644 --- a/source/includes/_derivatives.md +++ b/source/includes/_derivatives.md @@ -114,8 +114,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
+ +
ParameterTypeDescriptionRequired
market_idstringmarket idYes
@@ -125,20 +125,21 @@ func main() { ``` json ``` - - -
ParameterTypeDescription
bidsTrimmedLimitOrder ArrayBid side entries
asksTrimmedLimitOrder ArrayAsk side entries
+ + + +
ParameterTypeDescription
BidsTrimmedLimitOrder array
AsksTrimmedLimitOrder array
sequint64the current orderbook sequence number

**TrimmedLimitOrder** - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
order_hashStringThe order hash
subaccount_idStringSubaccount ID that created the order
+ + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
order_hashstringthe order hash
subaccount_idstringthe subaccount ID
@@ -254,8 +255,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
+ +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
### Response Parameters @@ -269,10 +270,10 @@ func main() { } ``` - - - -
ParameterTypeDescription
mid_priceDecimalMarket's mid price
best_buy_priceDecimalMarket's bet bid price
best_sell_priceDecimalMarket's bet ask price
+ + + +
ParameterTypeDescription
mid_pricecosmossdk_io_math.LegacyDecmid price of the market
best_buy_pricecosmossdk_io_math.LegacyDecbest buy price of the market
best_sell_pricecosmossdk_io_math.LegacyDecbest sell price of the market
@@ -397,10 +398,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
limitIntegerMax number of order book entries to return per sideNo
limit_cumulative_notionalDecimalLimit the number of entries to return per side based on the cumulative notionalNo
+ + + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
limituint64Yes
limit_cumulative_notionalcosmossdk_io_math.LegacyDecNo
### Response Parameters @@ -431,18 +432,19 @@ func main() { } ``` - - -
ParameterTypeDescription
buys_price_levelTrimmedLimitOrder ArrayBid side entries
sells_price_levelTrimmedLimitOrder ArrayAsk side entries
+ + + +
ParameterTypeDescription
buys_price_levelLevel array
sells_price_levelLevel array
sequint64the current orderbook sequence number

**Level** - - -
ParameterTypeDescription
pDecimalPrice (in human redable format)
qDecimalQuantity (in human redable format)
+ + +
ParameterTypeDescription
pcosmossdk_io_math.LegacyDecprice (in human readable format)
qcosmossdk_io_math.LegacyDecquantity (in human readable format)
@@ -575,9 +577,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
subaccount_idStringTrader's subaccount IDYes
+ + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
subaccount_idstringSubaccountID of the traderYes
### Response Parameters @@ -591,22 +593,22 @@ func main() { } ``` - -
ParameterTypeDescription
ordersTrimmedDerivativeLimitOrder ArrayOrders info
+ +
ParameterTypeDescription
ordersTrimmedDerivativeLimitOrder array

**TrimmedDerivativeLimitOrder** - - - - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
marginDecimalOrder margin (in human redable format)
fillableDecimalThe remaining fillable amount of the order (in human redable format)
is_buyBooleanTrue if the order is a buy order
order_hashStringThe order hash
cidStringThe client order ID provided by the creator
+ + + + + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
margincosmossdk_io_math.LegacyDecmargin of the order (in human readable format)
fillablecosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable (in human readable format)
isBuybooltrue if the order is a buy
order_hashstringthe order hash (optional)
cidstringthe client order ID (optional)
@@ -736,9 +738,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
account_addressStringTrader's account addressYes
+ + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
account_addressstringAccount address of the traderYes
### Response Parameters @@ -752,22 +754,22 @@ func main() { } ``` - -
ParameterTypeDescription
ordersTrimmedDerivativeLimitOrder ArrayOrders info
+ +
ParameterTypeDescription
ordersTrimmedDerivativeLimitOrder array

**TrimmedDerivativeLimitOrder** - - - - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
marginDecimalOrder margin (in human redable format)
fillableDecimalThe remaining fillable amount of the order (in human redable format)
is_buyBooleanTrue if the order is a buy order
order_hashStringThe order hash
cidStringThe client order ID provided by the creator
+ + + + + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
margincosmossdk_io_math.LegacyDecmargin of the order (in human readable format)
fillablecosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable (in human readable format)
isBuybooltrue if the order is a buy
order_hashstringthe order hash (optional)
cidstringthe client order ID (optional)
@@ -902,10 +904,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
subaccount_idStringTrader's subaccount IDYes
order_hashesString ArrayList of order hashes to retrieve information forYes
+ + + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
subaccount_idstringSubaccountID of the traderYes
order_hashesstring arraythe order hashesYes
### Response Parameters @@ -919,22 +921,22 @@ func main() { } ``` - -
ParameterTypeDescription
ordersTrimmedDerivativeLimitOrder ArrayOrders info
+ +
ParameterTypeDescription
ordersTrimmedDerivativeLimitOrder array

**TrimmedDerivativeLimitOrder** - - - - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
marginDecimalOrder margin (in human redable format)
fillableDecimalThe remaining fillable amount of the order (in human redable format)
is_buyBooleanTrue if the order is a buy order
order_hashStringThe order hash
cidStringThe client order ID provided by the creator
+ + + + + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
margincosmossdk_io_math.LegacyDecmargin of the order (in human readable format)
fillablecosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable (in human readable format)
isBuybooltrue if the order is a buy
order_hashstringthe order hash (optional)
cidstringthe client order ID (optional)
@@ -1067,9 +1069,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
subaccount_idStringTrader's subaccount IDYes
+ + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
subaccount_idstringSubaccountID of the traderYes
### Response Parameters @@ -1083,22 +1085,22 @@ func main() { } ``` - -
ParameterTypeDescription
ordersTrimmedDerivativeLimitOrder ArrayOrders info
+ +
ParameterTypeDescription
ordersTrimmedDerivativeLimitOrder array

**TrimmedDerivativeLimitOrder** - - - - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
marginDecimalOrder margin (in human redable format)
fillableDecimalThe remaining fillable amount of the order (in human redable format)
is_buyBooleanTrue if the order is a buy order
order_hashStringThe order hash
cidStringThe client order ID provided by the creator
+ + + + + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
margincosmossdk_io_math.LegacyDecmargin of the order (in human readable format)
fillablecosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable (in human readable format)
isBuybooltrue if the order is a buy
order_hashstringthe order hash (optional)
cidstringthe client order ID (optional)
@@ -1218,10 +1220,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
statusStringMarket statusNo
market_idsString ArrayList of market IDsNo
with_mid_price_and_tobBooleanFlag to activate/deactivate the inclusion of the markets mid price and top of the book buy and sell ordersNo
+ + + +
ParameterTypeDescriptionRequired
statusstringStatus of the market, for convenience it is set to string - not enumYes
market_idsstring arrayFilter by market IDsYes
with_mid_price_and_tobboolFlag to return the markets mid price and top of the book buy and sell orders.Yes
### Response Parameters @@ -1278,46 +1280,47 @@ func main() { } ``` - -
ParameterTypeDescription
marketsFullDerivativeMarket ArrayMarkets information
+ +
ParameterTypeDescription
marketsFullDerivativeMarket array

**FullDerivativeMarket** - - - - -
ParameterTypeDescription
marketDerivativeMarketMarket basic information
infoPerpetualMarketState or ExpiryFuturesMarketInfoSpecific information for the perpetual or expiry futures market
mark_priceDecimalThe market mark price (in human redable format)
mid_price_and_tobMidPriceAndTOBThe mid price for this market and the best ask and bid orders
+ + + +
ParameterTypeDescription
marketDerivativeMarketderivative market details
mark_pricecosmossdk_io_math.LegacyDecmark price (in human readable format)
mid_price_and_tobMidPriceAndTOBmid_price_and_tob defines the mid price for this market and the best ask and bid orders

**DerivativeMarket** - - - - - - - - - - - - - - + +
ParameterTypeDescription
tickerStringName of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset
oracle_baseStringOracle base token
oracle_quoteStringOracle quote token
oracle_typeOracleTypeThe oracle type
oracle_scale_factorIntegerThe oracle number of scale decimals
quote_denomStringCoin denom used for the quote asset
market_idStringThe market ID
initial_margin_ratioDecimalThe max initial margin ratio a position is allowed to have in the market
maintenance_margin_ratioDecimalThe max maintenance margin ratio a position is allowed to have in the market
maker_fee_rateDecimalFee percentage makers pay when trading
taker_fee_rateDecimalFee percentage takers pay when trading
relayer_fee_share_rateDecimalPercentage of the transaction fee shared with the relayer in a derivative market
is_perpetualBooleanTrue if the market is a perpetual market. False if the market is an expiry futures market
+ + + + + + + + + + + + - - - - - -
ParameterTypeDescription
tickerstringTicker for the derivative contract.
oracle_basestringOracle base currency
oracle_quotestringOracle quote currency
oracle_typetypes.OracleTypeOracle type
oracle_scale_factoruint32Scale factor for oracle prices.
quote_denomstringAddress of the quote currency denomination for the derivative contract
market_idstringUnique market ID.
initial_margin_ratiocosmossdk_io_math.LegacyDecinitial_margin_ratio defines the initial margin ratio of a derivative market
maintenance_margin_ratiocosmossdk_io_math.LegacyDecmaintenance_margin_ratio defines the maintenance margin ratio of a derivative market
maker_fee_ratecosmossdk_io_math.LegacyDecmaker_fee_rate defines the maker fee rate of a derivative market
taker_fee_ratecosmossdk_io_math.LegacyDectaker_fee_rate defines the taker fee rate of a derivative market
relayer_fee_share_ratecosmossdk_io_math.LegacyDecrelayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market
isPerpetualbooltrue if the market is a perpetual market. false if the market is an expiry futures market
statusMarketStatusStatus of the market
min_price_tick_sizeDecimalMinimum tick size that the price required for orders in the market (in human redable format)
min_quantity_tick_sizeDecimalMinimum tick size of the quantity required for orders in the market (in human redable format)
min_notionalDecimalMinimum notional (in quote asset) required for orders in the market (in human redable format)
adminStringCurrent market admin's address
admin_permissionsIntegerLevel of admin permissions (the permission number is a result of adding up all individual permissions numbers)
quote_decimalsIntegerNumber of decimals used for the quote token
+min_price_tick_sizecosmossdk_io_math.LegacyDecmin_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_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) +min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) +adminstringcurrent market admin +admin_permissionsuint32level of admin permissions +quote_decimalsuint32quote token decimals +reduce_margin_ratiocosmossdk_io_math.LegacyDecreduce_margin_ratio defines the ratio of the margin that is reduced +open_notional_capOpenNotionalCapopen_notional_cap defines the maximum open notional for the market
@@ -1354,55 +1357,79 @@ func main() {
+**OpenNotionalCap_Uncapped** + + +
ParameterTypeDescription
uncappedOpenNotionalCapUncapped
+ + +
+ +**OpenNotionalCap_Capped** + + +
ParameterTypeDescription
cappedOpenNotionalCapCapped
+ + +
+ +**OpenNotionalCapCapped** + + +
ParameterTypeDescription
valuecosmossdk_io_math.LegacyDec
+ + +
+ **PerpetualMarketState** - - -
ParameterTypeDescription
market_infoPerpetualMarketInfoPerpetual market information
funding_infoPerpetualMarketFundingMarket funding information
+ + +
ParameterTypeDescription
market_infoPerpetualMarketInfo
funding_infoPerpetualMarketFunding

**PerpetualMarketInfo** - - - - - -
ParameterTypeDescription
market_idStringThe market ID
hourly_funding_rate_capDecimalMaximum absolute value of the hourly funding rate
hourly_interest_rateDecimalThe hourly interest rate
next_funding_timestampIntegerThe next funding timestamp in seconds
funding_intervalIntegerThe next funding interval in seconds
+ + + + + +
ParameterTypeDescription
market_idstringmarket ID.
hourly_funding_rate_capcosmossdk_io_math.LegacyDechourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate
hourly_interest_ratecosmossdk_io_math.LegacyDechourly_interest_rate defines the hourly interest rate
next_funding_timestampint64next_funding_timestamp defines the next funding timestamp in seconds of a perpetual market
funding_intervalint64funding_interval defines the next funding interval in seconds of a perpetual market.

**PerpetualMarketFunding** - - - -
ParameterTypeDescription
cumulative_fundingDecimalThe market's cumulative funding
cumulative_priceDecimalThe cumulative price for the current hour up to the last timestamp (in human redable format)
last_timestampIntegerLast funding timestamp in seconds
+ + + +
ParameterTypeDescription
cumulative_fundingcosmossdk_io_math.LegacyDeccumulative_funding defines the cumulative funding of a perpetual market.
cumulative_pricecosmossdk_io_math.LegacyDeccumulative_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_timestampint64the last funding timestamp in seconds

**ExpiryFuturesMarketInfo** - - - - - -
ParameterTypeDescription
market_idStringThe market ID
expiration_timestampIntegerThe market's expiration time in seconds
twap_start_timestampIntegerDefines the start time of the TWAP calculation window
expiration_twap_start_price_cumulativeDecimalDefines the cumulative price for the start of the TWAP window (in human redable format)
settlement_priceDecimalThe settlement price (in human redable format)
+ + + + + +
ParameterTypeDescription
market_idstringmarket ID.
expiration_timestampint64expiration_timestamp defines the expiration time for a time expiry futures market.
twap_start_timestampint64expiration_twap_start_timestamp defines the start time of the TWAP calculation window
expiration_twap_start_price_cumulativecosmossdk_io_math.LegacyDecexpiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format)
settlement_pricecosmossdk_io_math.LegacyDecsettlement_price defines the settlement price for a time expiry futures market (in human readable format)

**MidPriceAndTOB** - - - -
ParameterTypeDescription
mid_priceDecimalMarket's mid price (in human redable format)
best_buy_priceDecimalMarket's best buy price (in human redable format)
best_sell_priceDecimalMarket's best sell price (in human redable format)
+ + + +
ParameterTypeDescription
mid_pricecosmossdk_io_math.LegacyDecmid price of the market (in human readable format)
best_buy_pricecosmossdk_io_math.LegacyDecbest buy price of the market (in human readable format)
best_sell_pricecosmossdk_io_math.LegacyDecbest sell price of the market (in human readable format)

@@ -1532,8 +1559,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringThe marke ID to query forYes
+ +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
### Response Parameters @@ -1583,46 +1610,47 @@ func main() { } ``` - -
ParameterTypeDescription
marketFullDerivativeMarketMarket information
+ +
ParameterTypeDescription
marketFullDerivativeMarket

**FullDerivativeMarket** - - - - -
ParameterTypeDescription
marketDerivativeMarketMarket basic information
infoPerpetualMarketState or ExpiryFuturesMarketInfoSpecific information for the perpetual or expiry futures market
mark_priceDecimalThe market mark price (in human redable format)
mid_price_and_tobMidPriceAndTOBThe mid price for this market and the best ask and bid orders
+ + + +
ParameterTypeDescription
marketDerivativeMarketderivative market details
mark_pricecosmossdk_io_math.LegacyDecmark price (in human readable format)
mid_price_and_tobMidPriceAndTOBmid_price_and_tob defines the mid price for this market and the best ask and bid orders

**DerivativeMarket** - - - - - - - - - - - - - - + +
ParameterTypeDescription
tickerStringName of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset
oracle_baseStringOracle base token
oracle_quoteStringOracle quote token
oracle_typeOracleTypeThe oracle type
oracle_scale_factorIntegerThe oracle number of scale decimals
quote_denomStringCoin denom used for the quote asset
market_idStringThe market ID
initial_margin_ratioDecimalThe max initial margin ratio a position is allowed to have in the market
maintenance_margin_ratioDecimalThe max maintenance margin ratio a position is allowed to have in the market
maker_fee_rateDecimalFee percentage makers pay when trading
taker_fee_rateDecimalFee percentage takers pay when trading
relayer_fee_share_rateDecimalPercentage of the transaction fee shared with the relayer in a derivative market
is_perpetualBooleanTrue if the market is a perpetual market. False if the market is an expiry futures market
+ + + + + + + + + + + + - - - - - -
ParameterTypeDescription
tickerstringTicker for the derivative contract.
oracle_basestringOracle base currency
oracle_quotestringOracle quote currency
oracle_typetypes.OracleTypeOracle type
oracle_scale_factoruint32Scale factor for oracle prices.
quote_denomstringAddress of the quote currency denomination for the derivative contract
market_idstringUnique market ID.
initial_margin_ratiocosmossdk_io_math.LegacyDecinitial_margin_ratio defines the initial margin ratio of a derivative market
maintenance_margin_ratiocosmossdk_io_math.LegacyDecmaintenance_margin_ratio defines the maintenance margin ratio of a derivative market
maker_fee_ratecosmossdk_io_math.LegacyDecmaker_fee_rate defines the maker fee rate of a derivative market
taker_fee_ratecosmossdk_io_math.LegacyDectaker_fee_rate defines the taker fee rate of a derivative market
relayer_fee_share_ratecosmossdk_io_math.LegacyDecrelayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market
isPerpetualbooltrue if the market is a perpetual market. false if the market is an expiry futures market
statusMarketStatusStatus of the market
min_price_tick_sizeDecimalMinimum tick size that the price required for orders in the market (in human redable format)
min_quantity_tick_sizeDecimalMinimum tick size of the quantity required for orders in the market (in human redable format)
min_notionalDecimalMinimum notional (in quote asset) required for orders in the market (in human redable format)
adminStringCurrent market admin's address
admin_permissionsIntegerLevel of admin permissions (the permission number is a result of adding up all individual permissions numbers)
quote_decimalsIntegerNumber of decimals used for the quote token
+min_price_tick_sizecosmossdk_io_math.LegacyDecmin_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_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) +min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) +adminstringcurrent market admin +admin_permissionsuint32level of admin permissions +quote_decimalsuint32quote token decimals +reduce_margin_ratiocosmossdk_io_math.LegacyDecreduce_margin_ratio defines the ratio of the margin that is reduced +open_notional_capOpenNotionalCapopen_notional_cap defines the maximum open notional for the market
@@ -1661,53 +1689,77 @@ func main() { **PerpetualMarketState** - - -
ParameterTypeDescription
market_infoPerpetualMarketInfoPerpetual market information
funding_infoPerpetualMarketFundingMarket funding information
+ + +
ParameterTypeDescription
market_infoPerpetualMarketInfo
funding_infoPerpetualMarketFunding
+ + +
+ +**OpenNotionalCap_Uncapped** + + +
ParameterTypeDescription
uncappedOpenNotionalCapUncapped
+ + +
+ +**OpenNotionalCap_Capped** + + +
ParameterTypeDescription
cappedOpenNotionalCapCapped
+ + +
+ +**OpenNotionalCapCapped** + + +
ParameterTypeDescription
valuecosmossdk_io_math.LegacyDec

**PerpetualMarketInfo** - - - - - -
ParameterTypeDescription
market_idStringThe market ID
hourly_funding_rate_capDecimalMaximum absolute value of the hourly funding rate
hourly_interest_rateDecimalThe hourly interest rate
next_funding_timestampIntegerThe next funding timestamp in seconds
funding_intervalIntegerThe next funding interval in seconds
+ + + + + +
ParameterTypeDescription
market_idstringmarket ID.
hourly_funding_rate_capcosmossdk_io_math.LegacyDechourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate
hourly_interest_ratecosmossdk_io_math.LegacyDechourly_interest_rate defines the hourly interest rate
next_funding_timestampint64next_funding_timestamp defines the next funding timestamp in seconds of a perpetual market
funding_intervalint64funding_interval defines the next funding interval in seconds of a perpetual market.

**PerpetualMarketFunding** - - - -
ParameterTypeDescription
cumulative_fundingDecimalThe market's cumulative funding
cumulative_priceDecimalThe cumulative price for the current hour up to the last timestamp (in human redable format)
last_timestampIntegerLast funding timestamp in seconds
+ + + +
ParameterTypeDescription
cumulative_fundingcosmossdk_io_math.LegacyDeccumulative_funding defines the cumulative funding of a perpetual market.
cumulative_pricecosmossdk_io_math.LegacyDeccumulative_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_timestampint64the last funding timestamp in seconds

**ExpiryFuturesMarketInfo** - - - - - -
ParameterTypeDescription
market_idStringThe market ID
expiration_timestampIntegerThe market's expiration time in seconds
twap_start_timestampIntegerDefines the start time of the TWAP calculation window
expiration_twap_start_price_cumulativeDecimalDefines the cumulative price for the start of the TWAP window (in human redable format)
settlement_priceDecimalThe settlement price (in human redable format)
+ + + + + +
ParameterTypeDescription
market_idstringmarket ID.
expiration_timestampint64expiration_timestamp defines the expiration time for a time expiry futures market.
twap_start_timestampint64expiration_twap_start_timestamp defines the start time of the TWAP calculation window
expiration_twap_start_price_cumulativecosmossdk_io_math.LegacyDecexpiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format)
settlement_pricecosmossdk_io_math.LegacyDecsettlement_price defines the settlement price for a time expiry futures market (in human readable format)

**MidPriceAndTOB** - - - -
ParameterTypeDescription
mid_priceDecimalMarket's mid price (in human redable format)
best_buy_priceDecimalMarket's best buy price (in human redable format)
best_sell_priceDecimalMarket's best sell price (in human redable format)
+ + + +
ParameterTypeDescription
mid_pricecosmossdk_io_math.LegacyDecmid price of the market (in human readable format)
best_buy_pricecosmossdk_io_math.LegacyDecbest buy price of the market (in human readable format)
best_sell_pricecosmossdk_io_math.LegacyDecbest sell price of the market (in human readable format)

@@ -1837,8 +1889,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringThe marke ID to query forYes
+ +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
### Response Parameters @@ -1851,9 +1903,9 @@ func main() { } ``` - - -
ParameterTypeDescription
addressStringThe market's address
subaccount_idStringThe market's subaccount ID
+ + +
ParameterTypeDescription
addressstringaddress for the market
subaccount_idstringsubaccountID for the market
@@ -2000,30 +2052,30 @@ No parameters } ``` - -
ParameterTypeDescription
stateDerivativePosition ArrayList of derivative positions
+ +
ParameterTypeDescription
stateDerivativePosition array

**DerivativePosition** - - - -
ParameterTypeDescription
subaccount_idStringSubaccount ID the position belongs to
market_idStringID of the position's market
positionPositionPosition information
+ + + +
ParameterTypeDescription
subaccount_idstringthe subaccount ID
market_idstringthe market ID
positionPositionthe position details

**Position** - - - - - -
ParameterTypeDescription
is_longBooleanTrue if the position is long. False if the position is short
quantityDecimalThe position's amount
entry_priceDecimalThe order execution price when the position was created
marginDecimalThe position's current margin amount
cumulative_funding_entryDecimalThe cummulative funding
+ + + + + +
ParameterTypeDescription
isLongboolTrue if the position is long. False if the position is short.
quantitycosmossdk_io_math.LegacyDecThe quantity of the position (in human readable format)
entry_pricecosmossdk_io_math.LegacyDecThe entry price of the position (in human readable format)
margincosmossdk_io_math.LegacyDecThe margin of the position (in human readable format)
cumulative_funding_entrycosmossdk_io_math.LegacyDecThe cumulative funding
@@ -2321,8 +2373,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
subaccount_idStringThe subaccount ID to query forYes
+ +
ParameterTypeDescriptionRequired
subaccount_idstringthe subaccount IDYes
### Response Parameters @@ -2388,30 +2440,30 @@ func main() { } ``` - -
ParameterTypeDescription
stateDerivativePosition ArrayList of derivative positions
+ +
ParameterTypeDescription
stateDerivativePosition array

**DerivativePosition** - - - -
ParameterTypeDescription
subaccount_idStringSubaccount ID the position belongs to
market_idStringID of the position's market
positionPositionPosition information
+ + + +
ParameterTypeDescription
subaccount_idstringthe subaccount ID
market_idstringthe market ID
positionPositionthe position details

**Position** - - - - - -
ParameterTypeDescription
is_longBooleanTrue if the position is long. False if the position is short
quantityDecimalThe position's amount
entry_priceDecimalThe order execution price when the position was created
marginDecimalThe position's current margin amount
cumulative_funding_entryDecimalThe cummulative funding
+ + + + + +
ParameterTypeDescription
isLongboolTrue if the position is long. False if the position is short.
quantitycosmossdk_io_math.LegacyDecThe quantity of the position (in human readable format)
entry_pricecosmossdk_io_math.LegacyDecThe entry price of the position (in human readable format)
margincosmossdk_io_math.LegacyDecThe margin of the position (in human readable format)
cumulative_funding_entrycosmossdk_io_math.LegacyDecThe cumulative funding
@@ -2545,9 +2597,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
subaccount_idStringThe subaccount ID to query forYes
market_idStringThe market ID to query forYes
+ + +
ParameterTypeDescriptionRequired
subaccount_idstringthe subaccount IDYes
market_idstringthe market IDYes
### Response Parameters @@ -2565,20 +2617,20 @@ func main() { } ``` - -
ParameterTypeDescription
statePositionPosition information
+ +
ParameterTypeDescription
statePosition

**Position** - - - - - -
ParameterTypeDescription
is_longBooleanTrue if the position is long. False if the position is short
quantityDecimalThe position's amount
entry_priceDecimalThe order execution price when the position was created
marginDecimalThe position's current margin amount
cumulative_funding_entryDecimalThe cummulative funding
+ + + + + +
ParameterTypeDescription
isLongboolTrue if the position is long. False if the position is short.
quantitycosmossdk_io_math.LegacyDecThe quantity of the position (in human readable format)
entry_pricecosmossdk_io_math.LegacyDecThe entry price of the position (in human readable format)
margincosmossdk_io_math.LegacyDecThe margin of the position (in human readable format)
cumulative_funding_entrycosmossdk_io_math.LegacyDecThe cumulative funding
@@ -2712,9 +2764,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
subaccount_idStringThe subaccount ID to query forYes
market_idStringThe market ID to query forYes
+ + +
ParameterTypeDescriptionRequired
subaccount_idstringthe subaccount IDYes
market_idstringthe market IDYes
### Response Parameters @@ -2731,19 +2783,19 @@ func main() { } ``` - -
ParameterTypeDescription
stateEffectivePositionEffective position information
+ +
ParameterTypeDescription
stateEffectivePosition

**EffectivePosition** - - - - -
ParameterTypeDescription
is_effective_position_longBooleanTrue if the position is long. False if the position is short
quantityDecimalThe position's amount (in human redable format)
entry_priceDecimalThe order execution price when the position was created (in human redable format)
effective_marginDecimalThe position's current margin amount (in human redable format)
+ + + + +
ParameterTypeDescription
is_longboolwhether the position is long or short
quantitycosmossdk_io_math.LegacyDecthe quantity of the position (in human readable format)
entry_pricecosmossdk_io_math.LegacyDecthe entry price of the position (in human readable format)
effective_margincosmossdk_io_math.LegacyDecthe effective margin of the position (in human readable format)
@@ -2860,8 +2912,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringThe market ID to query forYes
+ +
ParameterTypeDescriptionRequired
market_idstringYes
### Response Parameters @@ -2879,20 +2931,20 @@ func main() { } ``` - -
ParameterTypeDescription
infoPerpetualMarketInfoPerpetual market information
+ +
ParameterTypeDescription
infoPerpetualMarketInfo

**PerpetualMarketInfo** - - - - - -
ParameterTypeDescription
market_idStringThe market ID
hourly_funding_rate_capDecimalMaximum absolute value of the hourly funding rate
hourly_interest_rateDecimalThe hourly interest rate
next_funding_timestampIntegerThe next funding timestamp in seconds
funding_intervalIntegerThe next funding interval in seconds
+ + + + + +
ParameterTypeDescription
market_idstringmarket ID.
hourly_funding_rate_capcosmossdk_io_math.LegacyDechourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate
hourly_interest_ratecosmossdk_io_math.LegacyDechourly_interest_rate defines the hourly interest rate
next_funding_timestampint64next_funding_timestamp defines the next funding timestamp in seconds of a perpetual market
funding_intervalint64funding_interval defines the next funding interval in seconds of a perpetual market.
@@ -3009,8 +3061,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringThe market ID to query forYes
+ +
ParameterTypeDescriptionRequired
market_idstringYes
### Response Parameters @@ -3020,20 +3072,20 @@ func main() { ``` - -
ParameterTypeDescription
infoExpiryFuturesMarketInfoExpiry futures market information
+ +
ParameterTypeDescription
infoExpiryFuturesMarketInfo

**ExpiryFuturesMarketInfo** - - - - - -
ParameterTypeDescription
market_idStringThe market ID
expiration_timestampIntegerThe market's expiration time in seconds
twap_start_timestampIntegerDefines the start time of the TWAP calculation window
expiration_twap_start_price_cumulativeDecimalDefines the cumulative price for the start of the TWAP window (in human redable format)
settlement_priceDecimalThe settlement price (in human redable format)
+ + + + + +
ParameterTypeDescription
market_idstringmarket ID.
expiration_timestampint64expiration_timestamp defines the expiration time for a time expiry futures market.
twap_start_timestampint64expiration_twap_start_timestamp defines the start time of the TWAP calculation window
expiration_twap_start_price_cumulativecosmossdk_io_math.LegacyDecexpiration_twap_start_price_cumulative defines the cumulative price for the start of the TWAP window (in human readable format)
settlement_pricecosmossdk_io_math.LegacyDecsettlement_price defines the settlement price for a time expiry futures market (in human readable format)
@@ -3150,8 +3202,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringThe market ID to query forYes
+ +
ParameterTypeDescriptionRequired
market_idstringYes
### Response Parameters @@ -3167,18 +3219,18 @@ func main() { } ``` - -
ParameterTypeDescription
statePerpetualMarketFundingMarket funding information
+ +
ParameterTypeDescription
statePerpetualMarketFunding

**PerpetualMarketFunding** - - - -
ParameterTypeDescription
cumulative_fundingDecimalThe market's cumulative funding
cumulative_priceDecimalThe cumulative price for the current hour up to the last timestamp (in human redable format)
last_timestampIntegerLast funding timestamp in seconds
+ + + +
ParameterTypeDescription
cumulative_fundingcosmossdk_io_math.LegacyDeccumulative_funding defines the cumulative funding of a perpetual market.
cumulative_pricecosmossdk_io_math.LegacyDeccumulative_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_timestampint64the last funding timestamp in seconds
@@ -3417,6 +3469,7 @@ async def main() -> None: min_price_tick_size=Decimal("0.001"), min_quantity_tick_size=Decimal("0.01"), min_notional=Decimal("1"), + open_notional_cap=composer.uncapped_open_notional_cap(), ) # broadcast the transaction @@ -3523,6 +3576,9 @@ func main() { ReduceMarginRatio: math.LegacyMustNewDecFromStr("0.3"), MinPriceTickSize: minPriceTickSize, MinQuantityTickSize: minQuantityTickSize, + OpenNotionalCap: exchangev2types.OpenNotionalCap{ + Cap: &exchangev2types.OpenNotionalCap_Uncapped{}, + }, } // AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg @@ -3557,7 +3613,8 @@ func main() { min_price_tick_sizecosmossdk_io_math.LegacyDecmin_price_tick_size defines the minimum tick size of the order's price and margin (in human readable format)Yes min_quantity_tick_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the order's quantity (in human readable format)Yes min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)Yes -reduce_margin_ratiocosmossdk_io_math.LegacyDecreduce_margin_ratio defines the ratio of the margin that is reducedYes +reduce_margin_ratiocosmossdk_io_math.LegacyDecreduce_margin_ratio defines the ratio of the margin that is reducedYes +open_notional_capOpenNotionalCapopen_notional_cap defines the cap on the open notionalYes
@@ -3580,6 +3637,30 @@ func main() { 12Stork +
+ +**OpenNotionalCap_Uncapped** + + +
ParameterTypeDescription
uncappedOpenNotionalCapUncapped
+ + +
+ +**OpenNotionalCap_Capped** + + +
ParameterTypeDescription
cappedOpenNotionalCapCapped
+ + +
+ +**OpenNotionalCapCapped** + + +
ParameterTypeDescription
valuecosmossdk_io_math.LegacyDec
+ + ### Response Parameters > Response Example: @@ -3692,6 +3773,7 @@ async def main() -> None: min_price_tick_size=Decimal("0.001"), min_quantity_tick_size=Decimal("0.01"), min_notional=Decimal("1"), + open_notional_cap=composer.uncapped_open_notional_cap(), ) # broadcast the transaction @@ -3799,6 +3881,9 @@ func main() { ReduceMarginRatio: math.LegacyMustNewDecFromStr("0.3"), MinPriceTickSize: minPriceTickSize, MinQuantityTickSize: minQuantityTickSize, + OpenNotionalCap: exchangev2types.OpenNotionalCap{ + Cap: &exchangev2types.OpenNotionalCap_Uncapped{}, + }, } // AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg @@ -3835,7 +3920,8 @@ func main() { min_price_tick_sizecosmossdk_io_math.LegacyDecmin_price_tick_size defines the minimum tick size of the order's price and marginYes min_quantity_tick_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the order's quantityYes min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the marketYes -reduce_margin_ratiocosmossdk_io_math.LegacyDecreduce_margin_ratio defines the ratio of the margin that is reducedYes +reduce_margin_ratiocosmossdk_io_math.LegacyDecreduce_margin_ratio defines the ratio of the margin that is reducedYes +open_notional_capOpenNotionalCapopen_notional_cap defines the cap on the open notionalYes
@@ -3858,6 +3944,30 @@ func main() { 12Stork +
+ +**OpenNotionalCap_Uncapped** + + +
ParameterTypeDescription
uncappedOpenNotionalCapUncapped
+ + +
+ +**OpenNotionalCap_Capped** + + +
ParameterTypeDescription
cappedOpenNotionalCapCapped
+ + +
+ +**OpenNotionalCapCapped** + + +
ParameterTypeDescription
valuecosmossdk_io_math.LegacyDec
+ + ### Response Parameters > Response Example: @@ -4904,6 +5014,21 @@ async def main() -> None: ), ] + derivative_market_orders_to_create = [ + composer.derivative_order( + market_id=derivative_market_id_create, + subaccount_id=subaccount_id, + fee_recipient=fee_recipient, + price=Decimal(25100), + quantity=Decimal(0.1), + margin=composer.calculate_margin( + quantity=Decimal(0.1), price=Decimal(25100), leverage=Decimal(1), is_reduce_only=False + ), + order_type="BUY", + cid=str(uuid.uuid4()), + ), + ] + spot_orders_to_create = [ composer.spot_order( market_id=spot_market_id_create, @@ -4925,6 +5050,18 @@ async def main() -> None: ), ] + spot_market_orders_to_create = [ + composer.spot_order( + market_id=spot_market_id_create, + subaccount_id=subaccount_id, + fee_recipient=fee_recipient, + price=Decimal("3.5"), + quantity=Decimal("1"), + order_type="BUY", + cid=str(uuid.uuid4()), + ), + ] + # prepare tx msg msg = composer.msg_batch_update_orders( sender=address.to_acc_bech32(), @@ -4932,6 +5069,8 @@ async def main() -> None: spot_orders_to_create=spot_orders_to_create, derivative_orders_to_cancel=derivative_orders_to_cancel, spot_orders_to_cancel=spot_orders_to_cancel, + spot_market_orders_to_create=spot_market_orders_to_create, + derivative_market_orders_to_create=derivative_market_orders_to_create, ) # broadcast the transaction @@ -5043,6 +5182,18 @@ func main() { }, ) + spot_market_order := chainClient.CreateSpotOrderV2( + defaultSubaccountID, + &chainclient.SpotOrderData{ + OrderType: int32(exchangev2types.OrderType_BUY), //BUY SELL + Quantity: decimal.NewFromFloat(0.1), + Price: decimal.NewFromFloat(22), + FeeRecipient: senderAddress.String(), + MarketId: smarketId, + Cid: uuid.NewString(), + }, + ) + dmarketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce" damount := decimal.NewFromFloat(0.01) dprice := decimal.RequireFromString("31000") //31,000 @@ -5063,6 +5214,20 @@ func main() { }, ) + derivative_market_order := chainClient.CreateDerivativeOrderV2( + defaultSubaccountID, + &chainclient.DerivativeOrderData{ + OrderType: int32(exchangev2types.OrderType_BUY), //BUY SELL + Quantity: decimal.NewFromFloat(0.01), + Price: decimal.RequireFromString("33000"), + Leverage: decimal.RequireFromString("2"), + FeeRecipient: senderAddress.String(), + MarketId: dmarketId, + IsReduceOnly: false, + Cid: uuid.NewString(), + }, + ) + msg := exchangev2types.MsgBatchUpdateOrders{ Sender: senderAddress.String(), SubaccountId: defaultSubaccountID.Hex(), @@ -5070,6 +5235,8 @@ func main() { DerivativeOrdersToCreate: []*exchangev2types.DerivativeOrder{derivative_order}, SpotMarketIdsToCancelAll: smarketIds, DerivativeMarketIdsToCancelAll: dmarketIds, + SpotMarketOrdersToCreate: []*exchangev2types.SpotOrder{spot_market_order}, + DerivativeMarketOrdersToCreate: []*exchangev2types.DerivativeOrder{derivative_market_order}, } // AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg @@ -5101,7 +5268,10 @@ func main() { derivative_orders_to_createDerivativeOrder arraythe derivative orders to createNo binary_options_orders_to_cancelOrderData arraythe binary options orders to cancelNo binary_options_market_ids_to_cancel_allstring arraythe market IDs to cancel all binary options orders for (optional)No -binary_options_orders_to_createDerivativeOrder arraythe binary options orders to createNo +binary_options_orders_to_createDerivativeOrder arraythe binary options orders to createNo +spot_market_orders_to_createSpotOrder arraythe spot market orders to createNo +derivative_market_orders_to_createDerivativeOrder arraythe derivative market orders to createNo +binary_options_market_orders_to_createDerivativeOrder arraythe binary options market orders to createNo
@@ -5516,7 +5686,7 @@ func main() { 8SELL_PO 9BUY_ATOMIC 10SELL_ATOMIC -| + ### Response Parameters > Response Example: @@ -6114,6 +6284,7 @@ async def main() -> None: new_initial_margin_ratio=Decimal("0.40"), new_maintenance_margin_ratio=Decimal("0.085"), new_reduce_margin_ratio=Decimal("3.5"), + new_open_notional_cap=composer.uncapped_open_notional_cap(), ) # broadcast the transaction @@ -6215,6 +6386,13 @@ func main() { NewInitialMarginRatio: math.LegacyMustNewDecFromStr("0.4"), NewMaintenanceMarginRatio: math.LegacyMustNewDecFromStr("0.085"), NewReduceMarginRatio: math.LegacyMustNewDecFromStr("0.3"), + NewOpenNotionalCap: exchangev2types.OpenNotionalCap{ + Cap: &exchangev2types.OpenNotionalCap_Capped{ + Capped: &exchangev2types.OpenNotionalCapCapped{ + Value: math.LegacyMustNewDecFromStr("1000"), + }, + }, + }, } // AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg @@ -6244,7 +6422,32 @@ func main() { new_min_notionalcosmossdk_io_math.LegacyDec(optional) updated min notional (in human readable format)No new_initial_margin_ratiocosmossdk_io_math.LegacyDec(optional) updated value for initial_margin_ratioNo new_maintenance_margin_ratiocosmossdk_io_math.LegacyDec(optional) updated value for maintenance_margin_ratioNo -new_reduce_margin_ratiocosmossdk_io_math.LegacyDec(optional) updated value for reduce_margin_ratioNo +new_reduce_margin_ratiocosmossdk_io_math.LegacyDec(optional) updated value for reduce_margin_ratioNo +new_open_notional_capOpenNotionalCap(optional) updated value for open_notional_capNo + + +
+ +**OpenNotionalCap_Uncapped** + + +
ParameterTypeDescription
uncappedOpenNotionalCapUncapped
+ + +
+ +**OpenNotionalCap_Capped** + + +
ParameterTypeDescription
cappedOpenNotionalCapCapped
+ + +
+ +**OpenNotionalCapCapped** + + +
ParameterTypeDescription
valuecosmossdk_io_math.LegacyDec
### Response Parameters diff --git a/source/includes/_derivativesrpc.md b/source/includes/_derivativesrpc.md index 7f681f86..d17b98bd 100644 --- a/source/includes/_derivativesrpc.md +++ b/source/includes/_derivativesrpc.md @@ -70,10 +70,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ------------------------- | -------- | -| market_id | String | ID of the market to fetch | Yes | - + +
ParameterTypeDescriptionRequired
market_idstringMarketId of the market we want to fetchYes
+ ### Response Parameters @@ -165,72 +164,83 @@ func main() { } ``` -| Parameter | Type | Description | -| --------- | -------------------- | ----------------------------------------- | -| market | DerivativeMarketInfo | Info about a particular derivative market | + +
ParameterTypeDescription
marketDerivativeMarketInfoInfo about particular derivative market
+ **DerivativeMarketInfo** -| Parameter | Type | Description | -| -------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------- | -| oracle_quote | String | Oracle quote currency | -| oracle_type | String | Oracle Type | -| quote_denom | String | Coin denom used for the quote asset | -| is_perpetual | Boolean | True if the market is a perpetual swap market | -| maker_fee_rate | String | Defines the fee percentage makers pay (or receive, if negative) in quote asset when trading | -| min_price_tick_size | String | Defines the minimum required tick size for the order's price | -| min_quantity_tick_size | String | Defines the minimum required tick size for the order's quantity | -| oracle_scale_factor | Integer | Scaling multiple to scale oracle prices to the correct number of decimals | -| taker_fee_rate | String | Defines the fee percentage takers pay (in quote asset) when trading | -| expiry_futures_market_info | ExpiryFuturesMarketInfo | Info about expiry futures market | -| initial_margin_ratio | String | The initial margin ratio of the derivative market | -| market_status | String | The status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | -| service_provider_fee | String | Percentage of the transaction fee shared with the service provider | -| oracle_base | String | Oracle base currency | -| perpetual_market_funding | PerpetualMarketFunding | PerpetualMarketFunding object | -| perpetual_market_info | PerpetualMarketInfo | Information about the perpetual market | -| ticker | String | The name of the pair in format AAA/BBB, where AAA is the base asset and BBB is the quote asset | -| maintenance_margin_ratio | String | The maintenance margin ratio of the derivative market | -| market_id | String | The market ID | -| quoteTokenMeta | TokenMeta | Token metadata for quote asset, only for Ethereum-based assets | -| min_notional | String | Defines the minimum required notional for an order to be accepted | - -**ExpiryFuturesMarketInfo** + + + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
market_idstringDerivativeMarket ID is crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote))) for perpetual markets and crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote + strconv.Itoa(int(expiry))))) for expiry futures markets
market_statusstringThe status of the market
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
oracle_basestringOracle base currency
oracle_quotestringOracle quote currency
oracle_typestringOracle Type
oracle_scale_factoruint32OracleScaleFactor
initial_margin_ratiostringDefines the initial margin ratio of a derivative market
maintenance_margin_ratiostringDefines the maintenance margin ratio of a derivative market
quote_denomstringCoin denom used for the quote asset.
quote_token_metaTokenMetaToken metadata for quote asset
maker_fee_ratestringDefines the fee percentage makers pay when trading (in quote asset)
taker_fee_ratestringDefines the fee percentage takers pay when trading (in quote asset)
service_provider_feestringPercentage of the transaction fee shared with the service provider
is_perpetualboolTrue if the market is a perpetual swap market
min_price_tick_sizestringDefines the minimum required tick size for the order's price
min_quantity_tick_sizestringDefines the minimum required tick size for the order's quantity
perpetual_market_infoPerpetualMarketInfo
perpetual_market_fundingPerpetualMarketFunding
expiry_futures_market_infoExpiryFuturesMarketInfo
min_notionalstringMinimum notional value for the order
reduce_margin_ratiostringDefines the reduce margin ratio of a derivative market
open_notional_capOpenNotionalCapThe open notional cap of the market, if any
+ -| Parameter | Type | Description | -| -------------------- | ------- | ---------------------------------------------------------------------------- | -| expiration_timestamp | Integer | Defines the expiration time for a time expiry futures market in UNIX seconds | -| settlement_price | String | Defines the settlement price for a time expiry futures market | +
-**PerpetualMarketFunding** +**TokenMeta** -| Parameter | Type | Description | -| ------------------ | ------- | -------------------------------------------------------------------------- | -| cumulative_funding | String | Defines the cumulative funding of a perpetual market | -| cumulative_price | String | Defines the cumulative price for the current hour up to the last timestamp | -| last_timestamp | Integer | Defines the last funding timestamp in UNIX seconds | + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ +
**PerpetualMarketInfo** -| Parameter | Type | Description | -| ----------------------- | ------- | --------------------------------------------------------------------- | -| hourly_funding_rate_cap | String | Defines the default maximum absolute value of the hourly funding rate | -| hourly_interest_rate | String | Defines the hourly interest rate of the perpetual market | -| next_funding_timestamp | Integer | Defines the next funding timestamp in UNIX seconds | -| funding_interval | Integer | Defines the funding interval in seconds | + + + + +
ParameterTypeDescription
hourly_funding_rate_capstringDefines the default maximum absolute value of the hourly funding rate of the perpetual market.
hourly_interest_ratestringDefines the hourly interest rate of the perpetual market.
next_funding_timestampint64Defines the next funding timestamp in seconds of a perpetual market in UNIX seconds.
funding_intervalint64Defines the funding interval in seconds of a perpetual market in seconds.
+ +
-**TokenMeta** +**PerpetualMarketFunding** + + + + + +
ParameterTypeDescription
cumulative_fundingstringDefines the cumulative funding of a perpetual market.
cumulative_pricestringDefines defines the cumulative price for the current hour up to the last timestamp.
last_timestampint64Defines the last funding timestamp in seconds of a perpetual market in UNIX seconds.
last_funding_ratestringDefines the last funding rate of a perpetual market.
+ + +
+ +**ExpiryFuturesMarketInfo** + + + +
ParameterTypeDescription
expiration_timestampint64Defines the expiration time for a time expiry futures market in UNIX seconds.
settlement_pricestringDefines the settlement price for a time expiry futures market.
+ -| Parameter | Type | Description | -| --------- | ------- | ----------------------------------------------- | -| address | String | Token's Ethereum contract address | -| decimals | Integer | Token decimals | -| logo | String | URL to the logo image | -| name | String | Token full name | -| symbol | String | Token symbol short name | -| updatedAt | Integer | Token metadata fetched timestamp in UNIX millis | +
## Markets @@ -311,11 +321,11 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------------- | ------------ | ------------------------------------------------------------------------------------------------------ | -------- | -| market_statuses | String Array | Filter by market status (Should be any of: ["active", "paused", "suspended", "demolished", "expired"]) | No | -| quote_denom | String | Filter by the Coin denomination of the quote currency | No | - + + + +
ParameterTypeDescriptionRequired
market_statusstringFilter by market statusYes
quote_denomstringFilter by the Coin denomination of the quote currencyYes
market_statusesstring arrayYes
+ ### Response Parameters @@ -478,72 +488,83 @@ func main() { } ``` -| Parameter | Type | Description | -| --------- | -------------------------- | ---------------------------------------------- | -| markets | DerivativeMarketInfo Array | List of derivative markets and associated info | + +
ParameterTypeDescription
marketsDerivativeMarketInfo arrayDerivative Markets list
+ + +
**DerivativeMarketInfo** -| Parameter | Type | Description | -| -------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------- | -| oracle_quote | String | Oracle quote currency | -| oracle_type | String | Oracle Type | -| quote_denom | String | Coin denom used for the quote asset | -| is_perpetual | Boolean | True if the market is a perpetual swap market | -| maker_fee_rate | String | Defines the fee percentage makers pay (or receive, if negative) in quote asset when trading | -| min_price_tick_size | String | Defines the minimum required tick size for the order's price | -| min_quantity_tick_size | String | Defines the minimum required tick size for the order's quantity | -| oracle_scale_factor | Integer | Scaling multiple to scale oracle prices to the correct number of decimals | -| taker_fee_rate | String | Defines the fee percentage takers pay (in quote asset) when trading | -| expiry_futures_market_info | ExpiryFuturesMarketInfo | Info about expiry futures market | -| initial_margin_ratio | String | The initial margin ratio of the derivative market | -| market_status | String | The status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | -| service_provider_fee | String | Percentage of the transaction fee shared with the service provider | -| oracle_base | String | Oracle base currency | -| perpetual_market_funding | PerpetualMarketFunding | PerpetualMarketFunding object | -| perpetual_market_info | PerpetualMarketInfo | Information about the perpetual market | -| ticker | String | The name of the pair in format AAA/BBB, where AAA is the base asset and BBB is the quote asset | -| maintenance_margin_ratio | String | The maintenance margin ratio of the derivative market | -| market_id | String | The market ID | -| quoteTokenMeta | TokenMeta | Token metadata for quote asset, only for Ethereum-based assets | -| min_notional | String | Defines the minimum required notional for an order to be accepted | + + + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
market_idstringDerivativeMarket ID is crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote))) for perpetual markets and crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote + strconv.Itoa(int(expiry))))) for expiry futures markets
market_statusstringThe status of the market
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
oracle_basestringOracle base currency
oracle_quotestringOracle quote currency
oracle_typestringOracle Type
oracle_scale_factoruint32OracleScaleFactor
initial_margin_ratiostringDefines the initial margin ratio of a derivative market
maintenance_margin_ratiostringDefines the maintenance margin ratio of a derivative market
quote_denomstringCoin denom used for the quote asset.
quote_token_metaTokenMetaToken metadata for quote asset
maker_fee_ratestringDefines the fee percentage makers pay when trading (in quote asset)
taker_fee_ratestringDefines the fee percentage takers pay when trading (in quote asset)
service_provider_feestringPercentage of the transaction fee shared with the service provider
is_perpetualboolTrue if the market is a perpetual swap market
min_price_tick_sizestringDefines the minimum required tick size for the order's price
min_quantity_tick_sizestringDefines the minimum required tick size for the order's quantity
perpetual_market_infoPerpetualMarketInfo
perpetual_market_fundingPerpetualMarketFunding
expiry_futures_market_infoExpiryFuturesMarketInfo
min_notionalstringMinimum notional value for the order
reduce_margin_ratiostringDefines the reduce margin ratio of a derivative market
open_notional_capOpenNotionalCapThe open notional cap of the market, if any
+ -**ExpiryFuturesMarketInfo** +
+ +**PerpetualMarketInfo** -| Parameter | Type | Description | -| -------------------- | ------- | ---------------------------------------------------------------------------- | -| expiration_timestamp | Integer | Defines the expiration time for a time expiry futures market in UNIX seconds | -| settlement_price | String | Defines the settlement price for a time expiry futures market | + + + + +
ParameterTypeDescription
hourly_funding_rate_capstringDefines the default maximum absolute value of the hourly funding rate of the perpetual market.
hourly_interest_ratestringDefines the hourly interest rate of the perpetual market.
next_funding_timestampint64Defines the next funding timestamp in seconds of a perpetual market in UNIX seconds.
funding_intervalint64Defines the funding interval in seconds of a perpetual market in seconds.
+ + +
**PerpetualMarketFunding** -| Parameter | Type | Description | -| ------------------ | ------- | -------------------------------------------------------------------------- | -| cumulative_funding | String | Defines the cumulative funding of a perpetual market | -| cumulative_price | String | Defines the cumulative price for the current hour up to the last timestamp | -| last_timestamp | Integer | Defines the last funding timestamp in UNIX seconds | + + + + +
ParameterTypeDescription
cumulative_fundingstringDefines the cumulative funding of a perpetual market.
cumulative_pricestringDefines defines the cumulative price for the current hour up to the last timestamp.
last_timestampint64Defines the last funding timestamp in seconds of a perpetual market in UNIX seconds.
last_funding_ratestringDefines the last funding rate of a perpetual market.
+ +
-**PerpetualMarketInfo** +**ExpiryFuturesMarketInfo** -| Parameter | Type | Description | -| ----------------------- | ------- | --------------------------------------------------------------------- | -| hourly_funding_rate_cap | String | Defines the default maximum absolute value of the hourly funding rate | -| hourly_interest_rate | String | Defines the hourly interest rate of the perpetual market | -| next_funding_timestamp | Integer | Defines the next funding timestamp in UNIX seconds | -| funding_interval | Integer | Defines the funding interval in seconds | + + +
ParameterTypeDescription
expiration_timestampint64Defines the expiration time for a time expiry futures market in UNIX seconds.
settlement_pricestringDefines the settlement price for a time expiry futures market.
+ +
**TokenMeta** -| Parameter | Type | Description | -| --------- | ------- | ----------------------------------------------- | -| address | String | Token's Ethereum contract address | -| decimals | Integer | Token decimals | -| logo | String | URL to the logo image | -| name | String | Token full name | -| symbol | String | Token symbol short name | -| updatedAt | Integer | Token metadata fetched timestamp in UNIX millis | + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ ## StreamMarkets @@ -649,12 +670,10 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | ------------ | ---------------------------------------------------------------------------------------------------- | -------- | -| market_ids | String Array | List of market IDs for updates streaming, empty means 'ALL' derivative markets | No | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + +
ParameterTypeDescriptionRequired
market_idsstring arrayList of market IDs for updates streaming, empty means 'ALL' derivative marketsYes
+ + ### Response Parameters > Streaming Response Example: @@ -749,74 +768,85 @@ func main() { } ``` -| Parameter | Type | Description | -| -------------- | -------------------- | --------------------------------------------------------------------------------------- | -| market | DerivativeMarketInfo | Info about a particular derivative market | -| operation_type | String | Update type (Should be one of: ["insert", "delete", "replace", "update", "invalidate"]) | -| timestamp | Integer | Operation timestamp in UNIX millis | + + + +
ParameterTypeDescription
marketDerivativeMarketInfoInfo about particular derivative market
operation_typestringUpdate type
timestampint64Operation timestamp in UNIX millis.
+ + +
**DerivativeMarketInfo** -| Parameter | Type | Description | -| -------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------- | -| oracle_quote | String | Oracle quote currency | -| oracle_type | String | Oracle Type | -| quote_denom | String | Coin denom used for the quote asset | -| is_perpetual | Boolean | True if the market is a perpetual swap market | -| maker_fee_rate | String | Defines the fee percentage makers pay (or receive, if negative) in quote asset when trading | -| min_price_tick_size | String | Defines the minimum required tick size for the order's price | -| min_quantity_tick_size | String | Defines the minimum required tick size for the order's quantity | -| oracle_scale_factor | Integer | Scaling multiple to scale oracle prices to the correct number of decimals | -| taker_fee_rate | String | Defines the fee percentage takers pay (in quote asset) when trading | -| expiry_futures_market_info | ExpiryFuturesMarketInfo | Info about expiry futures market | -| initial_margin_ratio | String | The initial margin ratio of the derivative market | -| market_status | String | The status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | -| service_provider_fee | String | Percentage of the transaction fee shared with the service provider | -| oracle_base | String | Oracle base currency | -| perpetual_market_funding | PerpetualMarketFunding | PerpetualMarketFunding object | -| perpetual_market_info | PerpetualMarketInfo | Information about the perpetual market | -| ticker | String | The name of the pair in format AAA/BBB, where AAA is the base asset and BBB is the quote asset | -| maintenance_margin_ratio | String | The maintenance margin ratio of the derivative market | -| market_id | String | The market ID | -| quoteTokenMeta | TokenMeta | Token metadata for quote asset, only for Ethereum-based assets | -| min_notional | String | Defines the minimum required notional for an order to be accepted | + + + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
market_idstringDerivativeMarket ID is crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote))) for perpetual markets and crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote + strconv.Itoa(int(expiry))))) for expiry futures markets
market_statusstringThe status of the market
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
oracle_basestringOracle base currency
oracle_quotestringOracle quote currency
oracle_typestringOracle Type
oracle_scale_factoruint32OracleScaleFactor
initial_margin_ratiostringDefines the initial margin ratio of a derivative market
maintenance_margin_ratiostringDefines the maintenance margin ratio of a derivative market
quote_denomstringCoin denom used for the quote asset.
quote_token_metaTokenMetaToken metadata for quote asset
maker_fee_ratestringDefines the fee percentage makers pay when trading (in quote asset)
taker_fee_ratestringDefines the fee percentage takers pay when trading (in quote asset)
service_provider_feestringPercentage of the transaction fee shared with the service provider
is_perpetualboolTrue if the market is a perpetual swap market
min_price_tick_sizestringDefines the minimum required tick size for the order's price
min_quantity_tick_sizestringDefines the minimum required tick size for the order's quantity
perpetual_market_infoPerpetualMarketInfo
perpetual_market_fundingPerpetualMarketFunding
expiry_futures_market_infoExpiryFuturesMarketInfo
min_notionalstringMinimum notional value for the order
reduce_margin_ratiostringDefines the reduce margin ratio of a derivative market
open_notional_capOpenNotionalCapThe open notional cap of the market, if any
+ -**ExpiryFuturesMarketInfo** +
-| Parameter | Type | Description | -| -------------------- | ------- | ---------------------------------------------------------------------------- | -| expiration_timestamp | Integer | Defines the expiration time for a time expiry futures market in UNIX seconds | -| settlement_price | String | Defines the settlement price for a time expiry futures market | +**PerpetualMarketInfo** + + + + + +
ParameterTypeDescription
hourly_funding_rate_capstringDefines the default maximum absolute value of the hourly funding rate of the perpetual market.
hourly_interest_ratestringDefines the hourly interest rate of the perpetual market.
next_funding_timestampint64Defines the next funding timestamp in seconds of a perpetual market in UNIX seconds.
funding_intervalint64Defines the funding interval in seconds of a perpetual market in seconds.
+ + +
**PerpetualMarketFunding** -| Parameter | Type | Description | -| ------------------ | ------- | -------------------------------------------------------------------------- | -| cumulative_funding | String | Defines the cumulative funding of a perpetual market | -| cumulative_price | String | Defines the cumulative price for the current hour up to the last timestamp | -| last_timestamp | Integer | Defines the last funding timestamp in UNIX seconds | + + + + +
ParameterTypeDescription
cumulative_fundingstringDefines the cumulative funding of a perpetual market.
cumulative_pricestringDefines defines the cumulative price for the current hour up to the last timestamp.
last_timestampint64Defines the last funding timestamp in seconds of a perpetual market in UNIX seconds.
last_funding_ratestringDefines the last funding rate of a perpetual market.
+ +
-**PerpetualMarketInfo** +**ExpiryFuturesMarketInfo** -| Parameter | Type | Description | -| ----------------------- | ------- | --------------------------------------------------------------------- | -| hourly_funding_rate_cap | String | Defines the default maximum absolute value of the hourly funding rate | -| hourly_interest_rate | String | Defines the hourly interest rate of the perpetual market | -| next_funding_timestamp | Integer | Defines the next funding timestamp in UNIX seconds | -| funding_interval | Integer | Defines the funding interval in seconds | + + +
ParameterTypeDescription
expiration_timestampint64Defines the expiration time for a time expiry futures market in UNIX seconds.
settlement_pricestringDefines the settlement price for a time expiry futures market.
+ +
**TokenMeta** -| Parameter | Type | Description | -| --------- | ------- | ----------------------------------------------- | -| address | String | Token's Ethereum contract address | -| decimals | Integer | Token decimals | -| logo | String | URL to the logo image | -| name | String | Token full name | -| symbol | String | Token symbol short name | -| updatedAt | Integer | Token metadata fetched timestamp in UNIX millis | + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ ## OrdersHistory @@ -912,19 +942,24 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -------- | -| subaccount_id | String | Filter by subaccount ID | No | -| market_ids | String Array | Filter by multiple market IDs | No | -| order_types | String Array | The order types to be included (Should be any of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | No | -| direction | String | Filter by order direction (Should be one of: ["buy", "sell"]) | No | -| is_conditional | String | Search for conditional/non-conditional orders(Should be one of: ["true", "false"]) | No | -| state | String | The order state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | No | -| execution_types | String Array | The execution of the order (Should be one of: ["limit", "market"]) | No | -| trade_id | String | Filter by the trade's trade id | No | -| active_markets_only | Bool | Return only orders for active markets | No | -| cid | String | Filter by the custom client order id of the trade's order | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + + + + + + + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringsubaccount ID to filter orders for specific subaccountYes
market_idstringMarket ID to filter orders for specific marketYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returnedYes
order_typesstring arrayfilter by order typesYes
directionstringorder side filterYes
start_timeint64Search for orders which createdAt >= startTime, time in millisecondYes
end_timeint64Search for orders which createdAt <= endTime, time in millisecondYes
is_conditionalstringOnly search for conditional/non-conditional ordersYes
order_typestringfilter by order typeYes
statestringFilter by order stateYes
execution_typesstring arrayYes
market_idsstring arrayYes
trade_idstringTradeId of the order we want to fetchYes
active_markets_onlyboolReturn only orders for active marketsYes
cidstringClient order IDYes
+ ### Response Parameters @@ -1122,43 +1157,50 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | ---------------------------- | ------------------------------------ | -| orders | DerivativeOrderHistory Array | list of historical derivative orders | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
ordersDerivativeOrderHistory arrayList of historical derivative orders
pagingPaging
+ + +
**DerivativeOrderHistory** -| Parameter | Type | Description | -| ----------------- | ------- | --------------------------------------------------------------------------------------------------------------------- | -| order_hash | String | Hash of the order | -| market_id | String | Derivative market ID | -| is_active | Boolean | Indicates if the order is active | -| subaccount_id | String | The subaccountId that this order belongs to | -| execution_type | String | The type of the order (Should be one of: ["limit", "market"]) | -| order_type | String | Order type (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | -| price | String | Price of the order | -| trigger_price | String | The price that triggers stop/take orders | -| quantity | String | Quantity of the order | -| filled_quantity | String | The amount of the quantity filled | -| state | String | Order state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | -| created_at | Integer | Order created timestamp in UNIX millis | -| updated_at | Integer | Order updated timestamp in UNIX millis | -| is_reduce_only | Boolean | Indicates if the order is reduce-only | -| direction | String | The direction of the order (Should be one of: ["buy", "sell"]) | -| is_conditional | Boolean | Indicates if the order is conditional | -| trigger_at | Integer | Trigger timestamp in UNIX millis | -| placed_order_hash | String | Hash of order placed upon conditional order trigger | -| margin | String | The margin of the order | -| tx_hash | String | Transaction hash in which the order was created (not all orders have this value) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringHash of the order
market_idstringSpot Market ID is keccak265(baseDenom + quoteDenom)
is_activeboolactive state of the order
subaccount_idstringThe subaccountId that this order belongs to
execution_typestringThe execution type
order_typestringThe side of the order
pricestringPrice of the order
trigger_pricestringTrigger price
quantitystringQuantity of the order
filled_quantitystringFilled amount
statestringOrder state
created_atint64Order committed timestamp in UNIX millis.
updated_atint64Order updated timestamp in UNIX millis.
is_reduce_onlyboolTrue if an order is reduce only
directionstringOrder direction (order side)
is_conditionalboolTrue if this is conditional order, otherwise false
trigger_atuint64Trigger timestamp in unix milli
placed_order_hashstringOrder hash placed when this triggers
marginstringOrder's margin
tx_hashstringTransaction Hash where order is created. Not all orders have this field
cidstringCustom client order ID
+ +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | --------------------------------- | -| total | Integer | Total number of available records | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## StreamOrdersHistory @@ -1274,17 +1316,14 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | ------------ | ------------------------------------------------------------------------------------------------------------------------------- | -------- | -| subaccount_id | String | Filter by subaccount ID | No | -| market_id | String | Filter by market ID | No | -| order_types | String Array | Filter by order type (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | No | -| direction | String | Filter by direction (Should be one of: ["buy", "sell"]) | No | -| state | String | Filter by state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | No | -| execution_types | String Array | Filter by execution type (Should be one of: ["limit", "market"]) | No | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringsubaccount ID to filter orders for specific subaccountYes
market_idstringMarket ID to filter orders for specific marketYes
order_typesstring arrayfilter by order typesYes
directionstringorder side filterYes
statestringFilter by order stateYes
execution_typesstring arrayYes
+ ### Response Parameters @@ -1378,37 +1417,39 @@ func main() { } ``` -| Parameter | Type | Description | -| -------------- | ---------------------- | ----------------------------------------------------------------------------------- | -| order | DerivativeOrderHistory | Updated order | -| operation_type | String | Order update type (Should be one of: ["insert", "replace", "update", "invalidate"]) | -| timestamp | Integer | Operation timestamp in UNIX millis | + + + +
ParameterTypeDescription
orderDerivativeOrderHistoryUpdated order
operation_typestringOrder update type
timestampint64Operation timestamp in UNIX millis.
+ + +
**DerivativeOrderHistory** -| Parameter | Type | Description | -| ----------------- | ------- | --------------------------------------------------------------------------------------------------------------------- | -| order_hash | String | Hash of the order | -| market_id | String | Derivative market ID | -| is_active | Boolean | Indicates if the order is active | -| subaccount_id | String | The subaccountId that this order belongs to | -| execution_type | String | The type of the order (Should be one of: ["limit", "market"]) | -| order_type | String | Order type (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | -| price | String | Price of the order | -| trigger_price | String | The price that triggers stop/take orders | -| quantity | String | Quantity of the order | -| filled_quantity | String | The amount of the quantity filled | -| state | String | Order state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | -| created_at | Integer | Order created timestamp in UNIX millis | -| updated_at | Integer | Order updated timestamp in UNIX millis | -| is_reduce_only | Boolean | Indicates if the order is reduce-only | -| direction | String | The direction of the order (Should be one of: ["buy", "sell"]) | -| is_conditional | Boolean | Indicates if the order is conditional | -| trigger_at | Integer | Trigger timestamp in UNIX millis | -| placed_order_hash | String | Hash of order placed upon conditional order trigger | -| margin | String | The margin of the order | -| tx_hash | String | Transaction hash in which the order was created (not all orders have this value) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringHash of the order
market_idstringSpot Market ID is keccak265(baseDenom + quoteDenom)
is_activeboolactive state of the order
subaccount_idstringThe subaccountId that this order belongs to
execution_typestringThe execution type
order_typestringThe side of the order
pricestringPrice of the order
trigger_pricestringTrigger price
quantitystringQuantity of the order
filled_quantitystringFilled amount
statestringOrder state
created_atint64Order committed timestamp in UNIX millis.
updated_atint64Order updated timestamp in UNIX millis.
is_reduce_onlyboolTrue if an order is reduce only
directionstringOrder direction (order side)
is_conditionalboolTrue if this is conditional order, otherwise false
trigger_atuint64Trigger timestamp in unix milli
placed_order_hashstringOrder hash placed when this triggers
marginstringOrder's margin
tx_hashstringTransaction Hash where order is created. Not all orders have this field
cidstringCustom client order ID
+ ## TradesV2 @@ -1502,22 +1543,22 @@ func main() { ``` - - - - - - - - - - - - - - - -
ParameterTypeDescriptionRequired
market_idStringMarketId of the market's trades we want to fetchNo
execution_sideStringEither maker or takerNo
directionStringTrade directionNo
subaccount_idStringID of the subaccount the trades belong toNo
skipIntegerWill skipt the first N items from the resultNo
limitIntegerMaximum number of items to be returnedNo
start_timeIntegerThe starting timestamp in UNIX milliseconds that the trades must be equal or older thanNo
end_timeIntegerThe ending timestamp in UNIX milliseconds that the trades must be equal or newer thanNo
market_idsString ArrayList of MarketIDs the trades can belong toNo
subacount_idsString ArraySubaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccountsNo
execution_typesString ArrayList of execution types. The execution types are: market, limitFill, limitMatchRestingOrder, limitMatchNewOrderNo
trade_idStringID of the trade to returnNo
account_addressStringInjective address the trade belongs toNo
cidStringThe client order ID of the order generating the tradeNo
fee_recipientStringInjective address of the fee recipientNo
+ + + + + + + + + + + + + + + +
ParameterTypeDescriptionRequired
market_idstringMarketId of the market's orderbook we want to fetchYes
execution_sidestringFilter by execution side of the tradeYes
directionstringFilter by direction the tradeYes
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returned.Yes
start_timeint64The starting timestamp in UNIX milliseconds that the trades must be equal or older thanYes
end_timeint64The ending timestamp in UNIX milliseconds that the trades must be equal or younger thanYes
market_idsstring arrayMarketIds of the markets of which we want to get tradesYes
subaccount_idsstring arraySubaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccountsYes
execution_typesstring arrayYes
trade_idstringFilter by the tradeId of the tradeYes
account_addressstringAccount addressYes
cidstringClient order IDYes
fee_recipientstringFilter by fee recipientYes
### Response Parameters @@ -1788,43 +1829,54 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | --------------------- | ------------------------------------ | -| trades | DerivativeTrade Array | List of trades of derivative markets | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
tradesDerivativeTrade arrayTrades of a Derivative Market
pagingPaging
+ + +
**DerivativeTrade** -| Parameter | Type | Description | -| -------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------ | -| order_hash | String | The order hash | -| subaccount_id | String | ID of subaccount that executed the trade | -| market_id | String | The market ID | -| trade_execution_type | String | *Execution type of the trade (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | -| is_liquidation | Boolean | True if the trade is a liquidation | -| position_delta | PositionDelta | Position delta from the trade | -| payout | String | The payout associated with the trade | -| fee | String | The fee associated with the trade | -| executed_at | Integer | Timestamp of trade execution (on chain) in UNIX millis | -| fee_recipient | String | The address that received 40% of the fees | -| trade_id | String | Unique identifier to differentiate between trades | -| execution_side | String | Execution side of trade (Should be one of: ["maker", "taker"]) | -| cid | String | Custom client order id | + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringOrder hash.
subaccount_idstringThe subaccountId that executed the trade
market_idstringThe ID of the market that this trade is in
trade_execution_typestringThe execution type of the trade
is_liquidationboolTrue if the trade is a liquidation
position_deltaPositionDeltaPosition Delta from the trade
payoutstringThe payout associated with the trade
feestringThe fee associated with the trade
executed_atint64Timestamp of trade execution in UNIX millis
fee_recipientstringFee recipient address
trade_idstringA unique string that helps differentiate between trades
execution_sidestringTrade's execution side, marker/taker
cidstringCustom client order ID
pnlstringProfit and loss of the trade
+ + +
**PositionDelta** -| Parameter | Type | Description | -| ------------------ | ------ | ----------------------------------------------------------- | -| execution_price | String | Execution price of the trade | -| execution_quantity | String | Execution quantity of the trade | -| trade_direction | String | The direction the trade (Should be one of: ["buy", "sell"]) | -| execution_margin | String | Execution margin of the trade | + + + + +
ParameterTypeDescription
trade_directionstringThe direction the trade
execution_pricestringExecution Price of the trade.
execution_quantitystringExecution Quantity of the trade.
execution_marginstringExecution Margin of the trade.
+ + +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | --------------------------------- | -| total | Integer | Total number of records available | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## StreamTradesV2 @@ -1952,22 +2004,22 @@ func main() { ``` - - - - - - - - - - - - - - - -
ParameterTypeDescriptionRequired
market_idStringMarketId of the market's trades we want to fetchNo
execution_sideStringEither maker or takerNo
directionStringTrade directionNo
subaccount_idStringID of the subaccount the trades belong toNo
skipIntegerWill skipt the first N items from the resultNo
limitIntegerMaximum number of items to be returnedNo
start_timeIntegerThe starting timestamp in UNIX milliseconds that the trades must be equal or older thanNo
end_timeIntegerThe ending timestamp in UNIX milliseconds that the trades must be equal or newer thanNo
market_idsString ArrayList of MarketIDs the trades can belong toNo
subacount_idsString ArraySubaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccountsNo
execution_typesString ArrayList of execution types. The execution types are: market, limitFill, limitMatchRestingOrder, limitMatchNewOrderNo
trade_idStringID of the trade to returnNo
account_addressStringInjective address the trade belongs toNo
cidStringThe client order ID of the order generating the tradeNo
fee_recipientStringInjective address of the fee recipientNo
+ + + + + + + + + + + + + + + +
ParameterTypeDescriptionRequired
market_idstringMarketId of the market's orderbook we want to fetchYes
execution_sidestringFilter by execution side of the tradeYes
directionstringFilter by direction the tradeYes
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returned.Yes
start_timeint64The starting timestamp in UNIX milliseconds that the trades must be equal or older thanYes
end_timeint64The ending timestamp in UNIX milliseconds that the trades must be equal or younger thanYes
market_idsstring arrayMarketIds of the markets of which we want to get tradesYes
subaccount_idsstring arraySubaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccountsYes
execution_typesstring arrayYes
trade_idstringFilter by the tradeId of the tradeYes
account_addressstringAccount addressYes
cidstringClient order IDYes
fee_recipientstringFilter by fee recipientYes
### Response Parameters @@ -2114,39 +2166,43 @@ func main() { } ``` -| Parameter | Type | Description | -| -------------- | --------------- | ------------------------------------------------------------------- | -| trade | DerivativeTrade | New derivative market trade | -| operation_type | String | Trade operation type (Should be one of: ["insert", "invalidate"]) | -| timestamp | Integer | Timestamp the new trade is written into the database in UNIX millis | + + + +
ParameterTypeDescription
tradeDerivativeTradeNew derivative market trade
operation_typestringExecuted trades update type
timestampint64Operation timestamp in UNIX millis.
+ +
**DerivativeTrade** -| Parameter | Type | Description | -| -------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------ | -| order_hash | String | The order hash | -| subaccount_id | String | ID of subaccount that executed the trade | -| market_id | String | The market ID | -| trade_execution_type | String | *Execution type of the trade (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | -| is_liquidation | Boolean | True if the trade is a liquidation | -| position_delta | PositionDelta | Position delta from the trade | -| payout | String | The payout associated with the trade | -| fee | String | The fee associated with the trade | -| executed_at | Integer | Timestamp of trade execution (on chain) in UNIX millis | -| fee_recipient | String | The address that received 40% of the fees | -| trade_id | String | Unique identifier to differentiate between trades | -| execution_side | String | Execution side of trade (Should be one of: ["maker", "taker"]) | -| cid | String | Custom client order id | + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringOrder hash.
subaccount_idstringThe subaccountId that executed the trade
market_idstringThe ID of the market that this trade is in
trade_execution_typestringThe execution type of the trade
is_liquidationboolTrue if the trade is a liquidation
position_deltaPositionDeltaPosition Delta from the trade
payoutstringThe payout associated with the trade
feestringThe fee associated with the trade
executed_atint64Timestamp of trade execution in UNIX millis
fee_recipientstringFee recipient address
trade_idstringA unique string that helps differentiate between trades
execution_sidestringTrade's execution side, marker/taker
cidstringCustom client order ID
pnlstringProfit and loss of the trade
+ + +
**PositionDelta** -| Parameter | Type | Description | -| ------------------ | ------ | ----------------------------------------------------------- | -| execution_price | String | Execution price of the trade | -| execution_quantity | String | Execution quantity of the trade | -| trade_direction | String | The direction the trade (Should be one of: ["buy", "sell"]) | -| execution_margin | String | Execution margin of the trade | + + + + +
ParameterTypeDescription
trade_directionstringThe direction the trade
execution_pricestringExecution Price of the trade.
execution_quantitystringExecution Quantity of the trade.
execution_marginstringExecution Margin of the trade.
+ ## Positions @@ -2246,13 +2302,18 @@ func main() { ``` -| Parameter | Type | Description | Required | -| -------------------------- | ---------------- | ----------------------------------------------------------------------------- | -------- | -| market_ids | String Array | Filter by multiple market IDs | No | -| subaccount_id | String | Filter by subaccount ID | No | -| direction | String | Filter by direction of position (Should be one of: ["long", "short"]) | No | -| subaccount_total_positions | Boolean | Choose to return subaccount total positions (Should be one of: [True, False]) | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the positions fromYes
market_idstringMarketId of the position we want to fetch. Use this field for fetching from single marketYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returnedYes
start_timeint64The starting timestamp in UNIX milliseconds that the trades must be equal or older thanYes
end_timeint64The ending timestamp in UNIX milliseconds that the trades must be equal or younger thanYes
market_idsstring arrayMarketIds of the markets we want to filter. Use this field for fetching from multiple marketsYes
directionstringfilter by direction of the positionYes
subaccount_total_positionsboolset to True to return subaccount total positionsYes
account_addressstringfilter by account addressYes
+ ### Response Parameters > Response Example: @@ -2439,31 +2500,42 @@ func main() { } ``` -| Parameter | Type | Description | -| --------- | ------------------------ | ---------------------------- | -| positions | DerivativePosition Array | List of derivative positions | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
positionsDerivativePositionV2 array
pagingPaging
+ + +
**DerivativePosition** -| Parameter | Type | Description | -| ------------------------------ | ------- | ---------------------------------------------------------------------------------------------- | -| ticker | String | Ticker of the derivative market | -| market_id | String | ID of the market the position is in | -| subaccount_id | String | The subaccount ID the position belongs to | -| direction | String | Direction of the position (Should be one of: ["long", "short"]) | -| quantity | String | Quantity of the position | -| entry_price | String | Entry price of the position | -| margin | String | Margin of the position | -| liquidation_price | String | Liquidation price of the position | -| mark_price | String | Oracle price of the base asset | -| updated_at | Integer | Position updated timestamp in UNIX millis | + + + + + + + + + + + + + +
ParameterTypeDescription
tickerstringTicker of the derivative market
market_idstringDerivative Market ID
subaccount_idstringThe subaccountId that the position belongs to
directionstringDirection of the position
quantitystringQuantity of the position
entry_pricestringPrice of the position
marginstringMargin of the position
liquidation_pricestringLiquidationPrice of the position
mark_pricestringMarkPrice of the position
updated_atint64Position updated timestamp in UNIX millis.
denomstringMarket quote denom
funding_laststringLast funding fees since position opened
funding_sumstringNet funding fees since position opened
+ + +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | --------------------------------- | -| total | Integer | Total number of available records | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## StreamPositions @@ -2579,13 +2651,13 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | ------------ | ---------------------------------------------------------------------------------------------------- | -------- | -| market_ids | String Array | IDs of the markets to stream position data from | No | -| subaccount_ids | String Array | Subaccount IDs of the traders to stream positions from | No | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the positions fromYes
market_idstringBackward compat single market ID of position we want to streamYes
market_idsstring arrayList of market IDs of the positions we want to streamYes
subaccount_idsstring arraySubaccount ids of traders we want to get positionsYes
account_addressstringfilter by account addressYes
+ ### Response Parameters @@ -2670,27 +2742,30 @@ func main() { } ``` -| Parameter | Type | Description | -| --------- | ------------------ | ---------------------------------- | -| position | DerivativePosition | Updated derivative position | -| timestamp | Integer | Timestamp of update in UNIX millis | - -**DerivativePosition** + + +
ParameterTypeDescription
positionDerivativePositionV2Updated derivative Position
timestampint64Operation timestamp in UNIX millis.
+ -| Parameter | Type | Description | -| ------------------------------ | ------- | ---------------------------------------------------------------------------------------------- | -| direction | String | Direction of the position (Should be one of: ["long", "short"]) | -| market_id | String | ID of the market the position is in | -| subaccount_id | String | The subaccount ID the position belongs to | -| ticker | String | Ticker of the derivative market | -| aggregate_reduce_only_quantity | String | Aggregate quantity of the reduce-only orders associated with the position | -| entry_price | String | Entry price of the position | -| liquidation_price | String | Liquidation price of the position | -| margin | String | Margin of the position | -| mark_price | String | Oracle price of the base asset | -| quantity | String | Quantity of the position | -| updated_at | Integer | Position updated timestamp in UNIX millis | -| created_at | Integer | Position created timestamp in UNIX millis. Currently not supported (value will be inaccurate). | +
+ +**DerivativePositionV2** + + + + + + + + + + + + + + +
ParameterTypeDescription
tickerstringTicker of the derivative market
market_idstringDerivative Market ID
subaccount_idstringThe subaccountId that the position belongs to
directionstringDirection of the position
quantitystringQuantity of the position
entry_pricestringPrice of the position
marginstringMargin of the position
liquidation_pricestringLiquidationPrice of the position
mark_pricestringMarkPrice of the position
updated_atint64Position updated timestamp in UNIX millis.
denomstringMarket quote denom
funding_laststringLast funding fees since position opened
funding_sumstringNet funding fees since position opened
+ ## LiquidablePositions @@ -2777,11 +2852,11 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------- | ------------------------------------------------------------------------------------------------------ | -------- | -| market_id | String | ID of the market to query liquidable positions for | No | -| skip | Integer | Skip the first *n* cosmwasm contracts. This can be used to fetch all results since the API caps at 100 | No | -| limit | Integer | Max number of items to be returned, defaults to 100 | No | + + + +
ParameterTypeDescriptionRequired
market_idstringMarket ID to filter orders for specific marketYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returned.Yes
+ ### Response Parameters @@ -2984,26 +3059,30 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | ------------------------ | ---------------------------------- | -| positions | DerivativePosition Array | List of liquidable lpositions | + +
ParameterTypeDescription
positionsDerivativePosition arrayList of derivative positions
+ + +
**DerivativePosition** -| Parameter | Type | Description | -| ------------------------------ | ------- | ---------------------------------------------------------------------------------------------- | -| direction | String | Direction of the position (Should be one of: ["long", "short"]) | -| market_id | String | ID of the market the position is in | -| subaccount_id | String | The subaccount ID the position belongs to | -| ticker | String | Ticker of the derivative market | -| aggregate_reduce_only_quantity | String | Aggregate quantity of the reduce-only orders associated with the position | -| entry_price | String | Entry price of the position | -| liquidation_price | String | Liquidation price of the position | -| margin | String | Margin of the position | -| mark_price | String | Oracle price of the base asset | -| quantity | String | Quantity of the position | -| updated_at | Integer | Position updated timestamp in UNIX millis | -| created_at | Integer | Position created timestamp in UNIX millis. Currently not supported (value will be inaccurate). | + + + + + + + + + + + + + + +
ParameterTypeDescription
tickerstringTicker of the derivative market
market_idstringDerivative Market ID
subaccount_idstringThe subaccountId that the position belongs to
directionstringDirection of the position
quantitystringQuantity of the position
entry_pricestringPrice of the position
marginstringMargin of the position
liquidation_pricestringLiquidationPrice of the position
mark_pricestringMarkPrice of the position
aggregate_reduce_only_quantitystringAggregate Quantity of the Reduce Only orders associated with the position
updated_atint64Position updated timestamp in UNIX millis.
created_atint64Position created timestamp in UNIX millis.
funding_laststringLast funding fees since position opened
funding_sumstringNet funding fees since position opened
+ ## OrderbooksV2 @@ -3080,10 +3159,10 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------------ | ------------------------------------------------------ | -------- | -| market_ids | String Array | List of IDs of markets to get orderbook snapshots from | Yes | -| depth | Integer | The depth of the orderbook | Yes | + + +
ParameterTypeDescriptionRequired
market_idsstring arrayMarketIds of the marketsYes
depthint32Depth of the orderbookYes
+ ### Response Parameters @@ -3228,35 +3307,43 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | -------------------------------------- | ------------------------------------ | -| orderbooks | SingleDerivativeLimitOrderbookV2 Array | List of derivative market orderbooks | + +
ParameterTypeDescription
orderbooksSingleDerivativeLimitOrderbookV2 array
+ **SingleDerivativeLimitOrderbookV2** -| Parameter | Type | Description | -| --------- | -------------------------- | ---------------------------------------------- | -| market_id | String | ID of the market that the orderbook belongs to | -| orderbook | DerivativeLimitOrderbookV2 | Orderbook of the market | + + +
ParameterTypeDescription
market_idstringmarket's ID
orderbookDerivativeLimitOrderbookV2Orderbook of the market
+ + +
**DerivativeLimitOrderbookV2** -| Parameter | Type | Description | -| --------- | ---------------- | ------------------------------------------------------------- | -| buys | PriceLevel Array | List of price levels for buys | -| sells | PriceLevel Array | List of price levels for sells | -| sequence | Integer | Sequence number of the orderbook; increments by 1 each update | + + + + + +
ParameterTypeDescription
buysPriceLevel arrayArray of price levels for buys
sellsPriceLevel arrayArray of price levels for sells
sequenceuint64market orderbook sequence
timestampint64Last update timestamp in UNIX millis.
heightint64Block height at which the orderbook was last updated.
+ + +
**PriceLevel** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| quantity | String | Quantity of the price level | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | -| price | String | Price number of the price level | + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
timestampint64Price level last updated timestamp in UNIX millis.
+ + +
-## StreamOrderbooksV2 +## StreamOrderbookV2 Stream orderbook snapshot updates for one or more derivative markets @@ -3358,12 +3445,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | ------------ | ---------------------------------------------------------------------------------------------------- | -------- | -| market_ids | String Array | List of market IDs for orderbook streaming; empty means all spot markets | Yes | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + +
ParameterTypeDescriptionRequired
market_idsstring arrayList of market IDs for orderbook streaming, empty means 'ALL' derivative marketsYes
+ ### Response Parameters @@ -3398,28 +3482,34 @@ func main() { ``` -| Parameter | Type | Description | -| -------------- | -------------------------- | ----------------------------------------------------------------------------------- | -| orderbook | DerivativeLimitOrderbookV2 | Orderbook of a Derivative Market | -| operation_type | String | Order update type (Should be one of: ["insert", "replace", "update", "invalidate"]) | -| timestamp | Integer | Operation timestamp in UNIX millis | -| market_id | String | ID of the market the orderbook belongs to | + + + + +
ParameterTypeDescription
orderbookDerivativeLimitOrderbookV2Orderbook of a Derivative Market
operation_typestringOrder update type
timestampint64Operation timestamp in UNIX millis.
market_idstringMarketId of the market's orderbook
+ + +
**DerivativeLimitOrderbookV2** -| Parameter | Type | Description | -| --------- | ---------------- | ------------------------------------------------------------- | -| buys | PriceLevel Array | List of price levels for buys | -| sells | PriceLevel Array | List of price levels for sells | -| sequence | Integer | Sequence number of the orderbook; increments by 1 each update | + + + + + +
ParameterTypeDescription
buysPriceLevel arrayArray of price levels for buys
sellsPriceLevel arrayArray of price levels for sells
sequenceuint64market orderbook sequence
timestampint64Last update timestamp in UNIX millis.
heightint64Block height at which the orderbook was last updated.
+ + +
**PriceLevel** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| price | String | Price number of the price level | -| quantity | String | Quantity of the price level | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
timestampint64Price level last updated timestamp in UNIX millis.
+ ## StreamOrderbookUpdate @@ -3788,12 +3878,9 @@ func maintainOrderbook(orderbook map[bool]map[string]*derivativeExchangePB.Price ``` -| Parameter | Type | Description | Required | -| ------------------ | ------------ | ---------------------------------------------------------------------------------------------------- | -------- | -| market_ids | String Array | List of market IDs for orderbook streaming; empty means all derivative markets | Yes | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + +
ParameterTypeDescriptionRequired
market_idsstring arrayList of market IDs for orderbook streaming, empty means 'ALL' derivative marketsYes
+ ### Response Parameters @@ -3836,31 +3923,35 @@ price: 1000000000 | quantity: 0.0014 | timestamp: 1676622220695 ``` -| Parameter | Type | Description | -| ----------------------- | --------------------- | ----------------------------------------------------------------------------------- | -| orderbook_level_updates | OrderbookLevelUpdates | Orderbook level updates of a derivative market | -| operation_type | String | Order update type (Should be one of: ["insert", "replace", "update", "invalidate"]) | -| timestamp | Integer | Operation timestamp in UNIX millis | -| market_id | String | ID of the market the orderbook belongs to | + + + + +
ParameterTypeDescription
orderbook_level_updatesOrderbookLevelUpdatesOrderbook level updates of a Derivative Market
operation_typestringOrder update type
timestampint64Operation timestamp in UNIX millis.
market_idstringMarketId of the market's orderbook
+ + +
**OrderbookLevelUpdates** -| Parameter | Type | Description | -| ---------- | ---------------------- | ------------------------------------------------------------- | -| market_id | String | ID of the market the orderbook belongs to | -| sequence | Integer | Orderbook update sequence number; increments by 1 each update | -| buys | PriceLevelUpdate Array | List of buy level updates | -| sells | PriceLevelUpdate Array | List of sell level updates | -| updated_at | Integer | Timestamp of the updates in UNIX millis | + + + + + +
ParameterTypeDescription
market_idstringmarket's ID
sequenceuint64orderbook update sequence
buysPriceLevelUpdate arraybuy levels
sellsPriceLevelUpdate arraysell levels
updated_atint64updates timestamp
+ + +
**PriceLevelUpdate** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| price | String | Price number of the price level | -| quantity | String | Quantity of the price level | -| is_active | Boolean | Price level status | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | + + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
is_activeboolPrice level status.
timestampint64Price level last updated timestamp in UNIX millis.
+ ## SubaccountOrdersList @@ -3951,11 +4042,12 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------- | ---------------- | ------------------------ | -------- | -| subaccount_id | String | Filter by subaccount ID | Yes | -| market_id | String | Filter by market ID | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringsubaccount ID to filter orders for specific subaccountYes
market_idstringMarket ID to filter orders for specific marketYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returnedYes
+ ### Response Parameters @@ -4038,38 +4130,51 @@ func main() { } ``` -| Parameter | Type | Description | -| --------- | -------------------------- | ------------------------- | -| orders | DerivativeLimitOrder Array | List of derivative orders | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
ordersDerivativeLimitOrder arrayList of derivative orders
pagingPaging
+ + +
**DerivativeLimitOrder** -| Parameter | Type | Description | -| ----------------- | ------- | --------------------------------------------------------------------------------------------------------------------- | -| order_hash | String | Hash of the order | -| order_side | String | The side of the order (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell"]) | -| market_id | String | The market ID | -| subaccount_id | String | The subaccount ID this order belongs to | -| is_reduce_only | Boolean | True if the order is a reduce-only order | -| margin | String | Margin of the order | -| price | String | Price of the order | -| quantity | String | Quantity of the order | -| unfilled_quantity | String | The amount of the quantity remaining unfilled | -| trigger_price | String | The price that triggers stop/take orders | -| fee_recipient | String | Fee recipient address | -| state | String | Order state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | -| created_at | Integer | Order created timestamp in UNIX millis | -| updated_at | Integer | Order updated timestamp in UNIX millis | -| order_number | Integer | Order number of subaccount | -| order_type | String | Order type (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | -| is_conditional | Boolean | If the order is conditional | -| trigger_at | Integer | Trigger timestamp, only exists for conditional orders | -| placed_order_hash | String | OrderHash of order that is triggered by this conditional order | -| execution_type | String | Execution type of conditional order | -| tx_hash | String | Transaction hash in which the order was created (not all orders have this value) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringHash of the order
order_sidestringThe side of the order
market_idstringDerivative Market ID
subaccount_idstringThe subaccountId that this order belongs to
is_reduce_onlyboolTrue if the order is a reduce-only order
marginstringMargin of the order
pricestringPrice of the order
quantitystringQuantity of the order
unfilled_quantitystringThe amount of the quantity remaining unfilled
trigger_pricestringTrigger price is the trigger price used by stop/take orders
fee_recipientstringFee recipient address
statestringOrder state
created_atint64Order committed timestamp in UNIX millis.
updated_atint64Order updated timestamp in UNIX millis.
order_numberint64Order number of subaccount
order_typestringOrder type
is_conditionalboolOrder type
trigger_atuint64Trigger timestamp, only exists for conditional orders
placed_order_hashstringOrderHash of order that is triggered by this conditional order
execution_typestringExecution type of conditional order
tx_hashstringTransaction Hash where order is created. Not all orders have this field
cidstringCustom client order ID
+ +
+ +**Paging** + + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## SubaccountTradesList @@ -4174,13 +4279,14 @@ func main() { ``` -| Parameter | Type | Description | Required | -| -------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------- | -| subaccount_id | String | Subaccount ID of trader to get trades from | Yes | -| market_id | String | Filter by Market ID | No | -| execution_type | String | Filter by the *execution type of the trades (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | No | -| direction | String | Filter by the direction of the trades (Should be one of: ["buy", "sell"]) | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
market_idstringFilter trades by market IDYes
execution_typestringFilter by execution type of tradesYes
directionstringFilter by direction tradesYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returnedYes
+ ### Response Parameters @@ -4273,36 +4379,41 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | --------------------- | -------------------------------- | -| trades | DerivativeTrade Array | List of derivative market trades | + +
ParameterTypeDescription
tradesDerivativeTrade arrayList of derivative market trades
+ + +
**DerivativeTrade** -| Parameter | Type | Description | -| -------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------ | -| order_hash | String | The order hash | -| subaccount_id | String | ID of subaccount that executed the trade | -| market_id | String | The market ID | -| trade_execution_type | String | *Execution type of the trade (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | -| is_liquidation | Boolean | True if the trade is a liquidation | -| position_delta | PositionDelta | Position delta from the trade | -| payout | String | The payout associated with the trade | -| fee | String | The fee associated with the trade | -| executed_at | Integer | Timestamp of trade execution (on chain) in UNIX millis | -| fee_recipient | String | The address that received 40% of the fees | -| trade_id | String | Unique identifier to differentiate between trades | -| execution_side | String | Execution side of trade (Should be one of: ["maker", "taker"]) | -| cid | String | Custom client order id | + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringOrder hash.
subaccount_idstringThe subaccountId that executed the trade
market_idstringThe ID of the market that this trade is in
trade_execution_typestringThe execution type of the trade
is_liquidationboolTrue if the trade is a liquidation
position_deltaPositionDeltaPosition Delta from the trade
payoutstringThe payout associated with the trade
feestringThe fee associated with the trade
executed_atint64Timestamp of trade execution in UNIX millis
fee_recipientstringFee recipient address
trade_idstringA unique string that helps differentiate between trades
execution_sidestringTrade's execution side, marker/taker
cidstringCustom client order ID
pnlstringProfit and loss of the trade
+ + +
**PositionDelta** -| Parameter | Type | Description | -| ------------------ | ------ | ----------------------------------------------------------- | -| execution_price | String | Execution price of the trade | -| execution_quantity | String | Execution quantity of the trade | -| trade_direction | String | The direction the trade (Should be one of: ["buy", "sell"]) | -| execution_margin | String | Execution margin of the trade | + + + + +
ParameterTypeDescription
trade_directionstringThe direction the trade
execution_pricestringExecution Price of the trade.
execution_quantitystringExecution Quantity of the trade.
execution_marginstringExecution Margin of the trade.
+ ## FundingPayments @@ -4390,11 +4501,14 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------- | ---------------- | ------------------------------------------------------------- | -------- | -| market_ids | String Array | Filter by multiple market IDs | No | -| subaccount_id | String | Subaccount ID of the trader we want to get the positions from | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the positions fromYes
market_idstringMarketIds of the funding payment we want to fetch. Using this for only one market id. This field is prioritizedYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returned.Yes
end_timeint64Upper bound of funding payment updatedAtYes
market_idsstring arrayFilter by market ids. Using this field for fetching funding payments from multiple market idsYes
+ ### Response Parameters @@ -4460,25 +4574,33 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | -------------------- | ------------------------ | -| payments | FundingPayment Array | List of funding payments | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
paymentsFundingPayment arrayList of funding payments
pagingPaging
+ + +
**FundingPayment** -| Parameter | Type | Description | -| ------------- | ------- | ---------------------------------- | -| market_id | String | The market ID | -| subaccount_id | String | The subaccount ID | -| amount | String | The amount of the funding payment | -| timestamp | Integer | Operation timestamp in UNIX millis | + + + + +
ParameterTypeDescription
market_idstringDerivative Market ID
subaccount_idstringThe subaccountId that the position belongs to
amountstringAmount of the funding payment
timestampint64Timestamp of funding payment in UNIX millis
+ + +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | --------------------------------- | -| total | Integer | Total number of records available | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## FundingRates @@ -4561,10 +4683,12 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ---------------- | ----------------------------------------- | -------- | -| market_id | String | ID of the market to get funding rates for | Yes | -| pagination | PaginationOption | Pagination configuration | No | + + + + +
ParameterTypeDescriptionRequired
market_idstringMarketId of the position we want to fetchYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returned.Yes
end_timeint64Upper bound of funding timestampYes
+ ### Response Parameters @@ -4618,25 +4742,32 @@ func main() { } ``` -| Parameter | Type | Description | -| ------------- | ----------------- | --------------------- | -| funding_rates | FundingRate Array | List of funding rates | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
funding_ratesFundingRate arrayList of funding rates
pagingPaging
+ +
**FundingRate** -| Parameter | Type | Description | -| --------- | ------- | ---------------------------------------- | -| market_id | String | The derivative market ID | -| rate | String | Value of the funding rate | -| timestamp | Integer | Timestamp of funding rate in UNIX millis | + + + +
ParameterTypeDescription
market_idstringDerivative Market ID
ratestringValue of the funding rate
timestampint64Timestamp of funding rate in UNIX millis
+ + +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | --------------------------------- | -| total | Integer | Total number of records available | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## BinaryOptionsMarket @@ -4672,9 +4803,9 @@ if __name__ == "__main__": ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ---------------------------------------- | -------- | -| market_id | String | ID of the binary options market to fetch | Yes | + +
ParameterTypeDescriptionRequired
market_idstringMarketId of the market we want to fetchYes
+ ### Response Parameters @@ -4716,43 +4847,47 @@ if __name__ == "__main__": ``` -| Parameter | Type | Description | -| --------- | ----------------------- | --------------------------------------------- | -| market | BinaryOptionsMarketInfo | Info about a particular binary options market | + +
ParameterTypeDescription
marketBinaryOptionsMarketInfoInfo about particular derivative market
+ + +
**BinaryOptionsMarketInfo** -| Parameter | Type | Description | -| ---------------------- | --------- | ------------------------------------------------------------------------------------------------------- | -| market_id | String | The market ID | -| market_status | String | The status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | -| ticker | String | The name of the binary options market | -| oracle_symbol | String | Oracle symbol | -| oracle_provider | String | Oracle provider | -| oracle_type | String | Oracle Type | -| oracle_scale_factor | Integer | Scaling multiple to scale oracle prices to the correct number of decimals | -| expiration_timestamp | Integer | Defines the expiration time for the market in UNIX seconds | -| settlement_timestamp | Integer | Defines the settlement time for the market in UNIX seconds | -| quote_denom | String | Coin denom used for the quote asset | -| quoteTokenMeta | TokenMeta | Token metadata for quote asset, only for Ethereum-based assets | -| maker_fee_rate | String | Defines the fee percentage makers pay (or receive, if negative) in quote asset when trading | -| taker_fee_rate | String | Defines the fee percentage takers pay (in quote asset) when trading | -| service_provider_fee | String | Percentage of the transaction fee shared with the service provider | -| min_price_tick_size | String | Defines the minimum required tick size for the order's price | -| min_quantity_tick_size | String | Defines the minimum required tick size for the order's quantity | -| settlement_price | String | Defines the settlement price of the market | -| min_notional | String | Defines the minimum required notional for an order to be accepted | + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
market_idstringBinary Options Market ID is crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleSymbol + oracleProvider)))
market_statusstringThe status of the market
tickerstringA name of the binary options market.
oracle_symbolstringOracle symbol
oracle_providerstringOracle provider
oracle_typestringOracle Type
oracle_scale_factoruint32OracleScaleFactor
expiration_timestampint64Defines the expiration time for the market in UNIX seconds.
settlement_timestampint64Defines the settlement time for the market in UNIX seconds.
quote_denomstringCoin denom used for the quote asset.
quote_token_metaTokenMetaToken metadata for quote asset
maker_fee_ratestringDefines the fee percentage makers pay when trading (in quote asset)
taker_fee_ratestringDefines the fee percentage takers pay when trading (in quote asset)
service_provider_feestringPercentage of the transaction fee shared with the service provider
min_price_tick_sizestringDefines the minimum required tick size for the order's price
min_quantity_tick_sizestringDefines the minimum required tick size for the order's quantity
settlement_pricestringDefines the settlement price of the market
min_notionalstringDefines the minimum notional value for the market
+ + +
**TokenMeta** -| Parameter | Type | Description | -| --------- | ------- | ----------------------------------------------- | -| address | String | Token's Ethereum contract address | -| decimals | Integer | Token decimals | -| logo | String | URL to the logo image | -| name | String | Token full name | -| symbol | String | Token symbol short name | -| updatedAt | Integer | Token metadata fetched timestamp in UNIX millis | + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ ## BinaryOptionsMarkets @@ -4790,11 +4925,12 @@ if __name__ == "__main__": ``` -| Parameter | Type | Description | Required | -| ------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------- | -------- | -| market_status | String | Filter by the status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | No | -| quote_denom | String | Filter by the Coin denomination of the quote currency | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + +
ParameterTypeDescriptionRequired
market_statusstringFilter by market statusYes
quote_denomstringFilter by the Coin denomination of the quote currencyYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returned.Yes
+ ### Response Parameters @@ -4843,47 +4979,57 @@ if __name__ == "__main__": ``` -| Parameter | Type | Description | -| --------- | ----------------------------- | -------------------------------------------------- | -| market | BinaryOptionsMarketInfo Array | List of binary options markets and associated info | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
marketsBinaryOptionsMarketInfo arrayBinary Options Markets list
pagingPaging
+ + +
**BinaryOptionsMarketInfo** -| Parameter | Type | Description | -| ---------------------- | --------- | ------------------------------------------------------------------------------------------------------- | -| market_id | String | The market ID | -| market_status | String | The status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | -| ticker | String | The name of the binary options market | -| oracle_symbol | String | Oracle symbol | -| oracle_provider | String | Oracle provider | -| oracle_type | String | Oracle Type | -| oracle_scale_factor | Integer | Scaling multiple to scale oracle prices to the correct number of decimals | -| expiration_timestamp | Integer | Defines the expiration time for the market in UNIX seconds | -| settlement_timestamp | Integer | Defines the settlement time for the market in UNIX seconds | -| quote_denom | String | Coin denom used for the quote asset | -| quoteTokenMeta | TokenMeta | Token metadata for quote asset, only for Ethereum-based assets | -| maker_fee_rate | String | Defines the fee percentage makers pay (or receive, if negative) in quote asset when trading | -| taker_fee_rate | String | Defines the fee percentage takers pay (in quote asset) when trading | -| service_provider_fee | String | Percentage of the transaction fee shared with the service provider | -| min_price_tick_size | String | Defines the minimum required tick size for the order's price | -| min_quantity_tick_size | String | Defines the minimum required tick size for the order's quantity | -| settlement_price | String | Defines the settlement price of the market | -| min_notional | String | Defines the minimum required notional for an order to be accepted | + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
market_idstringBinary Options Market ID is crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleSymbol + oracleProvider)))
market_statusstringThe status of the market
tickerstringA name of the binary options market.
oracle_symbolstringOracle symbol
oracle_providerstringOracle provider
oracle_typestringOracle Type
oracle_scale_factoruint32OracleScaleFactor
expiration_timestampint64Defines the expiration time for the market in UNIX seconds.
settlement_timestampint64Defines the settlement time for the market in UNIX seconds.
quote_denomstringCoin denom used for the quote asset.
quote_token_metaTokenMetaToken metadata for quote asset
maker_fee_ratestringDefines the fee percentage makers pay when trading (in quote asset)
taker_fee_ratestringDefines the fee percentage takers pay when trading (in quote asset)
service_provider_feestringPercentage of the transaction fee shared with the service provider
min_price_tick_sizestringDefines the minimum required tick size for the order's price
min_quantity_tick_sizestringDefines the minimum required tick size for the order's quantity
settlement_pricestringDefines the settlement price of the market
min_notionalstringDefines the minimum notional value for the market
+ + +
**TokenMeta** -| Parameter | Type | Description | -| --------- | ------- | ----------------------------------------------- | -| address | String | Token's Ethereum contract address | -| decimals | Integer | Token decimals | -| logo | String | URL to the logo image | -| name | String | Token full name | -| symbol | String | Token symbol short name | -| updatedAt | Integer | Token metadata fetched timestamp in UNIX millis | + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ + +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | --------------------------------- | -| total | Integer | Total number of available records | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ diff --git a/source/includes/_errors.md b/source/includes/_errors.md index c8d791be..3ca16af6 100644 --- a/source/includes/_errors.md +++ b/source/includes/_errors.md @@ -1,477 +1,990 @@ -# Cosmos SDK errors +# Error Codes + +This section lists all error codes from various modules in the Injective ecosystem. + +## 06-solomachine module + + + + + + +
module_nameerror_codedescription
06-solomachine2invalid header
06-solomachine3invalid sequence
06-solomachine4invalid signature and data
06-solomachine5signature verification failed
06-solomachine6invalid solo machine proof
+ + +## 07-tendermint module + + + + + + + + + + + + + + +
module_nameerror_codedescription
07-tendermint2invalid chain-id
07-tendermint3invalid trusting period
07-tendermint4invalid unbonding period
07-tendermint5invalid header height
07-tendermint6invalid header
07-tendermint7invalid max clock drift
07-tendermint8processed time not found
07-tendermint9processed height not found
07-tendermint10packet-specified delay period has not been reached
07-tendermint11time since latest trusted state has passed the trusting period
07-tendermint12time since latest trusted state has passed the unbonding period
07-tendermint13invalid proof specs
07-tendermint14invalid validator set
+ + +## Auction module + + + +
module_nameerror_codedescription
auction1invalid bid denom
auction2invalid bid round
+ ## Authz module - - - - - - - - -
Error CodeDescription
2authorization not found
3expiration time of authorization should be more than current time
4unknown authorization type
5grant key not found
6authorization expired
7grantee and granter should be different
9authorization can be given to msg with only one signer
12max tokens should be positive
+ + + + + + + + +
module_nameerror_codedescription
authz2authorization not found
authz3expiration time of authorization should be more than current time
authz4unknown authorization type
authz5grant key not found
authz6authorization expired
authz7grantee and granter should be different
authz9authorization can be given to msg with only one signer
authz12max tokens should be positive
+ + +## Bandoracle module + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
bandoracle1owasm compilation failed
bandoracle2bad wasm execution
bandoracle3data source not found
bandoracle4oracle script not found
bandoracle5request not found
bandoracle6raw request not found
bandoracle7reporter not found
bandoracle8result not found
bandoracle9reporter already exists
bandoracle10validator not requested
bandoracle11validator already reported
bandoracle12invalid report size
bandoracle13reporter not authorized
bandoracle14editor not authorized
bandoracle16validator already active
bandoracle17too soon to activate
bandoracle18too long name
bandoracle19too long description
bandoracle20empty executable
bandoracle21empty wasm code
bandoracle22too large executable
bandoracle23too large wasm code
bandoracle24invalid min count
bandoracle25invalid ask count
bandoracle26too large calldata
bandoracle27too long client id
bandoracle28empty raw requests
bandoracle29empty report
bandoracle30duplicate external id
bandoracle31too long schema
bandoracle32too long url
bandoracle33too large raw report data
bandoracle34insufficient available validators
bandoracle35cannot create with [do-not-modify] content
bandoracle36cannot reference self as reporter
bandoracle37obi decode failed
bandoracle38uncompression failed
bandoracle39request already expired
bandoracle40bad drbg initialization
bandoracle41max oracle channels
bandoracle42invalid ICS20 version
bandoracle43not enough fee
bandoracle44invalid owasm gas
bandoracle45sending oracle request via IBC is disabled
bandoracle46invalid request key
bandoracle47too long request key
## Bank module - - - - - - - - -
Error CodeDescription
2no inputs to send transaction
3no outputs to send transaction
4sum inputs != sum outputs
5send transactions are disabled
6client denom metadata not found
7invalid key
8duplicate entry
9multiple senders not allowed
+ + + + + + + + +
module_nameerror_codedescription
bank2no inputs to send transaction
bank3no outputs to send transaction
bank4sum inputs != sum outputs
bank5send transactions are disabled
bank6client denom metadata not found
bank7invalid key
bank8duplicate entry
bank9multiple senders not allowed
+ + +## Capability module + + + + + + + + +
module_nameerror_codedescription
capability2capability name not valid
capability3provided capability is nil
capability4capability name already taken
capability5given owner already claimed capability
capability6capability not owned by module
capability7capability not found
capability8owners not found for capability
+ + +## Chainlink module + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
chainlink1stale report
chainlink2incomplete proposal
chainlink3repeated oracle address
chainlink4too many signers
chainlink5incorrect config
chainlink6config digest doesn't match
chainlink7wrong number of signatures
chainlink8incorrect signature
chainlink9no transmitter specified
chainlink10incorrect transmission data
chainlink11no transmissions found
chainlink12median value is out of bounds
chainlink13LINK denom doesn't match
chainlink14Reward Pool doesn't exist
chainlink15wrong number of payees and transmitters
chainlink16action is restricted to the module admin
chainlink17feed already exists
chainlink19feed doesnt exists
chainlink20action is admin-restricted
chainlink21insufficient reward pool
chainlink22payee already set
chainlink23action is payee-restricted
chainlink24feed config not found
+ + +## Channel module + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
channel2channel already exists
channel3channel not found
channel4invalid channel
channel5invalid channel state
channel6invalid channel ordering
channel7invalid counterparty channel
channel8invalid channel capability
channel9channel capability not found
channel10sequence send not found
channel11sequence receive not found
channel12sequence acknowledgement not found
channel13invalid packet
channel14packet timeout
channel15too many connection hops
channel16invalid acknowledgement
channel17acknowledgement for packet already exists
channel18invalid channel identifier
channel19packet already received
channel20packet commitment not found
channel21packet sequence is out of order
channel22packet messages are redundant
channel23message is redundant, no-op will be performed
channel24invalid channel version
channel25packet has not been sent
channel26invalid packet timeout
channel27upgrade error receipt not found
channel28invalid upgrade
channel29invalid upgrade sequence
channel30upgrade not found
channel31incompatible counterparty upgrade
channel32invalid upgrade error
channel33restore failed
channel34upgrade timed-out
channel35upgrade timeout is invalid
channel36pending inflight packets exist
channel37upgrade timeout failed
channel38invalid pruning limit
channel39timeout not reached
channel40timeout elapsed
channel41pruning sequence start not found
channel42recv start sequence not found
+ + +## Client module + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
client2light client already exists
client3light client is invalid
client4light client not found
client5light client is frozen due to misbehaviour
client6invalid client metadata
client7consensus state not found
client8invalid consensus state
client9client type not found
client10invalid client type
client11commitment root not found
client12invalid client header
client13invalid light client misbehaviour
client14client state verification failed
client15client consensus state verification failed
client16connection state verification failed
client17channel state verification failed
client18packet commitment verification failed
client19packet acknowledgement verification failed
client20packet receipt verification failed
client21next sequence receive verification failed
client22self consensus state not found
client23unable to update light client
client24invalid recovery client
client25invalid client upgrade
client26invalid height
client27invalid client state substitute
client28invalid upgrade proposal
client29client state is not active
client30membership verification failed
client31non-membership verification failed
client32client type not supported
+ + +## Commitment module + + + + +
module_nameerror_codedescription
commitment2invalid proof
commitment3invalid prefix
commitment4invalid merkle proof
+ + +## Connection module + + + + + + + + + + + +
module_nameerror_codedescription
connection2connection already exists
connection3connection not found
connection4light client connection paths not found
connection5connection path is not associated to the given light client
connection6invalid connection state
connection7invalid counterparty connection
connection8invalid connection
connection9invalid connection version
connection10connection version negotiation failed
connection11invalid connection identifier
## Crisis module - - -
Error CodeDescription
2sender address is empty
3unknown invariant
+ + +
module_nameerror_codedescription
crisis2sender address is empty
crisis3unknown invariant
## Distribution module - - - - - - - - - - - - -
Error CodeDescription
2delegator address is empty
3withdraw address is empty
4validator address is empty
5no delegation distribution info
6no validator distribution info
7no validator commission to withdraw
8set withdraw address disabled
9community pool does not have sufficient coins to distribute
10invalid community pool spend proposal amount
11invalid community pool spend proposal recipient
12validator does not exist
13delegation does not exist
+ + + + + + + + + + + + +
module_nameerror_codedescription
distribution2delegator address is empty
distribution3withdraw address is empty
distribution4validator address is empty
distribution5no delegation distribution info
distribution6no validator distribution info
distribution7no validator commission to withdraw
distribution8set withdraw address disabled
distribution9community pool does not have sufficient coins to distribute
distribution10invalid community pool spend proposal amount
distribution11invalid community pool spend proposal recipient
distribution12validator does not exist
distribution13delegation does not exist
+ + +## Erc20 module + + + + + + + + + + + +
module_nameerror_codedescription
erc202attempting to create a token pair for bank denom that already has a pair associated
erc203unauthorized account
erc204invalid genesis
erc205invalid token pair
erc206invalid ERC20 contract address
erc207unknown bank denom or zero supply
erc208error uploading ERC20 contract
erc209invalid token factory denom
erc2010respective erc20:... denom has existing supply
erc2011invalid query request
## Evidence module - - - -
Error CodeDescription
2unregistered handler for evidence type
3invalid evidence
5evidence already exists
+ + + +
module_nameerror_codedescription
evidence2unregistered handler for evidence type
evidence3invalid evidence
evidence5evidence already exists
+ + +## Evm module + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
evm2invalid storage state
evm3execution reverted
evm4chain configuration not found
evm5invalid chain configuration
evm6invalid zero address
evm7empty hash
evm8block bloom not found
evm9transaction receipt not found
evm10EVM Create operation is disabled
evm11EVM Call operation is disabled
evm12invalid transaction amount
evm13invalid gas price
evm14invalid gas fee
evm15evm transaction execution failed
evm16invalid gas refund amount
evm17inconsistent gas
evm18invalid gas cap
evm19invalid base fee
evm20gas computation overflow/underflow
evm21account type is not a valid ethereum account
evm22invalid gas limit
evm23failed to apply state override
evm24EVM Create operation is not authorized for user
+ + +## Exchange module + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
exchange1failed to validate order
exchange2spot market not found
exchange3spot market exists
exchange4struct field error
exchange5failed to validate market
exchange6subaccount has insufficient deposits
exchange7unrecognized order type
exchange8position quantity insufficient for order
exchange9order hash is not valid
exchange10subaccount id is not valid
exchange11invalid ticker
exchange12invalid base denom
exchange13invalid quote denom
exchange14invalid oracle
exchange15invalid expiry
exchange16invalid price
exchange17invalid quantity
exchange18unsupported oracle type
exchange19order doesnt exist
exchange20spot limit orderbook fill invalid
exchange21perpetual market exists
exchange22expiry futures market exists
exchange23expiry futures market expired
exchange24no liquidity on the orderbook!
exchange25orderbook liquidity cannot satisfy current worst price
exchange26insufficient margin
exchange27derivative market not found
exchange28position not found
exchange29position direction does not oppose the reduce-only order
exchange30price Surpasses Bankruptcy Price
exchange31position not liquidable
exchange32invalid trigger price
exchange33invalid oracle type
exchange34invalid minimum price tick size
exchange35invalid minimum quantity tick size
exchange36invalid minimum order margin
exchange37exceeds order side count
exchange38subaccount cannot place a market order when a market order in the same market was already placed in same block
exchange39cannot place a conditional market order when a conditional market order in same relative direction already exists
exchange40equivalent market launch proposal already exists
exchange41invalid market status
exchange42base denom cannot be same with quote denom
exchange43oracle base cannot be same with oracle quote
exchange44makerFeeRate does not match TakerFeeRate requirements
exchange45ensure that MaintenanceMarginRatio < InitialMarginRatio <= ReduceMarginRatio
exchange46oracleScaleFactor cannot be greater than MaxOracleScaleFactor
exchange47spot exchange is not enabled yet
exchange48derivatives exchange is not enabled yet
exchange49oracle price delta exceeds threshold
exchange50invalid hourly interest rate
exchange51invalid hourly funding rate cap
exchange52only perpetual markets can update funding parameters
exchange53invalid trading reward campaign
exchange54invalid fee discount schedule
exchange55invalid liquidation order
exchange56unknown error happened for campaign distributions
exchange57invalid trading reward points update
exchange58invalid batch msg update
exchange59post-only order exceeds top of book price
exchange60order type not supported for given message
exchange61sender must match dmm account
exchange62already opted out of rewards
exchange63invalid margin ratio
exchange64provided funds are below minimum
exchange65position is below initial margin requirement
exchange66pool has non-positive total lp token supply
exchange67passed lp token burn amount is greater than total lp token supply
exchange68unsupported action
exchange69position quantity cannot be negative
exchange70binary options market exists
exchange71binary options market not found
exchange72invalid settlement
exchange73account doesnt exist
exchange74sender should be a market admin
exchange75market is already scheduled to settle
exchange76market not found
exchange77denom decimal should be greater than 0 and not greater than max scale factor
exchange78state is invalid
exchange79transient orders up to cancellation not supported
exchange80invalid trade
exchange81no margin locked in subaccount
exchange82invalid access level to perform action
exchange83invalid address
exchange84invalid argument
exchange85invalid funds direction
exchange86no funds provided
exchange87invalid signature
exchange88no funds to unlock
exchange89no msgs provided
exchange90no msg provided
exchange91invalid amount
exchange92The current feature has been disabled
exchange93order has too much margin
exchange94subaccount nonce is invalid
exchange95insufficient funds
exchange96exchange is in post-only mode
exchange97client order id already exists
exchange98client order id is invalid. Max length is 36 chars
exchange99market cannot be settled in emergency mode
exchange100invalid notional
exchange101stale oracle price
exchange102invalid stake grant
exchange103insufficient stake for grant
exchange104invalid permissions
exchange105the decimals specified for the denom is incorrect
exchange106insufficient market balance
exchange107invalid expiration block
exchange108v1 perpetual and expiry market launch proposal is not supported
exchange109position not offsettable
exchange110offsetting subaccount IDs cannot be empty
exchange111invalid open notional cap
## Feegrant module - - - - - - -
Error CodeDescription
2fee limit exceeded
3fee allowance expired
4invalid duration
5no allowance
6allowed messages are empty
7message not allowed
+ + + + + + +
module_nameerror_codedescription
feegrant2fee limit exceeded
feegrant3fee allowance expired
feegrant4invalid duration
feegrant5no allowance
feegrant6allowed messages are empty
feegrant7message not allowed
+ + +## Feeibc module + + + + + + + + + + + + +
module_nameerror_codedescription
feeibc2invalid ICS29 middleware version
feeibc3no account found for given refund address
feeibc4balance not found for given account address
feeibc5there is no fee escrowed for the given packetID
feeibc6relayers must not be set. This feature is not supported
feeibc7counterparty payee must not be empty
feeibc8forward relayer address not found
feeibc9fee module is not enabled for this channel. If this error occurs after channel setup, fee module may not be enabled
feeibc10relayer address must be stored for async WriteAcknowledgement
feeibc11the fee module is currently locked, a severe bug has been detected
feeibc12unsupported action
## Gov module - - - - - - - - - - - - - - - - - - -
Error CodeDescription
3inactive proposal
4proposal already active
5invalid proposal content
6invalid proposal type
7invalid vote option
8invalid genesis state
9no handler exists for proposal type
10proposal message not recognized by router
11no messages proposed
12invalid proposal message
13expected gov account as only signer for proposal message
15metadata too long
16minimum deposit is too small
18invalid proposer
20voting period already ended
21invalid proposal
22summary too long
23invalid deposit denom
- - -## Nft module - - - - - - - -
Error CodeDescription
3nft class already exists
4nft class does not exist
5nft already exists
6nft does not exist
7empty class id
8empty nft id
+ + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
gov3inactive proposal
gov4proposal already active
gov5invalid proposal content
gov6invalid proposal type
gov7invalid vote option
gov8invalid genesis state
gov9no handler exists for proposal type
gov10proposal message not recognized by router
gov11no messages proposed
gov12invalid proposal message
gov13expected gov account as only signer for proposal message
gov15metadata too long
gov16minimum deposit is too small
gov18invalid proposer
gov20voting period already ended
gov21invalid proposal
gov22summary too long
gov23invalid deposit denom
-## Slashing module +## Host module - - - - - - - - -
Error CodeDescription
2address is not associated with any known validator
3validator does not exist for that address
4validator still jailed; cannot be unjailed
5validator not jailed; cannot be unjailed
6validator has no self-delegation; cannot be unjailed
7validator's self delegation less than minimum; cannot be unjailed
8no validator signing info found
9validator already tombstoned
+ + + +
module_nameerror_codedescription
host2invalid identifier
host3invalid path
host4invalid packet
-## Staking module +## Hyperlane module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Error CodeDescription
2empty validator address
3validator does not exist
4validator already exist for this operator address; must use new validator operator address
5validator already exist for this pubkey; must use new validator pubkey
6validator pubkey type is not supported
7validator for this address is currently jailed
8failed to remove validator
9commission must be positive
10commission cannot be more than 100%
11commission cannot be more than the max rate
12commission cannot be changed more than once in 24h
13commission change rate must be positive
14commission change rate cannot be more than the max rate
15commission cannot be changed more than max change rate
16validator's self delegation must be greater than their minimum self delegation
17minimum self delegation cannot be decrease
18empty delegator address
19no delegation for (address, validator) tuple
20delegator does not exist with address
21delegator does not contain delegation
22insufficient delegation shares
23cannot delegate to an empty validator
24not enough delegation shares
25entry not mature
26no unbonding delegation found
27too many unbonding delegation entries for (delegator, validator) tuple
28no redelegation found
29cannot redelegate to the same validator
30too few tokens to redelegate (truncates to zero tokens)
31redelegation destination validator not found
32redelegation to this validator already in progress; first redelegation to this validator must complete before next redelegation
33too many redelegation entries for (delegator, src-validator, dst-validator) tuple
34cannot delegate to validators with invalid (zero) ex-rate
35both shares amount and shares percent provided
36neither shares amount nor shares percent provided
37invalid historical info
38no historical info found
39empty validator public key
40commission cannot be less than min rate
41unbonding operation not found
42cannot un-hold unbonding operation that is not on hold
43expected authority account as only signer for proposal message
44redelegation source validator not found
45unbonding type not found
70commission rate too small
+ + + +
module_nameerror_codedescription
hyperlane1no receiver ISM
hyperlane2required hook not set
hyperlane3default hook not set
-## Upgrade module - - - - - - -
Error CodeDescription
2module version not found
3upgrade plan not found
4upgraded client not found
5upgraded consensus state not found
6expected authority account as only signer for proposal message
+## Ibc module + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
ibc1invalid sequence
ibc2unauthorized
ibc3insufficient funds
ibc4unknown request
ibc5invalid address
ibc6invalid coins
ibc7out of gas
ibc8invalid request
ibc9invalid height
ibc10invalid version
ibc11invalid chain-id
ibc12invalid type
ibc13failed packing protobuf message to Any
ibc14failed unpacking protobuf message from Any
ibc15internal logic error
ibc16not found
-# Injective errors +## Ibchooks module -## Auction module + +
module_nameerror_codedescription
ibchooks2error in wasmhook message validation
+ + +## Icacontroller module - - -
Error CodeDescription
1invalid bid denom
2invalid bid round
+ +
module_nameerror_codedescription
icacontroller2controller submodule is disabled
-## Erc20 module +## Icahost module - - - - - - - - - - -
Error CodeDescription
2attempting to create a token pair for bank denom that already has a pair associated
3unauthorized account
4invalid genesis
5invalid token pair
6invalid ERC20 contract address
7unknown bank denom or zero supply
8error uploading ERC20 contract
9invalid token factory denom
10respective erc20:... denom has existing supply
11invalid query request
+ +
module_nameerror_codedescription
icahost2host submodule is disabled
-## Exchange module +## Injective module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Error CodeDescription
1failed to validate order
2spot market not found
3spot market exists
4struct field error
5failed to validate market
6subaccount has insufficient deposits
7unrecognized order type
8position quantity insufficient for order
9order hash is not valid
10subaccount id is not valid
11invalid ticker
12invalid base denom
13invalid quote denom
14invalid oracle
15invalid expiry
16invalid price
17invalid quantity
18unsupported oracle type
19order doesnt exist
20spot limit orderbook fill invalid
21perpetual market exists
22expiry futures market exists
23expiry futures market expired
24no liquidity on the orderbook!
25Orderbook liquidity cannot satisfy current worst price
26insufficient margin
27Derivative market not found
28Position not found
29Position direction does not oppose the reduce-only order
30Price Surpasses Bankruptcy Price
31Position not liquidable
32invalid trigger price
33invalid oracle type
34invalid minimum price tick size
35invalid minimum quantity tick size
36invalid minimum order margin
37Exceeds order side count
38Subaccount cannot place a market order when a market order in the same market was already placed in same block
39cannot place a conditional market order when a conditional market order in same relative direction already exists
40An equivalent market launch proposal already exists.
41Invalid Market Status
42base denom cannot be same with quote denom
43oracle base cannot be same with oracle quote
44MakerFeeRate does not match TakerFeeRate requirements
45Ensure that MaintenanceMarginRatio < InitialMarginRatio <= ReduceMarginRatio
46OracleScaleFactor cannot be greater than MaxOracleScaleFactor
47Spot exchange is not enabled yet
48Derivatives exchange is not enabled yet
49Oracle price delta exceeds threshold
50Invalid hourly interest rate
51Invalid hourly funding rate cap
52Only perpetual markets can update funding parameters
53Invalid trading reward campaign
54Invalid fee discount schedule
55invalid liquidation order
56Unknown error happened for campaign distributions
57Invalid trading reward points update
58Invalid batch msg update
59Post-only order exceeds top of book price
60Order type not supported for given message
61Sender must match dmm account
62already opted out of rewards
63Invalid margin ratio
64Provided funds are below minimum
65Position is below initial margin requirement
66Pool has non-positive total lp token supply
67Passed lp token burn amount is greater than total lp token supply
68unsupported action
69position quantity cannot be negative
70binary options market exists
71binary options market not found
72invalid settlement
73account doesnt exist
74sender should be a market admin
75market is already scheduled to settle
76market not found
77denom decimal cannot be higher than max scale factor
78state is invalid
79transient orders up to cancellation not supported
80invalid trade
81no margin locked in subaccount
82Invalid access level to perform action
83Invalid address
84Invalid argument
85Invalid funds direction
86No funds provided
87Invalid signature
88no funds to unlock
89No msgs provided
90No msg provided
91Invalid amount
92The current feature has been disabled
93Order has too much margin
94Subaccount nonce is invalid
95insufficient funds
96exchange is in post-only mode
97client order id already exists
98client order id is invalid. Max length is 36 chars
99market cannot be settled in emergency mode
100invalid notional
101stale oracle price
102invalid stake grant
103insufficient stake for grant
104invalid permissions
105the decimals specified for the denom is incorrect
106insufficient market balance
107invalid expiration block
108v1 perpetual and expiry market launch proposal is not supported
+ +
module_nameerror_codedescription
injective3invalid chain ID
## Insurance module - - - - - - - - - - - - -
Error CodeDescription
1insurance fund already exists
2insurance fund not found
3redemption already exists
4invalid deposit amount
5invalid deposit denom
6insurance payout exceeds deposits
7invalid ticker
8invalid quote denom
9invalid oracle
10invalid expiration time
11invalid marketID
12invalid share denom
- - -## Ocr module - - - - - - - - - - - - - - - - - - - - - - - - -
Error CodeDescription
1stale report
2incomplete proposal
3repeated oracle address
4too many signers
5incorrect config
6config digest doesn't match
7wrong number of signatures
8incorrect signature
9no transmitter specified
10incorrect transmission data
11no transmissions found
12median value is out of bounds
13LINK denom doesn't match
14Reward Pool doesn't exist
15wrong number of payees and transmitters
16action is restricted to the module admin
17feed already exists
19feed doesnt exists
20action is admin-restricted
21insufficient reward pool
22payee already set
23action is payee-restricted
24feed config not found
+ + + + + + + + + + + + +
module_nameerror_codedescription
insurance1insurance fund already exists
insurance2insurance fund not found
insurance3redemption already exists
insurance4invalid deposit amount
insurance5invalid deposit denom
insurance6insurance payout exceeds deposits
insurance7invalid ticker
insurance8invalid quote denom
insurance9invalid oracle
insurance10invalid expiration time
insurance11invalid marketID
insurance12invalid share denom
+ + +## Interchainaccounts module + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
interchainaccounts2unknown data type
interchainaccounts3account already exist
interchainaccounts4port is already bound
interchainaccounts5invalid message sent to channel end
interchainaccounts6invalid outgoing data
interchainaccounts7invalid route
interchainaccounts8interchain account not found
interchainaccounts9interchain account is already set
interchainaccounts10active channel already set for this owner
interchainaccounts11no active channel for this owner
interchainaccounts12invalid interchain accounts version
interchainaccounts13invalid account address
interchainaccounts14interchain account does not support this action
interchainaccounts15invalid controller port
interchainaccounts16invalid host port
interchainaccounts17timeout timestamp must be in the future
interchainaccounts18codec is not supported
interchainaccounts19invalid account reopening
+ + +## Ism module + + + + + + + + + + + + +
module_nameerror_codedescription
ism1unexpected error
ism2invalid multisig configuration
ism3invalid announce
ism4mailbox does not exist
ism5invalid signature
ism6invalid ism type
ism7unknown ism id
ism8no route found
ism9unauthorized
ism10invalid owner
ism11route for domain already exists
## Oracle module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Error CodeDescription
1relayer address is empty
2bad rates count
3bad resolve times
4bad request ID
5relayer not authorized
6bad price feed base count
7bad price feed quote count
8unsupported oracle type
9bad messages count
10bad Coinbase message
11bad Ethereum signature
12bad Coinbase message timestamp
13Coinbase price not found
14Prices must be positive
15Prices must be less than 10 million.
16Invalid Band IBC Request
17sample error
18invalid packet timeout
19invalid symbols count
20could not claim port capability
21invalid IBC Port ID
22invalid IBC Channel ID
23invalid Band IBC request interval
24Invalid Band IBC Update Request Proposal
25Band IBC Oracle Request not found
26Base Info is empty
27provider is empty
28invalid provider name
29invalid symbol
30relayer already exists
31provider price not found
32invalid oracle request
33no price for oracle was found
34no address for Pyth contract found
35unauthorized Pyth price relay
36unauthorized Pyth price relay
37unauthorized Pyth price relay
38unauthorized Pyth price relay
39empty price attestations
40bad Stork message timestamp
41sender stork is empty
42invalid stork signature
43stork asset id not unique
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
oracle1relayer address is empty
oracle2bad rates count
oracle3bad resolve times
oracle4bad request ID
oracle5relayer not authorized
oracle6bad price feed base count
oracle7bad price feed quote count
oracle8unsupported oracle type
oracle9bad messages count
oracle10bad Coinbase message
oracle11bad Ethereum signature
oracle12bad Coinbase message timestamp
oracle13Coinbase price not found
oracle14Prices must be positive
oracle15Prices must be less than 10 million.
oracle16Invalid Band IBC Request
oracle17sample error
oracle18invalid packet timeout
oracle19invalid symbols count
oracle20could not claim port capability
oracle21invalid IBC Port ID
oracle22invalid IBC Channel ID
oracle23invalid Band IBC request interval
oracle24Invalid Band IBC Update Request Proposal
oracle25Band IBC Oracle Request not found
oracle26Base Info is empty
oracle27provider is empty
oracle28invalid provider name
oracle29invalid symbol
oracle30relayer already exists
oracle31provider price not found
oracle32invalid oracle request
oracle33no price for oracle was found
oracle34no address for Pyth contract found
oracle35unauthorized Pyth price relay
oracle36unauthorized Pyth price relay
oracle37unauthorized Pyth price relay
oracle38unauthorized Pyth price relay
oracle39empty price attestations
oracle40bad Stork message timestamp
oracle41sender stork is empty
oracle42invalid stork signature
oracle43stork asset id not unique
+ + +## Params module + + + + + + + +
module_nameerror_codedescription
params2unknown subspace
params3failed to set parameter
params4submitted parameter changes are empty
params5parameter subspace is empty
params6parameter key is empty
params7parameter value is empty
## Peggy module - - - - - - - - - - - - - - - -
Error CodeDescription
1internal
2duplicate
3invalid
4timeout
5unknown
6empty
7outdated
8unsupported
9non contiguous event nonce
10no unbatched txs found
11can not set orchestrator addresses more than once
12supply cannot exceed max ERC20 value
13invalid ethereum sender on claim
14invalid ethereum destination
15missing previous claim for validator
+ + + + + + + + + + + + + + + +
module_nameerror_codedescription
peggy1internal
peggy2duplicate
peggy3invalid
peggy4timeout
peggy5unknown
peggy6empty
peggy7outdated
peggy8unsupported
peggy9non contiguous event nonce
peggy10no unbatched txs found
peggy11can not set orchestrator addresses more than once
peggy12supply cannot exceed max ERC20 value
peggy13invalid ethereum sender on claim
peggy14invalid ethereum destination
peggy15missing previous claim for validator
## Permissions module - - - - - - - - - - - - - - - -
Error CodeDescription
2attempting to create a namespace for denom that already exists
3unauthorized account
4invalid genesis
5invalid namespace
6invalid permissions
7unknown role
8unknown contract address
9restricted action
10invalid role
11namespace for denom does not exist
12wasm hook query error
13voucher was not found
14invalid contract hook
15unknown policy
16unauthorized policy change
+ + + + + + + + + + + + + + + +
module_nameerror_codedescription
permissions2attempting to create a namespace for denom that already exists
permissions3unauthorized account
permissions4invalid genesis
permissions5invalid namespace
permissions6invalid permissions
permissions7unknown role
permissions8unknown contract address
permissions9restricted action
permissions10invalid role
permissions11namespace for denom does not exist
permissions12wasm hook query error
permissions13voucher was not found
permissions14invalid contract hook
permissions15unknown policy
permissions16unauthorized policy change
+ + +## Port module + + + + + +
module_nameerror_codedescription
port2port is already binded
port3port not found
port4invalid port
port5route not found
+ + +## Post_dispatch module + + + + + + +
module_nameerror_codedescription
post_dispatch1mailbox does not exist
post_dispatch2sender is not designated mailbox
post_dispatch3hook does not exist or isn't registered
post_dispatch4unauthorized
post_dispatch5invalid owner
+ + +## Sdk module + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
sdk2tx parse error
sdk3invalid sequence
sdk4unauthorized
sdk5insufficient funds
sdk6unknown request
sdk7invalid address
sdk8invalid pubkey
sdk9unknown address
sdk10invalid coins
sdk11out of gas
sdk12memo too large
sdk13insufficient fee
sdk14maximum number of signatures exceeded
sdk15no signatures supplied
sdk16failed to marshal JSON bytes
sdk17failed to unmarshal JSON bytes
sdk18invalid request
sdk19tx already in mempool
sdk20mempool is full
sdk21tx too large
sdk22key not found
sdk23invalid account password
sdk24tx intended signer does not match the given signer
sdk25invalid gas adjustment
sdk26invalid height
sdk27invalid version
sdk28invalid chain-id
sdk29invalid type
sdk30tx timeout height
sdk31unknown extension options
sdk32incorrect account sequence
sdk33failed packing protobuf message to Any
sdk34failed unpacking protobuf message from Any
sdk35internal logic error
sdk36conflict
sdk37feature not supported
sdk38not found
sdk39Internal IO error
sdk40error in app.toml
sdk41invalid gas limit
+ + +## Slashing module + + + + + + + + + +
module_nameerror_codedescription
slashing2address is not associated with any known validator
slashing3validator does not exist for that address
slashing4validator still jailed; cannot be unjailed
slashing5validator not jailed; cannot be unjailed
slashing6validator has no self-delegation; cannot be unjailed
slashing7validator's self delegation less than minimum; cannot be unjailed
slashing8no validator signing info found
slashing9validator already tombstoned
+ + +## Staking module + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
staking2empty validator address
staking3validator does not exist
staking4validator already exist for this operator address; must use new validator operator address
staking5validator already exist for this pubkey; must use new validator pubkey
staking6validator pubkey type is not supported
staking7validator for this address is currently jailed
staking8failed to remove validator
staking9commission must be positive
staking10commission cannot be more than 100%
staking11commission cannot be more than the max rate
staking12commission cannot be changed more than once in 24h
staking13commission change rate must be positive
staking14commission change rate cannot be more than the max rate
staking15commission cannot be changed more than max change rate
staking16validator's self delegation must be greater than their minimum self delegation
staking17minimum self delegation cannot be decrease
staking18empty delegator address
staking19no delegation for (address, validator) tuple
staking20delegator does not exist with address
staking21delegator does not contain delegation
staking22insufficient delegation shares
staking23cannot delegate to an empty validator
staking24not enough delegation shares
staking25entry not mature
staking26no unbonding delegation found
staking27too many unbonding delegation entries for (delegator, validator) tuple
staking28no redelegation found
staking29cannot redelegate to the same validator
staking30too few tokens to redelegate (truncates to zero tokens)
staking31redelegation destination validator not found
staking32redelegation to this validator already in progress; first redelegation to this validator must complete before next redelegation
staking33too many redelegation entries for (delegator, src-validator, dst-validator) tuple
staking34cannot delegate to validators with invalid (zero) ex-rate
staking35both shares amount and shares percent provided
staking36neither shares amount nor shares percent provided
staking37invalid historical info
staking38no historical info found
staking39empty validator public key
staking40commission cannot be less than min rate
staking41unbonding operation not found
staking42cannot un-hold unbonding operation that is not on hold
staking43expected authority account as only signer for proposal message
staking44redelegation source validator not found
staking45unbonding type not found
staking70commission rate too small
+ + +## Store module + + + + + + + +
module_nameerror_codedescription
store2invalid proof
store3tx parse error
store4unknown request
store5internal logic error
store6conflict
store7invalid request
+ + +## Table_testdata module + + +
module_nameerror_codedescription
table_testdata2test
## Tokenfactory module - - - - - - - - -
Error CodeDescription
2attempting to create a denom that already exists (has bank metadata)
3unauthorized account
4invalid denom
5invalid creator
6invalid authority metadata
7invalid genesis
12denom does not exist
13amount has to be positive
- - -## Wasmx module - - - - - - - - - - - - -
Error CodeDescription
1invalid gas limit
2invalid gas price
3invalid contract address
4contract already registered
5duplicate contract
6no contract addresses found
7invalid code id
8not possible to deduct gas fees
9missing granter address
10granter address does not exist
11invalid funding mode
+ + + + + + + + + + + + +
module_nameerror_codedescription
tokenfactory2attempting to create a denom that already exists (has bank metadata)
tokenfactory3unauthorized account
tokenfactory4invalid denom
tokenfactory5invalid creator
tokenfactory6invalid authority metadata
tokenfactory7invalid genesis
tokenfactory8subdenom too long, max length is 44 bytes
tokenfactory9subdenom too short, min length is 1 bytes
tokenfactory10nested subdenom too short, each one should have at least 1 bytes
tokenfactory11creator too long, max length is 75 bytes
tokenfactory12denom does not exist
tokenfactory13amount has to be positive
+ + +## Transfer module + + + + + + + + + + + +
module_nameerror_codedescription
transfer2invalid packet timeout
transfer3invalid denomination for cross-chain transfer
transfer4invalid ICS20 version
transfer5invalid token amount
transfer6denomination trace not found
transfer7fungible token transfers from this chain are disabled
transfer8fungible token transfers to this chain are disabled
transfer9max transfer channels
transfer10invalid transfer authorization
transfer11invalid memo
+ + +## Tx module + + + +
module_nameerror_codedescription
tx1tx parse error
tx2unknown protobuf field
+ + +## Txfees module + + + + +
module_nameerror_codedescription
txfees1invalid fee token
txfees2more than one coin in fee
txfees3unsupported query param
+ + +## Undefined module + + + + +
module_nameerror_codedescription
undefined1internal
undefined2stop iterating
undefined111222panic
+ + +## Upgrade module + + + + + + +
module_nameerror_codedescription
upgrade2module version not found
upgrade3upgrade plan not found
upgrade4upgraded client not found
upgrade5upgraded consensus state not found
upgrade6expected authority account as only signer for proposal message
+ + +## Warp module + + + +
module_nameerror_codedescription
warp1not enough collateral
warp2token not found
+ + +## Wasm module + + + + + + + + + + + + + + + + + + + + + + + + + + +
module_nameerror_codedescription
wasm2create wasm contract failed
wasm3contract account already exists
wasm4instantiate wasm contract failed
wasm5execute wasm contract failed
wasm6insufficient gas
wasm7invalid genesis
wasm8not found
wasm9query wasm contract failed
wasm10invalid CosmosMsg from the contract
wasm11migrate wasm contract failed
wasm12empty
wasm13exceeds limit
wasm14invalid
wasm15duplicate
wasm16max transfer channels
wasm17unsupported for this contract
wasm18pinning contract failed
wasm19unpinning contract failed
wasm20unknown message from the contract
wasm21invalid event
wasm22no such contract
wasm27max query stack size exceeded
wasm28no such code
wasm29wasmvm error
wasm30max call depth exceeded
+ + +## Wasm-hooks module + + + + + + +
module_nameerror_codedescription
wasm-hooks3cannot marshal the ICS20 packet
wasm-hooks4invalid packet data
wasm-hooks5cannot create response
wasm-hooks6wasm error
wasm-hooks7bad sender
+ + +## Xwasm module + + + + + + + + + + + + +
module_nameerror_codedescription
xwasm1invalid gas limit
xwasm2invalid gas price
xwasm3invalid contract address
xwasm4contract already registered
xwasm5duplicate contract
xwasm6no contract addresses found
xwasm7invalid code id
xwasm8not possible to deduct gas fees
xwasm9missing granter address
xwasm10granter address does not exist
xwasm11invalid funding mode
diff --git a/source/includes/_explorerrpc.md b/source/includes/_explorerrpc.md index eaca1ed3..c2130bf2 100644 --- a/source/includes/_explorerrpc.md +++ b/source/includes/_explorerrpc.md @@ -62,7 +62,7 @@ import ( ) func main() { - network := common.LoadNetwork("mainnet", "sentry") + network := common.LoadNetwork("mainnet", "lb") explorerClient, err := explorerclient.NewExplorerClient(network) if err != nil { panic(err) @@ -81,9 +81,10 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|tx_hash|String|The transaction hash|Yes| + + +
ParameterTypeDescriptionRequired
hashstringtransaction hashYes
is_evm_hashboolSet to true if the provided hash may be an EVM tx hashYes
+ ### Response Parameters @@ -213,53 +214,79 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|s|String|Status of the response| -|errmsg|String|Error message, if any| -|data|TxDetailData|Tx detail information| + + + +
ParameterTypeDescription
sstringStatus of the response.
errmsgstringError message.
dataTxDetailData
+ + +
**TxDetailData** -|Parameter|Type|Description| -|----|----|----| -|block_number|Integer|The block at which the transaction was executed| -|block_timestamp|String|The timestamp of the block (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| -|hash|String|The transaction hash| -|data|bytes|The raw data in bytes| -|gas_wanted|Integer|The gas wanted for this transaction| -|gas_used|Integer|The gas used for this transaction| -|gas_fee|GasFee|Gas fee information| -|tx_type|String|The transaction type| -|messages|String|The messages included in this transaction| -|signatures|Signatures Array|List of signatures| -|tx_number|Integer|Monotonic index of the tx in database| -|block_unix_timestamp|Integer|The timestamp of the block in UNIX millis| + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codeuint32
databyte array
infostring
gas_wantedint64
gas_usedint64
gas_feeGasFee
codespacestring
eventsEvent array
tx_typestring
messagesbyte array
signaturesSignature array
memostring
tx_numberuint64
block_unix_timestampuint64Block timestamp in unix milli
error_logstringTransaction log indicating errors
logsbyte arraytransaction event logs
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ + +
**GasFee** -|Parameter|Type|Description| -|----|----|----| -|amount|CosmosCoin Array|List of coins with denom and amount| -|gas_limit|Integer|The gas limit for the transaction| -|payer|String|The Injective Chain address paying the gas fee| -|granter|String|Address of granter of the tx| + + + + +
ParameterTypeDescription
amountCosmosCoin array
gas_limituint64
payerstring
granterstring
+ -**CosmosCoin** +
-|Parameter|Type|Description| -|----|----|----| -|denom|String|Coin denom| -|amount|String|Coin amount| +**Event** -**Signatures** + + +
ParameterTypeDescription
typestring
attributesmap[string]string
+ -|Parameter|Type|Description| -|----|----|----| -|pubkey|String|The public key of the block proposer| -|address|String|The transaction sender address| -|sequence|Integer|The sequence number of the sender's address| -|signature|String|The signature| +
+ +**Signature** + + + + + +
ParameterTypeDescription
pubkeystring
addressstring
sequenceuint64
signaturestring
+ + +
+ +**CosmosCoin** + + + +
ParameterTypeDescription
denomstringCoin denominator
amountstringCoin amount (big int)
+ ## AccountTxs @@ -357,17 +384,14 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------ | ---------------- | ----------------------------------------------- | -------- | -| address | String | The Injective Chain address | Yes | -| before | Integer | Filter transactions before a given block height | No | -| after | Integer | Filter transactions after a given block height | No | -| message_type | String | Filter by message type | No | -| module | String | Filter by module | No | -| from_number | Integer | Filter from transaction number | No | -| to_number | Integer | Filter to transaction number | No | -| status | String | Filter by transaction status | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + +
ParameterTypeDescriptionRequired
addressstringAddress of accountYes
typestringComma-separated list of msg typesYes
start_timeint64The starting timestamp in UNIX milliseconds that the txs must be equal or older thanYes
end_timeint64The ending timestamp in UNIX milliseconds that the txs must be equal or younger thanYes
per_pageint32Yes
tokenstringPagination tokenYes
+ ### Response Parameters @@ -630,58 +654,77 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|data|TxDetailData Array|TxDetailData object| -|paging|Paging|Pagination of results| + + +
ParameterTypeDescription
pagingCursor
dataTxDetailData array
+ -**Paging** +
+ +**TxDetailData** -|Parameter|Type|Description| -|----|----|----| -|total|Integer|Total number of records available| - -**Data** - -|Parameter|Type|Description| -|----|----|----| -|block_number|Integer|The block at which the transaction was executed| -|block_timestamp|String|The timestamp of the block (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| -|hash|String|The transaction hash| -|data|bytes|The raw data in bytes| -|gas_wanted|Integer|The gas wanted for this transaction| -|gas_used|Integer|The gas used for this transaction| -|gas_fee|GasFee|GasFee object| -|tx_type|String|The transaction type| -|messages|String|The messages included in this transaction| -|signatures|Signatures Array|List of signatures| -|tx_number|Integer|Monotonic index of the tx in database| -|block_unix_timestamp|Integer|The timestamp of the block in UNIX millis| + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codeuint32
databyte array
infostring
gas_wantedint64
gas_usedint64
gas_feeGasFee
codespacestring
eventsEvent array
tx_typestring
messagesbyte array
signaturesSignature array
memostring
tx_numberuint64
block_unix_timestampuint64Block timestamp in unix milli
error_logstringTransaction log indicating errors
logsbyte arraytransaction event logs
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ + +
**GasFee** -|Parameter|Type|Description| -|----|----|----| -|amount|CosmosCoin Array|List of coins with denom and amount| -|gas_limit|Integer|The gas limit for the transaction| -|payer|String|The Injective Chain address paying the gas fee| -|granter|String|Address of granter of the tx| + + + + +
ParameterTypeDescription
amountCosmosCoin array
gas_limituint64
payerstring
granterstring
+ + +
+ +**Signatures** + + + + + +
ParameterTypeDescription
pubkeystring
addressstring
sequenceuint64
signaturestring
+ + +
**CosmosCoin** -|Parameter|Type|Description| -|----|----|----| -|denom|String|Coin denom| -|amount|String|Coin amount| + + +
ParameterTypeDescription
denomstringCoin denominator
amountstringCoin amount (big int)
+ -**Signatures** +
-|Parameter|Type|Description| -|----|----|----| -|pubkey|String|The public key of the block proposer| -|address|String|The transaction sender address| -|sequence|Integer|The sequence number of the sender's address| -|signature|String|The signature| +**Cursor** + + +
ParameterTypeDescription
nextstring arrayarray of tokens to navigate to the next pages
+ ## Blocks @@ -752,11 +795,13 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ---------------- | ----------------------------------------------- | -------- | -| before | Integer | Filter transactions before a given block height | No | -| after | Integer | Filter transactions after a given block height | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + +
ParameterTypeDescriptionRequired
beforeuint64Yes
afteruint64Yes
limitint32Yes
fromuint64Unix timestamp (UTC) in millisecondsYes
touint64Unix timestamp (UTC) in millisecondsYes
+ ### Response Parameters @@ -831,27 +876,56 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|data|BlockInfo|Block data| -|paging|Paging|Pagination of results| - -**Paging** + + +
ParameterTypeDescription
pagingPaging
dataBlockInfo array
+ -|Parameter|Type|Description| -|----|----|----| -|total|Integer|Total number of records available| +
**BlockInfo** -|Parameter|Type|Description| -|----|----|----| -|height|Integer|The block height| -|proposer|String|The block proposer| -|moniker|String|The validator moniker| -|block_hash|String|The hash of the block| -|parent_hash|String|The parent hash of the block| -|timestamp|String|The timestamp of the block (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| + + + + + + + + + + +
ParameterTypeDescription
heightuint64
proposerstring
monikerstring
block_hashstring
parent_hashstring
num_pre_commitsint64
num_txsint64
txsTxDataRPC array
timestampstring
block_unix_timestampuint64Block timestamp in unix milli
+ + +
+ +**TxDataRPC** + + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codespacestring
messagesstring
tx_numberuint64
error_logstringTransaction log indicating errors
codeuint32
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ + +
+ +**Paging** + + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## Block @@ -921,9 +995,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ------------ | -------- | -| block_id | String | Block height | Yes | + +
ParameterTypeDescriptionRequired
idstringYes
+ ### Response Parameters @@ -992,34 +1066,51 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|s|String|Status of the response| -|errmsg|String|Error message, if any| -|data|BlockDetailInfo|Detailed info on the block| + + + +
ParameterTypeDescription
sstringStatus of the response.
errmsgstringError message.
dataBlockDetailInfo
+ + +
**BlockDetailInfo** -|Parameter|Type|Description| -|----|----|----| -|height|Integer|The block height| -|proposer|String|The block proposer| -|moniker|String|The block proposer's moniker| -|block_hash|String|The hash of the block| -|parent_hash|String|The parent hash of the block| -|num_txs|Integer|Number of transactions in the block| -|txs|TxData Array|List of transactions| -|timestamp|String|The timestamp of the block (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| + + + + + + + + + + + +
ParameterTypeDescription
heightuint64
proposerstring
monikerstring
block_hashstring
parent_hashstring
num_pre_commitsint64
num_txsint64
total_txsint64
txsTxData array
timestampstring
block_unix_timestampuint64Block timestamp in unix milli
+ + +
**TxData** -|Parameter|Type|Description| -|----|----|----| -|block_number|String|The block number| -|block_timestamp|String|The timestamp of the block (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| -|hash|String|Transaction hash| -|messages|bytes|Messages byte data of the transaction| -|tx_number|Integer|Transaction number| + + + + + + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codespacestring
messagesbyte array
tx_numberuint64
error_logstringTransaction log indicating errors
codeuint32
tx_msg_typesbyte array
logsbyte arraytransaction event logs
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim
signaturesSignature array
block_unix_timestampuint64Block timestamp in unix milli
ethereum_tx_hash_hexstring
+ ## Txs @@ -1099,16 +1190,19 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------ | ---------------- | ----------------------------------------------- | -------- | -| before | Integer | Filter transactions before a given block height | No | -| after | Integer | Filter transactions after a given block height | No | -| message_type | String | Filter by message type | No | -| module | String | Filter by module | No | -| from_number | Integer | Filter from transaction number | No | -| to_number | Integer | Filter to transaction number | No | -| status | String | Filter by transaction status | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + + + + + + +
ParameterTypeDescriptionRequired
beforeuint64Yes
afteruint64Yes
limitint32Yes
skipuint64Yes
typestringYes
modulestringYes
from_numberint64Yes
to_numberint64Yes
start_timeint64The starting timestamp in UNIX milliseconds that the txs must be equal or older thanYes
end_timeint64The ending timestamp in UNIX milliseconds that the txs must be equal or younger thanYes
statusstringThe status of the txs to be returnedYes
+ ### Response Parameters @@ -1231,27 +1325,44 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|data|TxData Array|Transactions data| -|paging|Paging|Pagination of results| - -**Paging** + + +
ParameterTypeDescription
pagingPaging
dataTxData array
+ -|Parameter|Type|Description| -|----|----|----| -|total|Integer|Total number of records available| +
**TxData** -|Parameter|Type|Description| -|----|----|----| -|block_number|Integer|The block at which the transaction was executed| -|block_timestamp|String|The timestamp of the block (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| -|hash|String|The transaction hash| -|messages|bytes|The raw data in bytes| -|tx_number|Integer|The transaction number| -|error_log|String|Logged errors, if any| + + + + + + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codespacestring
messagesbyte array
tx_numberuint64
error_logstringTransaction log indicating errors
codeuint32
tx_msg_typesbyte array
logsbyte arraytransaction event logs
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim
signaturesSignature array
block_unix_timestampuint64Block timestamp in unix milli
ethereum_tx_hash_hexstring
+ + +
+ +**Paging** + + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## StreamTxs @@ -1260,6 +1371,7 @@ Stream transactions. **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -1352,11 +1464,7 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | -------- | ---------------------------------------------------------------------------------------------------- | -------- | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | +No parameters ### Response Parameters @@ -1437,14 +1545,18 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|block_number|Integer|The block at which the transaction was executed| -|block_timestamp|String|The timestamp of the block (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| -|hash|String|The transaction hash| -|messages|bytes|The raw data in bytes| -|tx_number|Integer|The transaction number| -|error_log|String|Logged errors, if any| + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codespacestring
messagesstring
tx_numberuint64
error_logstringTransaction log indicating errors
codeuint32
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ ## StreamBlocks @@ -1453,6 +1565,7 @@ Stream blocks. **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -1545,11 +1658,7 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | -------- | ---------------------------------------------------------------------------------------------------- | -------- | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | +No parameters ### Response Parameters @@ -1615,15 +1724,35 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|height|Integer|The block height| -|proposer|String|The block proposer| -|moniker|String|The block proposer's moniker| -|block_hash|String|The block hash| -|parent_hash|String|The parent hash| -|num_txs|Integer|The number of transactions in the block| -|timestamp|String|The block's timestamp (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| + + + + + + + + + + +
ParameterTypeDescription
heightuint64
proposerstring
monikerstring
block_hashstring
parent_hashstring
num_pre_commitsint64
num_txsint64
txsTxDataRPC array
timestampstring
block_unix_timestampuint64Block timestamp in unix milli
+ + +
+ +**TxDataRPC** + + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codespacestring
messagesstring
tx_numberuint64
error_logstringTransaction log indicating errors
codeuint32
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ ## PeggyDeposits @@ -1702,11 +1831,12 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ---------------- | -------------------------- | -------- | -| sender | String | Filter by sender address | No | -| receiver | String | Filter by receiver address | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + +
ParameterTypeDescriptionRequired
senderstringSender address of deposit requestYes
receiverstringAddress of receiveer upon depositYes
limitint32Yes
skipuint64Yes
+ ### Response Parameters @@ -1805,26 +1935,28 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|field|PeggyDepositTx Array|List of peggy deposits| + +
ParameterTypeDescription
fieldPeggyDepositTx array
+ + +
**PeggyDepositTx** -|Parameter|Type|Description| -|----|----|----| -|sender|String|The sender address| -|receiver|String|The receiver address| -|event_nonce|Integer|The event nonce| -|event_height|Integer|The event height| -|amount|String|The deposited amount| -|denom|Integer|The token denom| -|orchestrator_address|String|The orchestrator address| -|state|String|Transaction state| -|claim_type|Integer|Claim type of the deposit, always equal to 1| -|tx_hashes|String Array|List of transaction hashes| -|created_at|Integer|The timestamp of the tx creation (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| -|updated_at|String|The timestamp of the tx update (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| + + + + + + + + + + + + +
ParameterTypeDescription
senderstringSender address of deposit request
receiverstringAddress of receiveer upon deposit
event_nonceuint64The event nonce of WithdrawalClaim event emitted by Ethereum chain upon deposit
event_heightuint64The block height of WithdrawalClaim event emitted by Ethereum chain upon deposit
amountstringAmount of tokens being deposited
denomstringDenom of tokens being deposited
orchestrator_addressstringorchestratorAddress who created batch request
statestring
claim_typeint32The claimType will be DepoistClaim for Deposits
tx_hashesstring array
created_atstring
updated_atstring
+ ## PeggyWithdrawals @@ -1905,11 +2037,12 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ---------------- | -------------------------- | -------- | -| sender | String | Filter by sender address | No | -| receiver | String | Filter by receiver address | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + +
ParameterTypeDescriptionRequired
senderstringSender address of withdrawal requestYes
receiverstringAddress of receiveer upon withdrawalYes
limitint32Yes
skipuint64Yes
+ ### Response Parameters > Response Example: @@ -2023,30 +2156,32 @@ func main() { ``` -|Parameter|Type|Description| -|----|----|----| -|field|PeggyWithdrawalTx Array|List of peggy withdrawals| + +
ParameterTypeDescription
fieldPeggyWithdrawalTx array
+ + +
**PeggyWithdrawalTx** -|Parameter|Type|Description| -|----|----|----| -|sender|String|The sender address| -|receiver|String|The receiver address| -|amount|String|The amount withdrawn| -|denom|Integer|The token denom| -|bridge_fee|String|The bridge fee| -|outgoing_tx_id|Integer|The tx nonce| -|batch_timeout|Integer|The timestamp after which batch request will be discarded if not processed already| -|BatchNonce|Integer|An auto incremented unique ID representing the Withdrawal Batches| -|orchestrator_address|String|Address that created batch request| -|event_nonce|Integer|The event nonce of WithdrawalClaim event emitted by Ethereum chain upon batch withdrawal| -|event_height|Integer|The block height of WithdrawalClaim event emitted by Ethereum chain upon batch withdrawal| -|state|String|Transaction state| -|claim_type|Integer|Claim type of the transaction, always equal to 2| -|tx_hashes|String Array|List of transaction hashes| -|created_at|Integer|The timestamp of the tx creation (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| -|updated_at|String|The timestamp of the tx update (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| + + + + + + + + + + + + + + + + +
ParameterTypeDescription
senderstringSender address of withdrawal request
receiverstringAddress of receiveer upon withdrawal
amountstringAmount of tokens being withdrawan
denomstringDenom of tokens being withdrawan
bridge_feestringThe bridge fee paid by sender for withdrawal
outgoing_tx_iduint64A auto incremented unique ID representing the withdrawal request
batch_timeoutuint64The timestamp after which Batch request will be discarded if not processed already
batch_nonceuint64A auto incremented unique ID representing the Withdrawal Batches
orchestrator_addressstringorchestratorAddress who created batch request
event_nonceuint64The event nonce of WithdrawalClaim event emitted by Ethereum chain upon batch withdrawal
event_heightuint64The block height of WithdrawalClaim event emitted by Ethereum chain upon batch withdrawal
statestring
claim_typeint32The claimType will be WithdrawalClaim for Batch Withdrawals
tx_hashesstring array
created_atstring
updated_atstring
+ ## IBCTransfers @@ -2141,15 +2276,16 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------ | ---------------- | --------------------------------------------- | -------- | -| sender | String | Filter transfers based on sender address | No | -| receiver | String | Filter transfers based on receiver address | No | -| src_channel | String | Filter transfers based on source channel | No | -| src_port | String | Filter transfers based on source port | No | -| dest_channel | String | Filter transfers based on destination channel | No | -| dest_port | String | Filter transfers based on destination port | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + + + +
ParameterTypeDescriptionRequired
senderstringYes
receiverstringYes
src_channelstringYes
src_portstringYes
dest_channelstringYes
dest_portstringYes
limitint32Yes
skipuint64Yes
+ ### Response Parameters @@ -2230,30 +2366,32 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|field|IBCTransferTx Array|List of IBC transfers| + +
ParameterTypeDescription
fieldIBCTransferTx array
+ + +
**IBCTransferTx** -|Parameter|Type|Description| -|----|----|----| -|sender|String|Sender address| -|receiver|String|Receiver address| -|source_channel|String|Source channel| -|source_port|String|Source port| -|destination_channel|String|Destination channel| -|destination_port|String|Destination port| -|amount|String|Transfer amount| -|denom|String|Token denom| -|timeout_height|Integer|Timeout height relative to the current block height. Timeout disabled if set to 0| -|timeout_timestamp|Integer|Timeout timestamp (in nanoseconds) relative to the current block timestamp| -|packet_sequence|String|Corresponds to the order of sends and receives, where a Packet with an earlier sequence number must be sent and received before a Packet with a later sequence number| -|data_hex|String|IBC request data in hex format| -|state|String|Transaction state| -|tx_hashes|String Array|List of transaction hashes| -|created_at|Integer|The timestamp of the tx creation (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| -|updated_at|String|The timestamp of the tx update (yyyy-MM-dd HH:mm:ss.SSS ZZZZ zzz, e.g. 2022-11-14 13:16:18.946 +0000 UTC)| + + + + + + + + + + + + + + + + +
ParameterTypeDescription
senderstringthe sender address
receiverstringthe recipient address on the destination chain
source_portstringthe port on which the packet will be sent
source_channelstringthe channel by which the packet will be sent
destination_portstringidentifies the port on the receiving chain
destination_channelstringidentifies the channel end on the receiving chain
amountstringtransfer amount
denomstringtransafer denom
timeout_heightstringTimeout height relative to the current block height. The timeout is disabled when set to 0
timeout_timestampuint64Timeout timestamp (in nanoseconds) relative to the current block timestamp
packet_sequenceuint64number corresponds to the order of sends and receives, where a Packet with an earlier sequence number must be sent and received before a Packet with a later sequence number
data_hexbyte array
statestring
tx_hashesstring arrayit's injective chain tx hash array
created_atstring
updated_atstring
+ ## GetWasmCodes @@ -2262,6 +2400,7 @@ List all cosmwasm code on injective chain. Results are paginated. **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -2340,6 +2479,14 @@ func main() { ``` + + + +
ParameterTypeDescriptionRequired
limitint32Yes
from_numberint64Yes
to_numberint64Yes
+ + + +### Response Parameters > Response Example: ```go @@ -2424,58 +2571,60 @@ func main() { } ``` -### Request Parameters + + +
ParameterTypeDescription
pagingPaging
dataWasmCode array
+ -| Parameter |Type|Description|Required| -|-------------|----|-----------|--------| -| limit |Integer|Limit number of codes to return|No| -| from_number |Integer|List all codes whose number (code_id) is not lower than from_number|No| -| to_number |Integer|List all codes whose number (code_id) is not greater than to_number|No| +
-### Response Parameters +**WasmCode** -| Parameter | Type | Description | -|-----------|----------------|-------------------------------------------| -| paging | Paging | Pagination of results | -| data | WasmCode Array | List of WasmCodes, after applying filters | + + + + + + + + + + + + + +
ParameterTypeDescription
code_iduint64ID of stored wasmcode, sorted in descending order
tx_hashstringTx hash of store code transaction
checksumChecksumChecksum of the cosmwasm code
created_atuint64Block time when the code is stored, in millisecond
contract_typestringContract type of the wasm code
versionstringversion string of the wasm code
permissionContractPermissiondescribe instantiate permission
code_schemastringcode schema preview
code_viewstringcode repo preview, may contain schema folder
instantiatesuint64count number of contract instantiation from this code
creatorstringcreator of this code
code_numberint64monotonic order of the code stored
proposal_idint64id of the proposal that store this code
+ -**Paging** +
-|Parameter|Type|Description| -|----|----|----| -|total|Integer|Total number of records available| +**Checksum** -**WasmCode** + + +
ParameterTypeDescription
algorithmstringAlgorithm of hash function
hashstringHash if apply algorithm to the cosmwasm bytecode
+ -| Parameter | Type | Description | -|---------------|--------------------|----------------------------------------------------------------| -| code_id | Integer | ID of stored wasm code, sorted in descending order | -| tx_hash | String | Tx hash of store code transaction | -| checksum | Checksum | Checksum of the cosmwasm code | -| created_at | Integer | Block time when the code is stored, in millisecond | -| contract_type | String | Contract type of the wasm code | -| version | String | Version of the wasm code | -| permission | ContractPermission | Describes instantiation permissions | -| code_schema | String | Code schema preview (to be supported) | -| code_view | String | Code repo preview, may contain schema folder (to be supported) | -| instantiates | Integer | Number of contract instantiations from this code | -| creator | String | Creator of this code | -| code_number | Integer | Monotonic order of the code stored | -| proposal_id | Integer | ID of the proposal that store this code | +
**ContractPermission** -|Parameter|Type|Description| -|-----|----|-----------| -|access_type|Integer|Access type of instantiation| -|address|Integer|Account address| + + +
ParameterTypeDescription
access_typeint32Access type of instantiation
addressstringAccount address
+ -**Checksum** +
-| Parameter | Type | Description | -|-----------|--------|-------------------------------| -| algorithm | String | Hash function algorithm | -| hash | String | Hash of the cosmwasm bytecode | +**Paging** + + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## GetWasmCodeByID @@ -2484,6 +2633,7 @@ Get cosmwasm code by its code ID **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -2556,6 +2706,12 @@ func main() { ``` + +
ParameterTypeDescriptionRequired
code_idint64Code ID of the codeYes
+ + +### Response Parameters + > Response Example: ```go @@ -2573,43 +2729,40 @@ func main() { } ``` -### Request Parameters -| Parameter | Type | Description | Required | -|-----------|---------|----------------|----------| -| code_id | Integer | ID of the code | Yes | + + + + + + + + + + + + + +
ParameterTypeDescription
code_iduint64ID of stored wasmcode, sorted in descending order
tx_hashstringTx hash of store code transaction
checksumChecksumChecksum of the cosmwasm code
created_atuint64Block time when the code is stored, in millisecond
contract_typestringContract type of the wasm code
versionstringversion string of the wasm code
permissionContractPermissiondescribe instantiate permission
code_schemastringcode schema preview
code_viewstringcode repo preview, may contain schema folder
instantiatesuint64count number of contract instantiation from this code
creatorstringcreator of this code
code_numberint64monotonic order of the code stored
proposal_idint64id of the proposal that store this code
+ -### Response Parameters +
-| Parameter | Type | Description | -|---------------|--------------------|----------------------------------------------------------------| -| code_id | Integer | ID of stored wasm code, sorted in descending order | -| tx_hash | String | Tx hash of store code transaction | -| checksum | Checksum | Checksum of the cosmwasm code | -| created_at | Integer | Block time when the code is stored, in millisecond | -| contract_type | String | Contract type of the wasm code | -| version | String | Version of the wasm code | -| permission | ContractPermission | Describes instantiation permissions | -| code_schema | String | Code schema preview (to be supported) | -| code_view | String | Code repo preview, may contain schema folder (to be supported) | -| instantiates | Integer | Number of contract instantiations from this code | -| creator | String | Creator of this code | -| code_number | Integer | Monotonic order of the code stored | -| proposal_id | Integer | ID of the proposal that store this code | +**Checksum** -**ContractPermission** + + +
ParameterTypeDescription
algorithmstringAlgorithm of hash function
hashstringHash if apply algorithm to the cosmwasm bytecode
+ -|Parameter|Type|Description| -|-----|----|-----------| -|access_type|Integer|Access type of instantiation| -|address|Integer|Account address| +
-**Checksum** +**ContractPermission** -| Parameter | Type | Description | -|-----------|--------|-------------------------------| -| algorithm | String | Hash function algorithm | -| hash | String | Hash of the cosmwasm bytecode | + + +
ParameterTypeDescription
access_typeint32Access type of instantiation
addressstringAccount address
+ ## GetWasmContracts @@ -2618,6 +2771,7 @@ Get cosmwasm instantiated contracts on injective-chain. Results are paginated. **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -2694,6 +2848,21 @@ func main() { ``` + + + + + + + + + +
ParameterTypeDescriptionRequired
limitint32Yes
code_idint64Yes
from_numberint64Yes
to_numberint64Yes
assets_onlyboolYes
skipint64Yes
labelstringLabel of the contractYes
tokenstringToken name or symbol to filter byYes
lookupstringText to lookup byYes
+ + + +### Response Parameters + > Response Example: ```go @@ -2782,82 +2951,87 @@ func main() { } ``` -### Request Parameters - -| Parameter | Type | Description | Required | -|-------------|---------|--------------------------------------------------------------------------------------------------------|----------| -| limit | Integer | Max number of items to be returned, defaults to 100 | No | -| code_id | Integer | Contract's code ID to be filtered | No | -| from_number | Integer | List all contracts whose number is not lower than from_number | No | -| to_number | Integer | List all contracts whose number is not greater than to_number | No | -| assets_only | Boolean | Filter only CW20 contracts | No | -| skip | Integer | Skip the first *n* cosmwasm contracts. This can be used to fetch all results since the API caps at 100 | No | - -### Response Parameters -| Parameter | Type | Description | -|--------|--------------------|---------------------------------------| -| paging | Paging | Pagination of results | -| data | WasmContract Array | List of WasmContracts after filtering | - -**Paging** + + +
ParameterTypeDescription
pagingPaging
dataWasmContract array
+ -|Parameter|Type|Description| -|-----|----|-----------| -|total|Integer|Total number of records available| +
**WasmContract** -| Parameter | Type | Description | -|-------------------------|--------------------|----------------------------------------------------------------| -| label | String | General name of the contract | -| address | String | Address of the contract | -| tx_hash | String | Hash of the instantiate transaction | -| creator | String | Address of the contract creator | -| executes | Integer | Number of times call to execute contract | -| instantiated_at | Integer | Block timestamp that contract was instantiated, in UNIX millis | -| init_message | String | Init message when this contract was instantiated | -| last_executed_at | Integer | Block timestamp that contract was last called, in UNIX millis | -| funds | ContractFund Array | List of contract funds | -| code_id | Integer | Code ID of the contract | -| admin | String | Admin of the contract | -| current_migrate_message | String | Latest migrate message of the contract | -| contract_number | Integer | Monotonic contract number in database | -| version | String | Contract version | -| type | String | Contract type | -| cw20_metadata | Cw20Metadata | Metadata of the CW20 contract | -| proposal_id | Integer | ID of the proposal that instantiates this contract | + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
labelstringGeneral name of the contract
addressstringAddress of the contract
tx_hashstringhash of the instantiate transaction
creatorstringAddress of the contract creator
executesuint64Number of times call to execute contract
instantiated_atuint64Block timestamp that contract was instantiated, in millisecond
init_messagestringinit message when this contract was instantiated
last_executed_atuint64Block timestamp that contract was called, in millisecond
fundsContractFund arrayContract funds
code_iduint64Code id of the contract
adminstringAdmin of the contract
current_migrate_messagestringLatest migrate message of the contract
contract_numberint64Monotonic contract number in database
versionstringContract version string
typestringContract type
cw20_metadataCw20Metadata
proposal_idint64id of the proposal that instantiate this contract
+ + +
**ContractFund** -|Parameter|Type|Description| -|-----|----|-----------| -|denom|String|Denominator| -|amount|String|Amount of denom| + + +
ParameterTypeDescription
denomstringDenominator
amountstringAmount of denom
+ + +
**Cw20Metadata** -|Parameter|Type|Description| -|-----|----|-----------| -|token_info|Cw20TokenInfo|CW20 token info structure| -|marketing_info|Cw20MarketingInfo|Marketing info structure| + + +
ParameterTypeDescription
token_infoCw20TokenInfo
marketing_infoCw20MarketingInfo
+ + +
**Cw20TokenInfo** -|Parameter|Type|Description| -|-----|----|-----------| -|name|String|General name of the token| -|symbol|String|Symbol of the token| -|decimals|Integer|Decimal places of token| + + + + +
ParameterTypeDescription
namestringGeneral name of the token
symbolstringSymbol of then token
decimalsint64Decimal places of token
total_supplystringToken's total supply
+ + +
**Cw20MarketingInfo** -|Parameter|Type|Description| -|-----|----|-----------| -|project|String|Project information| -|description|String|Token's description| -|logo|String|Logo (url/embedded)| -|marketing|Bytes Array|Address that can update the contract's marketing info| + + + + +
ParameterTypeDescription
projectstringProject information
descriptionstringToken's description
logostringlogo (url/embedded)
marketingbyte arrayA random field for additional marketing info
+ + +
+ +**Paging** + + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## GetWasmContractByAddress @@ -2866,6 +3040,7 @@ Get cosmwasm contract by its address **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -2935,6 +3110,13 @@ func main() { ``` + +
ParameterTypeDescriptionRequired
contract_addressstringContract addressYes
+ + + +### Response Parameters + > Response Example: ```go @@ -2953,64 +3135,66 @@ func main() { } ``` -### Request Parameters - -|Parameter|Type|Description|Required| -|-----|----|-----------|--------| -|contract_address|String|Contract address|Yes| -### Response Parameters + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
labelstringGeneral name of the contract
addressstringAddress of the contract
tx_hashstringhash of the instantiate transaction
creatorstringAddress of the contract creator
executesuint64Number of times call to execute contract
instantiated_atuint64Block timestamp that contract was instantiated, in millisecond
init_messagestringinit message when this contract was instantiated
last_executed_atuint64Block timestamp that contract was called, in millisecond
fundsContractFund arrayContract funds
code_iduint64Code id of the contract
adminstringAdmin of the contract
current_migrate_messagestringLatest migrate message of the contract
contract_numberint64Monotonic contract number in database
versionstringContract version string
typestringContract type
cw20_metadataCw20Metadata
proposal_idint64id of the proposal that instantiate this contract
+ -| Parameter | Type | Description | -|-------------------------|--------------------|----------------------------------------------------------------| -| label | String | General name of the contract | -| address | String | Address of the contract | -| tx_hash | String | Hash of the instantiate transaction | -| creator | String | Address of the contract creator | -| executes | Integer | Number of times call to execute contract | -| instantiated_at | Integer | Block timestamp that contract was instantiated, in UNIX millis | -| init_message | String | Init message when this contract was instantiated | -| last_executed_at | Integer | Block timestamp that contract was last called, in UNIX millis | -| funds | ContractFund Array | List of contract funds | -| code_id | Integer | Code ID of the contract | -| admin | String | Admin of the contract | -| current_migrate_message | String | Latest migrate message of the contract | -| contract_number | Integer | Monotonic contract number in database | -| version | String | Contract version | -| type | String | Contract type | -| cw20_metadata | Cw20Metadata | Metadata of the CW20 contract | -| proposal_id | Integer | ID of the proposal that instantiates this contract | +
**ContractFund** -|Parameter|Type|Description| -|-----|----|-----------| -|denom|String|Denominator| -|amount|String|Amount of denom| + + +
ParameterTypeDescription
denomstringDenominator
amountstringAmount of denom
+ + +
**Cw20Metadata** -|Parameter|Type|Description| -|-----|----|-----------| -|token_info|Cw20TokenInfo|CW20 token info structure| -|marketing_info|Cw20MarketingInfo|Marketing info structure| + + +
ParameterTypeDescription
token_infoCw20TokenInfo
marketing_infoCw20MarketingInfo
+ + +
**Cw20TokenInfo** -|Parameter|Type|Description| -|-----|----|-----------| -|name|String|General name of the token| -|symbol|String|Symbol of the token| -|decimals|Integer|Decimal places of token| + + + + +
ParameterTypeDescription
namestringGeneral name of the token
symbolstringSymbol of then token
decimalsint64Decimal places of token
total_supplystringToken's total supply
+ + +
**Cw20MarketingInfo** -|Parameter|Type|Description| -|-----|----|-----------| -|project|String|Project information| -|description|String|Token's description| -|logo|String|Logo (url/embedded)| -|marketing|Bytes Array|Address that can update the contract's marketing info| + + + + +
ParameterTypeDescription
projectstringProject information
descriptionstringToken's description
logostringlogo (url/embedded)
marketingbyte arrayA random field for additional marketing info
+ ## GetCw20Balance @@ -3019,6 +3203,7 @@ Get CW20 balances of an injective account across all instantiated CW20 contracts **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -3088,6 +3273,14 @@ func main() { ``` + + +
ParameterTypeDescriptionRequired
addressstringaddress to list balance ofYes
limitint32Yes
+ + + +### Response Parameters + > Response Example: ```go @@ -3114,52 +3307,53 @@ func main() { } ``` -### Request Parameters - -|Parameter|Type|Description|Required| -|-----|----|-----------|--------| -|address|String|Address to list balance of|Yes| -|limit|Integer|Limit number of balances to return|No| -### Response Parameters + +
ParameterTypeDescription
fieldWasmCw20Balance array
+ -|Parameter|Type|Description| -|-----|----|-----------| -|Parameter|WasmCw20Balance Array|CW20 balance array| +
**WasmCw20Balance** -| Parameter | Type | Description | -|------------------|--------------|---------------------------------| -| contract_address | String | Address of CW20 contract | -| account | String | Account address | -| balance | String | Account balance | -| updated_at | Integer | Update timestamp in UNIX millis | -| cw20_metadata | Cw20Metadata | Metadata of the CW20 contract | + + + + + +
ParameterTypeDescription
contract_addressstringAddress of CW20 contract
accountstringAccount address
balancestringAccount balance
updated_atint64update timestamp in milisecond
cw20_metadataCw20Metadata
+ + +
**Cw20Metadata** -|Parameter|Type|Description| -|-----|----|-----------| -|token_info|Cw20TokenInfo|CW20 token info| -|marketing_info|Cw20MarketingInfo|Marketing info| + + +
ParameterTypeDescription
token_infoCw20TokenInfo
marketing_infoCw20MarketingInfo
+ + +
**Cw20TokenInfo** -|Parameter|Type|Description| -|-----|----|-----------| -|name|String|General name of the token| -|symbol|String|Symbol of the token| -|decimals|Integer|Decimal places of token| + + + + +
ParameterTypeDescription
namestringGeneral name of the token
symbolstringSymbol of then token
decimalsint64Decimal places of token
total_supplystringToken's total supply
+ + +
**Cw20MarketingInfo** -| Parameter | Type | Description | -|-------------|-------------|-------------------------------------------------------| -| project | String | Project information | -| description | String | Token's description | -| logo | String | Logo (url/embedded) | -| marketing | Bytes Array | Address that can update the contract's marketing info | + + + + +
ParameterTypeDescription
projectstringProject information
descriptionstringToken's description
logostringlogo (url/embedded)
marketingbyte arrayA random field for additional marketing info
+ ## GetContractTxs @@ -3225,12 +3419,12 @@ func main() { ``` - - - - - -
ParameterTypeDescriptionRequired
addressStringThe contract's Injective addressYes
limitIntegerMax number of items to be returned, defaults to 100No
skipIntegerSkip the first N results. This can be used to fetch all results since the API caps at 100No
from_numberIntegerList all contracts whose number is not lower than from_numberNo
to_numberIntegerList all contracts whose number is not greater than to_numberNo
+ + + + + +
ParameterTypeDescriptionRequired
addressstringAddress of contractYes
limitint32Yes
skipuint64Yes
from_numberint64Yes
to_numberint64Yes
@@ -3564,86 +3758,86 @@ func main() { ``` - - -
ParameterTypeDescription
pagingPagingPagination details of the response's result set
dataTxDetailDataTransaction details
+ + +
ParameterTypeDescription
pagingPaging
dataTxDetailData array

**Paging** - - -
ParameterTypeDescription
pagingPagingPagination details of the response's result set
dataTxDetailDataTransaction details
+ + +
ParameterTypeDescription
pagingPaging
dataTxDetailData array

**TxDetailData** - - - - - - - - - - - - - - - - - - - - - -
ParameterTypeDescription
idStringTransaction ID
block_numberIntegerNumber of the block that included the transaction
block_timestampStringTimestamp of the block that included the transaction
hashStringTransaction hash
codeIntegerTransaction result code
dataByte ArrayTransaction data
infoStringTransaction information
gas_wantedIntegerAmount of gas sent by the user to process the transaction
gas_usedIntegerAmount of gas used by the chain to process the transaction
gas_feeGasFeeFee paid for the gas consumption
codespaceStringTransaction codespace
eventsEvent ArrayList of events associated with the transaction
tx_typeStringTransaction type
messagesByte ArrayTransaction messages
signaturesSignature ArrayTransaction signature
memoStringTransaction memo
tx_numberIntegerTransaction number
block_unix_timestampIntegerTimestamp of the block including the transaction, in Unix format in milliseconds
errorLogStringTransaction error logs
logsByte ArrayTransaction log
claim_idsInteger ArrayPeggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codeuint32
databyte array
infostring
gas_wantedint64
gas_usedint64
gas_feeGasFee
codespacestring
eventsEvent array
tx_typestring
messagesbyte array
signaturesSignature array
memostring
tx_numberuint64
block_unix_timestampuint64Block timestamp in unix milli
error_logstringTransaction log indicating errors
logsbyte arraytransaction event logs
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim

**GasFee** - - - - -
ParameterTypeDescription
amountCosmosCoinFee amount
gas_limitIntegerGas limit
payerStringPayer's Injective address
granterStringGranter's Injective address
+ + + + +
ParameterTypeDescription
amountCosmosCoin array
gas_limituint64
payerstring
granterstring

**Event** - - -
ParameterTypeDescription
typeStringEvent type
attributesMapEvent details. Attributes are key-value pairs
+ + +
ParameterTypeDescription
typestring
attributesmap[string]string

**Signature** - - - - -
ParameterTypeDescription
pubkeyStringPublic key
addressStringInjective address
sequenceIntegerSinature sequence number
signatureStringSignature
+ + + + +
ParameterTypeDescription
pubkeystring
addressstring
sequenceuint64
signaturestring

**CosmosCoin** - - -
ParameterTypeDescription
denomStringToken denom
amountStringToken amount
+ + +
ParameterTypeDescription
denomstringCoin denominator
amountstringCoin amount (big int)
@@ -3764,13 +3958,14 @@ func main() { ``` - - - - - - -
ParameterTypeDescriptionRequired
addressStringThe contract's Injective addressYes
heightIntegerTransaction heightNo
fromIntegerUnix timestamp (UTC) in millisecondsNo
toIntegerUnix timestamp (UTC) in millisecondsNo
limitIntegerMax number of items to be returned, defaults to 100No
tokenStringPagination tokenNo
+ + + + + + + +
ParameterTypeDescriptionRequired
addressstringAddress of contractYes
heightuint64Height of the blockYes
fromint64Unix timestamp (UTC) in millisecondsYes
toint64Unix timestamp (UTC) in millisecondsYes
per_pageint32Yes
tokenstringPagination tokenYes
statusstringThe status of the txs to be returnedYes
@@ -4106,77 +4301,77 @@ func main() { ``` - - -
ParameterTypeDescription
nextString ArrayPagination details of the response's result set
dataTxDetailDataTransaction details
+ + +
ParameterTypeDescription
pagingCursor
dataTxDetailData array

**TxDetailData** - - - - - - - - - - - - - - - - - - - - - -
ParameterTypeDescription
idStringTransaction ID
block_numberIntegerNumber of the block that included the transaction
block_timestampStringTimestamp of the block that included the transaction
hashStringTransaction hash
codeIntegerTransaction result code
dataByte ArrayTransaction data
infoStringTransaction information
gas_wantedIntegerAmount of gas sent by the user to process the transaction
gas_usedIntegerAmount of gas used by the chain to process the transaction
gas_feeGasFeeFee paid for the gas consumption
codespaceStringTransaction codespace
eventsEvent ArrayList of events associated with the transaction
tx_typeStringTransaction type
messagesByte ArrayTransaction messages
signaturesSignature ArrayTransaction signature
memoStringTransaction memo
tx_numberIntegerTransaction number
block_unix_timestampIntegerTimestamp of the block including the transaction, in Unix format in milliseconds
errorLogStringTransaction error logs
logsByte ArrayTransaction log
claim_idsInteger ArrayPeggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
idstring
block_numberuint64
block_timestampstring
hashstring
codeuint32
databyte array
infostring
gas_wantedint64
gas_usedint64
gas_feeGasFee
codespacestring
eventsEvent array
tx_typestring
messagesbyte array
signaturesSignature array
memostring
tx_numberuint64
block_unix_timestampuint64Block timestamp in unix milli
error_logstringTransaction log indicating errors
logsbyte arraytransaction event logs
claim_idsint64 arraypeggy bridge claim id, non-zero if tx contains MsgDepositClaim

**GasFee** - - - - -
ParameterTypeDescription
amountCosmosCoinFee amount
gas_limitIntegerGas limit
payerStringPayer's Injective address
granterStringGranter's Injective address
+ + + + +
ParameterTypeDescription
amountCosmosCoin array
gas_limituint64
payerstring
granterstring

**Event** - - -
ParameterTypeDescription
typeStringEvent type
attributesMapEvent details. Attributes are key-value pairs
+ + +
ParameterTypeDescription
typestring
attributesmap[string]string

**Signature** - - - - -
ParameterTypeDescription
pubkeyStringPublic key
addressStringInjective address
sequenceIntegerSinature sequence number
signatureStringSignature
+ + + + +
ParameterTypeDescription
pubkeystring
addressstring
sequenceuint64
signaturestring

**CosmosCoin** - - -
ParameterTypeDescription
denomStringToken denom
amountStringToken amount
+ + +
ParameterTypeDescription
denomstringCoin denominator
amountstringCoin amount (big int)
@@ -4327,62 +4522,62 @@ No parameters ``` - - - -
ParameterTypeDescription
sStringStatus of the response
errmsgStringError message
dataValidatorValidator details
+ + + +
ParameterTypeDescription
sstringStatus of the response.
errmsgstringError message.
dataValidator array

**Validator** - - - - - - - - - - - - - - - - - - - - - - - -
ParameterTypeDescription
idStringValidator ID
monikerStringValidator's moniker
operator_addressStringInjective address
consensus_addressStringConsensus Injective address
jailedBooleanValidator's jain status
statusIntegerValidator's status
tokensStringAmount of tokens
delegator_sharesStringAmount of shares
descriptionValidatorDescriptionValidator's description
unbonding_heightIntegerUnbonding height
unbonding_timeStringUnbonding timestamp
commission_rateStringThe commission rate
commission_max_rateStringThe max commission rate
commission_max_change_rateStringMax change rate
commission_update_timeStringCommission update timestamp
proposedIntegerNumber of proposed blocks
signedIntegerNumber of blocks signed
missedIntegerNumber of missed blocks
timestampStringTimestamp
uptimesValidatorUptimeValidator uptime
slashing_eventsSlashingEventSlashing event details
uptime_percentageFloatUptime percentage base on latest 10k block
image_urlStringURL of the validator's logo
+ + + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
idstring
monikerstring
operator_addressstring
consensus_addressstring
jailedbool
statusint32
tokensstring
delegator_sharesstring
descriptionValidatorDescription
unbonding_heightint64
unbonding_timestring
commission_ratestring
commission_max_ratestring
commission_max_change_ratestring
commission_update_timestring
proposeduint64
signeduint64
misseduint64
timestampstring
uptimesValidatorUptime array
slashing_eventsSlashingEvent array
uptime_percentagefloat64uptime percentage base on latest 10k block
image_urlstringURL of the validator logo

**ValidatorDescription** - - - - - - -
ParameterTypeDescription
monikerStringValidator's moniker
identityStringValidator's ID
websiteStringValidator's website URL
security_contactStringContact data
detailsString
image_urlStringURL of the validator's logo
+ + + + + + +
ParameterTypeDescription
monikerstring
identitystring
websitestring
security_contactstring
detailsstring
image_urlstring

**ValidatorUptime** - - -
ParameterTypeDescription
blockNumberIntegerBlock number
statusStringStatus
+ + +
ParameterTypeDescription
block_numberuint64
statusstring
@@ -4472,8 +4667,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
addressStringValidator Injective addressYes
+ +
ParameterTypeDescriptionRequired
addressstringYes
@@ -4508,62 +4703,62 @@ func main() { ``` - - - -
ParameterTypeDescription
sStringStatus of the response
errmsgStringError message
dataValidatorValidator details
+ + + +
ParameterTypeDescription
sstringStatus of the response.
errmsgstringError message.
dataValidator

**Validator** - - - - - - - - - - - - - - - - - - - - - - - -
ParameterTypeDescription
idStringValidator ID
monikerStringValidator's moniker
operator_addressStringInjective address
consensus_addressStringConsensus Injective address
jailedBooleanValidator's jain status
statusIntegerValidator's status
tokensStringAmount of tokens
delegator_sharesStringAmount of shares
descriptionValidatorDescriptionValidator's description
unbonding_heightIntegerUnbonding height
unbonding_timeStringUnbonding timestamp
commission_rateStringThe commission rate
commission_max_rateStringThe max commission rate
commission_max_change_rateStringMax change rate
commission_update_timeStringCommission update timestamp
proposedIntegerNumber of proposed blocks
signedIntegerNumber of blocks signed
missedIntegerNumber of missed blocks
timestampStringTimestamp
uptimesValidatorUptimeValidator uptime
slashing_eventsSlashingEventSlashing event details
uptime_percentageFloatUptime percentage base on latest 10k block
image_urlStringURL of the validator's logo
+ + + + + + + + + + + + + + + + + + + + + + + +
ParameterTypeDescription
idstring
monikerstring
operator_addressstring
consensus_addressstring
jailedbool
statusint32
tokensstring
delegator_sharesstring
descriptionValidatorDescription
unbonding_heightint64
unbonding_timestring
commission_ratestring
commission_max_ratestring
commission_max_change_ratestring
commission_update_timestring
proposeduint64
signeduint64
misseduint64
timestampstring
uptimesValidatorUptime array
slashing_eventsSlashingEvent array
uptime_percentagefloat64uptime percentage base on latest 10k block
image_urlstringURL of the validator logo

**ValidatorDescription** - - - - - - -
ParameterTypeDescription
monikerStringValidator's moniker
identityStringValidator's ID
websiteStringValidator's website URL
security_contactStringContact data
detailsString
image_urlStringURL of the validator's logo
+ + + + + + +
ParameterTypeDescription
monikerstring
identitystring
websitestring
security_contactstring
detailsstring
image_urlstring

**ValidatorUptime** - - -
ParameterTypeDescription
blockNumberIntegerBlock number
statusStringStatus
+ + +
ParameterTypeDescription
block_numberuint64
statusstring
@@ -4653,8 +4848,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
addressStringValidator Injective addressYes
+ +
ParameterTypeDescriptionRequired
addressstringYes
@@ -5070,19 +5265,19 @@ func main() { ``` - - - -
ParameterTypeDescription
sStringStatus of the response
errmsgStringError message
dataValidatorUptime ArrayValidator uptime details
+ + + +
ParameterTypeDescription
sstringStatus of the response.
errmsgstringError message.
dataValidatorUptime array

**ValidatorUptime** - - -
ParameterTypeDescription
blockNumberIntegerBlock number
statusStringStatus
+ + +
ParameterTypeDescription
block_numberuint64
statusstring
@@ -5170,8 +5365,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idsString ArrayList of Market IDs to query the relayersYes
+ +
ParameterTypeDescriptionRequired
market_i_dsstring arraySpecify multiple marketIDs to search.Yes
@@ -5183,26 +5378,26 @@ func main() { ``` - -
ParameterTypeDescription
fieldRelayerMarkets ArrayRelayers information
+ +
ParameterTypeDescription
fieldRelayerMarkets array

**RelayerMarkets** - - -
ParameterTypeDescription
market_idStringMarket identifier
relayersRelayer ArrayMarket relayers list
+ + +
ParameterTypeDescription
market_idstringMarket ID of the market
relayersRelayer arrayRelayers list for specified market

**Relayer** - - -
ParameterTypeDescription
nameStringRelayer's identifier
ctaStringCall to action. A link to the relayer
+ + +
ParameterTypeDescription
namestringRelayer identifier
ctastringCall to action. A link to the relayer
@@ -5291,17 +5486,17 @@ func main() { ``` - - - - - - - - - - -
ParameterTypeDescriptionRequired
sendersString ArrayList of senders' Injective addressNo
recipientsString ArrayList of recipients' Injective addressNo
is_community_pool_relatedBooleanReturns transfers with the community pool address as either sender or recipientNo
limitIntegerMax number of items to be returned, defaults to 100No
skipIntegerSkip the first N results. This can be used to fetch all results since the API caps at 100No
start_timeIntegerThe starting timestamp in UNIX milliseconds that the transfers must be equal or older thanNo
end_timeIntegerThe ending timestamp in UNIX milliseconds that the transfers must be equal or younger thanNo
addressString ArrayTransfers where either the sender or the recipient is one of the addressesNo
per_pageIntegerNumber of results to include per pageNo
tokenStringToken specifying the next page of results to getNo
+ + + + + + + + + + +
ParameterTypeDescriptionRequired
sendersstring arrayTransfer sender addressYes
recipientsstring arrayTransfer recipient addressYes
is_community_pool_relatedboolReturns transfers with the community pool address as either sender or recipientYes
limitint32Yes
skipuint64Yes
start_timeint64The starting timestamp in UNIX milliseconds that the transfers must be equal or older thanYes
end_timeint64The ending timestamp in UNIX milliseconds that the transfers must be equal or younger thanYes
addressstring arrayTransfers where either the sender or the recipient is one of the addressesYes
per_pageint32Yes
tokenstringYes
@@ -5313,28 +5508,29 @@ func main() { ``` - - -
ParameterTypeDescription
pagingPagingPagination details of the response's result set
dataBankTransfer ArrayList of bank transfers details
+ + +
ParameterTypeDescription
pagingPaging
dataBankTransfer array

**BankTransfer** - - - - - -
ParameterTypeDescription
senderStringTransfer sender Injective address
recipientStringTransfer recipient Injective address
amountCoin ArrayTransfer amounts
block_numberIntegerNumber of the block the transfer was included in
block_timestampStringTimestamp of the block the transfer was included in
+ + + + + +
ParameterTypeDescription
senderstring
recipientstring
amountsCoin arrayAmounts transferred
block_numberuint64
block_timestampstring

**Coin** - - -
ParameterTypeDescription
denomStringToken denomination
amountStringToken amount
+ + + +
ParameterTypeDescription
denomstringDenom of the coin
amountstring
usd_valuestring
diff --git a/source/includes/_healthapi.md b/source/includes/_healthapi.md index a8003386..b4ce5916 100644 --- a/source/includes/_healthapi.md +++ b/source/includes/_healthapi.md @@ -20,6 +20,7 @@ A recommended health check frequency of once every 20-30 seconds is recommended. *lastBlock:* the latest synced block on the chain +### Request Parameters > Request Example: @@ -94,17 +95,23 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|s|String|Status of the response| -|errmsg|String|Error message, if any| -|data|HealthStatus|Height and time information for checking health| + + + + +
ParameterTypeDescription
sstringStatus of the response.
errmsgstringError message.
dataHealthStatus
statusstring
+ + +
**HealthStatus** -|Parameter|Type|Description| -|----|----|----| -|localHeight|Integer|Injective Indexer block height| -|localTimestamp|Integer|Timestamp of localHeight| -|horacleHeight|Integer|Height of the network according to the Injective height oracle| -|horacleTimestamp|Integer|Timestamp of horacleHeight| + + + + + + + +
ParameterTypeDescription
local_heightint32Block height from local mongo exchange db.
local_timestampint32block timestamp from local mongo exchange db.
horacle_heightint32block height from Horacle service.
horacle_timestampint32block timestamp from Horacle service.
migration_last_versionint32Migration version of the database.
ep_heightint32Block height from event provider service.
ep_timestampint32Block UNIX timestamp from event provider service.
+ diff --git a/source/includes/_historicalqueries.md b/source/includes/_historicalqueries.md index 509fc712..c8690942 100644 --- a/source/includes/_historicalqueries.md +++ b/source/includes/_historicalqueries.md @@ -7,7 +7,7 @@ Publicly maintained nodes are being pruned every 5-10 days. To find the available chain queries visit Swagger for [Mainnet](https://sentry.lcd.injective.network/swagger/#/) and [Testnet](https://testnet.lcd.injective.network/swagger/). -**Request Parameters** +### Request Parameters > Request Example: ``` python diff --git a/source/includes/_ibccorechannel.md b/source/includes/_ibccorechannel.md index 138c9631..00b69294 100644 --- a/source/includes/_ibccorechannel.md +++ b/source/includes/_ibccorechannel.md @@ -117,9 +117,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
+ + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
### Response Parameters @@ -147,42 +147,44 @@ func main() { } ``` - - - -
ParameterTypeDescription
channelChannelChannel details
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
channelChannelchannel associated with the request identifiers
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**Channel** - - - - - - -
ParameterTypeDescription
stateStateCurrent state of the channel end
orderingOrderWhether the channel is ordered or unordered
counterpartyCounterpartyCounterparty channel end
connection_hopsString ArrayList of connection identifiers, in order, along which packets sent on this channel will travel
versionStringOpaque channel version, which is agreed upon during the handshake
upgrade_sequenceIntegerIndicates the latest upgrade attempt performed by this channel. The value of 0 indicates the channel has never been upgraded
+ + + + + + +
ParameterTypeDescription
stateStatecurrent state of the channel end
orderingOrderwhether the channel is ordered or unordered
counterpartyCounterpartycounterparty channel end
connection_hopsstring arraylist of connection identifiers, in order, along which packets sent on this channel will travel
versionstringopaque channel version, which is agreed upon during the handshake
upgrade_sequenceuint64upgrade sequence indicates the latest upgrade attempt performed by this channel the value of 0 indicates the channel has never been upgraded

**State** - + -
CodeName
0STATE_UNINITIALIZED_UNSPECIFIED
1STATE_INIT
2STATE_TRYOPEN
3STATE_OPEN
4STATE_CLOSED
+4STATE_CLOSED +5STATE_FLUSHING +6STATE_FLUSHCOMPLETE
**Order** - +
CodeName
0ORDER_NONE_UNSPECIFIED
1ORDER_UNORDERED
2ORDER_ORDERED
@@ -192,18 +194,18 @@ func main() { **Counterparty** - - -
ParameterTypeDescription
port_idStringPort on the counterparty chain which owns the other end of the channel
channel_idStringChannel end on the counterparty chain
+ + +
ParameterTypeDescription
port_idstringport on the counterparty chain which owns the other end of the channel.
channel_idstringchannel end on the counterparty chain

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -323,20 +325,20 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
paginationPageRequestThe optional pagination for the requestNo
+ +
ParameterTypeDescriptionRequired
paginationquery.PageRequestpagination requestNo

**PageRequest** - - - - - -
ParameterTypeDescriptionRequired
keyByte ArrayKey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be setNo
offsetIntegerNumeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be setNo
limitIntegerTotal number of results to be returned in the result pageNo
count_totalBooleanSet to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. It is only respected when offset is used. It is ignored when key is setNo
reverseBooleanReverse is set to true if results are to be returned in the descending orderNo
+ + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
### Response Parameters @@ -413,44 +415,46 @@ func main() { } ``` - - - -
ParameterTypeDescription
channelsIdentifiedChannel ArrayList of channels
paginationPageResponsePagination information in the response
heightHeightQuery block height
+ + + +
ParameterTypeDescription
channelsIdentifiedChannel arraylist of stored channels of the chain.
paginationquery.PageResponsepagination response
heighttypes.Heightquery block height

**IdentifiedChannel** - - - - - - - - -
ParameterTypeDescription
stateStateCurrent state of the channel end
orderingOrderWhether the channel is ordered or unordered
counterpartyCounterpartyCounterparty channel end
connection_hopsString ArrayList of connection identifiers, in order, along which packets sent on this channel will travel
versionStringOpaque channel version, which is agreed upon during the handshake
port_idStringPort identifier
channel_idStringChannel identifier
upgrade_sequenceIntegerIndicates the latest upgrade attempt performed by this channel. The value of 0 indicates the channel has never been upgraded
+ + + + + + + + +
ParameterTypeDescription
stateStatecurrent state of the channel end
orderingOrderwhether the channel is ordered or unordered
counterpartyCounterpartycounterparty channel end
connection_hopsstring arraylist of connection identifiers, in order, along which packets sent on this channel will travel
versionstringopaque channel version, which is agreed upon during the handshake
port_idstringport identifier
channel_idstringchannel identifier
upgrade_sequenceuint64upgrade sequence indicates the latest upgrade attempt performed by this channel the value of 0 indicates the channel has never been upgraded

**State** - + -
CodeName
0STATE_UNINITIALIZED_UNSPECIFIED
1STATE_INIT
2STATE_TRYOPEN
3STATE_OPEN
4STATE_CLOSED
+4STATE_CLOSED +5STATE_FLUSHING +6STATE_FLUSHCOMPLETE
**Order** - +
CodeName
0ORDER_NONE_UNSPECIFIED
1ORDER_UNORDERED
2ORDER_ORDERED
@@ -460,27 +464,27 @@ func main() { **Counterparty** - - -
ParameterTypeDescription
port_idStringPort on the counterparty chain which owns the other end of the channel
channel_idStringChannel end on the counterparty chain
+ + +
ParameterTypeDescription
port_idstringport on the counterparty chain which owns the other end of the channel.
channel_idstringchannel end on the counterparty chain

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -602,21 +606,21 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
connectionStringConnection unique identifierYes
paginationPageRequestThe optional pagination for the requestNo
+ + +
ParameterTypeDescriptionRequired
connectionstringconnection unique identifierYes
paginationquery.PageRequestpagination requestNo

**PageRequest** - - - - - -
ParameterTypeDescriptionRequired
keyByte ArrayKey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be setNo
offsetIntegerNumeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be setNo
limitIntegerTotal number of results to be returned in the result pageNo
count_totalBooleanSet to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. It is only respected when offset is used. It is ignored when key is setNo
reverseBooleanReverse is set to true if results are to be returned in the descending orderNo
+ + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
### Response Parameters @@ -707,44 +711,46 @@ func main() { } ``` - - - -
ParameterTypeDescription
channelsIdentifiedChannel ArrayList of channels
paginationPageResponsePagination information in the response
heightHeightQuery block height
+ + + +
ParameterTypeDescription
channelsIdentifiedChannel arraylist of channels associated with a connection.
paginationquery.PageResponsepagination response
heighttypes.Heightquery block height

**IdentifiedChannel** - - - - - - - - -
ParameterTypeDescription
stateStateCurrent state of the channel end
orderingOrderWhether the channel is ordered or unordered
counterpartyCounterpartyCounterparty channel end
connection_hopsString ArrayList of connection identifiers, in order, along which packets sent on this channel will travel
versionStringOpaque channel version, which is agreed upon during the handshake
port_idStringPort identifier
channel_idStringChannel identifier
upgrade_sequenceIntegerIndicates the latest upgrade attempt performed by this channel. The value of 0 indicates the channel has never been upgraded
+ + + + + + + + +
ParameterTypeDescription
stateStatecurrent state of the channel end
orderingOrderwhether the channel is ordered or unordered
counterpartyCounterpartycounterparty channel end
connection_hopsstring arraylist of connection identifiers, in order, along which packets sent on this channel will travel
versionstringopaque channel version, which is agreed upon during the handshake
port_idstringport identifier
channel_idstringchannel identifier
upgrade_sequenceuint64upgrade sequence indicates the latest upgrade attempt performed by this channel the value of 0 indicates the channel has never been upgraded

**State** - + -
CodeName
0STATE_UNINITIALIZED_UNSPECIFIED
1STATE_INIT
2STATE_TRYOPEN
3STATE_OPEN
4STATE_CLOSED
+4STATE_CLOSED +5STATE_FLUSHING +6STATE_FLUSHCOMPLETE
**Order** - +
CodeName
0ORDER_NONE_UNSPECIFIED
1ORDER_UNORDERED
2ORDER_ORDERED
@@ -754,27 +760,27 @@ func main() { **Counterparty** - - -
ParameterTypeDescription
port_idStringPort on the counterparty chain which owns the other end of the channel
channel_idStringChannel end on the counterparty chain
+ + +
ParameterTypeDescription
port_idstringport on the counterparty chain which owns the other end of the channel.
channel_idstringchannel end on the counterparty chain

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -891,9 +897,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
+ + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
### Response Parameters @@ -985,44 +991,46 @@ func main() { } ``` - - - -
ParameterTypeDescription
identified_client_stateIdentifiedChannelClient state associated with the channel
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
identified_client_statetypes.IdentifiedClientStateclient state associated with the channel
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**IdentifiedChannel** - - - - - - - - -
ParameterTypeDescription
stateStateCurrent state of the channel end
orderingOrderWhether the channel is ordered or unordered
counterpartyCounterpartyCounterparty channel end
connection_hopsString ArrayList of connection identifiers, in order, along which packets sent on this channel will travel
versionStringOpaque channel version, which is agreed upon during the handshake
port_idStringPort identifier
channel_idStringChannel identifier
upgrade_sequenceIntegerIndicates the latest upgrade attempt performed by this channel. The value of 0 indicates the channel has never been upgraded
+ + + + + + + + +
ParameterTypeDescription
stateStatecurrent state of the channel end
orderingOrderwhether the channel is ordered or unordered
counterpartyCounterpartycounterparty channel end
connection_hopsstring arraylist of connection identifiers, in order, along which packets sent on this channel will travel
versionstringopaque channel version, which is agreed upon during the handshake
port_idstringport identifier
channel_idstringchannel identifier
upgrade_sequenceuint64upgrade sequence indicates the latest upgrade attempt performed by this channel the value of 0 indicates the channel has never been upgraded

**State** - + -
CodeName
0STATE_UNINITIALIZED_UNSPECIFIED
1STATE_INIT
2STATE_TRYOPEN
3STATE_OPEN
4STATE_CLOSED
+4STATE_CLOSED +5STATE_FLUSHING +6STATE_FLUSHCOMPLETE
**Order** - +
CodeName
0ORDER_NONE_UNSPECIFIED
1ORDER_UNORDERED
2ORDER_ORDERED
@@ -1032,18 +1040,18 @@ func main() { **Counterparty** - - -
ParameterTypeDescription
port_idStringPort on the counterparty chain which owns the other end of the channel
channel_idStringChannel end on the counterparty chain
+ + +
ParameterTypeDescription
port_idstringport on the counterparty chain which owns the other end of the channel.
channel_idstringchannel end on the counterparty chain

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1166,11 +1174,11 @@ func main() { ``` - - - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
revision_numberIntegerRevision number of the consensus stateYes
revision_heightIntegerRevision height of the consensus stateYes
+ + + + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
revision_numberuint64revision number of the consensus stateYes
revision_heightuint64revision height of the consensus stateYes
### Response Parameters @@ -1195,20 +1203,20 @@ func main() { } ``` - - - - -
ParameterTypeDescription
consensus_stateAnyConsensus state associated with the channel
client_idStringClient ID associated with the consensus state
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + + +
ParameterTypeDescription
consensus_statetypes1.Anyconsensus state associated with the channel
client_idstringclient ID associated with the consensus state
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1329,10 +1337,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
sequenceIntegerPacket sequenceYes
+ + + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
sequenceuint64packet sequenceYes
### Response Parameters @@ -1349,19 +1357,19 @@ func main() { } ``` - - - -
ParameterTypeDescription
commitmentByte ArrayPacket associated with the request fields
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
commitmentbyte arraypacket associated with the request fields
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1489,10 +1497,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
paginationPageRequestThe optional pagination for the requestNo
+ + + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
paginationquery.PageRequestpagination requestNo
### Response Parameters @@ -1537,39 +1545,39 @@ func main() { } ``` - - - -
ParameterTypeDescription
commitmentsPacketState ArrayCommitments information
paginationPageResponsePagination information in the response
heightHeightQuery block height
+ + + +
ParameterTypeDescription
commitmentsPacketState array
paginationquery.PageResponsepagination response
heighttypes.Heightquery block height

**PacketState** - - - - -
ParameterTypeDescription
port_idStringPort identifier
channel_idStringChannel identifier
sequenceIntegerPacket sequence
dataByte ArrayEmbedded data that represents packet state
+ + + + +
ParameterTypeDescription
port_idstringchannel port identifier.
channel_idstringchannel unique identifier.
sequenceuint64packet sequence.
databyte arrayembedded data that represents packet state.

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1690,10 +1698,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
sequenceIntegerPacket sequenceYes
+ + + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
sequenceuint64packet sequenceYes
### Response Parameters @@ -1710,19 +1718,19 @@ func main() { } ``` - - - -
ParameterTypeDescription
receivedBooleanSuccess flag to mark if the receipt exists
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
receivedboolsuccess flag for if receipt exists
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1845,10 +1853,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
sequenceIntegerPacket sequenceYes
+ + + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
sequenceuint64packet sequenceYes
### Response Parameters @@ -1865,19 +1873,19 @@ func main() { } ``` - - - -
ParameterTypeDescription
acknowledgementByte ArraySuccess flag to mark if the receipt exists
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
acknowledgementbyte arraypacket associated with the request fields
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -2008,23 +2016,23 @@ func main() { ``` - - - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
paginationPageRequestThe optional pagination for the requestNo
packet_commitment_sequencesInteger ArrayList of packet sequencesNo
+ + + + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
paginationquery.PageRequestpagination requestNo
packet_commitment_sequencesuint64 arraylist of packet sequencesYes

**PageRequest** - - - - - -
ParameterTypeDescriptionRequired
keyByte ArrayKey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be setNo
offsetIntegerNumeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be setNo
limitIntegerTotal number of results to be returned in the result pageNo
count_totalBooleanSet to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. It is only respected when offset is used. It is ignored when key is setNo
reverseBooleanReverse is set to true if results are to be returned in the descending orderNo
+ + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
### Response Parameters @@ -2053,37 +2061,37 @@ func main() { } ``` - - - -
ParameterTypeDescription
acknowledgementsPacketState ArrayAcknowledgements details
paginationPageResponsePagination information in the response
heightHeightQuery block height
+ + + +
ParameterTypeDescription
acknowledgementsPacketState array
paginationquery.PageResponsepagination response
heighttypes.Heightquery block height
**PacketState** - - - - -
ParameterTypeDescription
port_idStringPort identifier
channel_idStringChannel identifier
sequenceIntegerPacket sequence
dataByte ArrayEmbedded data that represents packet state
+ + + + +
ParameterTypeDescription
port_idstringchannel port identifier.
channel_idstringchannel unique identifier.
sequenceuint64packet sequence.
databyte arrayembedded data that represents packet state.

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -2206,10 +2214,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
packet_commitment_sequencesInteger ArrayList of packet sequencesNo
+ + + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
packet_commitment_sequencesuint64 arraylist of packet sequencesYes
### Response Parameters @@ -2227,18 +2235,18 @@ func main() { } ``` - - -
ParameterTypeDescription
sequencesInteger ArrayList of unreceived packet sequences
heightHeightQuery block height
+ + +
ParameterTypeDescription
sequencesuint64 arraylist of unreceived packet sequences
heighttypes.Heightquery block height

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -2361,10 +2369,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
packet_ack_sequencesInteger ArrayList of acknowledgement sequencesNo
+ + + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
packet_ack_sequencesuint64 arraylist of acknowledgement sequencesYes
### Response Parameters @@ -2382,18 +2390,18 @@ func main() { } ``` - - -
ParameterTypeDescription
sequencesInteger ArrayList of unreceived packet sequences
heightHeightQuery block height
+ + +
ParameterTypeDescription
sequencesuint64 arraylist of unreceived acknowledgement sequences
heighttypes.Heightquery block height

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -2515,9 +2523,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
port_idStringPort unique identifierYes
channel_idStringChannel unique identifierYes
+ + +
ParameterTypeDescriptionRequired
port_idstringport unique identifierYes
channel_idstringchannel unique identifierYes
### Response Parameters @@ -2534,17 +2542,17 @@ func main() { } ``` - - - -
ParameterTypeDescription
next_sequence_receiveIntegerNext sequence receive number
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
next_sequence_receiveuint64next sequence receive number
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
diff --git a/source/includes/_ibccoreclient.md b/source/includes/_ibccoreclient.md index 350550e3..e01b3202 100644 --- a/source/includes/_ibccoreclient.md +++ b/source/includes/_ibccoreclient.md @@ -113,8 +113,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
client_idStringClient state unique identifierYes
+ +
ParameterTypeDescriptionRequired
client_idstringclient state unique identifierYes
### Response Parameters @@ -203,19 +203,19 @@ func main() { } ``` - - - -
ParameterTypeDescription
client_stateAnyClient state associated with the request identifier
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
client_statetypes.Anyclient state associated with the request identifier
proofbyte arraymerkle proof of existence
proof_heightHeightheight at which the proof was retrieved

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -333,8 +333,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
paginationPageRequestThe optional pagination for the requestNo
+ +
ParameterTypeDescriptionRequired
paginationquery.PageRequestpagination requestNo
### Response Parameters @@ -883,18 +883,18 @@ func main() { } ``` - - -
ParameterTypeDescription
client_statesIdentifiedClientState ArrayClient state associated with the request identifier
paginationPageResponsePagination information in the response
+ + +
ParameterTypeDescription
client_statesIdentifiedClientStateslist of stored ClientStates of the chain.
paginationquery.PageResponsepagination response

**IdentifiedClientState** - - -
ParameterTypeDescription
client_idStringClient identifier
client_stateAnyClient state
+ + +
ParameterTypeDescription
client_idstringclient identifier
client_statetypes.Anyclient state
@@ -1017,11 +1017,11 @@ func main() { ``` - - - - -
ParameterTypeDescriptionRequired
client_idStringClient identifierYes
revision_numberIntegerConsensus state revision numberYes
client_idIntegerConsensus state revision heightYes
latest_heightBooleanOverrrides the height field and queries the latest stored ConsensusStateNo
+ + + + +
ParameterTypeDescriptionRequired
client_idstringclient identifierYes
revision_numberuint64consensus state revision numberYes
revision_heightuint64consensus state revision heightYes
latest_heightboollatest_height overrrides the height field and queries the latest stored ConsensusStateYes
### Response Parameters @@ -1045,19 +1045,19 @@ func main() { } ``` - - - -
ParameterTypeDescription
consensus_stateAnyClient state associated with the request identifier
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
consensus_statetypes.Anyconsensus state associated with the client identifier at the given height
proofbyte arraymerkle proof of existence
proof_heightHeightheight at which the proof was retrieved

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1177,9 +1177,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
client_idStringClient identifierYes
paginationPageRequestThe optional pagination for the requestNo
+ + +
ParameterTypeDescriptionRequired
client_idstringclient identifierYes
paginationquery.PageRequestpagination requestNo
### Response Parameters @@ -1252,27 +1252,27 @@ func main() { } ``` - - -
ParameterTypeDescription
consensus_statesConsensusStateWithHeight ArrayConsensus states associated with the identifier
paginationPageResponsePagination information in the response
+ + +
ParameterTypeDescription
consensus_statesConsensusStateWithHeight arrayconsensus states associated with the identifier
paginationquery.PageResponsepagination response

**ConsensusStateWithHeight** - - -
ParameterTypeDescription
heightHeightConsensus state height
consensus_stateAnyConsensus state
+ + +
ParameterTypeDescription
heightHeightconsensus state height
consensus_statetypes.Anyconsensus state

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1392,9 +1392,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
client_idStringClient identifierYes
paginationPageRequestThe optional pagination for the requestNo
+ + +
ParameterTypeDescriptionRequired
client_idstringclient identifierYes
paginationquery.PageRequestpagination requestNo
### Response Parameters @@ -1427,18 +1427,18 @@ func main() { } ``` - - -
ParameterTypeDescription
consensus_state_heightsHeight ArrayConsensus state heights
paginationPageResponsePagination information in the response
+ + +
ParameterTypeDescription
consensus_state_heightsHeight arrayconsensus state heights
paginationquery.PageResponsepagination response

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1555,8 +1555,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
client_idStringClient unique identifierYes
+ +
ParameterTypeDescriptionRequired
client_idstringclient unique identifierYes
### Response Parameters @@ -1568,8 +1568,8 @@ func main() { } ``` - -
ParameterTypeDescription
statusStringClient status
+ +
ParameterTypeDescription
statusstring
@@ -1699,16 +1699,16 @@ No parameters } ``` - -
ParameterTypeDescription
paramsparamsModule's parameters
+ +
ParameterTypeDescription
paramsParamsparams defines the parameters of the module.

**Params** - -
ParameterTypeDescription
allowed_clientsString ArrayAllowed_clients defines the list of allowed client state types which can be created and interacted with. If a client type is removed from the allowed clients list, usage of this client will be disabled until it is added again to the list
+ +
ParameterTypeDescription
allowed_clientsstring arrayallowed_clients defines the list of allowed client state types which can be created and interacted with. If a client type is removed from the allowed clients list, usage of this client will be disabled until it is added again to the list.
@@ -1831,8 +1831,8 @@ No parameters ``` - -
ParameterTypeDescription
upgraded_client_stateAnyClient state associated with the request identifier
+ +
ParameterTypeDescription
upgraded_client_statetypes.Anyclient state associated with the request identifier
@@ -1955,6 +1955,6 @@ No parameters ``` - -
ParameterTypeDescription
upgraded_consensus_stateAnyConsensus state associated with the request identifier
+ +
ParameterTypeDescription
upgraded_consensus_statetypes.AnyConsensus 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 d2815efc..ac6f069f 100644 --- a/source/includes/_ibccoreconnection.md +++ b/source/includes/_ibccoreconnection.md @@ -115,8 +115,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
connection_idStringConnection unique identifierYes
+ +
ParameterTypeDescriptionRequired
connection_idstringconnection unique identifierYes
### Response Parameters @@ -153,69 +153,72 @@ func main() { } ``` - - - -
ParameterTypeDescription
connectionConnectionEndConnection associated with the request identifier
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
connectionConnectionEndconnection associated with the request identifier
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**ConnectionEnd** - - - - - -
ParameterTypeDescription
client_idStringClient associated with this connection
versionsVersion StringChannel identifier
stateStateCurrent state of the connection end
counterpartyCounterpartyCounterparty chain associated with this connection
delay_periodIntegerDelay period that must pass before a consensus state can be used for packet-verification NOTE: delay period logic is only implemented by some clients
+ + + + + +
ParameterTypeDescription
client_idstringclient associated with this connection.
versionsVersion arrayIBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection.
stateStatecurrent state of the connection end.
counterpartyCounterpartycounterparty chain associated with this connection.
delay_perioduint64delay period that must pass before a consensus state can be used for packet-verification NOTE: delay period logic is only implemented by some clients.

**Version** - - -
ParameterTypeDescription
identifierStringUnique version identifier
featuresString ArrayList of features compatible with the specified identifier
+ + +
ParameterTypeDescription
identifierstringunique version identifier
featuresstring arraylist of features compatible with the specified identifier

**State** - + -
CodeName
0STATE_UNINITIALIZED_UNSPECIFIED
1STATE_INIT
2STATE_TRYOPEN
3STATE_OPEN
+3STATE_OPEN +4STATE_CLOSED +5STATE_FLUSHING +6STATE_FLUSHCOMPLETE
**Counterparty** - - - -
ParameterTypeDescription
client_idStringIdentifies the client on the counterparty chain associated with a given connection
connection_idStringIdentifies the connection end on the counterparty chain associated with a given connection
prefixMarketPrefixCommitment merkle prefix of the counterparty chain
+ + + +
ParameterTypeDescription
client_idstringidentifies the client on the counterparty chain associated with a given connection.
connection_idstringidentifies the connection end on the counterparty chain associated with a given connection.
prefixtypes.MerklePrefixcommitment merkle prefix of the counterparty chain.

**MerklePrefix** - -
ParameterTypeDescription
key_prefixByte ArrayMerkle path prefixed to the key
+ +
ParameterTypeDescription
key_prefixbyte array

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -335,20 +338,20 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
paginationPageRequestThe optional pagination for the requestNo
+ +
ParameterTypeDescriptionRequired
paginationquery.PageRequestNo

**PageRequest** - - - - - -
ParameterTypeDescriptionRequired
keyByte ArrayKey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be setNo
offsetIntegerNumeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be setNo
limitIntegerTotal number of results to be returned in the result pageNo
count_totalBooleanSet to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. It is only respected when offset is used. It is ignored when key is setNo
reverseBooleanReverse is set to true if results are to be returned in the descending orderNo
+ + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
### Response Parameters @@ -457,79 +460,82 @@ func main() { } ``` - - - -
ParameterTypeDescription
connectionsIdentifiedConnection ArrayConnection associated with the request identifier
paginationPageResponsePagination information in the response
heightHeightQuery block height
+ + + +
ParameterTypeDescription
connectionsIdentifiedConnection arraylist of stored connections of the chain.
paginationquery.PageResponsepagination response
heighttypes.Heightquery block height

**IdentifiedConnection** - - - - - - -
ParameterTypeDescription
idStringConnection identifier
client_idStringClient associated with this connection
versionsVersion StringIBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection
stateStateCurrent state of the connection end
counterpartyCounterpartyCounterparty chain associated with this connection
delay_periodIntegerDelay period associated with this connection
+ + + + + + +
ParameterTypeDescription
idstringconnection identifier.
client_idstringclient associated with this connection.
versionsVersion arrayIBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection
stateStatecurrent state of the connection end.
counterpartyCounterpartycounterparty chain associated with this connection.
delay_perioduint64delay period associated with this connection.

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision

**Version** - - -
ParameterTypeDescription
identifierStringUnique version identifier
featuresString ArrayList of features compatible with the specified identifier
+ + +
ParameterTypeDescription
identifierstringunique version identifier
featuresstring arraylist of features compatible with the specified identifier

**State** - + -
CodeName
0STATE_UNINITIALIZED_UNSPECIFIED
1STATE_INIT
2STATE_TRYOPEN
3STATE_OPEN
+3STATE_OPEN +4STATE_CLOSED +5STATE_FLUSHING +6STATE_FLUSHCOMPLETE
**Counterparty** - - - -
ParameterTypeDescription
client_idStringIdentifies the client on the counterparty chain associated with a given connection
connection_idStringIdentifies the connection end on the counterparty chain associated with a given connection
prefixMarketPrefixCommitment merkle prefix of the counterparty chain
+ + + +
ParameterTypeDescription
client_idstringidentifies the client on the counterparty chain associated with a given connection.
connection_idstringidentifies the connection end on the counterparty chain associated with a given connection.
prefixtypes.MerklePrefixcommitment merkle prefix of the counterparty chain.

**MerklePrefix** - -
ParameterTypeDescription
key_prefixByte ArrayMerkle path prefixed to the key
+ +
ParameterTypeDescription
key_prefixbyte array
@@ -646,8 +652,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
client_idStringClient identifier associated with a connectionYes
+ +
ParameterTypeDescriptionRequired
client_idstringclient identifier associated with a connectionYes
### Response Parameters @@ -666,19 +672,19 @@ func main() { } ``` - - - -
ParameterTypeDescription
connection_pathsString ArrayAll the connection paths associated with a client
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
connection_pathsstring arrayslice of all the connection paths associated with a client.
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was generated

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -793,8 +799,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
connection_idStringConnection identifierYes
+ +
ParameterTypeDescriptionRequired
connection_idstringconnection identifierYes
### Response Parameters @@ -886,28 +892,28 @@ func main() { } ``` - - - -
ParameterTypeDescription
identified_client_stateIdentifiedClientStateClient state associated with the channel
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + +
ParameterTypeDescription
identified_client_statetypes.IdentifiedClientStateclient state associated with the channel
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**IdentifiedClientState** - - -
ParameterTypeDescription
client_idStringClient identifier
client_stateAnyClient state
+ + +
ParameterTypeDescription
client_idstringclient identifier
client_statetypes.Anyclient state

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1029,10 +1035,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
connection_idStringConnection identifierYes
revision_numberIntegerRevision number of the consensus stateYes
revision_heightIntegerRevision height of the consensus stateYes
+ + + +
ParameterTypeDescriptionRequired
connection_idstringconnection identifierYes
revision_numberuint64Yes
revision_heightuint64Yes
### Response Parameters @@ -1057,20 +1063,20 @@ func main() { } ``` - - - - -
ParameterTypeDescription
consensus_stateAnyConsensus state associated with the channel
client_idStringClient identifier associated with the consensus state
proofByte ArrayMerkle proof of existence
proof_heightHeightHeight at which the proof was retrieved
+ + + + +
ParameterTypeDescription
consensus_statetypes1.Anyconsensus state associated with the channel
client_idstringclient ID associated with the consensus state
proofbyte arraymerkle proof of existence
proof_heighttypes.Heightheight at which the proof was retrieved

**Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
@@ -1197,14 +1203,14 @@ No parameters } ``` - -
ParameterTypeDescription
paramsParamsModule's parameters
+ +
ParameterTypeDescription
paramsParamsparams defines the parameters of the module.

**Params** - -
ParameterTypeDescription
max_expected_time_per_blockIntegerMaximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the largest amount of time that the chain might reasonably take to produce the next block under normal operating conditions. A safe choice is 3-5x the expected time per block
+ +
ParameterTypeDescription
max_expected_time_per_blockuint64maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the largest amount of time that the chain might reasonably take to produce the next block under normal operating conditions. A safe choice is 3-5x the expected time per block.
\ No newline at end of file diff --git a/source/includes/_ibctransfer.md b/source/includes/_ibctransfer.md index a8b03598..1e5facd1 100644 --- a/source/includes/_ibctransfer.md +++ b/source/includes/_ibctransfer.md @@ -125,8 +125,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
hashStringThe denom trace hashYes
+ +
ParameterTypeDescriptionRequired
hashstringhash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information.Yes
### Response Parameters @@ -141,17 +141,17 @@ func main() { } ``` - -
ParameterTypeDescription
denom_traceDenomTraceDenom trace information
+ +
ParameterTypeDescription
denom_traceDenomTracedenom_trace returns the requested denomination trace information.

**DenomTrace** - - -
ParameterTypeDescription
pathStringPath is the port and channel
base_denomStringThe token denom
+ + +
ParameterTypeDescription
pathstringpath defines the chain of port/channel identifiers used for tracing the source of the fungible token.
base_denomstringbase denomination of the relayed fungible token.
@@ -270,20 +270,20 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
paginationPageRequestThe optional pagination for the requestNo
+ +
ParameterTypeDescriptionRequired
paginationquery.PageRequestpagination defines an optional pagination for the request.No

**PageRequest** - - - - - -
ParameterTypeDescriptionRequired
keyByte ArrayKey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be setNo
offsetIntegerNumeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be setNo
limitIntegerTotal number of results to be returned in the result pageNo
count_totalBooleanSet to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. It is only respected when offset is used. It is ignored when key is setNo
reverseBooleanReverse is set to true if results are to be returned in the descending orderNo
+ + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
### Response Parameters @@ -316,18 +316,18 @@ func main() { } ``` - - -
ParameterTypeDescription
denom_tracesDenomTrace ArrayDenom traces information
paginationPageResponsePagination information in the response
+ + +
ParameterTypeDescription
denom_tracesTracesdenom_traces returns all denominations trace information.
paginationquery.PageResponsepagination defines the pagination in the response.

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
@@ -448,8 +448,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
traceStringThe denomination trace ([port_id]/[channel_id])+/[denom]Yes
+ +
ParameterTypeDescriptionRequired
tracestringThe denomination trace ([port_id]/[channel_id])+/[denom]Yes
### Response Parameters @@ -461,8 +461,8 @@ func main() { } ``` - -
ParameterTypeDescription
hashStringHash (in hex format) of the denomination trace information
+ +
ParameterTypeDescription
hashstringhash (in hex format) of the denomination trace information.
@@ -581,9 +581,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
port_idStringThe unique port identifierYes
channel_idStringThe unique channel identifierYes
+ + +
ParameterTypeDescriptionRequired
port_idstringunique port identifierYes
channel_idstringunique channel identifierYes
### Response Parameters @@ -595,8 +595,8 @@ func main() { } ``` - -
ParameterTypeDescription
escrow_addressStringThe escrow account address
+ +
ParameterTypeDescription
escrow_addressstringthe escrow account address
@@ -713,8 +713,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
denomStringToken denomYes
+ +
ParameterTypeDescriptionRequired
denomstringYes
### Response Parameters @@ -729,8 +729,8 @@ func main() { } ``` - -
ParameterTypeDescription
amountCoinAmount of token in the escrow
+ +
ParameterTypeDescription
amounttypes.Coin

@@ -938,15 +938,15 @@ func main() { ``` - - - - - - - - -
ParameterTypeDescription
source_portStringThe port on which the packet will be sent
source_channelStringThe channel by which the packet will be sent
tokenCoinThe tokens to be transferred
senderStringThe sender address
receiverStringThe recipient address on the destination chain
timeout_heightHeightTimeout height relative to the current block height. The timeout is disabled when set to 0
timeout_timestampIntegerTimeout timestamp in absolute nanoseconds since unix epoch. The timeout is disabled when set to 0
memoStringOptional memo
+ + + + + + + + +
ParameterTypeDescriptionRequired
source_portstringthe port on which the packet will be sentYes
source_channelstringthe channel by which the packet will be sentYes
tokentypes.Cointhe tokens to be transferredYes
senderstringthe sender addressYes
receiverstringthe recipient address on the destination chainYes
timeout_heighttypes1.HeightTimeout height relative to the current block height. The timeout is disabled when set to 0.Yes
timeout_timestampuint64Timeout timestamp in absolute nanoseconds since unix epoch. The timeout is disabled when set to 0.Yes
memostringoptional memoNo

@@ -962,9 +962,9 @@ func main() { **Height** - - -
ParameterTypeDescription
revision_numberIntegerThe revision that the client is currently on
revision_heightIntegerThe height within the given revision
+ + +
ParameterTypeDescription
revision_numberuint64the revision that the client is currently on
revision_heightuint64the height within the given revision
### Response Parameters diff --git a/source/includes/_insurance.md b/source/includes/_insurance.md index 1c998c5f..facba0e6 100644 --- a/source/includes/_insurance.md +++ b/source/includes/_insurance.md @@ -79,16 +79,37 @@ if __name__ == "__main__": ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|sender|String|The Injective Chain address|Yes| -|ticker|String|The name of the pair|Yes| -|quote_denom|String|Coin denom used for the quote asset|Yes| -|oracle_base|String|Oracle base currency|Yes| -|oracle_quote|String|Oracle quote currency|Yes| -|oracle_type|Integer|The oracle provider|Yes| -|expiry|Integer|The expiry date|Yes| -|initial_deposit|Integer|The initial deposit in the quote asset|Yes| + + + + + + + + +
ParameterTypeDescriptionRequired
senderstringCreator of the insurance fund.Yes
tickerstringTicker for the derivative market.Yes
quote_denomstringCoin denom to use for the market quote denomYes
oracle_basestringOracle base currency of the derivative market OR the oracle symbol for the binary options market.Yes
oracle_quotestringOracle quote currency of the derivative market OR the oracle provider for the binary options market.Yes
oracle_typetypes.OracleTypeOracle type of the binary options or derivative marketYes
expiryint64Expiration time of the derivative market. Should be -1 for perpetual or -2 for binary options markets.Yes
initial_deposittypes1.CoinInitial deposit of the insurance fundYes
+ + +
+ +**OracleType** + + + + + + + + + + + + + + +
CodeName
0Unspecified
1Band
2PriceFeed
3Coinbase
4Chainlink
5Razor
6Dia
7API3
8Uma
9Pyth
10BandIBC
11Provider
12Stork
+ + ### Response Parameters > Response Example: @@ -214,13 +235,23 @@ if __name__ == "__main__": ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|sender|String|The Injective Chain address|Yes| -|market_id|String|The market ID|Yes| -|quote_denom|String|Coin denom used for the quote asset|Yes| -|amount|Integer|The amount to underwrite in the quote asset|Yes| + + + +
ParameterTypeDescriptionRequired
senderstringAddress of the underwriter.Yes
market_idstringMarketID of the insurance fund.Yes
deposittypes1.CoinAmount of quote_denom to underwrite the insurance fund.Yes
+ + +
+**Coin** + + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ + + +### Response Parameters > Response Example: ```python @@ -339,12 +370,21 @@ if __name__ == "__main__": ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|sender|String|The Injective Chain address|Yes| -|market_id|String|The market ID|Yes| -|share_denom|String|Share denom used for the insurance fund|Yes| -|amount|Integer|The amount to redeem in shares|Yes| + + + +
ParameterTypeDescriptionRequired
senderstringAddress of the underwriter requesting a redemption.Yes
market_idstringMarketID of the insurance fund.Yes
amounttypes1.CoinInsurance fund share token amount to be redeemed.Yes
+ + +
+ +**Coin** + + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ + ### Response Parameters > Response Example: diff --git a/source/includes/_insurancerpc.md b/source/includes/_insurancerpc.md index 0940e36f..ed2b825f 100644 --- a/source/includes/_insurancerpc.md +++ b/source/includes/_insurancerpc.md @@ -8,7 +8,7 @@ List all the insurance funds. **IP rate limit group:** `indexer` - +### Request Parameters > Request Example: @@ -127,37 +127,41 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|funds|InsuranceFund Array|List of all insurance funds, including default and all funded accounts| + +
ParameterTypeDescription
fundsInsuranceFund array
+ + +
**InsuranceFund** -|Parameter|Type|Description| -|----|----|----| -|oracle_type|String|The oracle provider| -|pool_token_denom|String|Denom of the pool token for the given fund| -|total_share|String|Total number of shares in the fund| -|balance|String|The total balance of the fund| -|oracle_base|String|Oracle base currency| -|market_id|String|ID of the derivative market| -|market_ticker|String|Ticker of the derivative market| -|oracle_quote|String|Oracle quote currency| -|redemption_notice_period_duration|Integer|The minimum notice period duration that must pass after an underwriter sends a redemption request before underwriter can claim tokens| -|deposit_denom|String|Denom of the coin used to underwrite the insurance fund| -|expiry|Integer|Insurance fund expiry time, if any (usually 0 for perp markets) -|deposit_token_meta|TokenMeta|Token metadata for the deposit asset, only for Ethereum-based assets| + + + + + + + + + + + + +
ParameterTypeDescription
market_tickerstringTicker of the derivative market.
market_idstringDerivative Market ID
deposit_denomstringCoin denom used for the underwriting of the insurance fund.
pool_token_denomstringPool token denom
redemption_notice_period_durationint64Redemption notice period duration in seconds.
balancestring
total_sharestring
oracle_basestringOracle base currency
oracle_quotestringOracle quote currency
oracle_typestringOracle Type
expiryint64Defines the expiry, if any
deposit_token_metaTokenMetaToken metadata for the deposit asset
+ + +
**TokenMeta** -|Parameter|Type|Description| -|----|----|----| -|address|String|Token's Ethereum contract address| -|decimals|Integer|Token decimals| -|logo|String|URL to the logo image| -|name|String|Token full name| -|symbol|String|Token symbol short name| -|updatedAt|Integer|Token metadata fetched timestamp in UNIX millis| + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ ## Redemptions @@ -234,11 +238,11 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ------------------------------------------------------------------------ | -------- | -| address | String | Filter by address of the redeemer | No | -| denom | String | Filter by denom of the insurance pool token | No | -| status | String | Filter by redemption status (Should be one of: ["disbursed", "pending"]) | No | + + + +
ParameterTypeDescriptionRequired
redeemerstringAccount address of the redemption ownerYes
redemption_denomstringDenom of the insurance pool token.Yes
statusstringStatus of the redemption. Either pending or disbursed.Yes
+ ### Response Parameters @@ -291,21 +295,23 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|redemption_schedules|RedemptionSchedule Array|List of redemption schedules| + +
ParameterTypeDescription
redemption_schedulesRedemptionSchedule array
+ + +
**RedemptionSchedule** -|Parameter|Type|Description| -|----|----|----| -|claimable_redemption_time|Integer|Claimable redemption time in seconds| -|redeemer|String|Account address of the redeemer| -|redemption_denom|String|Pool token denom being redeemed| -|requested_at|Integer|Redemption request time in unix milliseconds| -|status|String|Status of the redemption (Should be one of: ["disbursed", "pending"])| -|redemption_amount|String|Amount of pool tokens being redeemed| -|redemption_id|Integer|ID of the redemption| -|disbursed_amount|String|Amount of quote tokens disbursed| -|disbursed_at|Integer|Redemption disbursement time in unix milliseconds| -|disbursed_denom|String|Denom of the quote tokens disbursed| + + + + + + + + + + +
ParameterTypeDescription
redemption_iduint64Redemption ID.
statusstringStatus of the redemption. Either pending or disbursed.
redeemerstringAccount address of the redemption owner
claimable_redemption_timeint64Claimable redemption time in seconds
redemption_amountstringAmount of pool tokens being redeemed.
redemption_denomstringPool token denom being redeemed.
requested_atint64Redemption request time in unix milliseconds.
disbursed_amountstringAmount of quote tokens disbursed
disbursed_denomstringDenom of the quote tokens disbursed
disbursed_atint64Redemption disbursement time in unix milliseconds.
+ diff --git a/source/includes/_metarpc.md b/source/includes/_metarpc.md index ef3b67a9..b5c0a379 100644 --- a/source/includes/_metarpc.md +++ b/source/includes/_metarpc.md @@ -7,7 +7,7 @@ Get the server health. **IP rate limit group:** `indexer` - +### Request Parameters > Request Example: @@ -88,6 +88,7 @@ Get the server version. **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -178,17 +179,10 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|version|String|injective-exchange code version| -|build|VersionResponse.BuildEntry Array|Additional build meta info| - -**VersionResponse.BuildEntry** - -|Parameter|Type|Description| -|----|----|----| -|key|String|Name| -|value|String|Description| + + +
ParameterTypeDescription
versionstringinjective-exchange code version.
buildmap[string]stringAdditional build meta info.
+ ## Info @@ -265,9 +259,9 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|timestamp|Integer|Your current system UNIX timestamp in millis|No, if using our async_client implementation, otherwise yes| + +
ParameterTypeDescriptionRequired
timestampint64Provide current system UNIX timestamp in millisYes
+ ### Response Parameters @@ -288,20 +282,13 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|timestamp|Integer|The original timestamp (from your system) of the request in UNIX millis| -|server_time|Integer|UNIX time on the server in millis| -|version|String|injective-exchange code version| -|build|VersionResponse.BuildEntry Array|Additional build meta info| - - -**VersionResponse.BuildEntry** - -|Parameter|Type|Description| -|----|----|----| -|key|String|Name| -|value|String|Description| + + + + + +
ParameterTypeDescription
timestampint64The original timestamp value in millis.
server_timeint64UNIX time on the server in millis.
versionstringinjective-exchange code version.
buildmap[string]stringAdditional build meta info.
regionstringServer's location region
+ ## StreamKeepAlive @@ -310,6 +297,7 @@ Subscribe to a stream and gracefully disconnect and connect to another sentry no **IP rate limit group:** `indexer` +### Request Parameters > Request Example: @@ -423,11 +411,7 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | -------- | ---------------------------------------------------------------------------------------------------- | -------- | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | +No parameters ### Response Parameters @@ -440,8 +424,10 @@ timestamp: 1636236225847, "Cancelled all tasks" ``` -|Parameter|Type|Description| -|----|----|----| -|event|String|Server event| -|new_endpoint|String|New connection endpoint for the gRPC API| -|timestamp|Integer|Operation timestamp in UNIX millis| + + + + + +
ParameterTypeDescription
timestampint64The original timestamp value in millis.
server_timeint64UNIX time on the server in millis.
versionstringinjective-exchange code version.
buildmap[string]stringAdditional build meta info.
regionstringServer's location region
+ diff --git a/source/includes/_oracle.md b/source/includes/_oracle.md index ccdcc589..502cd710 100644 --- a/source/includes/_oracle.md +++ b/source/includes/_oracle.md @@ -175,12 +175,12 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|sender|String|The Injective Chain address of the sender|Yes| -|price|Array|The price of the base asset|Yes| -|base|Array|The base denom|Yes| -|quote|Array|The quote denom|Yes| + + + + +
ParameterTypeDescriptionRequired
senderstringYes
basestring arrayYes
quotestring arrayYes
pricecosmossdk_io_math.LegacyDec arrayprice defines the price of the oracle base and quoteYes
+ > Response Example: @@ -310,12 +310,12 @@ if __name__ == "__main__": ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ---------------------------------------- | -------- | -| sender | String | The Injective Chain address | Yes | -| provider | String | The provider name | Yes | -| symbols | List | The symbols we want to relay a price for | Yes | -| prices | List | The prices for the respective symbols | Yes | + + + + +
ParameterTypeDescriptionRequired
senderstringYes
providerstringYes
symbolsstring arrayYes
pricescosmossdk_io_math.LegacyDec arrayYes
+ > Response Example: diff --git a/source/includes/_oraclerpc.md b/source/includes/_oraclerpc.md index 6fac656e..072c1026 100644 --- a/source/includes/_oraclerpc.md +++ b/source/includes/_oraclerpc.md @@ -8,7 +8,7 @@ Get a list of all oracles. **IP rate limit group:** `indexer` - +### Request Parameters > Request Example: @@ -149,19 +149,21 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|oracles|Oracle Array|List of oracles| + +
ParameterTypeDescription
oraclesOracle array
+ + +
**Oracle** -|Parameter|Type|Description| -|----|----|----| -|symbol|String|The symbol of the oracle asset| -|base_symbol|String|Oracle base currency| -|quote_symbol|String|Oracle quote currency. If no quote symbol is returned, USD is the default.| -|oracle_base|String|Oracle base currency| -|price|String|The price of the asset| + + + + + +
ParameterTypeDescription
symbolstringThe symbol of the oracle asset.
base_symbolstringOracle base currency
quote_symbolstringOracle quote currency
oracle_typestringOracle Type
pricestringThe price of the oracle asset
+ ## Price @@ -170,7 +172,6 @@ Get the oracle price of an asset. **IP rate limit group:** `indexer` - ### Request Parameters > Request Example: @@ -306,12 +307,12 @@ func main() { ``` -|Parameter|Type|Description|Required| -|----|----|----|----| -|base_symbol|String|Oracle base currency|Yes| -|quote_symbol|String|Oracle quote currency|Yes| -|oracle_type|String|The oracle provider|Yes| -|oracle_scale_factor|Integer|Oracle scale factor for the quote asset|Yes| + + + + +
ParameterTypeDescriptionRequired
base_symbolstringOracle base currencyYes
quote_symbolstringOracle quote currencyYes
oracle_typestringOracle TypeYes
oracle_scale_factoruint32OracleScaleFactorYes
+ ### Response Parameters @@ -327,9 +328,9 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|price|String|The price of the oracle asset| + +
ParameterTypeDescription
pricestringThe price of the oracle asset
+ ## StreamPrices @@ -338,7 +339,6 @@ Stream new price changes for a specified oracle. If no oracles are provided, all **IP rate limit group:** `indexer` - ### Request Parameters > Request Example: @@ -508,14 +508,11 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | -------- | ---------------------------------------------------------------------------------------------------- | -------- | -| base_symbol | String | Oracle base currency | No | -| quote_symbol | String | Oracle quote currency | No | -| oracle_type | String | The oracle provider | No | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + + + +
ParameterTypeDescriptionRequired
base_symbolstringOracle base currencyYes
quote_symbolstringOracle quote currencyYes
oracle_typestringOracle TypeYes
+ ### Response Parameters @@ -535,7 +532,7 @@ func main() { } ``` -|Parameter|Type|Description| -|----|----|----| -|price|String|The price of the oracle asset| -|timestamp|Integer|Operation timestamp in UNIX millis.| + + +
ParameterTypeDescription
pricestringThe price of the oracle asset
timestampint64Operation timestamp in UNIX millis.
+ diff --git a/source/includes/_permissions.md b/source/includes/_permissions.md index 3cbaeb10..768697d9 100644 --- a/source/includes/_permissions.md +++ b/source/includes/_permissions.md @@ -123,8 +123,8 @@ No parameters } ``` - -
ParameterTypeDescription
denomsString ArrayList of namespaces denoms
+ +
ParameterTypeDescription
denomsstring arrayList of denoms
@@ -563,88 +563,88 @@ No parameters } ``` - -
ParameterTypeDescription
namespacesNamespace ArrayList of namespaces
+ +
ParameterTypeDescription
namespacesNamespace arrayList of namespaces

**Namespace** - - - - - - - -
ParameterTypeDescription
denomStringToken denom
contract_hookStringAddress of the wasm contract that will provide the real destination address
role_permissionsRole ArrayList of roles
actor_rolesActorRoles ArrayList of actor roles
role_managersRoleManager ArrayList of role managers
policy_statusesPolicyStatus ArrayList of policy statuses
policy_manager_capabilitiesPolicyManagerCapability ArrayList of policy manager capabilities
+ + + + + + + +
ParameterTypeDescription
denomstringThe tokenfactory denom to which this namespace applies to
contract_hookstringThe address of smart contract to apply code-based restrictions
role_permissionsRole arraypermissions for each role
actor_rolesActorRoles arrayroles for each actor
role_managersRoleManager arraymanagers for each role
policy_statusesPolicyStatus arraystatus for each policy
policy_manager_capabilitiesPolicyManagerCapability arraycapabilities for each manager for each policy

**Role** - - - -
ParameterTypeDescription
nameStringRole name
role_idIntegerRole ID
permissionsIntegerInteger representing the bitwhise combination of all actions assigned to the role
+ + + +
ParameterTypeDescription
namestringThe role name
role_iduint32The role ID
permissionsuint32Integer representing the bitwise combination of all actions assigned to the role

**ActorRoles** - - -
ParameterTypeDescription
actorStringActor name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
actorstringThe actor name
rolesstring arrayThe roles for the actor

**RoleManager** - - -
ParameterTypeDescription
managerStringManager name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
managerstringThe manager name
rolesstring arrayList of roles associated with the manager

**PolicyStatus** - - - -
ParameterTypeDescription
actionActionAction code number
is_disabledBooleanTrue if the policy is disabled, False if it is enabled
is_sealedBooleanTrue if the policy is sealed, False if it is not
+ + + +
ParameterTypeDescription
actionActionThe action code number
is_disabledboolWhether the policy is disabled
is_sealedboolWhether the policy is sealed

**PolicyManagerCapability** - - - - -
ParameterTypeDescription
managerStringManager name
actionActionAction code number
can_disableBooleanTrue if the manager can disable the policy, False if not
can_sealBooleanTrue if the manager can seal the policy, False if not
+ + + + +
ParameterTypeDescription
managerstringThe manager name
actionActionThe action code number
can_disableboolWhether the manager can disable the policy
can_sealboolWhether the manager can seal the policy

-**Actions** +**Action** - - + +
CodeName
0ACTION_UNSPECIFIED
- - - -
CodeName
0UNSPECIFIED
1MINT
2RECEIVE
4BURN
8SEND
16SUPER_BURN
134217728MODIFY_POLICY_MANAGERS
268435456MODIFY_CONTRACT_HOOK
536870912MODIFY_ROLE_PERMISSIONS
1073741824MODIFY_ROLE_MANAGERS
+0MODIFY_POLICY_MANAGERS +0MODIFY_CONTRACT_HOOK +0MODIFY_ROLE_PERMISSIONS +0MODIFY_ROLE_MANAGERS @@ -756,8 +756,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
+ +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
@@ -1085,88 +1085,88 @@ func main() { } ``` - -
ParameterTypeDescription
namespaceNamespaceNamespace details
+ +
ParameterTypeDescription
namespaceNamespaceThe namespace details

**Namespace** - - - - - - - -
ParameterTypeDescription
denomStringToken denom
contract_hookStringAddress of the wasm contract that will provide the real destination address
role_permissionsRole ArrayList of roles
actor_rolesActorRoles ArrayList of actor roles
role_managersRoleManager ArrayList of role managers
policy_statusesPolicyStatus ArrayList of policy statuses
policy_manager_capabilitiesPolicyManagerCapability ArrayList of policy manager capabilities
+ + + + + + + +
ParameterTypeDescription
denomstringThe tokenfactory denom to which this namespace applies to
contract_hookstringThe address of smart contract to apply code-based restrictions
role_permissionsRole arraypermissions for each role
actor_rolesActorRoles arrayroles for each actor
role_managersRoleManager arraymanagers for each role
policy_statusesPolicyStatus arraystatus for each policy
policy_manager_capabilitiesPolicyManagerCapability arraycapabilities for each manager for each policy

**Role** - - - -
ParameterTypeDescription
nameStringRole name
role_idIntegerRole ID
permissionsIntegerInteger representing the bitwhise combination of all actions assigned to the role
+ + + +
ParameterTypeDescription
namestringThe role name
role_iduint32The role ID
permissionsuint32Integer representing the bitwise combination of all actions assigned to the role

**ActorRoles** - - -
ParameterTypeDescription
actorStringActor name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
actorstringThe actor name
rolesstring arrayThe roles for the actor

**RoleManager** - - -
ParameterTypeDescription
managerStringManager name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
managerstringThe manager name
rolesstring arrayList of roles associated with the manager

**PolicyStatus** - - - -
ParameterTypeDescription
actionActionAction code number
is_disabledBooleanTrue if the policy is disabled, False if it is enabled
is_sealedBooleanTrue if the policy is sealed, False if it is not
+ + + +
ParameterTypeDescription
actionActionThe action code number
is_disabledboolWhether the policy is disabled
is_sealedboolWhether the policy is sealed

**PolicyManagerCapability** - - - - -
ParameterTypeDescription
managerStringManager name
actionActionAction code number
can_disableBooleanTrue if the manager can disable the policy, False if not
can_sealBooleanTrue if the manager can seal the policy, False if not
+ + + + +
ParameterTypeDescription
managerstringThe manager name
actionActionThe action code number
can_disableboolWhether the manager can disable the policy
can_sealboolWhether the manager can seal the policy

-**Actions** +**Action** - - + +
CodeName
0ACTION_UNSPECIFIED
- - - -
CodeName
0UNSPECIFIED
1MINT
2RECEIVE
4BURN
8SEND
16SUPER_BURN
134217728MODIFY_POLICY_MANAGERS
268435456MODIFY_CONTRACT_HOOK
536870912MODIFY_ROLE_PERMISSIONS
1073741824MODIFY_ROLE_MANAGERS
+0MODIFY_POLICY_MANAGERS +0MODIFY_CONTRACT_HOOK +0MODIFY_ROLE_PERMISSIONS +0MODIFY_ROLE_MANAGERS @@ -1280,9 +1280,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
actorStringThe actor's INJ addressYes
+ + +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
actorstringThe actor's Injective addressYes
@@ -1297,8 +1297,8 @@ func main() { } ``` - -
ParameterTypeDescription
rolesString ArrayList of roles
+ +
ParameterTypeDescription
rolesstring arrayList of roles
## ActorsByRole @@ -1411,9 +1411,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
roleStringThe role to query actors forYes
+ + +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
rolestringThe role to query actors forYes
@@ -1428,8 +1428,8 @@ func main() { } ``` - -
ParameterTypeDescription
actorsString ArrayList of actors INJ addresses
+ +
ParameterTypeDescription
actorsstring arrayList of actors' Injective addresses
@@ -1540,8 +1540,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
+ +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
@@ -1576,17 +1576,17 @@ func main() { } ``` - -
ParameterTypeDescription
role_managersRoleManager ArrayList of role managers
+ +
ParameterTypeDescription
role_managersRoleManager arrayList of role managers

**RoleManager** - - -
ParameterTypeDescription
managerStringManager name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
managerstringThe manager name
rolesstring arrayList of roles associated with the manager
@@ -1699,9 +1699,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
managerStringThe manager's Injective addressYes
+ + +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
managerstringThe manager Injective addressYes
@@ -1734,17 +1734,17 @@ func main() { } ``` - -
ParameterTypeDescription
role_managerRoleManagerRole manager details
+ +
ParameterTypeDescription
role_managerRoleManagerThe role manager details

**RoleManager** - - -
ParameterTypeDescription
managerStringManager name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
managerstringThe manager name
rolesstring arrayList of roles associated with the manager
@@ -1855,8 +1855,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
+ +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
@@ -1897,35 +1897,35 @@ func main() { } ``` - -
ParameterTypeDescription
policy_statusesPolicyStatusRole manager details
+ +
ParameterTypeDescription
policy_statusesPolicyStatus arrayList of policy statuses

**PolicyStatus** - - - -
ParameterTypeDescription
actionActionAction code number
is_disabledBooleanTrue if the policy is disabled, False if it is enabled
is_sealedBooleanTrue if the policy is sealed, False if it is not
+ + + +
ParameterTypeDescription
actionActionThe action code number
is_disabledboolWhether the policy is disabled
is_sealedboolWhether the policy is sealed

-**Actions** +**Action** - - + +
CodeName
0ACTION_UNSPECIFIED
- - - -
CodeName
0UNSPECIFIED
1MINT
2RECEIVE
4BURN
8SEND
16SUPER_BURN
134217728MODIFY_POLICY_MANAGERS
268435456MODIFY_CONTRACT_HOOK
536870912MODIFY_ROLE_PERMISSIONS
1073741824MODIFY_ROLE_MANAGERS
+0MODIFY_POLICY_MANAGERS +0MODIFY_CONTRACT_HOOK +0MODIFY_ROLE_PERMISSIONS +0MODIFY_ROLE_MANAGERS @@ -2036,8 +2036,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
+ +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
@@ -2078,36 +2078,36 @@ func main() { } ``` - -
ParameterTypeDescription
policy_manager_capabilitiesPolicyManagerCapability ArrayList of policy manager capabilities
+ +
ParameterTypeDescription
policy_manager_capabilitiesPolicyManagerCapability arrayList of policy manager capabilities

**PolicyManagerCapability** - - - - -
ParameterTypeDescription
managerStringManager name
actionActionAction code number
can_disableBooleanTrue if the manager can disable the policy, False if not
can_sealBooleanTrue if the manager can seal the policy, False if not
+ + + + +
ParameterTypeDescription
managerstringThe manager name
actionActionThe action code number
can_disableboolWhether the manager can disable the policy
can_sealboolWhether the manager can seal the policy

-**Actions** +**Action** - - + +
CodeName
0ACTION_UNSPECIFIED
- - - -
CodeName
0UNSPECIFIED
1MINT
2RECEIVE
4BURN
8SEND
16SUPER_BURN
134217728MODIFY_POLICY_MANAGERS
268435456MODIFY_CONTRACT_HOOK
536870912MODIFY_ROLE_PERMISSIONS
1073741824MODIFY_ROLE_MANAGERS
+0MODIFY_POLICY_MANAGERS +0MODIFY_CONTRACT_HOOK +0MODIFY_ROLE_PERMISSIONS +0MODIFY_ROLE_MANAGERS @@ -2219,8 +2219,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
+ +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
@@ -2231,17 +2231,17 @@ func main() { ``` - -
ParameterTypeDescription
vouchersAddressVoucher ArrayList of vouchers
+ +
ParameterTypeDescription
vouchersAddressVoucher arrayList of vouchers

**AddressVoucher** - - -
ParameterTypeDescription
addressStringInjective address the voucher is associated to
voucherCoinThe token amount
+ + +
ParameterTypeDescription
addressstringThe Injective address that the voucher is for
vouchergithub_com_cosmos_cosmos_sdk_types.CoinThe voucher amount

@@ -2363,9 +2363,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
denomStringThe token denomYes
addressStringThe Injective address of the receiverYes
+ + +
ParameterTypeDescriptionRequired
denomstringThe token denomYes
addressstringThe Injective address of the receiverYes
@@ -2376,8 +2376,8 @@ func main() { ``` - -
ParameterTypeDescription
voucherCoinA token amount
+ +
ParameterTypeDescription
vouchergithub_com_cosmos_cosmos_sdk_types.CoinThe voucher amount

@@ -2830,115 +2830,115 @@ No parameters } ``` - -
ParameterTypeDescription
stateGenesisStateModule state
+ +
ParameterTypeDescription
stateGenesisStateThe module state

**GenesisState** - - - -
ParameterTypeDescription
paramsParamsModule's parameters
namespacesNamespace ArrayList of namespaces
vouchersAddressVoucher ArrayList of vouchers
+ + + +
ParameterTypeDescription
paramsParamsparams defines the parameters of the module
namespacesNamespace arraynamespaces defines the namespaces of the module
vouchersAddressVoucher arrayvouchers defines the vouchers of the module

**Params** - -
ParameterTypeDescription
wasm_hook_query_max_gasIntegerMax amount of gas allowed for wasm hook queries
+ +
ParameterTypeDescription
wasm_hook_query_max_gasuint64Max amount of gas allowed for wasm hook queries

**Namespace** - - - - - - - -
ParameterTypeDescription
denomStringToken denom
contract_hookStringAddress of the wasm contract that will provide the real destination address
role_permissionsRole ArrayList of roles
actor_rolesActorRoles ArrayList of actor roles
role_managersRoleManager ArrayList of role managers
policy_statusesPolicyStatus ArrayList of policy statuses
policy_manager_capabilitiesPolicyManagerCapability ArrayList of policy manager capabilities
+ + + + + + + +
ParameterTypeDescription
denomstringThe tokenfactory denom to which this namespace applies to
contract_hookstringThe address of smart contract to apply code-based restrictions
role_permissionsRole arraypermissions for each role
actor_rolesActorRoles arrayroles for each actor
role_managersRoleManager arraymanagers for each role
policy_statusesPolicyStatus arraystatus for each policy
policy_manager_capabilitiesPolicyManagerCapability arraycapabilities for each manager for each policy

**AddressVoucher** - - -
ParameterTypeDescription
addressStringInjective address the voucher is associated to
voucherCoinThe token amount
+ + +
ParameterTypeDescription
addressstringThe Injective address that the voucher is for
vouchergithub_com_cosmos_cosmos_sdk_types.CoinThe voucher amount

**Role** - - - -
ParameterTypeDescription
nameStringRole name
role_idIntegerRole ID
permissionsIntegerInteger representing the bitwhise combination of all actions assigned to the role
+ + + +
ParameterTypeDescription
namestringThe role name
role_iduint32The role ID
permissionsuint32Integer representing the bitwise combination of all actions assigned to the role

**ActorRoles** - - -
ParameterTypeDescription
actorStringActor name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
actorstringThe actor name
rolesstring arrayThe roles for the actor

**RoleManager** - - -
ParameterTypeDescription
managerStringManager name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
managerstringThe manager name
rolesstring arrayList of roles associated with the manager

**PolicyStatus** - - - -
ParameterTypeDescription
actionActionAction code number
is_disabledBooleanTrue if the policy is disabled, False if it is enabled
is_sealedBooleanTrue if the policy is sealed, False if it is not
+ + + +
ParameterTypeDescription
actionActionThe action code number
is_disabledboolWhether the policy is disabled
is_sealedboolWhether the policy is sealed

**PolicyManagerCapability** - - - - -
ParameterTypeDescription
managerStringManager name
actionActionAction code number
can_disableBooleanTrue if the manager can disable the policy, False if not
can_sealBooleanTrue if the manager can seal the policy, False if not
+ + + + +
ParameterTypeDescription
managerstringThe manager name
actionActionThe action code number
can_disableboolWhether the manager can disable the policy
can_sealboolWhether the manager can seal the policy

-**Actions** +**Action** - - + +
CodeName
0ACTION_UNSPECIFIED
- - - -
CodeName
0UNSPECIFIED
1MINT
2RECEIVE
4BURN
8SEND
16SUPER_BURN
134217728MODIFY_POLICY_MANAGERS
268435456MODIFY_CONTRACT_HOOK
536870912MODIFY_ROLE_PERMISSIONS
1073741824MODIFY_ROLE_MANAGERS
+0MODIFY_POLICY_MANAGERS +0MODIFY_CONTRACT_HOOK +0MODIFY_ROLE_PERMISSIONS +0MODIFY_ROLE_MANAGERS @@ -3238,8 +3238,8 @@ func main() { ``` - - + +
ParameterTypeDescriptionRequired
senderStringThe sender's Injective addressYes
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
namespaceNamespaceThe namespace informationYes
@@ -3247,80 +3247,80 @@ func main() { **Namespace** - - - - - - - -
ParameterTypeDescription
denomStringToken denom
contract_hookStringAddress of the wasm contract that will provide the real destination address
role_permissionsRole ArrayList of roles
actor_rolesActorRoles ArrayList of actor roles
role_managersRoleManager ArrayList of role managers
policy_statusesPolicyStatus ArrayList of policy statuses
policy_manager_capabilitiesPolicyManagerCapability ArrayList of policy manager capabilities
+ + + + + + + +
ParameterTypeDescription
denomstringThe tokenfactory denom to which this namespace applies to
contract_hookstringThe address of smart contract to apply code-based restrictions
role_permissionsRole arraypermissions for each role
actor_rolesActorRoles arrayroles for each actor
role_managersRoleManager arraymanagers for each role
policy_statusesPolicyStatus arraystatus for each policy
policy_manager_capabilitiesPolicyManagerCapability arraycapabilities for each manager for each policy

**Role** - - - -
ParameterTypeDescription
nameStringRole name
role_idIntegerRole ID
permissionsIntegerInteger representing the bitwhise combination of all actions assigned to the role
+ + + +
ParameterTypeDescription
namestringThe role name
role_iduint32The role ID
permissionsuint32Integer representing the bitwise combination of all actions assigned to the role

**ActorRoles** - - -
ParameterTypeDescription
actorStringActor name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
actorstringThe actor name
rolesstring arrayThe roles for the actor

**RoleManager** - - -
ParameterTypeDescription
managerStringManager name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
managerstringThe manager name
rolesstring arrayList of roles associated with the manager

**PolicyStatus** - - - -
ParameterTypeDescription
actionActionAction code number
is_disabledBooleanTrue if the policy is disabled, False if it is enabled
is_sealedBooleanTrue if the policy is sealed, False if it is not
+ + + +
ParameterTypeDescription
actionActionThe action code number
is_disabledboolWhether the policy is disabled
is_sealedboolWhether the policy is sealed

**PolicyManagerCapability** - - - - -
ParameterTypeDescription
managerStringManager name
actionActionAction code number
can_disableBooleanTrue if the manager can disable the policy, False if not
can_sealBooleanTrue if the manager can seal the policy, False if not
+ + + + +
ParameterTypeDescription
managerstringThe manager name
actionActionThe action code number
can_disableboolWhether the manager can disable the policy
can_sealboolWhether the manager can seal the policy

-**Actions** +**Action** - - + +
CodeName
0ACTION_UNSPECIFIED
- - - -
CodeName
0UNSPECIFIED
1MINT
2RECEIVE
4BURN
8SEND
16SUPER_BURN
134217728MODIFY_POLICY_MANAGERS
268435456MODIFY_CONTRACT_HOOK
536870912MODIFY_ROLE_PERMISSIONS
1073741824MODIFY_ROLE_MANAGERS
+0MODIFY_POLICY_MANAGERS +0MODIFY_CONTRACT_HOOK +0MODIFY_ROLE_PERMISSIONS +0MODIFY_ROLE_MANAGERS ### Response Parameters @@ -3611,79 +3611,79 @@ func main() { ``` - - - - - - - -
ParameterTypeDescriptionRequired
senderStringThe sender's Injective addressYes
denomStringThe token denom of the namespace to updateYes
contract_hookMsgUpdateNamespace_SetContractHookAddress of the wasm contract that will provide the real destination addressYes
role_permissionsRole ArrayList of rolesYes
role_managersRoleManager ArrayList of role managersYes
policy_statusesPolicyStatus ArrayList of policy statusesYes
policy_manager_capabilitiesPolicyManagerCapability ArrayList of policy manager capabilitiesYes
+ + + + + + + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
denomstringdenom whose namespace updates are to be appliedYes
contract_hookMsgUpdateNamespace_SetContractHookaddress of smart contract to apply code-based restrictionsNo
role_permissionsRole arrayrole permissions to updateNo
role_managersRoleManager arrayrole managers to updateNo
policy_statusesPolicyStatus arraypolicy statuses to updateNo
policy_manager_capabilitiesPolicyManagerCapability arraypolicy manager capabilities to updateNo

**MsgUpdateNamespace_SetContractHook** - -
ParameterTypeDescription
new_valueStringAddress of the wasm contract that will provide the real destination address
+ +
ParameterTypeDescriptionRequired
new_valuestringYes

**Role** - - - -
ParameterTypeDescription
nameStringRole name
role_idIntegerRole ID
permissionsIntegerInteger representing the bitwhise combination of all actions assigned to the role
+ + + +
ParameterTypeDescription
namestringThe role name
role_iduint32The role ID
permissionsuint32Integer representing the bitwise combination of all actions assigned to the role

**RoleManager** - - -
ParameterTypeDescription
managerStringManager name
rolesString ArrayList of roles
+ + +
ParameterTypeDescription
managerstringThe manager name
rolesstring arrayList of roles associated with the manager

**PolicyStatus** - - - -
ParameterTypeDescription
actionActionAction code number
is_disabledBooleanTrue if the policy is disabled, False if it is enabled
is_sealedBooleanTrue if the policy is sealed, False if it is not
+ + + +
ParameterTypeDescription
actionActionThe action code number
is_disabledboolWhether the policy is disabled
is_sealedboolWhether the policy is sealed

**PolicyManagerCapability** - - - - -
ParameterTypeDescription
managerStringManager name
actionActionAction code number
can_disableBooleanTrue if the manager can disable the policy, False if not
can_sealBooleanTrue if the manager can seal the policy, False if not
+ + + + +
ParameterTypeDescription
managerstringThe manager name
actionActionThe action code number
can_disableboolWhether the manager can disable the policy
can_sealboolWhether the manager can seal the policy

-**Actions** +**Action** - - + +
CodeName
0ACTION_UNSPECIFIED
- - - -
CodeName
0UNSPECIFIED
1MINT
2RECEIVE
4BURN
8SEND
16SUPER_BURN
134217728MODIFY_POLICY_MANAGERS
268435456MODIFY_CONTRACT_HOOK
536870912MODIFY_ROLE_PERMISSIONS
1073741824MODIFY_ROLE_MANAGERS
+0MODIFY_POLICY_MANAGERS +0MODIFY_CONTRACT_HOOK +0MODIFY_ROLE_PERMISSIONS +0MODIFY_ROLE_MANAGERS ### Response Parameters @@ -3933,20 +3933,20 @@ func main() { ``` - - - - -
ParameterTypeDescriptionRequired
senderStringThe sender's Injective addressYes
denomStringThe token denom of the namespace to updateYes
role_actors_to_addRoleActors ArrayAddress of the wasm contract that will provide the real destination addressNo
role_actors_to_revokeRoleActors ArrayList of rolesNo
+ + + + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
denomstringThe namespace denom to which this updates are appliedYes
role_actors_to_addRoleActors arrayThe roles to add for given actorsNo
role_actors_to_revokeRoleActors arrayThe roles to revoke from given actorsNo

**RoleActors** - - -
ParameterTypeDescription
roleStringRole name
actorsString ArrayList of actors' names
+ + +
ParameterTypeDescription
rolestringThe role name
actorsstring arrayList of actor names associated with the role
@@ -4160,9 +4160,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
senderStringThe sender's Injective addressYes
denomStringThe token denom of the voucher to claimYes
+ + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
denomstringThe token denom of the voucher to claimYes
### Response Parameters diff --git a/source/includes/_portfoliorpc.md b/source/includes/_portfoliorpc.md index f72876b5..1d74d066 100644 --- a/source/includes/_portfoliorpc.md +++ b/source/includes/_portfoliorpc.md @@ -71,9 +71,10 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------------- | ------ | ------------------------------------------- | -------- | -| account_address | String | Address of the account to get portfolio for | Yes | + + +
ParameterTypeDescriptionRequired
account_addressstringAccount addressYes
usdboolWhether to return USD values for the balancesYes
+ ### Response Parameters > Response Example: @@ -247,39 +248,51 @@ func main() { ``` -|Parameter|Type|Description| -|----|----|----| -|portfolio|Portfolio|The portfolio of the account| + +
ParameterTypeDescription
portfolioPortfolioBalancesThe portfolio balances of this account
+ + +
**PortfolioBalances** -|Parameter|Type|Description| -|----|----|----| -|account_address|String|The account's portfolio address| -|bank_balances|Coin Array|Account available bank balances| -|subaccounts|SubaccountBalanceV2|Subaccounts list| + + + + +
ParameterTypeDescription
account_addressstringThe account's portfolio address
bank_balancesCoin arrayAccount available bank balances
subaccountsSubaccountBalanceV2 arraySubaccounts list
total_usdstringUSD value of the portfolio
+ + +
**Coin** -|Parameter|Type|Description| -|----|----|----| -|denom|String|Denom of the coin| -|amount|String|Amount of the coin| + + + +
ParameterTypeDescription
denomstringDenom of the coin
amountstring
usd_valuestring
+ + +
**SubaccountBalanceV2** -|Parameter|Type|Description| -|-----|----|-----------| -|subaccount_id|String|Related subaccount ID| -|denom|String|Coin denom on the chain| -|deposit|SubaccountDeposit|Subaccount's total balanace and available balances| + + + +
ParameterTypeDescription
subaccount_idstringRelated subaccount ID
denomstringCoin denom on the chain.
depositSubaccountDeposit
+ + +
**SubaccountDeposit** -|Parameter|Type|Description| -|-----|----|----| -|total_balance|String| All balances (in specific denom) that this subaccount has | -|available_balance|String| Available balance (in specific denom), the balance that is not used by current orders | + + + + +
ParameterTypeDescription
total_balancestring
available_balancestring
total_balance_usdstring
available_balance_usdstring
+ ## StreamAccountPortfolio @@ -386,13 +399,11 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | -------- | ---------------------------------------------------------------------------------------------------- | -------- | -| account_address | String | The account's portfolio address | Yes | -| subaccount_id | String | Related subaccount ID | No | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + + + +
ParameterTypeDescriptionRequired
account_addressstringThe account's portfolio addressYes
subaccount_idstringRelated subaccount IDYes
typestringYes
+ ### Response Parameters @@ -429,9 +440,10 @@ func main() { } ``` -| Parameter | Type | Description | -|---------------|--------|----------------------------------------------------------------------------------------------| -| type | String | Type of portfolio document (should be one of ["bank", "total_balance", "available_balance"]) | -| denom | String | Denom of portfolio entry | -| amount | String | Amount of portfolio entry | -| subaccount_id | String | Subaccount id of portfolio entry | + + + + + +
ParameterTypeDescription
typestringtype of portfolio entry
denomstringdenom of portfolio entry
amountstringamount of portfolio entry
subaccount_idstringsubaccount id of portfolio entry
timestampint64Operation timestamp in UNIX millis.
+ diff --git a/source/includes/_spot.md b/source/includes/_spot.md index 384a6488..d40e1f4c 100644 --- a/source/includes/_spot.md +++ b/source/includes/_spot.md @@ -114,8 +114,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
+ +
ParameterTypeDescriptionRequired
market_idstringmarket idYes
@@ -125,20 +125,21 @@ func main() { ``` json ``` - - -
ParameterTypeDescription
bidsTrimmedLimitOrder ArrayBid side entries
asksTrimmedLimitOrder ArrayAsk side entries
+ + + +
ParameterTypeDescription
BidsTrimmedLimitOrder array
AsksTrimmedLimitOrder array
sequint64the current orderbook sequence number

**TrimmedLimitOrder** - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
order_hashStringThe order hash
subaccount_idStringSubaccount ID that created the order
+ + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
order_hashstringthe order hash
subaccount_idstringthe subaccount ID
@@ -257,9 +258,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
statusStringMarket statusNo
market_idsString ArrayList of market IDsNo
+ + +
ParameterTypeDescriptionRequired
statusstringStatus of the market, for convenience it is set to string - not enumYes
market_idsstring arrayFilter by market IDsYes
### Response Parameters @@ -287,30 +288,30 @@ func main() { } ``` - -
ParameterTypeDescription
marketsSpotMarket ArrayList of markets
+ +
ParameterTypeDescription
marketsSpotMarket array

**SpotMarket** - - - - - - - - + +
ParameterTypeDescription
tickerStringName of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset
base_denomStringCoin denom used for the base asset
quote_denomStringCoin denom used for the quote asset
maker_fee_rateDecimalFee percentage makers pay when trading
taker_fee_rateDecimalFee percentage takers pay when trading
relayer_fee_share_rateDecimalPercentage of the transaction fee shared with the relayer in a derivative market
market_idStringThe market ID
+ + + + + + - - - - - - -
ParameterTypeDescription
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
base_denomstringCoin denom used for the base asset
quote_denomstringCoin used for the quote asset
maker_fee_ratecosmossdk_io_math.LegacyDecmaker_fee_rate defines the fee percentage makers pay when trading
taker_fee_ratecosmossdk_io_math.LegacyDectaker_fee_rate defines the fee percentage takers pay when trading
relayer_fee_share_ratecosmossdk_io_math.LegacyDecrelayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market
market_idstringUnique market ID.
statusMarketStatusStatus of the market
min_price_tick_sizeDecimalMinimum tick size that the price required for orders in the market (in human redable format)
min_quantity_tick_sizeDecimalMinimum tick size of the quantity required for orders in the market (in human redable format)
min_notionalDecimalMinimum notional (in quote asset) required for orders in the market (in human redable format)
adminStringCurrent market admin's address
admin_permissionsIntegerLevel of admin permissions (the permission number is a result of adding up all individual permissions numbers)
base_decimalsIntegerNumber of decimals used for the base token
quote_decimalsIntegerNumber of decimals used for the quote token
+min_price_tick_sizecosmossdk_io_math.LegacyDecmin_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) +min_quantity_tick_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) +min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) +adminstringcurrent market admin +admin_permissionsuint32level of admin permissions +base_decimalsuint32base token decimals +quote_decimalsuint32quote token decimals
@@ -452,8 +453,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringThe market IDYes
+ +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
### Response Parameters @@ -479,30 +480,30 @@ func main() { } ``` - -
ParameterTypeDescription
marketSpotMarketMarket information
+ +
ParameterTypeDescription
marketSpotMarket

**SpotMarket** - - - - - - - - + +
ParameterTypeDescription
tickerStringName of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset
base_denomStringCoin denom used for the base asset
quote_denomStringCoin denom used for the quote asset
maker_fee_rateDecimalFee percentage makers pay when trading
taker_fee_rateDecimalFee percentage takers pay when trading
relayer_fee_share_rateDecimalPercentage of the transaction fee shared with the relayer in a derivative market
market_idStringThe market ID
+ + + + + + - - - - - - -
ParameterTypeDescription
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
base_denomstringCoin denom used for the base asset
quote_denomstringCoin used for the quote asset
maker_fee_ratecosmossdk_io_math.LegacyDecmaker_fee_rate defines the fee percentage makers pay when trading
taker_fee_ratecosmossdk_io_math.LegacyDectaker_fee_rate defines the fee percentage takers pay when trading
relayer_fee_share_ratecosmossdk_io_math.LegacyDecrelayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market
market_idstringUnique market ID.
statusMarketStatusStatus of the market
min_price_tick_sizeDecimalMinimum tick size that the price required for orders in the market (in human redable format)
min_quantity_tick_sizeDecimalMinimum tick size of the quantity required for orders in the market (in human redable format)
min_notionalDecimalMinimum notional (in quote asset) required for orders in the market (in human redable format)
adminStringCurrent market admin's address
admin_permissionsIntegerLevel of admin permissions (the permission number is a result of adding up all individual permissions numbers)
base_decimalsIntegerNumber of decimals used for the base token
quote_decimalsIntegerNumber of decimals used for the quote token
+min_price_tick_sizecosmossdk_io_math.LegacyDecmin_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) +min_quantity_tick_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) +min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) +adminstringcurrent market admin +admin_permissionsuint32level of admin permissions +base_decimalsuint32base token decimals +quote_decimalsuint32quote token decimals
@@ -648,10 +649,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
statusStringStatus of the marketNo
market_idsString ArrayList of market IDsNo
with_mid_price_and_tobBooleanFlag to activate/deactivate the inclusion of the markets mid price and top of the book buy and sell ordersNo
+ + + +
ParameterTypeDescriptionRequired
statusstringStatus of the market, for convenience it is set to string - not enumYes
market_idsstring arrayFilter by market IDsYes
with_mid_price_and_tobboolFlag to return the markets mid price and top of the book buy and sell orders.Yes
### Response Parameters @@ -686,39 +687,39 @@ func main() { } ``` - -
ParameterTypeDescription
marketsFullSpotMarket ArrayMarkets information
+ +
ParameterTypeDescription
marketsFullSpotMarket array

**FullSpotMarket** - - -
ParameterTypeDescription
marketSpotMarketMarket basic information
mid_price_and_tobMidPriceAndTOBThe mid price for this market and the best ask and bid orders
+ + +
ParameterTypeDescription
marketSpotMarketspot market details
mid_price_and_tobMidPriceAndTOBmid_price_and_tob defines the mid price for this market and the best ask and bid orders

**SpotMarket** - - - - - - - - + +
ParameterTypeDescription
tickerStringName of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset
base_denomStringCoin denom used for the base asset
quote_denomStringCoin denom used for the quote asset
maker_fee_rateDecimalFee percentage makers pay when trading
taker_fee_rateDecimalFee percentage takers pay when trading
relayer_fee_share_rateDecimalPercentage of the transaction fee shared with the relayer in a derivative market
market_idStringThe market ID
+ + + + + + - - - - - - -
ParameterTypeDescription
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
base_denomstringCoin denom used for the base asset
quote_denomstringCoin used for the quote asset
maker_fee_ratecosmossdk_io_math.LegacyDecmaker_fee_rate defines the fee percentage makers pay when trading
taker_fee_ratecosmossdk_io_math.LegacyDectaker_fee_rate defines the fee percentage takers pay when trading
relayer_fee_share_ratecosmossdk_io_math.LegacyDecrelayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market
market_idstringUnique market ID.
statusMarketStatusStatus of the market
min_price_tick_sizeDecimalMinimum tick size that the price required for orders in the market (in human redable format)
min_quantity_tick_sizeDecimalMinimum tick size of the quantity required for orders in the market (in human redable format)
min_notionalDecimalMinimum notional (in quote asset) required for orders in the market (in human redable format)
adminStringCurrent market admin's address
admin_permissionsIntegerLevel of admin permissions (the permission number is a result of adding up all individual permissions numbers)
base_decimalsIntegerNumber of decimals used for the base token
quote_decimalsIntegerNumber of decimals used for the quote token
+min_price_tick_sizecosmossdk_io_math.LegacyDecmin_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) +min_quantity_tick_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) +min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) +adminstringcurrent market admin +admin_permissionsuint32level of admin permissions +base_decimalsuint32base token decimals +quote_decimalsuint32quote token decimals
@@ -737,10 +738,10 @@ func main() { **MidPriceAndTOB** - - - -
ParameterTypeDescription
mid_priceDecimalMarket's mid price (in human redable format)
best_buy_priceDecimalMarket's best buy price (in human redable format)
best_sell_priceDecimalMarket's best sell price (in human redable format)
+ + + +
ParameterTypeDescription
mid_pricecosmossdk_io_math.LegacyDecmid price of the market (in human readable format)
best_buy_pricecosmossdk_io_math.LegacyDecbest buy price of the market (in human readable format)
best_sell_pricecosmossdk_io_math.LegacyDecbest sell price of the market (in human readable format)

@@ -872,9 +873,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
with_mid_price_and_tobBooleanFlag to activate/deactivate the inclusion of the markets mid price and top of the book buy and sell ordersNo
+ + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
with_mid_price_and_tobboolFlag to return the markets mid price and top of the book buy and sell orders.Yes
### Response Parameters @@ -907,39 +908,39 @@ func main() { } ``` - -
ParameterTypeDescription
marketFullSpotMarketMarkets information
+ +
ParameterTypeDescription
marketFullSpotMarket

**FullSpotMarket** - - -
ParameterTypeDescription
marketSpotMarketMarket basic information
mid_price_and_tobMidPriceAndTOBThe mid price for this market and the best ask and bid orders
+ + +
ParameterTypeDescription
marketSpotMarketspot market details
mid_price_and_tobMidPriceAndTOBmid_price_and_tob defines the mid price for this market and the best ask and bid orders

**SpotMarket** - - - - - - - - + +
ParameterTypeDescription
tickerStringName of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset
base_denomStringCoin denom used for the base asset
quote_denomStringCoin denom used for the quote asset
maker_fee_rateDecimalFee percentage makers pay when trading
taker_fee_rateDecimalFee percentage takers pay when trading
relayer_fee_share_rateDecimalPercentage of the transaction fee shared with the relayer in a derivative market
market_idStringThe market ID
+ + + + + + - - - - - - -
ParameterTypeDescription
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
base_denomstringCoin denom used for the base asset
quote_denomstringCoin used for the quote asset
maker_fee_ratecosmossdk_io_math.LegacyDecmaker_fee_rate defines the fee percentage makers pay when trading
taker_fee_ratecosmossdk_io_math.LegacyDectaker_fee_rate defines the fee percentage takers pay when trading
relayer_fee_share_ratecosmossdk_io_math.LegacyDecrelayer_fee_share_rate defines the percentage of the transaction fee shared with the relayer in a derivative market
market_idstringUnique market ID.
statusMarketStatusStatus of the market
min_price_tick_sizeDecimalMinimum tick size that the price required for orders in the market (in human redable format)
min_quantity_tick_sizeDecimalMinimum tick size of the quantity required for orders in the market (in human redable format)
min_notionalDecimalMinimum notional (in quote asset) required for orders in the market (in human redable format)
adminStringCurrent market admin's address
admin_permissionsIntegerLevel of admin permissions (the permission number is a result of adding up all individual permissions numbers)
base_decimalsIntegerNumber of decimals used for the base token
quote_decimalsIntegerNumber of decimals used for the quote token
+min_price_tick_sizecosmossdk_io_math.LegacyDecmin_price_tick_size defines the minimum tick size that the price required for orders in the market (in human readable format) +min_quantity_tick_sizecosmossdk_io_math.LegacyDecmin_quantity_tick_size defines the minimum tick size of the quantity required for orders in the market (in human readable format) +min_notionalcosmossdk_io_math.LegacyDecmin_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format) +adminstringcurrent market admin +admin_permissionsuint32level of admin permissions +base_decimalsuint32base token decimals +quote_decimalsuint32quote token decimals
@@ -958,10 +959,10 @@ func main() { **MidPriceAndTOB** - - - -
ParameterTypeDescription
mid_priceDecimalMarket's mid price (in human redable format)
best_buy_priceDecimalMarket's best buy price (in human redable format)
best_sell_priceDecimalMarket's best sell price (in human redable format)
+ + + +
ParameterTypeDescription
mid_pricecosmossdk_io_math.LegacyDecmid price of the market (in human readable format)
best_buy_pricecosmossdk_io_math.LegacyDecbest buy price of the market (in human readable format)
best_sell_pricecosmossdk_io_math.LegacyDecbest sell price of the market (in human readable format)

@@ -1102,19 +1103,19 @@ func main() { ``` - - - - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
limitIntegerMax number of order book entries to return per sideNo
order_sideOrderSideSpecifies the side of the order book to return entries fromNo
limit_cumulative_notionalDecimalLimit the number of entries to return per side based on the cumulative notional (in human redable format)No
limit_cumulative_quantityDecimalLimit the number of entries to return per side based on the cumulative quantity (in human redable format)No
+ + + + + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
limituint64the maximum number of orderbook entries to return per side (optional)No
order_sideOrderSidethe order side to return the orderbook entries for (optional)No
limit_cumulative_notionalcosmossdk_io_math.LegacyDeclimits the number of entries to return per side based on the cumulative notional (in human readable format)No
limit_cumulative_quantitycosmossdk_io_math.LegacyDeclimits the number of entries to return per side based on the cumulative quantity (in human readable format)No

**OrderSide** - +
CodeName
0Side_Unspecified
1Buy
2Sell
@@ -1139,18 +1140,19 @@ func main() { } ``` - - -
ParameterTypeDescription
buys_price_levelLevel ArrayBid side entries
sells_price_levelLevel ArrayAsk side entries
+ + + +
ParameterTypeDescription
buys_price_levelLevel array
sells_price_levelLevel array
sequint64the current orderbook sequence number

**Level** - - -
ParameterTypeDescription
pDecimalPrice (in human redable format)
qDecimalQuantity (in human redable format)
+ + +
ParameterTypeDescription
pcosmossdk_io_math.LegacyDecprice (in human readable format)
qcosmossdk_io_math.LegacyDecquantity (in human readable format)
@@ -1283,9 +1285,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
subaccount_idStringTrader's subaccount IDYes
+ + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
subaccount_idstringSubaccountID of the traderYes
### Response Parameters @@ -1305,21 +1307,21 @@ func main() { } ``` - -
ParameterTypeDescription
ordersTrimmedSpotLimitOrder ArrayOrders info
+ +
ParameterTypeDescription
ordersTrimmedSpotLimitOrder array

**TrimmedSpotLimitOrder** - - - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
fillableDecimalThe remaining fillable amount of the order (in human redable format)
is_buyBooleanTrue if the order is a buy order
order_hashStringThe order hash
cidStringThe client order ID provided by the creator
+ + + + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
fillablecosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable (in human readable format)
isBuybooltrue if the order is a buy
order_hashstringthe order hash (optional)
cidstringthe client order ID (optional)
@@ -1449,9 +1451,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
account_addressStringTrader's account addressYes
+ + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
account_addressstringAccount address of the traderYes
### Response Parameters @@ -1471,21 +1473,21 @@ func main() { } ``` - -
ParameterTypeDescription
ordersTrimmedSpotLimitOrder ArrayOrders info
+ +
ParameterTypeDescription
ordersTrimmedSpotLimitOrder array

**TrimmedSpotLimitOrder** - - - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
fillableDecimalThe remaining fillable amount of the order (in human redable format)
is_buyBooleanTrue if the order is a buy order
order_hashStringThe order hash
cidStringThe client order ID provided by the creator
+ + + + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
fillablecosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable (in human readable format)
isBuybooltrue if the order is a buy
order_hashstringthe order hash (optional)
cidstringthe client order ID (optional)
@@ -1620,10 +1622,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
subaccount_idStringTrader's subaccount IDYes
order_hashesString ArrayList of order hashes to retrieve information forYes
+ + + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
subaccount_idstringSubaccountID of the traderYes
order_hashesstring arraythe order hashesYes
### Response Parameters @@ -1643,21 +1645,21 @@ func main() { } ``` - -
ParameterTypeDescription
ordersTrimmedSpotLimitOrder ArrayOrders info
+ +
ParameterTypeDescription
ordersTrimmedSpotLimitOrder array

**TrimmedSpotLimitOrder** - - - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
fillableDecimalThe remaining fillable amount of the order (in human redable format)
is_buyBooleanTrue if the order is a buy order
order_hashStringThe order hash
cidStringThe client order ID provided by the creator
+ + + + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
fillablecosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable (in human readable format)
isBuybooltrue if the order is a buy
order_hashstringthe order hash (optional)
cidstringthe client order ID (optional)
@@ -1790,9 +1792,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
subaccount_idStringTrader's subaccount IDYes
+ + +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
subaccount_idstringSubaccountID of the traderYes
### Response Parameters @@ -1812,21 +1814,21 @@ func main() { } ``` - -
ParameterTypeDescription
ordersTrimmedSpotLimitOrder ArrayOrders info
+ +
ParameterTypeDescription
ordersTrimmedSpotLimitOrder array

**TrimmedSpotLimitOrder** - - - - - - -
ParameterTypeDescription
priceDecimalOrder price (in human redable format)
quantityDecimalOrder quantity (in human redable format)
fillableDecimalThe remaining fillable amount of the order (in human redable format)
is_buyBooleanTrue if the order is a buy order
order_hashStringThe order hash
cidStringThe client order ID provided by the creator
+ + + + + + +
ParameterTypeDescription
pricecosmossdk_io_math.LegacyDecprice of the order (in human readable format)
quantitycosmossdk_io_math.LegacyDecquantity of the order (in human readable format)
fillablecosmossdk_io_math.LegacyDecthe amount of the quantity remaining fillable (in human readable format)
isBuybooltrue if the order is a buy
order_hashstringthe order hash (optional)
cidstringthe client order ID (optional)
@@ -1942,8 +1944,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
market_idStringMarket ID to request forYes
+ +
ParameterTypeDescriptionRequired
market_idstringMarket ID for the marketYes
### Response Parameters @@ -1957,10 +1959,10 @@ func main() { } ``` - - - -
ParameterTypeDescription
mid_priceDecimalMarket's mid price (in human redable format)
best_buy_priceDecimalMarket's bet bid price (in human redable format)
best_sell_priceDecimalMarket's bet ask price (in human redable format)
+ + + +
ParameterTypeDescription
mid_pricecosmossdk_io_math.LegacyDecmid price of the market (in human readable format)
best_buy_pricecosmossdk_io_math.LegacyDecbest buy price of the market (in human readable format)
best_sell_pricecosmossdk_io_math.LegacyDecbest sell price of the market
@@ -2984,12 +2986,12 @@ func main() { ``` - - - - - -
ParameterTypeDescriptionRequired
senderStringThe message sender's addressYes
market_idStringThe unique ID of the order's marketYes
subaccount_idStringThe subaccount ID the order belongs toYes
order_hashStringThe order hash (either order_hash or cid have to be provided)No
cidStringThe client order ID provided by the creator (either order_hash or cid have to be provided)No
+ + + + + +
ParameterTypeDescriptionRequired
senderstringthe sender's Injective addressYes
market_idstringthe market IDYes
subaccount_idstringthe subaccount IDYes
order_hashstringthe order hash (optional)No
cidstringthe client order ID (optional)No
### Response Parameters @@ -3169,6 +3171,21 @@ async def main() -> None: ), ] + derivative_market_orders_to_create = [ + composer.derivative_order( + market_id=derivative_market_id_create, + subaccount_id=subaccount_id, + fee_recipient=fee_recipient, + price=Decimal(25100), + quantity=Decimal(0.1), + margin=composer.calculate_margin( + quantity=Decimal(0.1), price=Decimal(25100), leverage=Decimal(1), is_reduce_only=False + ), + order_type="BUY", + cid=str(uuid.uuid4()), + ), + ] + spot_orders_to_create = [ composer.spot_order( market_id=spot_market_id_create, @@ -3190,6 +3207,18 @@ async def main() -> None: ), ] + spot_market_orders_to_create = [ + composer.spot_order( + market_id=spot_market_id_create, + subaccount_id=subaccount_id, + fee_recipient=fee_recipient, + price=Decimal("3.5"), + quantity=Decimal("1"), + order_type="BUY", + cid=str(uuid.uuid4()), + ), + ] + # prepare tx msg msg = composer.msg_batch_update_orders( sender=address.to_acc_bech32(), @@ -3197,6 +3226,8 @@ async def main() -> None: spot_orders_to_create=spot_orders_to_create, derivative_orders_to_cancel=derivative_orders_to_cancel, spot_orders_to_cancel=spot_orders_to_cancel, + spot_market_orders_to_create=spot_market_orders_to_create, + derivative_market_orders_to_create=derivative_market_orders_to_create, ) # broadcast the transaction @@ -3308,6 +3339,18 @@ func main() { }, ) + spot_market_order := chainClient.CreateSpotOrderV2( + defaultSubaccountID, + &chainclient.SpotOrderData{ + OrderType: int32(exchangev2types.OrderType_BUY), //BUY SELL + Quantity: decimal.NewFromFloat(0.1), + Price: decimal.NewFromFloat(22), + FeeRecipient: senderAddress.String(), + MarketId: smarketId, + Cid: uuid.NewString(), + }, + ) + dmarketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce" damount := decimal.NewFromFloat(0.01) dprice := decimal.RequireFromString("31000") //31,000 @@ -3328,6 +3371,20 @@ func main() { }, ) + derivative_market_order := chainClient.CreateDerivativeOrderV2( + defaultSubaccountID, + &chainclient.DerivativeOrderData{ + OrderType: int32(exchangev2types.OrderType_BUY), //BUY SELL + Quantity: decimal.NewFromFloat(0.01), + Price: decimal.RequireFromString("33000"), + Leverage: decimal.RequireFromString("2"), + FeeRecipient: senderAddress.String(), + MarketId: dmarketId, + IsReduceOnly: false, + Cid: uuid.NewString(), + }, + ) + msg := exchangev2types.MsgBatchUpdateOrders{ Sender: senderAddress.String(), SubaccountId: defaultSubaccountID.Hex(), @@ -3335,6 +3392,8 @@ func main() { DerivativeOrdersToCreate: []*exchangev2types.DerivativeOrder{derivative_order}, SpotMarketIdsToCancelAll: smarketIds, DerivativeMarketIdsToCancelAll: dmarketIds, + SpotMarketOrdersToCreate: []*exchangev2types.SpotOrder{spot_market_order}, + DerivativeMarketOrdersToCreate: []*exchangev2types.DerivativeOrder{derivative_market_order}, } // AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg @@ -3366,7 +3425,10 @@ func main() { derivative_orders_to_createDerivativeOrder arraythe derivative orders to createNo binary_options_orders_to_cancelOrderData arraythe binary options orders to cancelNo binary_options_market_ids_to_cancel_allstring arraythe market IDs to cancel all binary options orders for (optional)No -binary_options_orders_to_createDerivativeOrder arraythe binary options orders to createNo +binary_options_orders_to_createDerivativeOrder arraythe binary options orders to createNo +spot_market_orders_to_createSpotOrder arraythe spot market orders to createNo +derivative_market_orders_to_createDerivativeOrder arraythe derivative market orders to createNo +binary_options_market_orders_to_createDerivativeOrder arraythe binary options market orders to createNo
diff --git a/source/includes/_spotrpc.md b/source/includes/_spotrpc.md index 25c01a5d..8f29db99 100644 --- a/source/includes/_spotrpc.md +++ b/source/includes/_spotrpc.md @@ -70,9 +70,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | --------------------------------------- | -------- | -| market_id | String | MarketId of the market we want to fetch | Yes | + +
ParameterTypeDescriptionRequired
market_idstringMarketId of the market we want to fetchYes
+ ### Response Parameters @@ -138,38 +138,42 @@ func main() { } ``` -| Parameter | Type | Description | -| --------- | -------------- | --------------------------------- | -| market | SpotMarketInfo | Info about particular spot market | + +
ParameterTypeDescription
marketSpotMarketInfoInfo about particular spot market
+ + +
**SpotMarketInfo** -| Parameter | Type | Description | -| ---------------------- | --------- | ------------------------------------------------------------------------------------------------------- | -| base_denom | String | Coin denom of the base asset | -| market_id | String | ID of the spot market of interest | -| market_status | String | The status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | -| min_quantity_tick_size | String | Defines the minimum required tick size for the order's quantity | -| quote_token_meta | TokenMeta | Token metadata for quote asset, only for Ethereum-based assets | -| service_provider_fee | String | Percentage of the transaction fee shared with the service provider | -| base_token_meta | TokenMeta | Token metadata for base asset, only for Ethereum-based assets | -| maker_fee_rate | String | Defines the fee percentage makers pay (or receive, if negative) in quote asset when trading | -| min_price_tick_size | String | Defines the minimum required tick size for the order's price | -| quote_denom | String | Coin denom of the quote asset | -| taker_fee_rate | String | Defines the fee percentage takers pay (in the quote asset) when trading | -| ticker | String | A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset | -| min_notional | String | Defines the minimum required notional for an order to be accepted | + + + + + + + + + + + + + +
ParameterTypeDescription
market_idstringSpotMarket ID is keccak265(baseDenom || quoteDenom)
market_statusstringThe status of the market
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
base_denomstringCoin denom used for the base asset.
base_token_metaTokenMetaToken metadata for base asset
quote_denomstringCoin denom used for the quote asset.
quote_token_metaTokenMetaToken metadata for quote asset
maker_fee_ratestringDefines the fee percentage makers pay when trading (in quote asset)
taker_fee_ratestringDefines the fee percentage takers pay when trading (in quote asset)
service_provider_feestringPercentage of the transaction fee shared with the service provider
min_price_tick_sizestringDefines the minimum required tick size for the order's price
min_quantity_tick_sizestringDefines the minimum required tick size for the order's quantity
min_notionalstringMinimum notional value for the market
+ + +
**TokenMeta** -| Parameter | Type | Description | -| --------- | ------- | ----------------------------------------------- | -| address | String | Token's Ethereum contract address | -| decimals | Integer | Token decimals | -| logo | String | URL to the logo image | -| name | String | Token full name | -| symbol | String | Token symbol short name | -| updatedAt | Integer | Token metadata fetched timestamp in UNIX millis | + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ ## Markets @@ -253,11 +257,12 @@ func main() { -| Parameter | Type | Description | Required | -| --------------- | ------------ | ------------------------------------------------------------------------------------------------------------- | -------- | -| market_statuses | String Array | Filter by status of the market (Should be any of: ["active", "paused", "suspended", "demolished", "expired"]) | No | -| base_denom | String | Filter by the Coin denomination of the base currency | No | -| quote_denom | String | Filter by the Coin denomination of the quote currency | No | + + + + +
ParameterTypeDescriptionRequired
market_statusstringFilter by market statusYes
base_denomstringFilter by the Coin denomination of the base currencyYes
quote_denomstringFilter by the Coin denomination of the quote currencyYes
market_statusesstring arrayYes
+ ### Response Parameters @@ -347,39 +352,42 @@ func main() { } ``` -| Parameter | Type | Description | -| --------- | -------------------- | -------------------- | -| markets | SpotMarketInfo Array | List of spot markets | + +
ParameterTypeDescription
marketsSpotMarketInfo arraySpot Markets list
+ + +
**SpotMarketInfo** -| Parameter | Type | Description | -| ---------------------- | --------- | ------------------------------------------------------------------------------------------------------- | -| base_denom | String | Coin denom of the base asset | -| market_id | String | ID of the spot market of interest | -| market_status | String | The status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | -| min_quantity_tick_size | String | Defines the minimum required tick size for the order's quantity | -| quote_token_meta | TokenMeta | Token metadata for quote asset, only for Ethereum-based assets | -| service_provider_fee | String | Percentage of the transaction fee shared with the service provider | -| base_token_meta | TokenMeta | Token metadata for base asset, only for Ethereum-based assets | -| maker_fee_rate | String | Defines the fee percentage makers pay (or receive, if negative) in quote asset when trading | -| min_price_tick_size | String | Defines the minimum required tick size for the order's price | -| quote_denom | String | Coin denom of the quote asset | -| taker_fee_rate | String | Defines the fee percentage takers pay (in the quote asset) when trading | -| ticker | String | A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset | -| min_notional | String | Defines the minimum required notional for an order to be accepted | + + + + + + + + + + + + + +
ParameterTypeDescription
market_idstringSpotMarket ID is keccak265(baseDenom || quoteDenom)
market_statusstringThe status of the market
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
base_denomstringCoin denom used for the base asset.
base_token_metaTokenMetaToken metadata for base asset
quote_denomstringCoin denom used for the quote asset.
quote_token_metaTokenMetaToken metadata for quote asset
maker_fee_ratestringDefines the fee percentage makers pay when trading (in quote asset)
taker_fee_ratestringDefines the fee percentage takers pay when trading (in quote asset)
service_provider_feestringPercentage of the transaction fee shared with the service provider
min_price_tick_sizestringDefines the minimum required tick size for the order's price
min_quantity_tick_sizestringDefines the minimum required tick size for the order's quantity
min_notionalstringMinimum notional value for the market
+ -**TokenMeta** +
-| Parameter | Type | Description | -| --------- | ------- | ----------------------------------------------- | -| address | String | Token's Ethereum contract address | -| decimals | Integer | Token decimals | -| logo | String | URL to the logo image | -| name | String | Token full name | -| symbol | String | Token symbol short name | -| updatedAt | Integer | Token metadata fetched timestamp in UNIX millis | +**TokenMeta** + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ ## StreamMarkets @@ -485,9 +493,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------------ | ------------------------------------------------------------------------ | -------- | -| market_ids | String Array | List of market IDs for updates streaming, empty means 'ALL' spot markets | No | + +
ParameterTypeDescriptionRequired
market_idsstring arrayList of market IDs for updates streaming, empty means 'ALL' spot marketsYes
+ ### Response Parameters > Streaming Response Example: @@ -564,40 +572,44 @@ func main() { } ``` -| Parameter | Type | Description | -| -------------- | -------------- | ----------------------------------------------------------------------------- | -| market | SpotMarketInfo | Info about particular spot market | -| operation_type | String | Update type (Should be one of: ["insert", "replace", "update", "invalidate"]) | -| timestamp | Integer | Operation timestamp in UNIX millis | + + + +
ParameterTypeDescription
marketSpotMarketInfoInfo about particular spot market
operation_typestringUpdate type
timestampint64Operation timestamp in UNIX millis.
+ + +
**SpotMarketInfo** -| Parameter | Type | Description | -| ---------------------- | --------- | ------------------------------------------------------------------------------------------------------- | -| base_denom | String | Coin denom of the base asset | -| market_id | String | ID of the spot market of interest | -| market_status | String | The status of the market (Should be one of: ["active", "paused", "suspended", "demolished", "expired"]) | -| min_quantity_tick_size | String | Defines the minimum required tick size for the order's quantity | -| quote_token_meta | TokenMeta | Token metadata for quote asset, only for Ethereum-based assets | -| service_provider_fee | String | Percentage of the transaction fee shared with the service provider | -| base_token_meta | TokenMeta | Token metadata for base asset, only for Ethereum-based assets | -| maker_fee_rate | String | Defines the fee percentage makers pay (or receive, if negative) in quote asset when trading | -| min_price_tick_size | String | Defines the minimum required tick size for the order's price | -| quote_denom | String | Coin denom of the quote asset | -| taker_fee_rate | String | Defines the fee percentage takers pay (in the quote asset) when trading | -| ticker | String | A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset | -| min_notional | String | Defines the minimum required notional for an order to be accepted | + + + + + + + + + + + + + +
ParameterTypeDescription
market_idstringSpotMarket ID is keccak265(baseDenom || quoteDenom)
market_statusstringThe status of the market
tickerstringA name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.
base_denomstringCoin denom used for the base asset.
base_token_metaTokenMetaToken metadata for base asset
quote_denomstringCoin denom used for the quote asset.
quote_token_metaTokenMetaToken metadata for quote asset
maker_fee_ratestringDefines the fee percentage makers pay when trading (in quote asset)
taker_fee_ratestringDefines the fee percentage takers pay when trading (in quote asset)
service_provider_feestringPercentage of the transaction fee shared with the service provider
min_price_tick_sizestringDefines the minimum required tick size for the order's price
min_quantity_tick_sizestringDefines the minimum required tick size for the order's quantity
min_notionalstringMinimum notional value for the market
+ + +
**TokenMeta** -| Parameter | Type | Description | -| --------- | ------- | ----------------------------------------------- | -| address | String | Token's Ethereum contract address | -| decimals | Integer | Token decimals | -| logo | String | URL to the logo image | -| name | String | Token full name | -| symbol | String | Token symbol short name | -| updatedAt | Integer | Token metadata fetched timestamp in UNIX millis | + + + + + + +
ParameterTypeDescription
namestringToken full name
addressstringToken contract address (native or not)
symbolstringToken symbol short name
logostringURL to the logo image
decimalsint32Token decimals
updated_atint64Token metadata fetched timestamp in UNIX millis.
+ ## OrdersHistory @@ -692,18 +704,22 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -------- | -| subaccount_id | String | Filter by subaccount ID | No | -| market_ids | String Array | Filter by multiple market IDs | No | -| order_types | String Array | The order types to be included (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | No | -| direction | String | Filter by order direction (Should be one of: ["buy", "sell"]) | No | -| state | String | The order state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | No | -| execution_types | String Array | The execution of the order (Should be one of: ["limit", "market"]) | No | -| trade_id | String | Filter by the trade's trade id | No | -| active_markets_only | Bool | Return only orders for active markets | No | -| cid | String | Filter by the custom client order id of the trade's order | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + + + + + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringsubaccount ID to filter orders for specific subaccountYes
market_idstringMarket ID to filter orders for specific marketYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returnedYes
order_typesstring arrayfilter by order typesYes
directionstringorder side filterYes
start_timeint64Search for orders which createdAt >= startTime, time in millisecondYes
end_timeint64Search for orders which createdAt <= endTime, time in millisecondYes
statestringFilter by order stateYes
execution_typesstring arrayYes
market_idsstring arrayYes
trade_idstringTradeId of the order we want to fetchYes
active_markets_onlyboolReturn only orders for active marketsYes
cidstringClient order IDYes
+ ### Response Parameters @@ -940,38 +956,45 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | ---------------------- | ------------------------- | -| orders | SpotOrderHistory Array | List of prior spot orders | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
ordersSpotOrderHistory arrayList of history spot orders
pagingPaging
+ +
**SpotOrderHistory** -| Parameter | Type | Description | -| --------------- | ------- | --------------------------------------------------------------------------------------------------------------------- | -| order_hash | String | Hash of the order | -| market_id | String | ID of the spot market | -| is_active | Boolean | Indicates if the order is active | -| subaccount_id | String | ID of the subaccount that the order belongs to | -| execution_type | String | The type of the order (Should be one of: ["limit", "market"]) | -| order_type | String | Order type (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | -| price | String | Price of the order | -| trigger_price | String | Trigger price used by stop/take orders | -| quantity | String | Quantity of the order | -| filled_quantity | String | The amount of the quantity filled | -| state | String | Order state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | -| created_at | Integer | Order created timestamp in UNIX millis | -| updated_at | Integer | Order updated timestamp in UNIX millis | -| direction | String | The direction of the order (Should be one of: ["buy", "sell"]) | -| tx_hash | String | Transaction hash in which the order was created (not all orders have this value) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringHash of the order
market_idstringSpot Market ID is keccak265(baseDenom + quoteDenom)
is_activeboolactive state of the order
subaccount_idstringThe subaccountId that this order belongs to
execution_typestringThe execution type
order_typestringThe side of the order
pricestringPrice of the order
trigger_pricestringTrigger price
quantitystringQuantity of the order
filled_quantitystringFilled amount
statestringOrder state
created_atint64Order committed timestamp in UNIX millis.
updated_atint64Order updated timestamp in UNIX millis.
directionstringOrder direction (order side)
tx_hashstringTransaction Hash where order is created. Not all orders have this field
cidstringCustom client order ID
+ + +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | --------------------------------- | -| total | Integer | Total number of available records | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## StreamOrdersHistory @@ -1088,17 +1111,14 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | ------------ | ------------------------------------------------------------------------------------------------------------------------------- | -------- | -| market_id | String | Filter by market ID | No | -| subaccount_id | String | Filter by subaccount ID | No | -| direction | String | Filter by direction (Should be one of: ["buy", "sell"]) | No | -| state | String | Filter by state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | No | -| order_types | String Array | Filter by order type (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | No | -| execution_types | String Array | Filter by execution type (Should be one of: ["limit", "market"]) | No | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringsubaccount ID to filter orders for specific subaccountYes
market_idstringMarket ID to filter orders for specific marketYes
order_typesstring arrayfilter by order typesYes
directionstringorder side filterYes
statestringFilter by order stateYes
execution_typesstring arrayYes
+ ### Response Parameters @@ -1169,32 +1189,34 @@ func main() { } ``` -| Parameter | Type | Description | -| -------------- | ---------------- | ----------------------------------------------------------------------------------- | -| order | SpotOrderHistory | Updated Order | -| operation_type | String | Order update type (Should be one of: ["insert", "replace", "update", "invalidate"]) | -| timestamp | Integer | Operation timestamp in UNIX millis | + + + +
ParameterTypeDescription
orderSpotOrderHistoryUpdated order
operation_typestringOrder update type
timestampint64Operation timestamp in UNIX millis.
+ + +
**SpotOrderHistory** -| Parameter | Type | Description | -| --------------- | ------- | --------------------------------------------------------------------------------------------------------------------- | -| order_hash | String | Hash of the order | -| market_id | String | ID of the spot market | -| is_active | Boolean | Indicates if the order is active | -| subaccount_id | String | ID of the subaccount that the order belongs to | -| execution_type | String | The type of the order (Should be one of: ["limit", "market"]) | -| order_type | String | Order type (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell", "buy_po", "sell_po"]) | -| price | String | Price of the order | -| trigger_price | String | Trigger price used by stop/take orders | -| quantity | String | Quantity of the order | -| filled_quantity | String | The amount of the quantity filled | -| state | String | Order state (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | -| created_at | Integer | Order created timestamp in UNIX millis | -| updated_at | Integer | Order updated timestamp in UNIX millis | -| direction | String | The direction of the order (Should be one of: ["buy", "sell"]) | -| tx_hash | String | Transaction hash in which the order was created (not all orders have this value) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringHash of the order
market_idstringSpot Market ID is keccak265(baseDenom + quoteDenom)
is_activeboolactive state of the order
subaccount_idstringThe subaccountId that this order belongs to
execution_typestringThe execution type
order_typestringThe side of the order
pricestringPrice of the order
trigger_pricestringTrigger price
quantitystringQuantity of the order
filled_quantitystringFilled amount
statestringOrder state
created_atint64Order committed timestamp in UNIX millis.
updated_atint64Order updated timestamp in UNIX millis.
directionstringOrder direction (order side)
tx_hashstringTransaction Hash where order is created. Not all orders have this field
cidstringCustom client order ID
+ ## TradesV2 @@ -1290,17 +1312,23 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------- | -------- | -| market_ids | String Array | Filter by multiple market IDs | No | -| subaccount_ids | String Array | Filter by multiple subaccount IDs | No | -| execution_side | String | Filter by the execution side of the trade (Should be one of: ["maker", "taker"]) | No | -| direction | String | Filter by the direction of the trade (Should be one of: ["buy", "sell"]) | No | -| execution_types | String Array | Filter by the *trade execution type (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | No | -| trade_id | String | Filter by the trade id of the trade | No | -| account_address | String | Filter by the account address | No | -| cid | String | Filter by the custom client order id of the trade's order | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + + + + + + + + + + +
ParameterTypeDescriptionRequired
market_idstringMarketId of the market's orderbook we want to fetchYes
execution_sidestringFilter by execution side of the tradeYes
directionstringFilter by direction the tradeYes
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
skipuint64Skip will skip the first n item from the item resultYes
limitint32Limit is used to specify the maximum number of items to be returned.Yes
start_timeint64The starting timestamp in UNIX milliseconds that the trades must be equal or older thanYes
end_timeint64The ending timestamp in UNIX milliseconds that the trades must be equal or younger thanYes
market_idsstring arrayMarketIds of the markets of which we want to get tradesYes
subaccount_idsstring arraySubaccount ids of traders we want to get tradesYes
execution_typesstring arrayYes
trade_idstringFilter by the tradeId of the tradeYes
account_addressstringAccount addressYes
cidstringClient order IDYes
fee_recipientstringFee recipient addressYes
+ ### Response Parameters @@ -1514,42 +1542,51 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | --------------- | ---------------------------------- | -| trades | SpotTrade Array | Trades of a particular spot market | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
tradesSpotTrade arrayTrades of a Spot Market
pagingPagingPaging indicates pages response is on
+ + +
**SpotTrade** -| Parameter | Type | Description | -| -------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- | -| order_hash | String | The order hash | -| subaccount_id | String | The subaccountId that executed the trade | -| market_id | String | The ID of the market that this trade is in | -| trade_execution_type | String | Execution type of the trade (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | -| trade_direction | String | Direction of the trade(Should be one of: ["buy", "sell"]) | -| price | PriceLevel | Price level at which trade has been executed | -| fee | String | The fee associated with the trade (quote asset denom) | -| executed_at | Integer | Timestamp of trade execution (on chain) in UNIX millis | -| fee_recipient | String | The address that received 40% of the fees | -| trade_id | String | Unique identifier to differentiate between trades | -| execution_side | String | Execution side of trade (Should be one of: ["maker", "taker"]) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringMaker order hash.
subaccount_idstringThe subaccountId that executed the trade
market_idstringThe ID of the market that this trade is in
trade_execution_typestringThe execution type of the trade
trade_directionstringThe direction the trade
pricePriceLevelPrice level at which trade has been executed
feestringThe fee associated with the trade (quote asset denom)
executed_atint64Timestamp of trade execution in UNIX millis
fee_recipientstringFee recipient address
trade_idstringA unique string that helps differentiate between trades
execution_sidestringTrade's execution side, marker/taker
cidstringCustom client order ID
+ +
**PriceLevel** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| price | String | Price number of the price level | -| quantity | String | Quantity of the price level | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
timestampint64Price level last updated timestamp in UNIX millis.
+ + +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | --------------------------------- | -| total | Integer | Total number of records available | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## StreamTradesV2 @@ -1680,20 +1717,23 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------- | -------- | -| market_ids | String Array | Filter by multiple market IDs | No | -| subaccount_ids | String Array | Filter by multiple subaccount IDs | No | -| execution_side | String | Filter by the execution side of the trade (Should be one of: ["maker", "taker"]) | No | -| direction | String | Filter by the direction of the trade (Should be one of: ["buy", "sell"]) | No | -| execution_types | String Array | Filter by the *trade execution type (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | No | -| trade_id | String | Filter by the trade's trade id | No | -| account_address | String | Filter by the account address | No | -| cid | String | Filter by the custom client order id of the trade's order | No | -| pagination | PaginationOption | Pagination configuration | No | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + + + + + + + + + + + + + + + +
ParameterTypeDescriptionRequired
market_idstringMarketId of the market's orderbook we want to fetchYes
execution_sidestringFilter by execution side of the tradeYes
directionstringFilter by direction the tradeYes
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
skipuint64Skip will skip the first n item from the item resultYes
limitint32Limit is used to specify the maximum number of items to be returned.Yes
start_timeint64The starting timestamp in UNIX milliseconds that the trades must be equal or older thanYes
end_timeint64The ending timestamp in UNIX milliseconds that the trades must be equal or younger thanYes
market_idsstring arrayMarketIds of the markets of which we want to get tradesYes
subaccount_idsstring arraySubaccount ids of traders we want to get tradesYes
execution_typesstring arrayYes
trade_idstringFilter by the tradeId of the tradeYes
account_addressstringAccount addressYes
cidstringClient order IDYes
fee_recipientstringFee recipient addressYes
+ ### Response Parameters > Streaming Response Example: @@ -1785,37 +1825,40 @@ func main() { } ``` -| Parameter | Type | Description | -| -------------- | --------- | ------------------------------------------------------------------- | -| trade | SpotTrade | New spot market trade | -| operation_type | String | Trade operation type (Should be one of: ["insert", "invalidate"]) | -| timestamp | Integer | Timestamp the new trade is written into the database in UNIX millis | + + + +
ParameterTypeDescription
tradeSpotTradeNew spot market trade
operation_typestringExecuted trades update type
timestampint64Operation timestamp in UNIX millis.
+ + +
**SpotTrade** -| Parameter | Type | Description | -| -------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- | -| order_hash | String | The order hash | -| subaccount_id | String | The subaccountId that executed the trade | -| market_id | String | The ID of the market that this trade is in | -| trade_execution_type | String | Execution type of the trade (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | -| trade_direction | String | Direction of the trade(Should be one of: ["buy", "sell"]) | -| price | PriceLevel | Price level at which trade has been executed | -| fee | String | The fee associated with the trade (quote asset denom) | -| executed_at | Integer | Timestamp of trade execution (on chain) in UNIX millis | -| fee_recipient | String | The address that received 40% of the fees | -| trade_id | String | Unique identifier to differentiate between trades | -| execution_side | String | Execution side of trade (Should be one of: ["maker", "taker"]) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringMaker order hash.
subaccount_idstringThe subaccountId that executed the trade
market_idstringThe ID of the market that this trade is in
trade_execution_typestringThe execution type of the trade
trade_directionstringThe direction the trade
pricePriceLevelPrice level at which trade has been executed
feestringThe fee associated with the trade (quote asset denom)
executed_atint64Timestamp of trade execution in UNIX millis
fee_recipientstringFee recipient address
trade_idstringA unique string that helps differentiate between trades
execution_sidestringTrade's execution side, marker/taker
cidstringCustom client order ID
+ +
**PriceLevel** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| price | String | Price number of the price level | -| quantity | String | Quantity of the price level | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
timestampint64Price level last updated timestamp in UNIX millis.
+ ## OrderbooksV2 @@ -1891,10 +1934,10 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------------ | ------------------------------------------------------ | -------- | -| market_ids | String Array | List of IDs of markets to get orderbook snapshots from | Yes | -| depth | Integer | The depth of the orderbook | Yes | + + +
ParameterTypeDescriptionRequired
market_idsstring arrayMarketIds of the marketsYes
depthint32Depth of the orderbookYes
+ ### Response Parameters @@ -1964,36 +2007,43 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | -------------------------------- | ---------------------------------------------- | -| orderbooks | SingleSpotLimitOrderbookV2 Array | List of spot market orderbooks with market IDs | + +
ParameterTypeDescription
orderbooksSingleSpotLimitOrderbookV2 array
+ + +
**SingleSpotLimitOrderbookV2** -| Parameter | Type | Description | -| --------- | -------------------- | ----------------------- | -| market_id | String | ID of spot market | -| orderbook | SpotLimitOrderBookV2 | Orderbook of the market | + + +
ParameterTypeDescription
market_idstringmarket's ID
orderbookSpotLimitOrderbookV2Orderbook of the market
+ +
**SpotLimitOrderbookV2** -| Parameter | Type | Description | -| --------- | ---------------- | ------------------------------------------------------------- | -| buys | PriceLevel Array | List of price levels for buys | -| sells | PriceLevel Array | List of price levels for sells | -| sequence | Integer | Sequence number of the orderbook; increments by 1 each update | + + + + + +
ParameterTypeDescription
buysPriceLevel arrayArray of price levels for buys
sellsPriceLevel arrayArray of price levels for sells
sequenceuint64market orderbook sequence
timestampint64Last update timestamp in UNIX millis.
heightint64Block height at which the orderbook was last updated.
+ + +
**PriceLevel** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| price | String | Price number of the price level | -| quantity | String | Quantity of the price level | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
timestampint64Price level last updated timestamp in UNIX millis.
+ -## StreamOrderbooksV2 +## StreamOrderbookV2 Stream orderbook snapshot updates for one or more spot markets. @@ -2097,12 +2147,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------------ | ------------ | ---------------------------------------------------------------------------------------------------- | -------- | -| market_ids | String Array | List of market IDs for orderbook streaming; empty means all spot markets | Yes | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + +
ParameterTypeDescriptionRequired
market_idsstring arrayList of market IDs for orderbook streaming, empty means 'ALL' spot marketsYes
+ ### Response Parameters @@ -2148,28 +2195,36 @@ func main() { ``` -| Parameter | Type | Description | -| -------------- | -------------------- | ----------------------------------------------------------------------------------- | -| orderbook | SpotLimitOrderbookV2 | Orderbook of a Spot Market | -| operation_type | String | Order update type (Should be one of: ["insert", "replace", "update", "invalidate"]) | -| timestamp | Integer | Operation timestamp in UNIX millis | -| market_id | String | ID of the market the orderbook belongs to | + + + + +
ParameterTypeDescription
orderbookSpotLimitOrderbookV2Orderbook of a Spot Market
operation_typestringOrder update type
timestampint64Operation timestamp in UNIX millis.
market_idstringMarketId of the market's orderbook
+ + +
**SpotLimitOrderbookV2** -| Parameter | Type | Description | -| --------- | ---------------- | ------------------------------------------------------------- | -| buys | PriceLevel Array | List of price levels for buys | -| sells | PriceLevel Array | List of price levels for sells | -| sequence | Integer | Sequence number of the orderbook; increments by 1 each update | + + + + + +
ParameterTypeDescription
buysPriceLevel arrayArray of price levels for buys
sellsPriceLevel arrayArray of price levels for sells
sequenceuint64market orderbook sequence
timestampint64Last update timestamp in UNIX millis.
heightint64Block height at which the orderbook was last updated.
+ + +
**PriceLevel** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| price | String | Price number of the price level | -| quantity | String | Quantity of the price level | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
timestampint64Price level last updated timestamp in UNIX millis.
+ + +
## StreamOrderbookUpdate @@ -2541,12 +2596,9 @@ func maintainOrderbook(orderbook map[bool]map[string]*spotExchangePB.PriceLevel) ``` -| Parameter | Type | Description | Required | -| ------------------ | ------------ | ---------------------------------------------------------------------------------------------------- | -------- | -| market_ids | String Array | List of market IDs for orderbook streaming; empty means all spot markets | Yes | -| callback | Function | Function receiving one parameter (a stream event JSON dictionary) to process each new event | Yes | -| on_end_callback | Function | Function with the logic to execute when the stream connection is interrupted | No | -| on_status_callback | Function | Function receiving one parameter (the exception) with the logic to execute when an exception happens | No | + +
ParameterTypeDescriptionRequired
market_idsstring arrayList of market IDs for orderbook streaming, empty means 'ALL' spot marketsYes
+ ### Response Parameters @@ -2587,31 +2639,35 @@ price: 1E-15 | quantity: 17983000000000000000 | timestamp: 1675880932648 ``` -| Parameter | Type | Description | -| ----------------------- | --------------------- | ----------------------------------------------------------------------------------- | -| orderbook_level_updates | OrderbookLevelUpdates | Orderbook level updates of a spot market | -| operation_type | String | Order update type (Should be one of: ["insert", "replace", "update", "invalidate"]) | -| timestamp | Integer | Operation timestamp in UNIX millis | -| market_id | String | ID of the market the orderbook belongs to | + + + + +
ParameterTypeDescription
orderbook_level_updatesOrderbookLevelUpdatesOrderbook level updates of a Spot Market
operation_typestringOrder update type
timestampint64Operation timestamp in UNIX millis.
market_idstringMarketId of the market's orderbook
+ + +
**OrderbookLevelUpdates** -| Parameter | Type | Description | -| ---------- | ---------------------- | ------------------------------------------------------------- | -| market_id | String | ID of the market the orderbook belongs to | -| sequence | Integer | Orderbook update sequence number; increments by 1 each update | -| buys | PriceLevelUpdate Array | List of buy level updates | -| sells | PriceLevelUpdate Array | List of sell level updates | -| updated_at | Integer | Timestamp of the updates in UNIX millis | + + + + + +
ParameterTypeDescription
market_idstringmarket's ID
sequenceuint64orderbook update sequence
buysPriceLevelUpdate arraybuy levels
sellsPriceLevelUpdate arraysell levels
updated_atint64updates timestamp
+ + +
**PriceLevelUpdate** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| price | String | Price number of the price level | -| quantity | String | Quantity of the price level | -| is_active | Boolean | Price level status | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | + + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
is_activeboolPrice level status.
timestampint64Price level last updated timestamp in UNIX millis.
+ ## SubaccountOrdersList @@ -2702,11 +2758,12 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ------------- | ---------------- | ------------------------ | -------- | -| subaccount_id | String | Filter by subaccount ID | Yes | -| market_id | String | Filter by market ID | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringsubaccount ID to filter orders for specific subaccountYes
market_idstringMarket ID to filter orders for specific marketYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returnedYes
+ ### Response Parameters @@ -2795,39 +2852,43 @@ func main() { } ``` -| Parameter | Type | Description | -| --------- | -------------------- | -------------------------- | -| orders | SpotLimitOrder Array | List of spot market orders | -| paging | Paging | Pagination of results | + + +
ParameterTypeDescription
ordersSpotLimitOrder array
pagingPaging
+ +
**SpotLimitOrder** -| Parameter | Type | Description | -| ----------------- | ------- | ----------------------------------------------------------------------------------------------------------- | -| order_hash | String | Hash of the order | -| order_side | String | The side of the order (Should be one of: ["buy", "sell", "stop_buy", "stop_sell", "take_buy", "take_sell"]) | -| market_id | String | ID of the market the order belongs to | -| subaccount_id | String | The subaccount ID the order belongs to | -| price | String | The price of the order | -| quantity | String | The quantity of the order | -| unfilled_quantity | String | The amount of the quantity remaining unfilled | -| trigger_price | String | The price that triggers stop and take orders. If no price is set, the default is 0 | -| fee_recipient | String | The address that receives fees if the order is executed | -| state | String | State of the order (Should be one of: ["booked", "partial_filled", "filled", "canceled"]) | -| created_at | Integer | Order committed timestamp in UNIX millis | -| updated_at | Integer | Order updated timestamp in UNIX millis | -| tx_hash | String | Transaction hash in which the order was created (not all orders have this value) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringHash of the order
order_sidestringThe side of the order
market_idstringSpot Market ID is keccak265(baseDenom + quoteDenom)
subaccount_idstringThe subaccountId that this order belongs to
pricestringPrice of the order
quantitystringQuantity of the order
unfilled_quantitystringThe amount of the quantity remaining unfilled
trigger_pricestringTrigger price is the trigger price used by stop/take orders. 0 if the trigger price is not set.
fee_recipientstringFee recipient address
statestringOrder state
created_atint64Order committed timestamp in UNIX millis.
updated_atint64Order updated timestamp in UNIX millis.
tx_hashstringTransaction Hash where order is created. Not all orders have this field
cidstringCustom client order ID
+ +
**Paging** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------ | -| total | Integer | Total number of available records | -| from | Integer | Lower bound of indices of records returned | -| to | integer | Upper bound of indices of records returned | + + + + + +
ParameterTypeDescription
totalint64total number of txs saved in database
fromint32can be either block height or index num
toint32can be either block height or index num
count_by_subaccountint64count entries by subaccount, serving some places on helix
nextstring arrayarray of tokens to navigate to the next pages
+ ## SubaccountTradesList @@ -2932,13 +2993,14 @@ func main() { ``` -| Parameter | Type | Description | Required | -| -------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------- | -| subaccount_id | String | Filter by subaccount ID | Yes | -| market_id | String | Filter by market ID | No | -| execution_type | String | Filter by the *execution type of the trades (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | No | -| direction | String | Filter by the direction of the trades (Should be one of: ["buy", "sell"]) | No | -| pagination | PaginationOption | Pagination configuration | No | + + + + + + +
ParameterTypeDescriptionRequired
subaccount_idstringSubaccountId of the trader we want to get the trades fromYes
market_idstringFilter trades by market IDYes
execution_typestringFilter by execution type of tradesYes
directionstringFilter by direction tradesYes
skipuint64Skip will skip the first n item from the resultYes
limitint32Limit is used to specify the maximum number of items to be returnedYes
+ ### Response Parameters > Response Example: @@ -3042,32 +3104,35 @@ func main() { ``` -| Parameter | Type | Description | -| --------- | --------------- | -------------------------- | -| trades | SpotTrade Array | List of spot market trades | + +
ParameterTypeDescription
tradesSpotTrade arrayList of spot market trades
+ + +
**SpotTrade** -| Parameter | Type | Description | -| -------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- | -| order_hash | String | The order hash | -| subaccount_id | String | The subaccountId that executed the trade | -| market_id | String | The ID of the market that this trade is in | -| trade_execution_type | String | Execution type of the trade (Should be one of: ["market", "limitFill", "limitMatchRestingOrder", "limitMatchNewOrder"]) | -| trade_direction | String | Direction of the trade(Should be one of: ["buy", "sell"]) | -| price | PriceLevel | Price level at which trade has been executed | -| fee | String | The fee associated with the trade (quote asset denom) | -| executed_at | Integer | Timestamp of trade execution (on chain) in UNIX millis | -| fee_recipient | String | The address that received 40% of the fees | -| trade_id | String | Unique identifier to differentiate between trades | -| execution_side | String | Execution side of trade (Should be one of: ["maker", "taker"]) | -| cid | String | Identifier for the order specified by the user (up to 36 characters, like a UUID) | + + + + + + + + + + + + +
ParameterTypeDescription
order_hashstringMaker order hash.
subaccount_idstringThe subaccountId that executed the trade
market_idstringThe ID of the market that this trade is in
trade_execution_typestringThe execution type of the trade
trade_directionstringThe direction the trade
pricePriceLevelPrice level at which trade has been executed
feestringThe fee associated with the trade (quote asset denom)
executed_atint64Timestamp of trade execution in UNIX millis
fee_recipientstringFee recipient address
trade_idstringA unique string that helps differentiate between trades
execution_sidestringTrade's execution side, marker/taker
cidstringCustom client order ID
+ +
**PriceLevel** -| Parameter | Type | Description | -| --------- | ------- | ------------------------------------------------- | -| price | String | Price number of the price level | -| quantity | String | Quantity of the price level | -| timestamp | Integer | Price level last updated timestamp in UNIX millis | + + + +
ParameterTypeDescription
pricestringPrice number of the price level.
quantitystringQuantity of the price level.
timestampint64Price level last updated timestamp in UNIX millis.
+ diff --git a/source/includes/_staking.md b/source/includes/_staking.md index b5708dae..b117283a 100644 --- a/source/includes/_staking.md +++ b/source/includes/_staking.md @@ -109,8 +109,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
validator_addressStringThe validator address to query forYes
+ +
ParameterTypeDescriptionRequired
validator_addressstringvalidator_address defines the validator address to query for.Yes
### Response Parameters @@ -134,19 +134,19 @@ func main() { } ``` - - - -
ParameterTypeDescription
operator_addressStringThe validator operator address
self_bond_rewardsDecCoin ArrayThe self delegations rewards
commissionDecCoin ArrayThe commission the validator received
+ + + +
ParameterTypeDescription
operator_addressstringoperator_address defines the validator operator address.
self_bond_rewardsgithub_com_cosmos_cosmos_sdk_types.DecCoinsself_bond_rewards defines the self delegations rewards.
commissiongithub_com_cosmos_cosmos_sdk_types.DecCoinscommission defines the commission the validator received.

**DecCoin** - - -
ParameterTypeDescription
denomStringThe token denom
amountStringThe amount of tokens
+ + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.LegacyDec
@@ -258,8 +258,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
validator_addressStringThe validator address to query forYes
+ +
ParameterTypeDescriptionRequired
validator_addressstringvalidator_address defines the validator address to query for.Yes
### Response Parameters @@ -278,25 +278,25 @@ func main() { } ``` - -
ParameterTypeDescription
rewardsValidatorOutstandingRewardsDetails of all the rewards
+ +
ParameterTypeDescription
rewardsValidatorOutstandingRewards

**ValidatorOutstandingRewards** - -
ParameterTypeDescription
rewardsDecCoin ArrayDetails of all the rewards
+ +
ParameterTypeDescription
rewardsgithub_com_cosmos_cosmos_sdk_types.DecCoins

**DecCoin** - - -
ParameterTypeDescription
denomStringThe token denom
amountStringThe amount of tokens
+ + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.LegacyDec
@@ -408,8 +408,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
validator_addressStringThe validator address to query forYes
+ +
ParameterTypeDescriptionRequired
validator_addressstringvalidator_address defines the validator address to query for.Yes
### Response Parameters @@ -428,25 +428,25 @@ func main() { } ``` - -
ParameterTypeDescription
commissionValidatorAccumulatedCommissionThe commission the validator received
+ +
ParameterTypeDescription
commissionValidatorAccumulatedCommissioncommission defines the commission the validator received.

**ValidatorAccumulatedCommission** - -
ParameterTypeDescription
commissionDecCoin ArrayAccumulated commissions for the validator
+ +
ParameterTypeDescription
commissiongithub_com_cosmos_cosmos_sdk_types.DecCoins

**DecCoin** - - -
ParameterTypeDescription
denomStringThe token denom
amountStringThe amount of tokens
+ + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.LegacyDec
@@ -566,23 +566,23 @@ func main() { ``` - - - - -
ParameterTypeDescriptionRequired
validator_addressStringThe validator address to query forYes
starting_heightIntegerThe optional starting height to query the slashesNo
ending_heightIntegerThe optional ending height to query the slashesNo
paginationPageRequestThe optional pagination for the requestNo
+ + + + +
ParameterTypeDescriptionRequired
validator_addressstringvalidator_address defines the validator address to query for.Yes
starting_heightuint64starting_height defines the optional starting height to query the slashes.No
ending_heightuint64starting_height defines the optional ending height to query the slashes.No
paginationquery.PageRequestpagination defines an optional pagination for the request.No

**PageRequest** - - - - - -
ParameterTypeDescriptionRequired
keyByte ArrayKey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be setNo
offsetIntegerNumeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be setNo
limitIntegerTotal number of results to be returned in the result pageNo
count_totalBooleanSet to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. It is only respected when offset is used. It is ignored when key is setNo
reverseBooleanReverse is set to true if results are to be returned in the descending orderNo
+ + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
### Response Parameters @@ -592,27 +592,27 @@ func main() { ``` - - -
ParameterTypeDescription
slashesValidatorSlashEvent ArraySlashes de validator received
paginationPageResponsePagination information in the response
+ + +
ParameterTypeDescription
slashesValidatorSlashEvent arrayslashes defines the slashes the validator received.
paginationquery.PageResponsepagination defines the pagination in the response.

**ValidatorSlashEvent** - - -
ParameterTypeDescription
validator_periodIntegerThe period when the validator got slashed
fractionStringSlashing applied
+ + +
ParameterTypeDescription
validator_perioduint64
fractioncosmossdk_io_math.LegacyDec

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
@@ -728,9 +728,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
delegator_addressStringDelegator address to query forYes
validator_addressStringValidator address to query forYes
+ + +
ParameterTypeDescriptionRequired
delegator_addressstringdelegator_address defines the delegator address to query for.Yes
validator_addressstringvalidator_address defines the validator address to query for.Yes
### Response Parameters @@ -747,17 +747,17 @@ func main() { } ``` - -
ParameterTypeDescription
rewardsDecCoin ArrayThe rewards accrued by a delegation
+ +
ParameterTypeDescription
rewardsgithub_com_cosmos_cosmos_sdk_types.DecCoinsrewards defines the rewards accrued by a delegation.

**DecCoin** - - -
ParameterTypeDescription
denomStringThe token denom
amountStringThe amount of tokens
+ + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.LegacyDec
@@ -871,8 +871,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
delegator_addressStringThe delegator address to query forYes
+ +
ParameterTypeDescriptionRequired
delegator_addressstringdelegator_address defines the delegator address to query for.Yes
### Response Parameters @@ -924,27 +924,27 @@ func main() { } ``` - - -
ParameterTypeDescription
rewardsDelegationDelegatorReward ArrayAll the rewards accrued by a delegator
totalDecCoin ArrayThe sum of all rewards
+ + +
ParameterTypeDescription
rewardsDelegationDelegatorReward arrayrewards defines all the rewards accrued by a delegator.
totalgithub_com_cosmos_cosmos_sdk_types.DecCoinstotal defines the sum of all the rewards.

**DelegationDelegatorReward** - - -
ParameterTypeDescription
validator_addressStringThe validator's Injective address
rewardDecCoin ArrayList of all the rewards for the validator
+ + +
ParameterTypeDescription
validator_addressstring
rewardgithub_com_cosmos_cosmos_sdk_types.DecCoins

**DecCoin** - - -
ParameterTypeDescription
denomStringThe token denom
amountStringThe amount of tokens
+ + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.LegacyDec
@@ -1058,8 +1058,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
delegator_addressStringThe delegator address to query forYes
+ +
ParameterTypeDescriptionRequired
delegator_addressstringdelegator_address defines the delegator address to query for.Yes
### Response Parameters @@ -1077,8 +1077,8 @@ func main() { } ``` - -
ParameterTypeDescription
validatorsString ArrayList of all validators a delegator is delegating for
+ +
ParameterTypeDescription
validatorsstring arrayvalidators defines the validators a delegator is delegating for.
@@ -1192,8 +1192,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
delegator_addressStringThe delegator address to query forYes
+ +
ParameterTypeDescriptionRequired
delegator_addressstringdelegator_address defines the delegator address to query for.Yes
### Response Parameters @@ -1205,8 +1205,8 @@ func main() { } ``` - -
ParamterTypeDescription
withdraw_addressStringThe delegator's withdraw address
+ +
ParameterTypeDescription
withdraw_addressstringwithdraw_address defines the delegator address to query for.
@@ -1332,17 +1332,17 @@ No parameters } ``` - -
ParameterTypeDescription
poolDecCoin ArrayList of coins in the community pool
+ +
ParameterTypeDescription
poolgithub_com_cosmos_cosmos_sdk_types.DecCoinspool defines community pool's coins.

**DecCoin** - - -
ParameterTypeDescription
denomStringThe token denom
amountStringThe amount of tokens
+ + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.LegacyDec
@@ -1512,9 +1512,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
delegator_addressStringThe delegator's injective addressYes
withdraw_addressStringThe new withdraw addressYes
+ + +
ParameterTypeDescriptionRequired
delegator_addressstringYes
withdraw_addressstringYes
### Response Parameters @@ -1725,9 +1725,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
delegator_addressStringThe delegator's addressYes
validator_addressStringThe validator's addressYes
+ + +
ParameterTypeDescriptionRequired
delegator_addressstringYes
validator_addressstringYes
### Response parameters @@ -1948,8 +1948,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
validator_addressStringThe validator's addressYes
+ +
ParameterTypeDescriptionRequired
validator_addressstringYes
### Response Parameters @@ -2163,9 +2163,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
amountCoin ArrayThe token amounts to transferYes
depositorStringThe depositor's accountYes
+ + +
ParameterTypeDescriptionRequired
amountgithub_com_cosmos_cosmos_sdk_types.CoinsYes
depositorstringYes

@@ -2393,10 +2393,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
delegator_addressStringThe delegator's addressYes
validator_addressStringThe validator's addressYes
amountCoinThe token amount to delegateYes
+ + + +
ParameterTypeDescriptionRequired
delegator_addressstringYes
validator_addressstringYes
amounttypes1.CoinYes

diff --git a/source/includes/_tendermint.md b/source/includes/_tendermint.md index 1da9d7f0..3e840021 100644 --- a/source/includes/_tendermint.md +++ b/source/includes/_tendermint.md @@ -157,68 +157,68 @@ No parameters } ``` - - -
ParameterTypeDescription
default_node_infoDefaultNodeInfoNode information
application_versionVersionInfoNode version information
+ + +
ParameterTypeDescription
default_node_infov11.DefaultNodeInfo
application_versionVersionInfo

**DefaultNodeInfo** - - - - - - - - -
ParameterTypeDescription
protocol_versionProtocolVersionProtocol version information
default_nod_idStringNode identifier
listen_addrStringURI of the node's listening endpoint
networkStringThe chain network name
versionStringThe version number
channelsBytesChannels information
monikerString
otherDefaultNodeInfoOtherExtra node information
+ + + + + + + + +
ParameterTypeDescription
protocol_versionProtocolVersion
default_node_idstring
listen_addrstring
networkstring
versionstring
channelsbyte array
monikerstring
otherDefaultNodeInfoOther

**ProtocolVersion** - - - -
ParameterTypeDescription
p2pInteger
blockInteger
appInteger
+ + + +
ParameterTypeDescription
p2puint64
blockuint64
appuint64

**DefaultNodeInfoOther** - - -
ParameterTypeDescription
tx_indexStringTX indexing status (on/off)
rpc_addressStringURI for RPC connections
+ + +
ParameterTypeDescription
tx_indexstring
rpc_addressstring

**VersionInfo** - - - - - - - - -
ParameterTypeDescription
nameStringThe chain name
app_nameStringApplication name
versionStringApplication version
git_commitStringGit commit hash
build_tagsStringApplication build tags
go_versionStringGoLang version used to compile the application
build_depsModule ArrayApplication dependencies
cosmos_sdk_versionStringCosmos SDK version used by the application
+ + + + + + + + +
ParameterTypeDescription
namestring
app_namestring
versionstring
git_commitstring
build_tagsstring
go_versionstring
build_depsModule array
cosmos_sdk_versionstringSince: cosmos-sdk 0.43

**Module** - - - -
ParameterTypeDescription
pathStringModule path
versionStringModule version
sumStringChecksum
+ + + +
ParameterTypeDescription
pathstringmodule path
versionstringmodule version
sumstringchecksum
@@ -340,8 +340,8 @@ No parameters } ``` - -
ParameterTypeDescription
syncingBooleanSyncing status
+ +
ParameterTypeDescription
syncingbool
@@ -618,17 +618,18 @@ No parameters } ``` - - -
ParameterTypeDescription
block_idBlockIDBlock identifier
sdk_blockBlockBlock details
+ + + +
ParameterTypeDescription
block_idv1.BlockID
blockv1.BlockDeprecated: please use `sdk_block` instead
sdk_blockBlockSince: cosmos-sdk 0.47

**BlockID** - - + +
ParameterTypeDescription
hashBytesBlock hash
ParameterTypeDescription
hashbyte array
part_set_headerPartSetHeader
@@ -636,18 +637,18 @@ No parameters **PartSetHeader** - - -
ParameterTypeDescription
totalInteger
hashBytes
+ + +
ParameterTypeDescription
totaluint32
hashbyte array

**Block** - - - + +
ParameterTypeDescription
headerHeaderHeader information
dataDataBlock data
+
ParameterTypeDescription
headerHeader
dataData
evidenceEvidenceList
last_commitCommit
@@ -656,95 +657,75 @@ No parameters **Header** - - - - - - - - - - - - - - -
ParameterTypeDescription
versionConsensus
chain_idStringChain identifier
heightIntegerBlock height
timeTimeBlock time
last_block_idBlockIDPrevious block identifier
last_commit_hashBytesLast commit hash
data_hashBytesBlock data hash
validators_hashBytesValidators information hash
next_validators_hashBytesValidators information hash
consensus_hashBytesConsensus information hash
app_hashBytesApplication hash
last_result_hashBytesLast result hash
evidence_hashBytesEvidence data hash
proposer_addressStringBlock proposer's address
+ + + + + + + + + + + + + + +
ParameterTypeDescription
versionv11.Consensusbasic block info
chain_idstring
heightint64
timetime.Time
last_block_idBlockIDprev block info
last_commit_hashbyte arrayhashes of block data
data_hashbyte array
validators_hashbyte arrayhashes from the app output from the prev block
next_validators_hashbyte array
consensus_hashbyte array
app_hashbyte array
last_results_hashbyte array
evidence_hashbyte arrayconsensus info
proposer_addressbyte array

**Consensus** - - - - - - - - - - - - - - -
ParameterTypeDescription
versionConsensus
chain_idStringChain identifier
heightIntegerBlock height
timeTimeBlock time
last_block_idBlockIDPrevious block identifier
last_commit_hashBytesLast commit hash
data_hashBytesBlock data hash
validators_hashBytesValidators information hash
next_validators_hashBytesValidators information hash
consensus_hashBytesConsensus information hash
app_hashBytesApplication hash
last_result_hashBytesLast result hash
evidence_hashBytesEvidence data hash
proposer_addressStringBlock proposer's address
+ + +
ParameterTypeDescription
blockuint64
appuint64

**Data** - -
ParameterTypeDescription
txsByte ArrayTxs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs.
+ +
ParameterTypeDescription
txs][byte arrayTxs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs.

**EvidenceList** - -
ParameterTypeDescription
evidenceEvidence ArrayBlock evidence
- - -
- -**Evidence** - - -
ParameterTypeDescription
sumisEvidence_SumValid types for 'sum' are Evidence_DuplicateVoteEvidence and Evidence_LightClientAttackEvidence
+ +
ParameterTypeDescription
evidenceEvidence array

**Commit** - - - - -
ParameterTypeDescription
heightIntegerBlock height
roundIntegerConsensus round
block_idBlockIDBlock identifier
signaturesCommitSig ArraySigantures
+ + + + +
ParameterTypeDescription
heightint64
roundint32
block_idBlockID
signaturesCommitSig array

**CommitSig** - - - - -
ParameterTypeDescription
block_id_flagBlockIDFlagBlock height
validator_addressBytesValidator address
timestampTimeBlock time
signatureBytesBlock signature
+ + + + +
ParameterTypeDescription
block_id_flagBlockIDFlag
validator_addressbyte array
timestamptime.Time
signaturebyte array

**BlockIDFlag** - + @@ -859,9 +840,8 @@ func main() { ``` - -
CodeName
0BLOCK_ID_FLAG_UNKNOWN
1BLOCK_ID_FLAG_ABSENT
2BLOCK_ID_FLAG_COMMIT
-
ParameterTypeDescription
block_idBlockIDBlock identifier
sdk_blockBlockBlock details
+ +
ParameterTypeDescriptionRequired
heightint64Yes
@@ -1052,17 +1032,18 @@ func main() { } ``` - - -
ParameterTypeDescription
block_idBlockIDBlock identifier
sdk_blockBlockBlock details
+ + + +
ParameterTypeDescription
block_idv1.BlockID
blockv1.BlockDeprecated: please use `sdk_block` instead
sdk_blockBlockSince: cosmos-sdk 0.47

**BlockID** - - + +
ParameterTypeDescription
hashBytesBlock hash
ParameterTypeDescription
hashbyte array
part_set_headerPartSetHeader
@@ -1070,18 +1051,18 @@ func main() { **PartSetHeader** - - -
ParameterTypeDescription
totalInteger
hashBytes
+ + +
ParameterTypeDescription
totaluint32
hashbyte array

**Block** - - - + +
ParameterTypeDescription
headerHeaderHeader information
dataDataBlock data
+
ParameterTypeDescription
headerHeader
dataData
evidenceEvidenceList
last_commitCommit
@@ -1090,95 +1071,75 @@ func main() { **Header** - - - - - - - - - - - - - - -
ParameterTypeDescription
versionConsensus
chain_idStringChain identifier
heightIntegerBlock height
timeTimeBlock time
last_block_idBlockIDPrevious block identifier
last_commit_hashBytesLast commit hash
data_hashBytesBlock data hash
validators_hashBytesValidators information hash
next_validators_hashBytesValidators information hash
consensus_hashBytesConsensus information hash
app_hashBytesApplication hash
last_result_hashBytesLast result hash
evidence_hashBytesEvidence data hash
proposer_addressStringBlock proposer's address
+ + + + + + + + + + + + + + +
ParameterTypeDescription
versionv11.Consensusbasic block info
chain_idstring
heightint64
timetime.Time
last_block_idBlockIDprev block info
last_commit_hashbyte arrayhashes of block data
data_hashbyte array
validators_hashbyte arrayhashes from the app output from the prev block
next_validators_hashbyte array
consensus_hashbyte array
app_hashbyte array
last_results_hashbyte array
evidence_hashbyte arrayconsensus info
proposer_addressbyte array

**Consensus** - - - - - - - - - - - - - - -
ParameterTypeDescription
versionConsensus
chain_idStringChain identifier
heightIntegerBlock height
timeTimeBlock time
last_block_idBlockIDPrevious block identifier
last_commit_hashBytesLast commit hash
data_hashBytesBlock data hash
validators_hashBytesValidators information hash
next_validators_hashBytesValidators information hash
consensus_hashBytesConsensus information hash
app_hashBytesApplication hash
last_result_hashBytesLast result hash
evidence_hashBytesEvidence data hash
proposer_addressStringBlock proposer's address
+ + +
ParameterTypeDescription
blockuint64
appuint64

**Data** - -
ParameterTypeDescription
txsByte ArrayTxs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs.
+ +
ParameterTypeDescription
txs][byte arrayTxs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs.

**EvidenceList** - -
ParameterTypeDescription
evidenceEvidence ArrayBlock evidence
- - -
- -**Evidence** - - -
ParameterTypeDescription
sumisEvidence_SumValid types for 'sum' are Evidence_DuplicateVoteEvidence and Evidence_LightClientAttackEvidence
+ +
ParameterTypeDescription
evidenceEvidence array

**Commit** - - - - -
ParameterTypeDescription
heightIntegerBlock height
roundIntegerConsensus round
block_idBlockIDBlock identifier
signaturesCommitSig ArraySigantures
+ + + + +
ParameterTypeDescription
heightint64
roundint32
block_idBlockID
signaturesCommitSig array

**CommitSig** - - - - -
ParameterTypeDescription
block_id_flagBlockIDFlagBlock height
validator_addressBytesValidator address
timestampTimeBlock time
signatureBytesBlock signature
+ + + + +
ParameterTypeDescription
block_id_flagBlockIDFlag
validator_addressbyte array
timestamptime.Time
signaturebyte array

**BlockIDFlag** - + @@ -1293,7 +1254,21 @@ func main() { ``` -No parameters + +
CodeName
0BLOCK_ID_FLAG_UNKNOWN
1BLOCK_ID_FLAG_ABSENT
2BLOCK_ID_FLAG_COMMIT
ParameterTypeDescriptionRequired
paginationquery.PageRequestpagination defines an pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -1347,30 +1322,30 @@ No parameters } ``` - - - -
ParameterTypeDescription
block_heightIntegerBlock height
validatorsValidator ArrayList of validators
paginationPageResponsePagination information in the response
+ + + +
ParameterTypeDescription
block_heightint64
validatorsValidator array
paginationquery.PageResponsepagination defines an pagination for the response.

**Validator** - - - - -
ParameterTypeDescription
addressStringValidator's address
pub_keyAnyValidator's public key
voting_powerIntegerValidator's voting power
proposer_priorityInteger
+ + + + +
ParameterTypeDescription
addressstring
pub_keytypes.Any
voting_powerint64
proposer_priorityint64

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
@@ -1488,21 +1463,21 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
heightIntegerBlock heightYes
paginationPageRequestThe optional pagination for the requestNo
+ + +
ParameterTypeDescriptionRequired
heightint64Yes
paginationquery.PageRequestpagination defines an pagination for the request.No

**PageRequest** - - - - - -
ParameterTypeDescriptionRequired
keyByte ArrayKey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be setNo
offsetIntegerNumeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be setNo
limitIntegerTotal number of results to be returned in the result pageNo
count_totalBooleanSet to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. It is only respected when offset is used. It is ignored when key is setNo
reverseBooleanReverse is set to true if results are to be returned in the descending orderNo
+ + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
@@ -1557,30 +1532,30 @@ func main() { } ``` - - - -
ParameterTypeDescription
block_heightIntegerBlock height
validatorsValidator ArrayList of validators
paginationPageResponsePagination information in the response
+ + + +
ParameterTypeDescription
block_heightint64
validatorsValidator array
paginationquery.PageResponsepagination defines an pagination for the response.

**Validator** - - - - -
ParameterTypeDescription
addressStringValidator's address
pub_keyAnyValidator's public key
voting_powerIntegerValidator's voting power
proposer_priorityInteger
+ + + + +
ParameterTypeDescription
addressstring
pub_keytypes.Any
voting_powerint64
proposer_priorityint64

**PageResponse** - - -
ParameterTypeDescription
next_keyByte ArrayThe key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totalIntegerTotal number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
@@ -1593,11 +1568,11 @@ Defines a query handler that supports ABCI queries directly to the application, ### Request Parameters > Request Example: - - - - -
ParameterTypeDescriptionRequired
dataBytesQuery dataNo
pathStringQuery pathYes
haightIntegerBlock heightNo
proveBooleanNo
+ + + + +
ParameterTypeDescriptionRequired
databyte arrayYes
pathstringYes
heightint64Yes
proveboolYes
### Response Parameters @@ -1607,32 +1582,32 @@ Defines a query handler that supports ABCI queries directly to the application, ``` - - - - - - - + +
ParameterTypeDescription
codeIntegerQuery result code (zero: success, non-zero: error
logString
infoString
indexInteger
keyBytes
valueBytes
+ + + + + - -
ParameterTypeDescription
codeuint32
logstring
infostring
indexint64
keybyte array
valuebyte array
proof_opsProofOps
heightIntegerBlock height
codespaceString
+heightint64 +codespacestring
**ProofOps** - -
ParameterTypeDescription
opsProofOp Array
+ +
ParameterTypeDescription
opsProofOp array

**ProofOp** - - - -
ParameterTypeDescription
typeString
keyBytes
dataBytes
+ + + +
ParameterTypeDescription
typestring
keybyte array
databyte array
diff --git a/source/includes/_tokenfactory.md b/source/includes/_tokenfactory.md index 9fe8b682..409a6169 100644 --- a/source/includes/_tokenfactory.md +++ b/source/includes/_tokenfactory.md @@ -112,9 +112,9 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
creatorStringThe denom creator addressYes
sub_denomStringThe token subdenomNo
+ + +
ParameterTypeDescriptionRequired
creatorstringThe creator's Injective addressYes
sub_denomstringThe sub-denomYes
@@ -134,16 +134,17 @@ func main() { ``` - -
ParameterTypeDescription
authority_metadataDenomAuthorityMetadataThe denom authority information
+ +
ParameterTypeDescription
authority_metadataDenomAuthorityMetadataThe authority metadata

**DenomAuthorityMetadata** - -
ParameterTypeDescription
adminStringThe denom admin
+ + +
ParameterTypeDescription
adminstringCan be empty for no admin, or a valid injective address
admin_burn_allowedbooltrue if the admin can burn tokens from other addresses
@@ -254,8 +255,8 @@ func main() { ``` - -
ParameterTypeDescriptionRequired
creatorStringThe denom creator addressYes
+ +
ParameterTypeDescriptionRequired
creatorstringThe creator's Injective addressYes
### Response Parameters @@ -352,8 +353,8 @@ func main() { ``` - -
ParameterTypeDescription
denomsString ArrayList of denoms
+ +
ParameterTypeDescription
denomsstring arrayThe list of denoms
@@ -550,25 +551,25 @@ No parameters ``` - -
ParameterTypeDescription
stateGenesisStateThe state details
+ +
ParameterTypeDescription
stateGenesisStateThe module state

**GenesisState** - - -
ParameterTypeDescription
paramsParamsModule parameters
factory_denomsGenesisDenom ArrayModule parameters
+ + +
ParameterTypeDescription
paramsParamsparams defines the parameters of the module.
factory_denomsGenesisDenom array

**Params** - -
ParameterTypeDescription
denoms_creation_feeCoin ArrayFee required to create a denom
+ +
ParameterTypeDescription
denom_creation_feegithub_com_cosmos_cosmos_sdk_types.CoinsThe denom creation fee

@@ -584,19 +585,21 @@ No parameters **GenesisDenom** - - - - -
ParameterTypeDescription
denomStringToken denom
authority_metadataDenomAuthorityMetadataToken authority metadata
nameStringToken name
symbolStringToken symbol
+ + + + + +
ParameterTypeDescription
denomstringThe denom
authority_metadataDenomAuthorityMetadataThe authority metadata
namestringThe name
symbolstringThe symbol
decimalsuint32The number of decimals

**DenomAuthorityMetadata** - -
ParameterTypeDescription
adminStringThe denom admin
+ + +
ParameterTypeDescription
adminstringCan be empty for no admin, or a valid injective address
admin_burn_allowedbooltrue if the admin can burn tokens from other addresses
@@ -770,12 +773,13 @@ func main() { ``` - - - - - -
ParameterTypeDescriptionRequired
senderStringSender Injective addressYes
subdenomStringNew token subdenomYes
nameStringNew token nameYes
symbolStringNew token symbolYes
decimalsIntegerNumber of decimals use to represent token amount on chainYes
+ + + + + + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
subdenomstringsubdenom can be up to 44 "alphanumeric" characters long.Yes
namestringThe nameYes
symbolstringThe symbolYes
decimalsuint32The number of decimalsYes
allow_admin_burnbooltrue if admins are allowed to burn tokens from other addressesYes
### Response Parameters @@ -993,9 +997,10 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
senderStringSender Injective addressYes
amountCoinAmount to mintYes
+ + + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
amounttypes.CoinThe amount of tokens to mintYes
receiverstringThe Injective address to receive the tokensYes

@@ -1222,9 +1227,10 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
senderStringSender Injective addressYes
amountCoinAmount to burnYes
+ + + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
amounttypes.CoinThe amount of tokens to burnYes
burnFromAddressstringThe Injective address to burn the tokens fromYes

@@ -1488,35 +1494,36 @@ func main() { ``` - - -
ParameterTypeDescriptionRequired
senderStringSender Injective addressYes
metadataMetadataToken metadataYes
+ + + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
metadatatypes1.MetadataThe metadataYes
admin_burn_disabledMsgSetDenomMetadata_AdminBurnDisabledNo

**Metadata** - - - - - - - - - -
ParameterTypeDescription
descriptionStringToken description
denom_unitsDenomUnit ArrayAll token units
baseStringThe base token denom
displayStringSuggested denom that should be displayed in clients
nameStringToken name
symbolStringToken symbol
uriStringURI to a document (on or off-chain) that contains additional information. Optional
uri_hashStringURIHash is a sha256 hash of a document pointed by URI. It's used to verify that the document didn't change. Optional
decimalsIntegerNumber of decimals use to represent token amount on chain
+ + + + + + + + + +
ParameterTypeDescription
descriptionstring
denom_unitsDenomUnit arraydenom_units represents the list of DenomUnit's for a given coin
basestringbase represents the base denom (should be the DenomUnit with exponent = 0).
displaystringdisplay indicates the suggested denom that should be displayed in clients.
namestringname defines the name of the token (eg: Cosmos Atom) Since: cosmos-sdk 0.43
symbolstringsymbol is the token symbol usually shown on exchanges (eg: ATOM). This can be the same as the display. Since: cosmos-sdk 0.43
uristringURI to a document (on or off-chain) that contains additional information. Optional. Since: cosmos-sdk 0.46
uri_hashstringURIHash is a sha256 hash of a document pointed by URI. It's used to verify that the document didn't change. Optional. Since: cosmos-sdk 0.46
decimalsuint32Decimals represent the number of decimals use to represent token amount on chain Since: cosmos-sdk 0.50

**DenomUnit** - - - -
ParameterTypeDescription
denomStringName of the denom unit
exponentIntegerExponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit's denom 1 denom = 10^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with exponent = 6, thus: 1 atom = 10^6 uatom)
aliasesString ArrayList of aliases for the denom
+ + + +
ParameterTypeDescription
denomstringdenom represents the string name of the given denom unit (e.g uatom).
exponentuint32exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit's denom 1 denom = 10^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with exponent = 6, thus: 1 atom = 10^6 uatom).
aliasesstring arrayaliases is a list of string aliases for the given denom
@@ -1730,10 +1737,10 @@ func main() { ``` - - - -
ParameterTypeDescriptionRequired
senderStringSender Injective addressYes
denomStringToken denomYes
new_adminStringNew admin Injective addressYes
+ + + +
ParameterTypeDescriptionRequired
senderstringThe sender's Injective addressYes
denomstringThe denomYes
new_adminstringThe new admin's Injective addressYes
### Response Parameters diff --git a/source/includes/_txfees.md b/source/includes/_txfees.md index 77d4d79e..f3303a13 100644 --- a/source/includes/_txfees.md +++ b/source/includes/_txfees.md @@ -122,14 +122,14 @@ No parameters } ``` - -
ParameterTypeDescription
base_feeEipBaseFeeThe current chain gas price
+ +
ParameterTypeDescription
base_feeEipBaseFee

**EipBaseFee** - -
ParameterTypeDescription
base_feeDecimalThe current chain gas price
+ +
ParameterTypeDescription
base_feecosmossdk_io_math.LegacyDecThe current chain gas price
diff --git a/source/includes/_wasm.md b/source/includes/_wasm.md index d6d6791d..f85a7295 100644 --- a/source/includes/_wasm.md +++ b/source/includes/_wasm.md @@ -110,9 +110,9 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ---------------- | -------- | -| address | String | Contract address | Yes | + +
ParameterTypeDescriptionRequired
addressstringaddress is the address of the contract to queryYes
+ ### Response Parameters > Response Example: @@ -148,27 +148,33 @@ func main() { ``` -| Parameter | Type | Description | -| ------------- | ------------ | ----------------- | -| address | String | Contract address | -| contract_info | ContractInfo | Contract metadata | + + +
ParameterTypeDescription
addressstringaddress is the address of the contract
contract_infoContractInfo
+ + +
**ContractInfo** -| Parameter | Type | Description | -| ----------- | ------------------ | ---------------------------------------------- | -| code_id | Int | ID of the stored wasm code | -| creator | String | Address that instantiated the contract | -| admin | String | Address that can execute migrations | -| label | String | Contract label | -| created | AbsoluteTxPosition | Tx position when the contract was instantiated | -| ibc_port_id | String | | + + + + + + + +
ParameterTypeDescription
code_iduint64CodeID is the reference to the stored Wasm code
creatorstringCreator address who initially instantiated the contract
adminstringAdmin is an optional address that can execute migrations
labelstringLabel is optional metadata to be stored with a contract instance.
createdAbsoluteTxPositionCreated Tx position when the contract was instantiated.
ibc_port_idstring
extensiontypes.AnyExtension is an extension point to store custom metadata within the persistence model.
+ + +
**AbsoluteTxPosition** -| Parameter | Type | Description | -| ------------ | ---- | ------------------------------------------------ | -| block_height | Int | Block number when the contract was created | -| tx_index | Int | Transaction index where the contract was created | + + + +
ParameterTypeDescription
block_heightuint64BlockHeight is the block the contract was created at
tx_indexuint64TxIndex is a monotonic counter within the block (actual transaction index, or gas consumed)
+ ## ContractHistory @@ -286,10 +292,22 @@ func main() { -| Parameter | Type | Description | Required | -| ---------- | ------ | --------------------- | -------- | -| address | String | Contract address | Yes | -| pagination | Paging | Pagination of results | No | + + +
ParameterTypeDescriptionRequired
addressstringaddress is the address of the contract to queryYes
paginationquery.PageRequestpagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -393,33 +411,50 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | ------------------------------ | --------------------- | -| entries | ContractCodeHistoryEntry Array | Contract code history | -| pagination | PageResponse | Pagination of results | + + +
ParameterTypeDescription
entriesContractCodeHistoryEntry array
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
**ContractCodeHistoryEntry** -| Parameter | Type | Description | -| ----------- | -------------------------------- | ---------------------------------------------- | -| operation | ContractCodeHistoryOperationType | Contract creation operation type | -| code_id | Int | ID of the store wasm code | -| updated | AbsoluteTxPosition | Contract update info | -| msg | RawContractMessage | Contract update message | + + + + +
ParameterTypeDescription
operationContractCodeHistoryOperationType
code_iduint64CodeID is the reference to the stored WASM code
updatedAbsoluteTxPositionUpdated Tx position when the operation was executed.
msgRawContractMessage
+ -**AbsoluteTxPosition** -| Parameter | Type | Description | -| ------------ | ---- | ------------------------------------------------ | -| block_height | Int | Block number when the contract was created | -| tx_index | Int | Transaction index where the contract was created | +
**ContractCodeHistoryOperationType** -| ID | Type | -| --- | ------------------------------------------- | -| 0 | ContractCodeHistoryOperationTypeUnspecified | -| 1 | ContractCodeHistoryOperationTypeInit | -| 2 | ContractCodeHistoryOperationTypeMigrate | -| 3 | ContractCodeHistoryOperationTypeGenesis | + + + + + +
CodeName
0CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED
1CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT
2CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE
3CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS
+ + +
+ +**AbsoluteTxPosition** + + + +
ParameterTypeDescription
block_heightuint64BlockHeight is the block the contract was created at
tx_indexuint64TxIndex is a monotonic counter within the block (actual transaction index, or gas consumed)
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## ContractsByCode @@ -537,10 +572,22 @@ func main() { -| Parameter | Type | Description | Required | -| ---------- | ------ | -------------------------- | -------- | -| code_id | Int | ID of the stored wasm code | Yes | -| pagination | Paging | Pagination of results | No | + + +
ParameterTypeDescriptionRequired
code_iduint64Yes
paginationquery.PageRequestpagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -572,10 +619,19 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | ------------ | ---------------------------- | -| contracts | String Array | Array of contracts addresses | -| pagination | PageResponse | Pagination of results | + + +
ParameterTypeDescription
contractsstring arraycontracts are a set of contract addresses
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## AllContractState @@ -693,10 +749,22 @@ func main() { -| Parameter | Type | Description | Required | -| ---------- | ------ | --------------------- | -------- | -| address | String | Contract address | Yes | -| pagination | Paging | Pagination of results | No | + + +
ParameterTypeDescriptionRequired
addressstringaddress is the address of the contractYes
paginationquery.PageRequestpagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -737,16 +805,28 @@ func main() { } ``` -| Parameter | Type | Description | -| ---------- | ------------ | -------------------------- | -| models | Model Array | Array of contracts' models | -| pagination | PageResponse | Pagination of results | + + +
ParameterTypeDescription
modelsModel array
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
**Model** -| Parameter | Type | Description | -| --------- | ---------- | ------------------------------------------ | -| key | String | Hexadecimal representation of the byte key | -| Value | Byte Array | Raw value in base64 encoding | + + + +
ParameterTypeDescription
keygithub_com_cometbft_cometbft_libs_bytes.HexByteshex-encode key to read it better (this is often ascii)
valuebyte arraybase64-encode raw value
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## RawContractState @@ -857,10 +937,10 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ---------- | --------------------------- | -------- | -| address | String | Contract address | Yes | -| query_data | Byte Array | Key of the data to retrieve | Yes | + + +
ParameterTypeDescriptionRequired
addressstringaddress is the address of the contractYes
query_databyte arrayYes
+ ### Response Parameters > Response Example: @@ -871,9 +951,9 @@ func main() { ``` go ``` -| Parameter | Type | Description | -| ---------- | ------------ | --------------------------- | -| Data | Byte Array | Raw data in base64 encoding | + +
ParameterTypeDescription
databyte arrayData contains the raw store data
+ ## SmartContractState @@ -984,10 +1064,10 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ---------- | -------------------------------- | -------- | -| address | String | Contract address | Yes | -| query_data | Byte Array | Query to execute in the contract | Yes | + + +
ParameterTypeDescriptionRequired
addressstringaddress is the address of the contractYes
query_dataRawContractMessageQueryData contains the query data passed to the contractYes
+ ### Response Parameters > Response Example: @@ -1004,9 +1084,9 @@ func main() { } ``` -| Parameter | Type | Description | -| ---------- | ------------ | --------------------------- | -| Data | Byte Array | Raw data in base64 encoding | + +
ParameterTypeDescription
dataRawContractMessageData contains the json data returned from the smart contract
+ ## Code @@ -1120,9 +1200,9 @@ func main() { -| Parameter | Type | Description | Required | -| ---------- | ---------- | -------------------------------- | -------- | -| code_id | Int | ID of the contract code | Yes | + +
ParameterTypeDescriptionRequired
code_iduint64Yes
+ ### Response Parameters @@ -1157,35 +1237,9 @@ func main() { } ``` -| Parameter | Type | Description | -| ------------------- | ---------------- | --------------------------- | -| code_info_response | CodeInfoResponse | Contract code info | -| data | Byte Array | Raw data in base64 encoding | - -**CodeInfoResponse** - -| Parameter | Type | Description | -| ---------------------- | ------------ | --------------------------------- | -| code_id | Int | ID of the contract code | -| creator | String | Creator address | -| data_hash | String | Contract code hash in hexadecimal | -| instantiate_permission | AccessConfig | Access configuration | - -**AccessConfig** - -| Parameter | Type | Description | -| ---------- | ------------ | ------------------------ | -| permission | AccessType | Permission configuration | -| addresses | String Array | | - -**AccessType** - -| ID | Acces Type | -| --- | ------------------------ | -| 0 | AccessTypeUnspecified | -| 1 | AccessTypeNobody | -| 3 | AccessTypeEverybody | -| 4 | AccessTypeAnyOfAddresses | + +
ParameterTypeDescription
databyte array
+ ## Codes @@ -1300,9 +1354,21 @@ func main() { ``` -| Parameter | Type | Description | Required | -| ---------- | ------ | --------------------- | -------- | -| pagination | Paging | Pagination of results | No | + +
ParameterTypeDescriptionRequired
paginationquery.PageRequestpagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters > Response Example: @@ -1367,35 +1433,50 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | ---------------------- | --------------------- | -| code_infos | CodeInfoResponse Array | Contract code info | -| pagination | PageResponse | Pagination of results | + + +
ParameterTypeDescription
code_infosCodeInfoResponse array
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
**CodeInfoResponse** -| Parameter | Type | Description | -| ---------------------- | ------------ | --------------------------------- | -| code_id | Int | ID of the contract code | -| creator | String | Creator address | -| data_hash | String | Contract code hash in hexadecimal | -| instantiate_permission | AccessConfig | Access configuration | + + + + +
ParameterTypeDescription
code_iduint64
creatorstring
data_hashgithub_com_cometbft_cometbft_libs_bytes.HexBytes
instantiate_permissionAccessConfig
+ + +
**AccessConfig** -| Parameter | Type | Description | -| ---------- | ------------ | ------------------------ | -| permission | AccessType | Permission configuration | -| addresses | String Array | | + + +
ParameterTypeDescription
permissionAccessType
addressesstring array
+ + +
**AccessType** -| ID | Acces Type | -| --- | ------------------------ | -| 0 | AccessTypeUnspecified | -| 1 | AccessTypeNobody | -| 3 | AccessTypeEverybody | -| 4 | AccessTypeAnyOfAddresses | + + + + +
CodeName
0ACCESS_TYPE_UNSPECIFIED
1ACCESS_TYPE_NOBODY
3ACCESS_TYPE_EVERYBODY
4ACCESS_TYPE_ANY_OF_ADDRESSES
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## PinnedCodes @@ -1511,9 +1592,21 @@ func main() { -| Parameter | Type | Description | Required | -| ---------- | ------ | --------------------- | -------- | -| pagination | Paging | Pagination of results | No | + +
ParameterTypeDescriptionRequired
paginationquery.PageRequestpagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -1545,10 +1638,19 @@ func main() { ``` -| Parameter | Type | Description | -| ---------- | ------------ | -------------------------- | -| code_ids | Int Array | Array of contract code IDs | -| pagination | PageResponse | Pagination of results | + + +
ParameterTypeDescription
code_idsuint64 array
paginationquery.PageResponsepagination defines the pagination in the response.
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## ContractsByCreator @@ -1666,10 +1768,22 @@ func main() { -| Parameter | Type | Description | Required | -| --------------- | ------ | ------------------------------- | -------- | -| creator_address | String | Address of the contract creator | Yes | -| pagination | Paging | Pagination of results | No | + + +
ParameterTypeDescriptionRequired
creator_addressstringCreatorAddress is the address of contract creatorYes
paginationquery.PageRequestPagination defines an optional pagination for the request.No
+ + +
+ +**PageRequest** + + + + + + +
ParameterTypeDescriptionRequired
keybyte arraykey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.Yes
offsetuint64offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.Yes
limituint64limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.Yes
count_totalboolcount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.Yes
reverseboolreverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43Yes
+ ### Response Parameters @@ -1697,10 +1811,19 @@ func main() { ``` -| Parameter | Type | Description | -| ------------------ | ------------ | ----------------------------------------------------------- | -| contract_addresses | String Array | Array of all the contracts created by the specified creator | -| pagination | PageResponse | Pagination of results | + + +
ParameterTypeDescription
contract_addressesstring arrayContractAddresses result set
paginationquery.PageResponsePagination defines the pagination in the response.
+ + +
+ +**PageResponse** + + + +
ParameterTypeDescription
next_keybyte arraynext_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
totaluint64total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise
+ ## MsgExecuteContract @@ -1788,20 +1911,21 @@ if __name__ == "__main__": -| Parameter | Type | Description | Required | -|-----------|------------|-------------------------------------------------------------------------------------------------------|----------| -| sender | String | The Injective Chain address of the sender | Yes | -| contract | String | The Injective Chain address of the contract | Yes | -| msg | Bytes | JSON encoded message to pass to the contract | Yes | -| funds | Coin Array | List of Coins to be sent to the contract. Note that the coins must be alphabetically sorted by denoms | No | + + + + +
ParameterTypeDescriptionRequired
senderstringSender is the that actor that signed the messagesYes
contractstringContract is the address of the smart contractYes
msgRawContractMessageMsg json encoded message to be passed to the contractYes
fundsgithub_com_cosmos_cosmos_sdk_types.CoinsFunds coins that are transferred to the contract on executionYes
+ +
**Coin** -| Parameter | Type | Description | -|-----------|--------|-------------------| -| denom | String | Denom of the Coin | -| amount | String | Amount of Coin | + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ > Response Example: @@ -1942,11 +2066,21 @@ if __name__ == "__main__": asyncio.get_event_loop().run_until_complete(main()) ``` -| Parameter | Type | Description | Required | -|-----------|------------|-------------------------------------------------------------------------------------------------------|----------| -| sender | String | The Injective Chain address of the sender | Yes | -| contract | String | The Injective Chain address of the contract | Yes | -| msg | Bytes | JSON encoded message to pass to the contract | Yes | + + + + +
ParameterTypeDescriptionRequired
senderstringSender is the that actor that signed the messagesYes
contractstringContract is the address of the smart contractYes
msgRawContractMessageMsg json encoded message to be passed to the contractYes
fundsgithub_com_cosmos_cosmos_sdk_types.CoinsFunds coins that are transferred to the contract on executionYes
+ + +
+ +**Coin** + + + +
ParameterTypeDescription
denomstring
amountcosmossdk_io_math.Int
+ ### Response Parameters > Response Example: diff --git a/source/includes/_wasmx.md b/source/includes/_wasmx.md index 99363129..7483319f 100644 --- a/source/includes/_wasmx.md +++ b/source/includes/_wasmx.md @@ -191,12 +191,12 @@ func main() { ``` -| Parameter | Type | Description | Required | -| --------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -| sender | String | The Injective Chain address of the sender | Yes | -| contract | String | The Injective Chain address of the contract | Yes | -| msg | String | JSON encoded message to pass to the contract | Yes | -| funds | String | String with comma separated list of amounts and token denoms to transfer to the contract. Note that the coins must be alphabetically sorted by denoms | No | + + + + +
ParameterTypeDescriptionRequired
senderstringSender is the that actor that signed the messagesYes
contractstringContract is the address of the smart contractYes
msgstringMsg json encoded message to be passed to the contractYes
fundsstringFunds coins that are transferred to the contract on executionYes
+ ### Response Parameters > Response Example: diff --git a/source/json_tables/chain/auction/msgBid.json b/source/json_tables/chain/auction/msgBid.json deleted file mode 100644 index d89783e8..00000000 --- a/source/json_tables/chain/auction/msgBid.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender Injective address", "Required": "Yes"}, - {"Parameter": "bid_amount", "Type": "Coin", "Description": "Bid amount in INJ tokens", "Required": "Yes"}, - {"Parameter": "round", "Type": "Integer", "Description": "The current auction round", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/authInfo.json b/source/json_tables/chain/authInfo.json deleted file mode 100644 index b5577500..00000000 --- a/source/json_tables/chain/authInfo.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "signer_infos", "Type": "SignerInfo Array", "Description": "Defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee"}, - {"Parameter": "fee", "Type": "Fee", "Description": "Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation"}, - {"Parameter": "tip", "Type": "Tip", "Description": "Tip is the optional tip used for transactions fees paid in another denom (this field is ignored if the chain didn't enable tips, i.e. didn't add the `TipDecorator` in its posthandler)"} -] \ No newline at end of file diff --git a/source/json_tables/chain/bank/denomUnit.json b/source/json_tables/chain/bank/denomUnit.json deleted file mode 100644 index fc4e6ce3..00000000 --- a/source/json_tables/chain/bank/denomUnit.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Name of the denom unit"}, - {"Parameter": "exponent", "Type": "Integer", "Description": "Exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit's denom 1 denom = 10^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with exponent = 6, thus: 1 atom = 10^6 uatom)"}, - {"Parameter": "aliases", "Type": "String Array", "Description": "List of aliases for the denom"} -] \ No newline at end of file diff --git a/source/json_tables/chain/bank/metadata.json b/source/json_tables/chain/bank/metadata.json deleted file mode 100644 index ec41e249..00000000 --- a/source/json_tables/chain/bank/metadata.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - {"Parameter": "description", "Type": "String", "Description": "Token description"}, - {"Parameter": "denom_units", "Type": "DenomUnit Array", "Description": "All token units"}, - {"Parameter": "base", "Type": "String", "Description": "The base token denom"}, - {"Parameter": "display", "Type": "String", "Description": "Suggested denom that should be displayed in clients"}, - {"Parameter": "name", "Type": "String", "Description": "Token name"}, - {"Parameter": "symbol", "Type": "String", "Description": "Token symbol"}, - {"Parameter": "uri", "Type": "String", "Description": "URI to a document (on or off-chain) that contains additional information. Optional"}, - {"Parameter": "uri_hash", "Type": "String", "Description": "URIHash is a sha256 hash of a document pointed by URI. It's used to verify that the document didn't change. Optional"}, - {"Parameter": "decimals", "Type": "Integer", "Description": "Number of decimals use to represent token amount on chain"} -] \ No newline at end of file diff --git a/source/json_tables/chain/coin.json b/source/json_tables/chain/coin.json deleted file mode 100644 index 4fd9c878..00000000 --- a/source/json_tables/chain/coin.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"}, - {"Parameter": "amount", "Type": "String", "Description": "The amount of tokens", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/decCoin.json b/source/json_tables/chain/decCoin.json deleted file mode 100644 index e0429153..00000000 --- a/source/json_tables/chain/decCoin.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom"}, - {"Parameter": "amount", "Type": "String", "Description": "The amount of tokens"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/delegationDelegatorReward.json b/source/json_tables/chain/distribution/delegationDelegatorReward.json deleted file mode 100644 index e8ec68ac..00000000 --- a/source/json_tables/chain/distribution/delegationDelegatorReward.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "validator_address", "Type": "String", "Description": "The validator's Injective address"}, - {"Parameter": "reward", "Type": "DecCoin Array", "Description": "List of all the rewards for the validator"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/msgFundCommunityPool.json b/source/json_tables/chain/distribution/msgFundCommunityPool.json deleted file mode 100644 index eabaf5e0..00000000 --- a/source/json_tables/chain/distribution/msgFundCommunityPool.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "amount", "Type": "Coin Array", "Description": "The token amounts to transfer", "Required": "Yes"}, - {"Parameter": "depositor", "Type": "String", "Description": "The depositor's account", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/msgSetWithdrawAddress.json b/source/json_tables/chain/distribution/msgSetWithdrawAddress.json deleted file mode 100644 index 78986cf3..00000000 --- a/source/json_tables/chain/distribution/msgSetWithdrawAddress.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "delegator_address", "Type": "String", "Description": "The delegator's injective address", "Required": "Yes"}, - {"Parameter": "withdraw_address", "Type": "String", "Description": "The new withdraw address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/msgWithdrawDelegatorReward.json b/source/json_tables/chain/distribution/msgWithdrawDelegatorReward.json deleted file mode 100644 index 3bc30fba..00000000 --- a/source/json_tables/chain/distribution/msgWithdrawDelegatorReward.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "delegator_address", "Type": "String", "Description": "The delegator's address", "Required": "Yes"}, - {"Parameter": "validator_address", "Type": "String", "Description": "The validator's address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/msgWithdrawValidatorCommission.json b/source/json_tables/chain/distribution/msgWithdrawValidatorCommission.json deleted file mode 100644 index ef32a506..00000000 --- a/source/json_tables/chain/distribution/msgWithdrawValidatorCommission.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "validator_address", "Type": "String", "Description": "The validator's address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryCommunityPoolResponse.json b/source/json_tables/chain/distribution/queryCommunityPoolResponse.json deleted file mode 100644 index 5330b647..00000000 --- a/source/json_tables/chain/distribution/queryCommunityPoolResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "pool", "Type": "DecCoin Array", "Description": "List of coins in the community pool"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryDelegationRewardsRequest.json b/source/json_tables/chain/distribution/queryDelegationRewardsRequest.json deleted file mode 100644 index e9b40261..00000000 --- a/source/json_tables/chain/distribution/queryDelegationRewardsRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "delegator_address", "Type": "String", "Description": "Delegator address to query for", "Required": "Yes"}, - {"Parameter": "validator_address", "Type": "String", "Description": "Validator address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryDelegationRewardsResponse.json b/source/json_tables/chain/distribution/queryDelegationRewardsResponse.json deleted file mode 100644 index 3879d1ce..00000000 --- a/source/json_tables/chain/distribution/queryDelegationRewardsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "rewards", "Type": "DecCoin Array", "Description": "The rewards accrued by a delegation"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryDelegationTotalRewardsRequest.json b/source/json_tables/chain/distribution/queryDelegationTotalRewardsRequest.json deleted file mode 100644 index 7c4cd4c7..00000000 --- a/source/json_tables/chain/distribution/queryDelegationTotalRewardsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "delegator_address", "Type": "String", "Description": "The delegator address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryDelegationTotalRewardsResponse.json b/source/json_tables/chain/distribution/queryDelegationTotalRewardsResponse.json deleted file mode 100644 index 5a06acb1..00000000 --- a/source/json_tables/chain/distribution/queryDelegationTotalRewardsResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "rewards", "Type": "DelegationDelegatorReward Array", "Description": "All the rewards accrued by a delegator"}, - {"Parameter": "total", "Type": "DecCoin Array", "Description": "The sum of all rewards"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryDelegatorValidatorsRequest.json b/source/json_tables/chain/distribution/queryDelegatorValidatorsRequest.json deleted file mode 100644 index 7c4cd4c7..00000000 --- a/source/json_tables/chain/distribution/queryDelegatorValidatorsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "delegator_address", "Type": "String", "Description": "The delegator address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryDelegatorValidatorsResponse.json b/source/json_tables/chain/distribution/queryDelegatorValidatorsResponse.json deleted file mode 100644 index 9f4646c1..00000000 --- a/source/json_tables/chain/distribution/queryDelegatorValidatorsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "validators", "Type": "String Array", "Description": "List of all validators a delegator is delegating for"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryDelegatorWithdrawAddressRequest.json b/source/json_tables/chain/distribution/queryDelegatorWithdrawAddressRequest.json deleted file mode 100644 index 7c4cd4c7..00000000 --- a/source/json_tables/chain/distribution/queryDelegatorWithdrawAddressRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "delegator_address", "Type": "String", "Description": "The delegator address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryDelegatorWithdrawAddressResponse.json b/source/json_tables/chain/distribution/queryDelegatorWithdrawAddressResponse.json deleted file mode 100644 index 25e57f82..00000000 --- a/source/json_tables/chain/distribution/queryDelegatorWithdrawAddressResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Paramter": "withdraw_address", "Type": "String", "Description": "The delegator's withdraw address"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryValidatorCommissionRequest.json b/source/json_tables/chain/distribution/queryValidatorCommissionRequest.json deleted file mode 100644 index 305795f6..00000000 --- a/source/json_tables/chain/distribution/queryValidatorCommissionRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "validator_address", "Type": "String", "Description": "The validator address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryValidatorCommissionResponse.json b/source/json_tables/chain/distribution/queryValidatorCommissionResponse.json deleted file mode 100644 index 693e1c29..00000000 --- a/source/json_tables/chain/distribution/queryValidatorCommissionResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "commission", "Type": "ValidatorAccumulatedCommission", "Description": "The commission the validator received"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryValidatorDistributionInfoRequest.json b/source/json_tables/chain/distribution/queryValidatorDistributionInfoRequest.json deleted file mode 100644 index 305795f6..00000000 --- a/source/json_tables/chain/distribution/queryValidatorDistributionInfoRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "validator_address", "Type": "String", "Description": "The validator address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryValidatorDistributionInfoResponse.json b/source/json_tables/chain/distribution/queryValidatorDistributionInfoResponse.json deleted file mode 100644 index ce67dfeb..00000000 --- a/source/json_tables/chain/distribution/queryValidatorDistributionInfoResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "operator_address", "Type": "String", "Description": "The validator operator address"}, - {"Parameter": "self_bond_rewards", "Type": "DecCoin Array", "Description": "The self delegations rewards"}, - {"Parameter": "commission", "Type": "DecCoin Array", "Description": "The commission the validator received"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryValidatorOutstandingRewardsRequest.json b/source/json_tables/chain/distribution/queryValidatorOutstandingRewardsRequest.json deleted file mode 100644 index 305795f6..00000000 --- a/source/json_tables/chain/distribution/queryValidatorOutstandingRewardsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "validator_address", "Type": "String", "Description": "The validator address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryValidatorOutstandingRewardsResponse.json b/source/json_tables/chain/distribution/queryValidatorOutstandingRewardsResponse.json deleted file mode 100644 index 7f5d3ab6..00000000 --- a/source/json_tables/chain/distribution/queryValidatorOutstandingRewardsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "rewards", "Type": "ValidatorOutstandingRewards", "Description": "Details of all the rewards"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryValidatorSlashesRequest.json b/source/json_tables/chain/distribution/queryValidatorSlashesRequest.json deleted file mode 100644 index e94e16f9..00000000 --- a/source/json_tables/chain/distribution/queryValidatorSlashesRequest.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "validator_address", "Type": "String", "Description": "The validator address to query for", "Required": "Yes"}, - {"Parameter": "starting_height", "Type": "Integer", "Description": "The optional starting height to query the slashes", "Required": "No"}, - {"Parameter": "ending_height", "Type": "Integer", "Description": "The optional ending height to query the slashes", "Required": "No"}, - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/queryValidatorSlashesResponse.json b/source/json_tables/chain/distribution/queryValidatorSlashesResponse.json deleted file mode 100644 index bc65eb27..00000000 --- a/source/json_tables/chain/distribution/queryValidatorSlashesResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "slashes", "Type": "ValidatorSlashEvent Array", "Description": "Slashes de validator received"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/validatorAccumulatedCommission.json b/source/json_tables/chain/distribution/validatorAccumulatedCommission.json deleted file mode 100644 index e99963bd..00000000 --- a/source/json_tables/chain/distribution/validatorAccumulatedCommission.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "commission", "Type": "DecCoin Array", "Description": "Accumulated commissions for the validator"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/validatorOutstandingRewards.json b/source/json_tables/chain/distribution/validatorOutstandingRewards.json deleted file mode 100644 index 0496c816..00000000 --- a/source/json_tables/chain/distribution/validatorOutstandingRewards.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "rewards", "Type": "DecCoin Array", "Description": "Details of all the rewards"} -] \ No newline at end of file diff --git a/source/json_tables/chain/distribution/validatorSlashEvent.json b/source/json_tables/chain/distribution/validatorSlashEvent.json deleted file mode 100644 index f8894f0d..00000000 --- a/source/json_tables/chain/distribution/validatorSlashEvent.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "validator_period", "Type": "Integer", "Description": "The period when the validator got slashed"}, - {"Parameter": "fraction", "Type": "String", "Description": "Slashing applied"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/aggregateAccountVolumeRecord.json b/source/json_tables/chain/exchange/aggregateAccountVolumeRecord.json deleted file mode 100644 index 58139ee8..00000000 --- a/source/json_tables/chain/exchange/aggregateAccountVolumeRecord.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "account", "Type": "String", "Description": "Account the volume belongs to"}, - {"Parameter": "market_volumes", "Type": "MarketVolume Array", "Description": "The aggregate volumes for each market"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/balance.json b/source/json_tables/chain/exchange/balance.json deleted file mode 100644 index e9b7bbe8..00000000 --- a/source/json_tables/chain/exchange/balance.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID"}, - {"Parameter": "denom", "Type": "String", "Description": "The token denom"}, - {"Parameter": "deposits", "Type": "Deposit", "Description": "The token deposit details"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/balanceMismatch.json b/source/json_tables/chain/exchange/balanceMismatch.json deleted file mode 100644 index cd1828ab..00000000 --- a/source/json_tables/chain/exchange/balanceMismatch.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID the balance belongs to"}, - {"Parameter": "denom", "Type": "String", "Description": "The token denom"}, - {"Parameter": "available", "Type": "Decimal", "Description": "The available balance"}, - {"Parameter": "total", "Type": "Decimal", "Description": "The total balance"}, - {"Parameter": "balance_hold", "Type": "Decimal", "Description": "The balance on hold"}, - {"Parameter": "expected_total", "Type": "Decimal", "Description": "The expected total balance"}, - {"Parameter": "difference", "Type": "Decimal", "Description": "Balance difference"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/balanceWithMarginHold.json b/source/json_tables/chain/exchange/balanceWithMarginHold.json deleted file mode 100644 index 3f73e82f..00000000 --- a/source/json_tables/chain/exchange/balanceWithMarginHold.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID the balance belongs to"}, - {"Parameter": "denom", "Type": "String", "Description": "The token denom"}, - {"Parameter": "available", "Type": "Decimal", "Description": "The available balance"}, - {"Parameter": "total", "Type": "Decimal", "Description": "The total balance"}, - {"Parameter": "balance_hold", "Type": "Decimal", "Description": "The balance on hold"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/binaryOptionsMarket.json b/source/json_tables/chain/exchange/binaryOptionsMarket.json deleted file mode 100644 index 7d660392..00000000 --- a/source/json_tables/chain/exchange/binaryOptionsMarket.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - {"Parameter": "ticker", "Type": "String", "Description": "Name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset"}, - {"Parameter": "oracle_symbol", "Type": "String", "Description": "Oracle symbol"}, - {"Parameter": "oracle_provider", "Type": "String", "Description": "Oracle provider"}, - {"Parameter": "oracle_type", "Type": "OracleType", "Description": "The oracle type"}, - {"Parameter": "oracle_scale_factor", "Type": "Integer", "Description": "The oracle number of scale decimals"}, - {"Parameter": "expiration_timestamp", "Type": "Integer", "Description": "The market expiration timestamp"}, - {"Parameter": "settlement_timestamp", "Type": "Integer", "Description": "The market settlement timestamp"}, - {"Parameter": "admin", "Type": "String", "Description": "The market's admin address"}, - {"Parameter": "quote_denom", "Type": "String", "Description": "Coin denom used for the quote asset"}, - {"Parameter": "market_id", "Type": "String", "Description": "The market ID"}, - {"Parameter": "maker_fee_rate", "Type": "Decimal", "Description": "Fee percentage makers pay when trading"}, - {"Parameter": "taker_fee_rate", "Type": "Decimal", "Description": "Fee percentage takers pay when trading"}, - {"Parameter": "relayer_fee_share_rate", "Type": "Decimal", "Description": "Percentage of the transaction fee shared with the relayer in a derivative market"}, - {"Parameter": "status", "Type": "MarketStatus", "Description": "Status of the market"}, - {"Parameter": "min_price_tick_size", "Type": "Decimal", "Description": "Minimum tick size that the price required for orders in the market"}, - {"Parameter": "min_quantity_tick_size", "Type": "Decimal", "Description": "Minimum tick size of the quantity required for orders in the market"}, - {"Parameter": "settlement_price", "Type": "Decimal", "Description": "The market's settlement price"}, - {"Parameter": "min_notional", "Type": "Decimal", "Description": "Minimum notional (in quote asset) required for orders in the market"}, - {"Parameter": "admin_permissions", "Type": "Integer", "Description": "Level of admin permissions (the permission number is a result of adding up all individual permissions numbers)"}, - {"Parameter": "quote_decimals", "Type": "Integer", "Description": "Number of decimals used for the quote token"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/campaignRewardPool.json b/source/json_tables/chain/exchange/campaignRewardPool.json deleted file mode 100644 index acae32fd..00000000 --- a/source/json_tables/chain/exchange/campaignRewardPool.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "start_timestamp", "Type": "Integer", "Description": "Campaign start timestamp in seconds"}, - {"Parameter": "max_campaign_rewards", "Type": "Decimal Array", "Description": "Maximum reward amounts to be disbursed at the end of the campaign"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/denomDecimals.json b/source/json_tables/chain/exchange/denomDecimals.json deleted file mode 100644 index 131243c9..00000000 --- a/source/json_tables/chain/exchange/denomDecimals.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The asset denom"}, - {"Parameter": "decimals", "Type": "Integer", "Description": "Number of decimals"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/denomMinNotional.json b/source/json_tables/chain/exchange/denomMinNotional.json deleted file mode 100644 index d00f6f27..00000000 --- a/source/json_tables/chain/exchange/denomMinNotional.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The denom ID"}, - {"Parameter": "min_notional", "Type": "Decimal", "Description": "The minimum notional configured for the denom"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/deposit.json b/source/json_tables/chain/exchange/deposit.json deleted file mode 100644 index 3df281d2..00000000 --- a/source/json_tables/chain/exchange/deposit.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "available_balance", "Type": "Decimal", "Description": "Deposit available balance"}, - {"Parameter": "total_balance", "Type": "Decimal", "Description": "Deposit total balance"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/derivativeMarket.json b/source/json_tables/chain/exchange/derivativeMarket.json deleted file mode 100644 index dd6f9aee..00000000 --- a/source/json_tables/chain/exchange/derivativeMarket.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - {"Parameter": "ticker", "Type": "String", "Description": "Name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset"}, - {"Parameter": "oracle_base", "Type": "String", "Description": "Oracle base token"}, - {"Parameter": "oracle_quote", "Type": "String", "Description": "Oracle quote token"}, - {"Parameter": "oracle_type", "Type": "OracleType", "Description": "The oracle type"}, - {"Parameter": "oracle_scale_factor", "Type": "Integer", "Description": "The oracle number of scale decimals"}, - {"Parameter": "quote_denom", "Type": "String", "Description": "Coin denom used for the quote asset"}, - {"Parameter": "market_id", "Type": "String", "Description": "The market ID"}, - {"Parameter": "initial_margin_ratio", "Type": "Decimal", "Description": "The max initial margin ratio a position is allowed to have in the market"}, - {"Parameter": "maintenance_margin_ratio", "Type": "Decimal", "Description": "The max maintenance margin ratio a position is allowed to have in the market"}, - {"Parameter": "maker_fee_rate", "Type": "Decimal", "Description": "Fee percentage makers pay when trading"}, - {"Parameter": "taker_fee_rate", "Type": "Decimal", "Description": "Fee percentage takers pay when trading"}, - {"Parameter": "relayer_fee_share_rate", "Type": "Decimal", "Description": "Percentage of the transaction fee shared with the relayer in a derivative market"}, - {"Parameter": "is_perpetual", "Type": "Boolean", "Description": "True if the market is a perpetual market. False if the market is an expiry futures market"}, - {"Parameter": "status", "Type": "MarketStatus", "Description": "Status of the market"}, - {"Parameter": "min_price_tick_size", "Type": "Decimal", "Description": "Minimum tick size that the price required for orders in the market (in human redable format)"}, - {"Parameter": "min_quantity_tick_size", "Type": "Decimal", "Description": "Minimum tick size of the quantity required for orders in the market (in human redable format)"}, - {"Parameter": "min_notional", "Type": "Decimal", "Description": "Minimum notional (in quote asset) required for orders in the market (in human redable format)"}, - {"Parameter": "admin", "Type": "String", "Description": "Current market admin's address"}, - {"Parameter": "admin_permissions", "Type": "Integer", "Description": "Level of admin permissions (the permission number is a result of adding up all individual permissions numbers)"}, - {"Parameter": "quote_decimals", "Type": "Integer", "Description": "Number of decimals used for the quote token"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/derivativeOrder.json b/source/json_tables/chain/exchange/derivativeOrder.json deleted file mode 100644 index c7354a55..00000000 --- a/source/json_tables/chain/exchange/derivativeOrder.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The unique ID of the market", "Required": "Yes"}, - {"Parameter": "order_info", "Type": "OrderInfo", "Description": "Order's information", "Required": "Yes"}, - {"Parameter": "order_type", "Type": "OrderType", "Description": "The order type", "Required": "Yes"}, - {"Parameter": "margin", "Type": "Decimal", "Description": "The margin amount used by the order", "Required": "Yes"}, - {"Parameter": "trigger_price", "Type": "Decimal", "Description": "The trigger price used by stop/take orders", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/derivativePosition.json b/source/json_tables/chain/exchange/derivativePosition.json deleted file mode 100644 index 22cf667c..00000000 --- a/source/json_tables/chain/exchange/derivativePosition.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "Subaccount ID the position belongs to"}, - {"Parameter": "market_id", "Type": "String", "Description": "ID of the position's market"}, - {"Parameter": "position", "Type": "Position", "Description": "Position information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/effectivePosition.json b/source/json_tables/chain/exchange/effectivePosition.json deleted file mode 100644 index d2ffb8cb..00000000 --- a/source/json_tables/chain/exchange/effectivePosition.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "is_effective_position_long", "Type": "Boolean", "Description": "True if the position is long. False if the position is short"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "The position's amount (in human redable format)"}, - {"Parameter": "entry_price", "Type": "Decimal", "Description": "The order execution price when the position was created (in human redable format)"}, - {"Parameter": "effective_margin", "Type": "Decimal", "Description": "The position's current margin amount (in human redable format)"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/expiryFuturesMarketInfo.json b/source/json_tables/chain/exchange/expiryFuturesMarketInfo.json deleted file mode 100644 index 0f60fc82..00000000 --- a/source/json_tables/chain/exchange/expiryFuturesMarketInfo.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID"}, - {"Parameter": "expiration_timestamp", "Type": "Integer", "Description": "The market's expiration time in seconds"}, - {"Parameter": "twap_start_timestamp", "Type": "Integer", "Description": "Defines the start time of the TWAP calculation window"}, - {"Parameter": "expiration_twap_start_price_cumulative", "Type": "Decimal", "Description": "Defines the cumulative price for the start of the TWAP window (in human redable format)"}, - {"Parameter": "settlement_price", "Type": "Decimal", "Description": "The settlement price (in human redable format)"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/feeDiscountSchedule.json b/source/json_tables/chain/exchange/feeDiscountSchedule.json deleted file mode 100644 index d7227f23..00000000 --- a/source/json_tables/chain/exchange/feeDiscountSchedule.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "bucket_count", "Type": "Integer", "Description": "Bucket count"}, - {"Parameter": "bucket_duration", "Type": "Integer", "Description": "Duration in seconds"}, - {"Parameter": "quote_denoms", "Type": "String Array", "Description": "The trading fee quote denoms which will be counted for the fee paid contribution"}, - {"Parameter": "tier_infos", "Type": "FeeDiscountTierInfo Array", "Description": "The fee discount tiers"}, - {"Parameter": "disqualified_market_ids", "Type": "String Array", "Description": "The marketIDs which are disqualified from contributing to the fee paid amount"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/feeDiscountTierInfo.json b/source/json_tables/chain/exchange/feeDiscountTierInfo.json deleted file mode 100644 index 3294ff66..00000000 --- a/source/json_tables/chain/exchange/feeDiscountTierInfo.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "maker_discount_rate", "Type": "Decimal", "Description": "Maker trades' discount rate"}, - {"Parameter": "taker_discount_rate", "Type": "Decimal", "Description": "Taker trades' discount rate"}, - {"Parameter": "staked_amount", "Type": "Decimal", "Description": "Staked smount to reach this discount tier"}, - {"Parameter": "volume", "Type": "Decimal", "Description": "Volume to reach this discount tier"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/feeDiscountTierTTL.json b/source/json_tables/chain/exchange/feeDiscountTierTTL.json deleted file mode 100644 index ac0b378a..00000000 --- a/source/json_tables/chain/exchange/feeDiscountTierTTL.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "tier", "Type": "Integer", "Description": "Tier number"}, - {"Parameter": "ttl_timestamp", "Type": "Decimal", "Description": "Tier TTL"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/fullDerivativeMarket.json b/source/json_tables/chain/exchange/fullDerivativeMarket.json deleted file mode 100644 index d6640205..00000000 --- a/source/json_tables/chain/exchange/fullDerivativeMarket.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "market", "Type": "DerivativeMarket", "Description": "Market basic information"}, - {"Parameter": "info", "Type": "PerpetualMarketState or ExpiryFuturesMarketInfo", "Description": "Specific information for the perpetual or expiry futures market"}, - {"Parameter": "mark_price", "Type": "Decimal", "Description": "The market mark price (in human redable format)"}, - {"Parameter": "mid_price_and_tob", "Type": "MidPriceAndTOB", "Description": "The mid price for this market and the best ask and bid orders"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/fullSpotMarket.json b/source/json_tables/chain/exchange/fullSpotMarket.json deleted file mode 100644 index 5e4a1154..00000000 --- a/source/json_tables/chain/exchange/fullSpotMarket.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market", "Type": "SpotMarket", "Description": "Market basic information"}, - {"Parameter": "mid_price_and_tob", "Type": "MidPriceAndTOB", "Description": "The mid price for this market and the best ask and bid orders"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/grantAuthorization.json b/source/json_tables/chain/exchange/grantAuthorization.json deleted file mode 100644 index 778d0d27..00000000 --- a/source/json_tables/chain/exchange/grantAuthorization.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "grantee", "Type": "String", "Description": "Grantee's Injective address"}, - {"Parameter": "amount", "Type": "Integer", "Description": "Amount of stake granted (INJ in chain format)"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/level.json b/source/json_tables/chain/exchange/level.json deleted file mode 100644 index e3088356..00000000 --- a/source/json_tables/chain/exchange/level.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "p", "Type": "Decimal", "Description": "Price (in human redable format)"}, - {"Parameter": "q", "Type": "Decimal", "Description": "Quantity (in human redable format)"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/marketBalance.json b/source/json_tables/chain/exchange/marketBalance.json deleted file mode 100644 index 5cac5a6f..00000000 --- a/source/json_tables/chain/exchange/marketBalance.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "ID of the market"}, - {"Parameter": "balance", "Type": "Decimal", "Description": "Current market balance"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/marketVolume.json b/source/json_tables/chain/exchange/marketVolume.json deleted file mode 100644 index 6f4243b8..00000000 --- a/source/json_tables/chain/exchange/marketVolume.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID"}, - {"Parameter": "volume", "Type": "VolumeRecord", "Description": "The volume for a particular market"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/midPriceAndTOB.json b/source/json_tables/chain/exchange/midPriceAndTOB.json deleted file mode 100644 index f349b3d3..00000000 --- a/source/json_tables/chain/exchange/midPriceAndTOB.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "mid_price", "Type": "Decimal", "Description": "Market's mid price (in human redable format)"}, - {"Parameter": "best_buy_price", "Type": "Decimal", "Description": "Market's best buy price (in human redable format)"}, - {"Parameter": "best_sell_price", "Type": "Decimal", "Description": "Market's best sell price (in human redable format)"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/mitoVaultInfosResponse.json b/source/json_tables/chain/exchange/mitoVaultInfosResponse.json deleted file mode 100644 index 6e0f2898..00000000 --- a/source/json_tables/chain/exchange/mitoVaultInfosResponse.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "master_addresses", "Type": "String Array", "Description": "List of master addresses"}, - {"Parameter": "derivative_addresses", "Type": "String Array", "Description": "List of derivative addresses"}, - {"Parameter": "spot_addresses", "Type": "String Array", "Description": "List of spot addresses"}, - {"Parameter": "cw20_addresses", "Type": "String Array", "Description": "List of cw20 contract addresses"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgActivateStakeGrant.json b/source/json_tables/chain/exchange/msgActivateStakeGrant.json deleted file mode 100644 index 476ad660..00000000 --- a/source/json_tables/chain/exchange/msgActivateStakeGrant.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "Injective address of the stake grantee", "Required": "Yes"}, - {"Parameter": "granter", "Type": "String", "Description": "Injective address of the stake granter", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgAdminUpdateBinaryOptionsMarket.json b/source/json_tables/chain/exchange/msgAdminUpdateBinaryOptionsMarket.json deleted file mode 100644 index c04d4161..00000000 --- a/source/json_tables/chain/exchange/msgAdminUpdateBinaryOptionsMarket.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The market launch requestor address", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The unique market ID", "Required": "Yes"}, - {"Parameter": "settlement_price", "Type": "Decimal", "Description": "The price at which market will be settled", "Required": "No"}, - {"Parameter": "expiration_timestamp", "Type": "Integer", "Description": "The market's expiration time in seconds", "Required": "Yes"}, - {"Parameter": "settlement_timestamp", "Type": "Integer", "Description": "The market's settlement time in seconds", "Required": "Yes"}, - {"Parameter": "market_status", "Type": "MarketStatus", "Description": "The market status", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgAuthorizeStakeGrants.json b/source/json_tables/chain/exchange/msgAuthorizeStakeGrants.json deleted file mode 100644 index 054ec03c..00000000 --- a/source/json_tables/chain/exchange/msgAuthorizeStakeGrants.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "Injective address of the stake granter", "Required": "Yes"}, - {"Parameter": "grants", "Type": "GrantAuthorization Array", "Description": "List of grants assigned to the grantees", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgBatchUpdateOrders.json b/source/json_tables/chain/exchange/msgBatchUpdateOrders.json deleted file mode 100644 index bd703cad..00000000 --- a/source/json_tables/chain/exchange/msgBatchUpdateOrders.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID is only used for the spot_market_ids_to_cancel_all and derivative_market_ids_to_cancel_all", "Required": "No"}, - {"Parameter": "spot_market_ids_to_cancel_all", "Type": "String Array", "Description": "List of unique market IDs to cancel all subaccount_id orders", "Required": "No"}, - {"Parameter": "derivative_market_ids_to_cancel_all", "Type": "String Array", "Description": "List of unique market IDs to cancel all subaccount_id orders", "Required": "No"}, - {"Parameter": "spot_orders_to_cancel", "Type": "OrderData Array", "Description": "List of spot orders to be cancelled", "Required": "No"}, - {"Parameter": "derivative_orders_to_cancel", "Type": "OrderData Array", "Description": "List of derivative orders to be cancelled", "Required": "No"}, - {"Parameter": "spot_orders_to_create", "Type": "SpotOrder Array", "Description": "List of spot orders to be created", "Required": "No"}, - {"Parameter": "derivative_orders_to_create", "Type": "DerivativeOrder Array", "Description": "List of derivative orders to be created", "Required": "No"}, - {"Parameter": "binary_options_orders_to_cancel", "Type": "OrderData Array", "Description": "List of binary options orders to be cancelled", "Required": "No"}, - {"Parameter": "binary_options_market_ids_to_cancel_all", "Type": "String Array", "Description": "List of unique market IDs to cancel all subaccount_id orders", "Required": "No"}, - {"Parameter": "binary_options_orders_to_create", "Type": "DerivativeOrder Array", "Description": "List of binary options orders to be created", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCancelBinaryOptionsOrder.json b/source/json_tables/chain/exchange/msgCancelBinaryOptionsOrder.json deleted file mode 100644 index 3293bd99..00000000 --- a/source/json_tables/chain/exchange/msgCancelBinaryOptionsOrder.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The unique ID of the order's market", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID the order belongs to", "Required": "Yes"}, - {"Parameter": "order_hash", "Type": "String", "Description": "The order hash (either order_hash or cid have to be provided)", "Required": "No"}, - {"Parameter": "order_mask", "Type": "OrderMask", "Description": "The order mask that specifies the order type", "Required": "No"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID provided by the creator (either order_hash or cid have to be provided)", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCancelDerivativeOrder.json b/source/json_tables/chain/exchange/msgCancelDerivativeOrder.json deleted file mode 100644 index 3293bd99..00000000 --- a/source/json_tables/chain/exchange/msgCancelDerivativeOrder.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The unique ID of the order's market", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID the order belongs to", "Required": "Yes"}, - {"Parameter": "order_hash", "Type": "String", "Description": "The order hash (either order_hash or cid have to be provided)", "Required": "No"}, - {"Parameter": "order_mask", "Type": "OrderMask", "Description": "The order mask that specifies the order type", "Required": "No"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID provided by the creator (either order_hash or cid have to be provided)", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCancelSpotOrder.json b/source/json_tables/chain/exchange/msgCancelSpotOrder.json deleted file mode 100644 index 4594b206..00000000 --- a/source/json_tables/chain/exchange/msgCancelSpotOrder.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The unique ID of the order's market", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID the order belongs to", "Required": "Yes"}, - {"Parameter": "order_hash", "Type": "String", "Description": "The order hash (either order_hash or cid have to be provided)", "Required": "No"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID provided by the creator (either order_hash or cid have to be provided)", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCreateBinaryOptionsLimitOrder.json b/source/json_tables/chain/exchange/msgCreateBinaryOptionsLimitOrder.json deleted file mode 100644 index 06f0d948..00000000 --- a/source/json_tables/chain/exchange/msgCreateBinaryOptionsLimitOrder.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "order", "Type": "DerivativeOrder", "Description": "Order's parameters", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCreateBinaryOptionsMarketOrder.json b/source/json_tables/chain/exchange/msgCreateBinaryOptionsMarketOrder.json deleted file mode 100644 index 06f0d948..00000000 --- a/source/json_tables/chain/exchange/msgCreateBinaryOptionsMarketOrder.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "order", "Type": "DerivativeOrder", "Description": "Order's parameters", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCreateDerivativeLimitOrder.json b/source/json_tables/chain/exchange/msgCreateDerivativeLimitOrder.json deleted file mode 100644 index 06f0d948..00000000 --- a/source/json_tables/chain/exchange/msgCreateDerivativeLimitOrder.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "order", "Type": "DerivativeOrder", "Description": "Order's parameters", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCreateDerivativeMarketOrder.json b/source/json_tables/chain/exchange/msgCreateDerivativeMarketOrder.json deleted file mode 100644 index 06f0d948..00000000 --- a/source/json_tables/chain/exchange/msgCreateDerivativeMarketOrder.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "order", "Type": "DerivativeOrder", "Description": "Order's parameters", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCreateSpotLimitOrder.json b/source/json_tables/chain/exchange/msgCreateSpotLimitOrder.json deleted file mode 100644 index d229318c..00000000 --- a/source/json_tables/chain/exchange/msgCreateSpotLimitOrder.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "order", "Type": "SpotOrder", "Description": "Order's parameters", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgCreateSpotMarketOrder.json b/source/json_tables/chain/exchange/msgCreateSpotMarketOrder.json deleted file mode 100644 index d229318c..00000000 --- a/source/json_tables/chain/exchange/msgCreateSpotMarketOrder.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "order", "Type": "SpotOrder", "Description": "Order's parameters", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgDecreasePositionMargin.json b/source/json_tables/chain/exchange/msgDecreasePositionMargin.json deleted file mode 100644 index 30e65725..00000000 --- a/source/json_tables/chain/exchange/msgDecreasePositionMargin.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's address", "Required": "Yes"}, - {"Parameter": "source_subaccount_id", "Type": "String", "Description": "Subaccount ID the position belongs to", "Required": "Yes"}, - {"Parameter": "destination_subaccount_id", "Type": "String", "Description": "Subaccount ID the funds are deposited into", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The position's unique market ID", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Decimal", "Description": "The amount of margin to remove from the position", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgDeposit.json b/source/json_tables/chain/exchange/msgDeposit.json deleted file mode 100644 index bcc64c39..00000000 --- a/source/json_tables/chain/exchange/msgDeposit.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The address doing the deposit", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "Subaccount ID to deposit funds into. If empty, the coin will be deposited to the sender's default subaccount address.", "Required": "No"}, - {"Parameter": "amount", "Type": "Coin", "Description": "The token amount to deposit", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgExternalTransfer.json b/source/json_tables/chain/exchange/msgExternalTransfer.json deleted file mode 100644 index 966c4eda..00000000 --- a/source/json_tables/chain/exchange/msgExternalTransfer.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's address", "Required": "Yes"}, - {"Parameter": "source_subaccount_id", "Type": "String", "Description": "Subaccount ID from where the funds are deducted", "Required": "Yes"}, - {"Parameter": "destination_subaccount_id", "Type": "String", "Description": "Subaccount ID the funds are deposited into", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Coin", "Description": "The transfer token amount", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgIncreasePositionMargin.json b/source/json_tables/chain/exchange/msgIncreasePositionMargin.json deleted file mode 100644 index 81d9a3c4..00000000 --- a/source/json_tables/chain/exchange/msgIncreasePositionMargin.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's address", "Required": "Yes"}, - {"Parameter": "source_subaccount_id", "Type": "String", "Description": "Subaccount ID from where the funds are deducted", "Required": "Yes"}, - {"Parameter": "destination_subaccount_id", "Type": "String", "Description": "Subaccount ID the funds are deposited into", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The position's unique market ID", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Decimal", "Description": "The amount of margin to add to the position", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgInstantBinaryOptionsMarketLaunch.json b/source/json_tables/chain/exchange/msgInstantBinaryOptionsMarketLaunch.json deleted file mode 100644 index cebb88d3..00000000 --- a/source/json_tables/chain/exchange/msgInstantBinaryOptionsMarketLaunch.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The market launch requestor address", "Required": "Yes"}, - {"Parameter": "ticker", "Type": "String", "Description": "Ticker for the binary options market", "Required": "Yes"}, - {"Parameter": "oracle_symbol", "Type": "String", "Description": "Oracle symbol", "Required": "Yes"}, - {"Parameter": "oracle_provider", "Type": "String", "Description": "Oracle provider", "Required": "Yes"}, - {"Parameter": "oracle_type", "Type": "OracleType", "Description": "The oracle type", "Required": "Yes"}, - {"Parameter": "oracle_scale_factor", "Type": "Integer", "Description": "Scale factor for oracle prices", "Required": "Yes"}, - {"Parameter": "maker_fee_rate", "Type": "Decimal", "Description": "Defines the trade fee rate for makers on the perpetual market", "Required": "Yes"}, - {"Parameter": "taker_fee_rate", "Type": "Decimal", "Description": "Defines the trade fee rate for takers on the perpetual market", "Required": "Yes"}, - {"Parameter": "expiration_timestamp", "Type": "Integer", "Description": "The market's expiration time in seconds", "Required": "Yes"}, - {"Parameter": "settlement_timestamp", "Type": "Integer", "Description": "The market's settlement time in seconds", "Required": "Yes"}, - {"Parameter": "admin", "Type": "String", "Description": "The market's admin address", "Required": "Yes"}, - {"Parameter": "quote_denom", "Type": "String", "Description": "Quote tocken denom", "Required": "Yes"}, - {"Parameter": "min_price_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's price", "Required": "Yes"}, - {"Parameter": "min_quantity_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's quantity", "Required": "Yes"}, - {"Parameter": "min_notional", "Type": "Decimal", "Description": "Defines the minimum notional (in quote asset) required for orders in the market", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgInstantExpiryFuturesMarketLaunch.json b/source/json_tables/chain/exchange/msgInstantExpiryFuturesMarketLaunch.json deleted file mode 100644 index 2d8b8b09..00000000 --- a/source/json_tables/chain/exchange/msgInstantExpiryFuturesMarketLaunch.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The market launch requestor address", "Required": "Yes"}, - {"Parameter": "ticker", "Type": "String", "Description": "Ticker for the expiry futures market", "Required": "Yes"}, - {"Parameter": "quote_denom", "Type": "String", "Description": "Quote tocken denom", "Required": "Yes"}, - {"Parameter": "oracle_base", "Type": "String", "Description": "Oracle base currency", "Required": "Yes"}, - {"Parameter": "oracle_quote", "Type": "String", "Description": "Oracle quote currency", "Required": "Yes"}, - {"Parameter": "oracle_type", "Type": "OracleType", "Description": "The oracle type", "Required": "Yes"}, - {"Parameter": "oracle_scale_factor", "Type": "Integer", "Description": "Scale factor for oracle prices", "Required": "Yes"}, - {"Parameter": "expiry", "Type": "Integer", "Description": "Expiration time of the market", "Required": "Yes"}, - {"Parameter": "maker_fee_rate", "Type": "Decimal", "Description": "Defines the trade fee rate for makers on the perpetual market", "Required": "Yes"}, - {"Parameter": "taker_fee_rate", "Type": "Decimal", "Description": "Defines the trade fee rate for takers on the perpetual market", "Required": "Yes"}, - {"Parameter": "initial_margin_ratio", "Type": "Decimal", "Description": "Defines the initial margin ratio for the perpetual market", "Required": "Yes"}, - {"Parameter": "maintenance_margin_ratio", "Type": "Decimal", "Description": "Defines the maintenance margin ratio for the perpetual market", "Required": "Yes"}, - {"Parameter": "min_price_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's price", "Required": "Yes"}, - {"Parameter": "min_quantity_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's quantity", "Required": "Yes"}, - {"Parameter": "min_notional", "Type": "Decimal", "Description": "Defines the minimum notional (in quote asset) required for orders in the market", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgInstantPerpetualMarketLaunch.json b/source/json_tables/chain/exchange/msgInstantPerpetualMarketLaunch.json deleted file mode 100644 index daf4e305..00000000 --- a/source/json_tables/chain/exchange/msgInstantPerpetualMarketLaunch.json +++ /dev/null @@ -1,16 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The market launch requestor address", "Required": "Yes"}, - {"Parameter": "ticker", "Type": "String", "Description": "Ticker for the perpetual market", "Required": "Yes"}, - {"Parameter": "quote_denom", "Type": "String", "Description": "Quote tocken denom", "Required": "Yes"}, - {"Parameter": "oracle_base", "Type": "String", "Description": "Oracle base currency", "Required": "Yes"}, - {"Parameter": "oracle_quote", "Type": "String", "Description": "Oracle quote currency", "Required": "Yes"}, - {"Parameter": "oracle_scale_factor", "Type": "Integer", "Description": "Scale factor for oracle prices", "Required": "Yes"}, - {"Parameter": "oracle_type", "Type": "OracleType", "Description": "The oracle type", "Required": "Yes"}, - {"Parameter": "maker_fee_rate", "Type": "Decimal", "Description": "Defines the trade fee rate for makers on the perpetual market", "Required": "Yes"}, - {"Parameter": "taker_fee_rate", "Type": "Decimal", "Description": "Defines the trade fee rate for takers on the perpetual market", "Required": "Yes"}, - {"Parameter": "initial_margin_ratio", "Type": "Decimal", "Description": "Defines the initial margin ratio for the perpetual market", "Required": "Yes"}, - {"Parameter": "maintenance_margin_ratio", "Type": "Decimal", "Description": "Defines the maintenance margin ratio for the perpetual market", "Required": "Yes"}, - {"Parameter": "min_price_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's price", "Required": "Yes"}, - {"Parameter": "min_quantity_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's quantity", "Required": "Yes"}, - {"Parameter": "min_notional", "Type": "Decimal", "Description": "Defines the minimum notional (in quote asset) required for orders in the market", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgInstantSpotMarketLaunch.json b/source/json_tables/chain/exchange/msgInstantSpotMarketLaunch.json deleted file mode 100644 index fe75ba3b..00000000 --- a/source/json_tables/chain/exchange/msgInstantSpotMarketLaunch.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The market launch requestor address", "Required": "Yes"}, - {"Parameter": "ticker", "Type": "String", "Description": "Ticker for the spot market", "Required": "Yes"}, - {"Parameter": "base_denom", "Type": "String", "Description": "Base tocken denom", "Required": "Yes"}, - {"Parameter": "quote_denom", "Type": "String", "Description": "Quote tocken denom", "Required": "Yes"}, - {"Parameter": "min_price_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's price", "Required": "Yes"}, - {"Parameter": "min_quantity_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's quantity", "Required": "Yes"}, - {"Parameter": "min_notional", "Type": "Decimal", "Description": "Defines the minimum notional (in quote asset) required for orders in the market", "Required": "Yes"}, - {"Parameter": "base_decimals", "Type": "Integer", "Description": "Base token decimals", "Required": "Yes"}, - {"Parameter": "quote_decimals", "Type": "Integer", "Description": "Quote token decimals", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgLiquidatePosition.json b/source/json_tables/chain/exchange/msgLiquidatePosition.json deleted file mode 100644 index 2dce4da3..00000000 --- a/source/json_tables/chain/exchange/msgLiquidatePosition.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The message sender's address", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID to create the order", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The order's unique market ID", "Required": "Yes"}, - {"Parameter": "order", "Type": "DerivativeOrder", "Description": "Order's parameters", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgRewardsOptOut.json b/source/json_tables/chain/exchange/msgRewardsOptOut.json deleted file mode 100644 index c70bb264..00000000 --- a/source/json_tables/chain/exchange/msgRewardsOptOut.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgSubaccountTransfer.json b/source/json_tables/chain/exchange/msgSubaccountTransfer.json deleted file mode 100644 index 966c4eda..00000000 --- a/source/json_tables/chain/exchange/msgSubaccountTransfer.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's address", "Required": "Yes"}, - {"Parameter": "source_subaccount_id", "Type": "String", "Description": "Subaccount ID from where the funds are deducted", "Required": "Yes"}, - {"Parameter": "destination_subaccount_id", "Type": "String", "Description": "Subaccount ID the funds are deposited into", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Coin", "Description": "The transfer token amount", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgUpdateDerivativeMarket.json b/source/json_tables/chain/exchange/msgUpdateDerivativeMarket.json deleted file mode 100644 index 96af4fce..00000000 --- a/source/json_tables/chain/exchange/msgUpdateDerivativeMarket.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - {"Parameter": "admin", "Type": "String", "Description": "The market's admin address (has to be the message broadcaster)", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The market's unique ID", "Required": "Yes"}, - {"Parameter": "new_ticker", "Type": "String", "Description": "New ticker for the perpetual market", "Required": "No"}, - {"Parameter": "new_min_price_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's price", "Required": "No"}, - {"Parameter": "new_min_quantity_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's quantity", "Required": "No"}, - {"Parameter": "new_min_notional", "Type": "Decimal", "Description": "Defines the minimum notional (in quote asset) required for orders in the market", "Required": "No"}, - {"Parameter": "new_initial_margin_ratio", "Type": "Decimal", "Description": "Defines the initial margin ratio for the perpetual market", "Required": "No"}, - {"Parameter": "new_maintenance_margin_ratio", "Type": "Decimal", "Description": "Defines the maintenance margin ratio for the perpetual market", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgUpdateSpotMarket.json b/source/json_tables/chain/exchange/msgUpdateSpotMarket.json deleted file mode 100644 index f1f1d4aa..00000000 --- a/source/json_tables/chain/exchange/msgUpdateSpotMarket.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "admin", "Type": "String", "Description": "The market's admin address (has to be the message broadcaster)", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The market's unique ID", "Required": "Yes"}, - {"Parameter": "new_ticker", "Type": "String", "Description": "New ticker for the spot market", "Required": "No"}, - {"Parameter": "new_min_price_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's price", "Required": "No"}, - {"Parameter": "new_min_quantity_tick_size", "Type": "Decimal", "Description": "Defines the minimum tick size of the order's quantity", "Required": "No"}, - {"Parameter": "new_min_notional", "Type": "Decimal", "Description": "Defines the minimum notional (in quote asset) required for orders in the market", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/msgWithdraw.json b/source/json_tables/chain/exchange/msgWithdraw.json deleted file mode 100644 index efb3f643..00000000 --- a/source/json_tables/chain/exchange/msgWithdraw.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The address doing the withdraw", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "Subaccount ID to withdraw funds from", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Coin", "Description": "The token amount to deposit", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/orderData.json b/source/json_tables/chain/exchange/orderData.json deleted file mode 100644 index 88a5ebf1..00000000 --- a/source/json_tables/chain/exchange/orderData.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The order's market ID", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "Subaccount ID that created the order", "Required": "Yes"}, - {"Parameter": "order_hash", "Type": "String", "Description": "The order hash (either the order_hash or the cid should be provided)", "Required": "No"}, - {"Parameter": "order_mask", "Type": "OrderMask", "Description": "The order mask that specifies the order type", "Required": "No"}, - {"Parameter": "cid", "Type": "String", "Description": "The order's client order ID (either the order_hash or the cid should be provided)", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/orderInfo.json b/source/json_tables/chain/exchange/orderInfo.json deleted file mode 100644 index 5799736d..00000000 --- a/source/json_tables/chain/exchange/orderInfo.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "Subaccount ID that created the order", "Required": "Yes"}, - {"Parameter": "fee_recipient", "Type": "String", "Description": "Address that will receive fees for the order", "Required": "No"}, - {"Parameter": "price", "Type": "Decimal", "Description": "Price of the order", "Required": "Yes"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "Quantity of the order", "Required": "Yes"}, - {"Parameter": "cid", "Type": "String", "Description": "Client order ID. An optional identifier for the order set by the creator", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/orderMask.json b/source/json_tables/chain/exchange/orderMask.json deleted file mode 100644 index 6202756f..00000000 --- a/source/json_tables/chain/exchange/orderMask.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - {"Code": "0", "Name": "OrderMask_UNUSED"}, - {"Code": "1", "Name": "OrderMask_ANY"}, - {"Code": "2", "Name": "OrderMask_REGULAR"}, - {"Code": "4", "Name": "OrderMask_CONDITIONAL"}, - {"Code": "8", "Name": "OrderMask_BUY_OR_HIGHER"}, - {"Code": "16", "Name": "OrderMask_SELL_OR_LOWER"}, - {"Code": "32", "Name": "OrderMask_MARKET"}, - {"Code": "64", "Name": "OrderMask_LIMIT"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/orderSide.json b/source/json_tables/chain/exchange/orderSide.json deleted file mode 100644 index 8421661c..00000000 --- a/source/json_tables/chain/exchange/orderSide.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Code": "0", "Name": "Side_Unspecified"}, - {"Code": "1", "Name": "Buy"}, - {"Code": "2", "Name": "Sell"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/orderType.json b/source/json_tables/chain/exchange/orderType.json deleted file mode 100644 index bf169b95..00000000 --- a/source/json_tables/chain/exchange/orderType.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - {"Code": "0", "Name": "UNSPECIFIED"}, - {"Code": "1", "Name": "BUY"}, - {"Code": "2", "Name": "SELL"}, - {"Code": "3", "Name": "STOP_BUY"}, - {"Code": "4", "Name": "STOP_SELL"}, - {"Code": "5", "Name": "TAKE_BUY"}, - {"Code": "6", "Name": "TAKE_SELL"}, - {"Code": "7", "Name": "BUY_PO"}, - {"Code": "8", "Name": "SELL_PO"}, - {"Code": "9", "Name": "BUY_ATOMIC"}, - {"Code": "10", "Name": "SELL_ATOMIC"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/perpetualMarketFunding.json b/source/json_tables/chain/exchange/perpetualMarketFunding.json deleted file mode 100644 index 8084dd53..00000000 --- a/source/json_tables/chain/exchange/perpetualMarketFunding.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "cumulative_funding", "Type": "Decimal", "Description": "The market's cumulative funding"}, - {"Parameter": "cumulative_price", "Type": "Decimal", "Description": "The cumulative price for the current hour up to the last timestamp (in human redable format)"}, - {"Parameter": "last_timestamp", "Type": "Integer", "Description": "Last funding timestamp in seconds"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/perpetualMarketInfo.json b/source/json_tables/chain/exchange/perpetualMarketInfo.json deleted file mode 100644 index f61eb6be..00000000 --- a/source/json_tables/chain/exchange/perpetualMarketInfo.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID"}, - {"Parameter": "hourly_funding_rate_cap", "Type": "Decimal", "Description": "Maximum absolute value of the hourly funding rate"}, - {"Parameter": "hourly_interest_rate", "Type": "Decimal", "Description": "The hourly interest rate"}, - {"Parameter": "next_funding_timestamp", "Type": "Integer", "Description": "The next funding timestamp in seconds"}, - {"Parameter": "funding_interval", "Type": "Integer", "Description": "The next funding interval in seconds"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/perpetualMarketState.json b/source/json_tables/chain/exchange/perpetualMarketState.json deleted file mode 100644 index e7284e50..00000000 --- a/source/json_tables/chain/exchange/perpetualMarketState.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_info", "Type": "PerpetualMarketInfo", "Description": "Perpetual market information"}, - {"Parameter": "funding_info", "Type": "PerpetualMarketFunding", "Description": "Market funding information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/pointsMultiplier.json b/source/json_tables/chain/exchange/pointsMultiplier.json deleted file mode 100644 index 35040f0c..00000000 --- a/source/json_tables/chain/exchange/pointsMultiplier.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "maker_points_multiplier", "Type": "Decimal", "Description": "Multiplier for maker trades"}, - {"Parameter": "taker_points_multiplier", "Type": "Decimal", "Description": "Multiplier for taker trades"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/position.json b/source/json_tables/chain/exchange/position.json deleted file mode 100644 index e48bc27e..00000000 --- a/source/json_tables/chain/exchange/position.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "is_long", "Type": "Boolean", "Description": "True if the position is long. False if the position is short"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "The position's amount"}, - {"Parameter": "entry_price", "Type": "Decimal", "Description": "The order execution price when the position was created"}, - {"Parameter": "margin", "Type": "Decimal", "Description": "The position's current margin amount"}, - {"Parameter": "cumulative_funding_entry", "Type": "Decimal", "Description": "The cummulative funding"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAccountAddressDerivativeOrdersRequest.json b/source/json_tables/chain/exchange/queryAccountAddressDerivativeOrdersRequest.json deleted file mode 100644 index d9e2a77e..00000000 --- a/source/json_tables/chain/exchange/queryAccountAddressDerivativeOrdersRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "account_address", "Type": "String", "Description": "Trader's account address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAccountAddressDerivativeOrdersResponse.json b/source/json_tables/chain/exchange/queryAccountAddressDerivativeOrdersResponse.json deleted file mode 100644 index c9deb562..00000000 --- a/source/json_tables/chain/exchange/queryAccountAddressDerivativeOrdersResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "orders", "Type": "TrimmedDerivativeLimitOrder Array", "Description": "Orders info"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAccountAddressSpotOrdersRequest.json b/source/json_tables/chain/exchange/queryAccountAddressSpotOrdersRequest.json deleted file mode 100644 index d9e2a77e..00000000 --- a/source/json_tables/chain/exchange/queryAccountAddressSpotOrdersRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "account_address", "Type": "String", "Description": "Trader's account address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAccountAddressSpotOrdersResponse.json b/source/json_tables/chain/exchange/queryAccountAddressSpotOrdersResponse.json deleted file mode 100644 index 20bb79f9..00000000 --- a/source/json_tables/chain/exchange/queryAccountAddressSpotOrdersResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "orders", "Type": "TrimmedSpotLimitOrder Array", "Description": "Orders info"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAggregateMarketVolumeRequest.json b/source/json_tables/chain/exchange/queryAggregateMarketVolumeRequest.json deleted file mode 100644 index bde52f3e..00000000 --- a/source/json_tables/chain/exchange/queryAggregateMarketVolumeRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAggregateMarketVolumeResponse.json b/source/json_tables/chain/exchange/queryAggregateMarketVolumeResponse.json deleted file mode 100644 index 0f42f30a..00000000 --- a/source/json_tables/chain/exchange/queryAggregateMarketVolumeResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "volume", "Type": "VolumeRecord", "Description": "The aggregated market volume information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAggregateMarketVolumesRequest.json b/source/json_tables/chain/exchange/queryAggregateMarketVolumesRequest.json deleted file mode 100644 index 3e7608bc..00000000 --- a/source/json_tables/chain/exchange/queryAggregateMarketVolumesRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of market IDs to query volume for", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAggregateMarketVolumesResponse.json b/source/json_tables/chain/exchange/queryAggregateMarketVolumesResponse.json deleted file mode 100644 index 5348ff1a..00000000 --- a/source/json_tables/chain/exchange/queryAggregateMarketVolumesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "volumes", "Type": "MarketVolume Array", "Description": "The markets volume information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAggregateVolumeRequest.json b/source/json_tables/chain/exchange/queryAggregateVolumeRequest.json deleted file mode 100644 index a76f9174..00000000 --- a/source/json_tables/chain/exchange/queryAggregateVolumeRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "account", "Type": "String", "Description": "Account address or subaccount id", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAggregateVolumeResponse.json b/source/json_tables/chain/exchange/queryAggregateVolumeResponse.json deleted file mode 100644 index 2abdbe14..00000000 --- a/source/json_tables/chain/exchange/queryAggregateVolumeResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "aggregated_volumes", "Type": "MarketVolume Array", "Description": "Volume information. If an address is specified, then the aggregate_volumes will aggregate the volumes across all subaccounts for the address"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAggregateVolumesRequest.json b/source/json_tables/chain/exchange/queryAggregateVolumesRequest.json deleted file mode 100644 index 0b27e744..00000000 --- a/source/json_tables/chain/exchange/queryAggregateVolumesRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "accounts", "Type": "String Array", "Description": "List of account addresses and/or subaccount IDs to query for", "Required": "No"}, - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of market IDs to query for", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryAggregateVolumesResponse.json b/source/json_tables/chain/exchange/queryAggregateVolumesResponse.json deleted file mode 100644 index a656a66b..00000000 --- a/source/json_tables/chain/exchange/queryAggregateVolumesResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "aggregated_account_volumes", "Type": "AggregateAccountVolumeRecord Array", "Description": "The aggregate volume records for the accounts specified"}, - {"Parameter": "aggregated_market_volumes", "Type": "MarketVolume Array", "Description": "The aggregate volumes for the markets specified"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryBalanceMismatchesRequest.json b/source/json_tables/chain/exchange/queryBalanceMismatchesRequest.json deleted file mode 100644 index 06703df3..00000000 --- a/source/json_tables/chain/exchange/queryBalanceMismatchesRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "dust_factor", "Type": "Integer", "Description": "Difference treshold to query with", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryBalanceMismatchesResponse.json b/source/json_tables/chain/exchange/queryBalanceMismatchesResponse.json deleted file mode 100644 index efe67c12..00000000 --- a/source/json_tables/chain/exchange/queryBalanceMismatchesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "balance_mismatches", "Type": "BalanceMismatch Array", "Description": "List of balance mismatches"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryBalanceWithBalanceHoldsResponse.json b/source/json_tables/chain/exchange/queryBalanceWithBalanceHoldsResponse.json deleted file mode 100644 index 250687a5..00000000 --- a/source/json_tables/chain/exchange/queryBalanceWithBalanceHoldsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "balance_with_balance_holds", "Type": "BalanceWithMarginHold Array", "Description": "List of balances with hold"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryBinaryMarketsRequest.json b/source/json_tables/chain/exchange/queryBinaryMarketsRequest.json deleted file mode 100644 index 501dfc74..00000000 --- a/source/json_tables/chain/exchange/queryBinaryMarketsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "status", "Type": "String", "Description": "Market status", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryBinaryMarketsResponse.json b/source/json_tables/chain/exchange/queryBinaryMarketsResponse.json deleted file mode 100644 index d6e6012c..00000000 --- a/source/json_tables/chain/exchange/queryBinaryMarketsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "markets", "Type": "BinaryOptionsMarket Array", "Description": "List of binary options markets"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDenomDecimalRequest.json b/source/json_tables/chain/exchange/queryDenomDecimalRequest.json deleted file mode 100644 index 218c39d1..00000000 --- a/source/json_tables/chain/exchange/queryDenomDecimalRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The asset denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDenomDecimalResponse.json b/source/json_tables/chain/exchange/queryDenomDecimalResponse.json deleted file mode 100644 index 2eddbf90..00000000 --- a/source/json_tables/chain/exchange/queryDenomDecimalResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "decimal", "Type": "Integer", "Description": "Number of decimals used for the asset"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDenomDecimalsRequest.json b/source/json_tables/chain/exchange/queryDenomDecimalsRequest.json deleted file mode 100644 index cbdbfb64..00000000 --- a/source/json_tables/chain/exchange/queryDenomDecimalsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denoms", "Type": "String Array", "Description": "List of asset denoms", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDenomDecimalsResponse.json b/source/json_tables/chain/exchange/queryDenomDecimalsResponse.json deleted file mode 100644 index fdcc69f0..00000000 --- a/source/json_tables/chain/exchange/queryDenomDecimalsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom_decimals", "Type": "DenomDecimals Array", "Description": "List of decimals for the queried denoms"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDenomMinNotionalRequest.json b/source/json_tables/chain/exchange/queryDenomMinNotionalRequest.json deleted file mode 100644 index b6b1b49f..00000000 --- a/source/json_tables/chain/exchange/queryDenomMinNotionalRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The denom to request the minimum notional for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDenomMinNotionalResponse.json b/source/json_tables/chain/exchange/queryDenomMinNotionalResponse.json deleted file mode 100644 index 444cae4d..00000000 --- a/source/json_tables/chain/exchange/queryDenomMinNotionalResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "amount", "Type": "Decimal", "Description": "Market minimum notional"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDenomMinNotionalsResponse.json b/source/json_tables/chain/exchange/queryDenomMinNotionalsResponse.json deleted file mode 100644 index 7d1f2d8e..00000000 --- a/source/json_tables/chain/exchange/queryDenomMinNotionalsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom_min_notionals", "Type": "DenomMinNotional Array", "Description": "List of all denom minimum notionals"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeMarketAddressRequest.json b/source/json_tables/chain/exchange/queryDerivativeMarketAddressRequest.json deleted file mode 100644 index 9262dae9..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeMarketAddressRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The marke ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeMarketAddressResponse.json b/source/json_tables/chain/exchange/queryDerivativeMarketAddressResponse.json deleted file mode 100644 index 7388aba1..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeMarketAddressResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "address", "Type": "String", "Description": "The market's address"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "The market's subaccount ID"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeMarketRequest.json b/source/json_tables/chain/exchange/queryDerivativeMarketRequest.json deleted file mode 100644 index 9262dae9..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeMarketRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The marke ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeMarketResponse.json b/source/json_tables/chain/exchange/queryDerivativeMarketResponse.json deleted file mode 100644 index 8e097e1f..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeMarketResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market", "Type": "FullDerivativeMarket", "Description": "Market information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeMarketsRequest.json b/source/json_tables/chain/exchange/queryDerivativeMarketsRequest.json deleted file mode 100644 index 245af26b..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeMarketsRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "status", "Type": "String", "Description": "Market status", "Required": "No"}, - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of market IDs", "Required": "No"}, - {"Parameter": "with_mid_price_and_tob", "Type": "Boolean", "Description": "Flag to activate/deactivate the inclusion of the markets mid price and top of the book buy and sell orders", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeMarketsResponse.json b/source/json_tables/chain/exchange/queryDerivativeMarketsResponse.json deleted file mode 100644 index 677cfdfc..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeMarketsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "markets", "Type": "FullDerivativeMarket Array", "Description": "Markets information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeMidPriceAndTOBRequest.json b/source/json_tables/chain/exchange/queryDerivativeMidPriceAndTOBRequest.json deleted file mode 100644 index 6f03cc63..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeMidPriceAndTOBRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeMidPriceAndTOBResponse.json b/source/json_tables/chain/exchange/queryDerivativeMidPriceAndTOBResponse.json deleted file mode 100644 index 0d3c09c8..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeMidPriceAndTOBResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "mid_price", "Type": "Decimal", "Description": "Market's mid price"}, - {"Parameter": "best_buy_price", "Type": "Decimal", "Description": "Market's bet bid price"}, - {"Parameter": "best_sell_price", "Type": "Decimal", "Description": "Market's bet ask price"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeOrderbookRequest.json b/source/json_tables/chain/exchange/queryDerivativeOrderbookRequest.json deleted file mode 100644 index fb4383ec..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeOrderbookRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Max number of order book entries to return per side", "Required": "No"}, - {"Parameter": "limit_cumulative_notional", "Type": "Decimal", "Description": "Limit the number of entries to return per side based on the cumulative notional", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeOrderbookResponse.json b/source/json_tables/chain/exchange/queryDerivativeOrderbookResponse.json deleted file mode 100644 index 422df842..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeOrderbookResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "buys_price_level", "Type": "TrimmedLimitOrder Array", "Description": "Bid side entries"}, - {"Parameter": "sells_price_level", "Type": "TrimmedLimitOrder Array", "Description": "Ask side entries"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeOrdersByHashesRequest.json b/source/json_tables/chain/exchange/queryDerivativeOrdersByHashesRequest.json deleted file mode 100644 index 895607f1..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeOrdersByHashesRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "Trader's subaccount ID", "Required": "Yes"}, - {"Parameter": "order_hashes", "Type": "String Array", "Description": "List of order hashes to retrieve information for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryDerivativeOrdersByHashesResponse.json b/source/json_tables/chain/exchange/queryDerivativeOrdersByHashesResponse.json deleted file mode 100644 index c9deb562..00000000 --- a/source/json_tables/chain/exchange/queryDerivativeOrdersByHashesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "orders", "Type": "TrimmedDerivativeLimitOrder Array", "Description": "Orders info"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryExchangeBalancesResponse.json b/source/json_tables/chain/exchange/queryExchangeBalancesResponse.json deleted file mode 100644 index dbfc9eeb..00000000 --- a/source/json_tables/chain/exchange/queryExchangeBalancesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "balances", "Type": "Balance Array", "Description": "List of all accounts' balances"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryExpiryFuturesMarketInfoRequest.json b/source/json_tables/chain/exchange/queryExpiryFuturesMarketInfoRequest.json deleted file mode 100644 index f45d6b0d..00000000 --- a/source/json_tables/chain/exchange/queryExpiryFuturesMarketInfoRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryExpiryFuturesMarketInfoResponse.json b/source/json_tables/chain/exchange/queryExpiryFuturesMarketInfoResponse.json deleted file mode 100644 index ab2f76a5..00000000 --- a/source/json_tables/chain/exchange/queryExpiryFuturesMarketInfoResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "info", "Type": "ExpiryFuturesMarketInfo", "Description": "Expiry futures market information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFeeDiscountAccountInfoRequest.json b/source/json_tables/chain/exchange/queryFeeDiscountAccountInfoRequest.json deleted file mode 100644 index 953c0d97..00000000 --- a/source/json_tables/chain/exchange/queryFeeDiscountAccountInfoRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "account", "Type": "String", "Description": "Account address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFeeDiscountAccountInfoResponse.json b/source/json_tables/chain/exchange/queryFeeDiscountAccountInfoResponse.json deleted file mode 100644 index dd5238f8..00000000 --- a/source/json_tables/chain/exchange/queryFeeDiscountAccountInfoResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "tier_level", "Type": "Integer", "Description": "Fee discount tier"}, - {"Parameter": "account_info", "Type": "FeeDiscountTierInfo", "Description": "Fee discount tier info"}, - {"Parameter": "account_ttl", "Type": "FeeDiscountTierTTL", "Description": "Fee discount tier TTL"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFeeDiscountScheduleResponse.json b/source/json_tables/chain/exchange/queryFeeDiscountScheduleResponse.json deleted file mode 100644 index d4d2ac88..00000000 --- a/source/json_tables/chain/exchange/queryFeeDiscountScheduleResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "fee_discount_schedule", "Type": "FeeDiscountSchedule", "Description": "Fee discount schedule"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFeeDiscountTierStatisticsResponse.json b/source/json_tables/chain/exchange/queryFeeDiscountTierStatisticsResponse.json deleted file mode 100644 index fe809713..00000000 --- a/source/json_tables/chain/exchange/queryFeeDiscountTierStatisticsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "statistics", "Type": "TierStatistic Array", "Description": "List of tier statistics"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFullDerivativeOrderbookRequest.json b/source/json_tables/chain/exchange/queryFullDerivativeOrderbookRequest.json deleted file mode 100644 index 6f03cc63..00000000 --- a/source/json_tables/chain/exchange/queryFullDerivativeOrderbookRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFullDerivativeOrderbookResponse.json b/source/json_tables/chain/exchange/queryFullDerivativeOrderbookResponse.json deleted file mode 100644 index 76965de5..00000000 --- a/source/json_tables/chain/exchange/queryFullDerivativeOrderbookResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "bids", "Type": "TrimmedLimitOrder Array", "Description": "Bid side entries"}, - {"Parameter": "asks", "Type": "TrimmedLimitOrder Array", "Description": "Ask side entries"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFullSpotMarketRequest.json b/source/json_tables/chain/exchange/queryFullSpotMarketRequest.json deleted file mode 100644 index 21131a15..00000000 --- a/source/json_tables/chain/exchange/queryFullSpotMarketRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "with_mid_price_and_tob", "Type": "Boolean", "Description": "Flag to activate/deactivate the inclusion of the markets mid price and top of the book buy and sell orders", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFullSpotMarketResponse.json b/source/json_tables/chain/exchange/queryFullSpotMarketResponse.json deleted file mode 100644 index 5b93fc3c..00000000 --- a/source/json_tables/chain/exchange/queryFullSpotMarketResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market", "Type": "FullSpotMarket", "Description": "Markets information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFullSpotMarketsRequest.json b/source/json_tables/chain/exchange/queryFullSpotMarketsRequest.json deleted file mode 100644 index 9f247fc8..00000000 --- a/source/json_tables/chain/exchange/queryFullSpotMarketsRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "status", "Type": "String", "Description": "Status of the market", "Required": "No"}, - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of market IDs", "Required": "No"}, - {"Parameter": "with_mid_price_and_tob", "Type": "Boolean", "Description": "Flag to activate/deactivate the inclusion of the markets mid price and top of the book buy and sell orders", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFullSpotMarketsResponse.json b/source/json_tables/chain/exchange/queryFullSpotMarketsResponse.json deleted file mode 100644 index 3b07ba9d..00000000 --- a/source/json_tables/chain/exchange/queryFullSpotMarketsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "markets", "Type": "FullSpotMarket Array", "Description": "Markets information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFullSpotOrderbookRequest.json b/source/json_tables/chain/exchange/queryFullSpotOrderbookRequest.json deleted file mode 100644 index 6f03cc63..00000000 --- a/source/json_tables/chain/exchange/queryFullSpotOrderbookRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryFullSpotOrderbookResponse.json b/source/json_tables/chain/exchange/queryFullSpotOrderbookResponse.json deleted file mode 100644 index 76965de5..00000000 --- a/source/json_tables/chain/exchange/queryFullSpotOrderbookResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "bids", "Type": "TrimmedLimitOrder Array", "Description": "Bid side entries"}, - {"Parameter": "asks", "Type": "TrimmedLimitOrder Array", "Description": "Ask side entries"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryHistoricalTradeRecordsRequest.json b/source/json_tables/chain/exchange/queryHistoricalTradeRecordsRequest.json deleted file mode 100644 index f45d6b0d..00000000 --- a/source/json_tables/chain/exchange/queryHistoricalTradeRecordsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryHistoricalTradeRecordsResponse.json b/source/json_tables/chain/exchange/queryHistoricalTradeRecordsResponse.json deleted file mode 100644 index 6a8e53de..00000000 --- a/source/json_tables/chain/exchange/queryHistoricalTradeRecordsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "trade_records", "Type": "TradeRecords Array", "Description": "List of trade records"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryIsOptedOutOfRewardsRequest.json b/source/json_tables/chain/exchange/queryIsOptedOutOfRewardsRequest.json deleted file mode 100644 index 79310705..00000000 --- a/source/json_tables/chain/exchange/queryIsOptedOutOfRewardsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "account", "Type": "String", "Description": "The account's address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryIsOptedOutOfRewardsResponse.json b/source/json_tables/chain/exchange/queryIsOptedOutOfRewardsResponse.json deleted file mode 100644 index f144c89e..00000000 --- a/source/json_tables/chain/exchange/queryIsOptedOutOfRewardsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "is_opted_out", "Type": "Boolean", "Description": "Opted out state for the account"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketAtomicExecutionFeeMultiplierRequest.json b/source/json_tables/chain/exchange/queryMarketAtomicExecutionFeeMultiplierRequest.json deleted file mode 100644 index f45d6b0d..00000000 --- a/source/json_tables/chain/exchange/queryMarketAtomicExecutionFeeMultiplierRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketAtomicExecutionFeeMultiplierResponse.json b/source/json_tables/chain/exchange/queryMarketAtomicExecutionFeeMultiplierResponse.json deleted file mode 100644 index 7d23a13e..00000000 --- a/source/json_tables/chain/exchange/queryMarketAtomicExecutionFeeMultiplierResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "multiplier", "Type": "Decimal", "Description": "The multiplier value"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketBalanceRequest.json b/source/json_tables/chain/exchange/queryMarketBalanceRequest.json deleted file mode 100644 index 6f03cc63..00000000 --- a/source/json_tables/chain/exchange/queryMarketBalanceRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketBalanceResponse.json b/source/json_tables/chain/exchange/queryMarketBalanceResponse.json deleted file mode 100644 index 70926953..00000000 --- a/source/json_tables/chain/exchange/queryMarketBalanceResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "balance", "Type": "MarketBalance", "Description": "The current market balance"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketBalancesResponse.json b/source/json_tables/chain/exchange/queryMarketBalancesResponse.json deleted file mode 100644 index b279dfe4..00000000 --- a/source/json_tables/chain/exchange/queryMarketBalancesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "balances", "Type": "MarketBalance Array", "Description": "The list of market balances"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketIDFromVaultRequest.json b/source/json_tables/chain/exchange/queryMarketIDFromVaultRequest.json deleted file mode 100644 index e1779b0b..00000000 --- a/source/json_tables/chain/exchange/queryMarketIDFromVaultRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "vault_address", "Type": "String", "Description": "The vault address to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketIDFromVaultResponse.json b/source/json_tables/chain/exchange/queryMarketIDFromVaultResponse.json deleted file mode 100644 index a321d702..00000000 --- a/source/json_tables/chain/exchange/queryMarketIDFromVaultResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The vault's market ID"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketVolatilityRequest.json b/source/json_tables/chain/exchange/queryMarketVolatilityRequest.json deleted file mode 100644 index f29b89d5..00000000 --- a/source/json_tables/chain/exchange/queryMarketVolatilityRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "Yes"}, - {"Parameter": "trade_history_options", "Type": "TradeHistoryOptions", "Description": "Extra query options", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryMarketVolatilityResponse.json b/source/json_tables/chain/exchange/queryMarketVolatilityResponse.json deleted file mode 100644 index 5bd9fa36..00000000 --- a/source/json_tables/chain/exchange/queryMarketVolatilityResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "volatility", "Type": "Decimal", "Description": "Market's volatility"}, - {"Parameter": "history_metadata", "Type": "MetadataStatistics", "Description": "Market's volatility"}, - {"Parameter": "raw_history", "Type": "TradeRecord Array", "Description": "List of trade records"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryOptedOutOfRewardsAccountsResponse.json b/source/json_tables/chain/exchange/queryOptedOutOfRewardsAccountsResponse.json deleted file mode 100644 index e81c16f1..00000000 --- a/source/json_tables/chain/exchange/queryOptedOutOfRewardsAccountsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "accounts", "Type": "String Array", "Description": "List of opted out accounts"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryPerpetualMarketFundingRequest.json b/source/json_tables/chain/exchange/queryPerpetualMarketFundingRequest.json deleted file mode 100644 index f45d6b0d..00000000 --- a/source/json_tables/chain/exchange/queryPerpetualMarketFundingRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryPerpetualMarketFundingResponse.json b/source/json_tables/chain/exchange/queryPerpetualMarketFundingResponse.json deleted file mode 100644 index c9b05de1..00000000 --- a/source/json_tables/chain/exchange/queryPerpetualMarketFundingResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "state", "Type": "PerpetualMarketFunding", "Description": "Market funding information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryPerpetualMarketInfoRequest.json b/source/json_tables/chain/exchange/queryPerpetualMarketInfoRequest.json deleted file mode 100644 index f45d6b0d..00000000 --- a/source/json_tables/chain/exchange/queryPerpetualMarketInfoRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryPerpetualMarketInfoResponse.json b/source/json_tables/chain/exchange/queryPerpetualMarketInfoResponse.json deleted file mode 100644 index 71e204e2..00000000 --- a/source/json_tables/chain/exchange/queryPerpetualMarketInfoResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "info", "Type": "PerpetualMarketInfo", "Description": "Perpetual market information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryPositionsResponse.json b/source/json_tables/chain/exchange/queryPositionsResponse.json deleted file mode 100644 index 1c3504a4..00000000 --- a/source/json_tables/chain/exchange/queryPositionsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "state", "Type": "DerivativePosition Array", "Description": "List of derivative positions"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotMarketRequest.json b/source/json_tables/chain/exchange/querySpotMarketRequest.json deleted file mode 100644 index bde52f3e..00000000 --- a/source/json_tables/chain/exchange/querySpotMarketRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotMarketResponse.json b/source/json_tables/chain/exchange/querySpotMarketResponse.json deleted file mode 100644 index a91979f6..00000000 --- a/source/json_tables/chain/exchange/querySpotMarketResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market", "Type": "SpotMarket", "Description": "Market information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotMarketsRequest.json b/source/json_tables/chain/exchange/querySpotMarketsRequest.json deleted file mode 100644 index 8c02669c..00000000 --- a/source/json_tables/chain/exchange/querySpotMarketsRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "status", "Type": "String", "Description": "Market status", "Required": "No"}, - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of market IDs", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotMarketsResponse.json b/source/json_tables/chain/exchange/querySpotMarketsResponse.json deleted file mode 100644 index 0adf083b..00000000 --- a/source/json_tables/chain/exchange/querySpotMarketsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "markets", "Type": "SpotMarket Array", "Description": "List of markets"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotMidPriceAndTOBRequest.json b/source/json_tables/chain/exchange/querySpotMidPriceAndTOBRequest.json deleted file mode 100644 index 6f03cc63..00000000 --- a/source/json_tables/chain/exchange/querySpotMidPriceAndTOBRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotMidPriceAndTOBResponse.json b/source/json_tables/chain/exchange/querySpotMidPriceAndTOBResponse.json deleted file mode 100644 index d9a5947b..00000000 --- a/source/json_tables/chain/exchange/querySpotMidPriceAndTOBResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "mid_price", "Type": "Decimal", "Description": "Market's mid price (in human redable format)"}, - {"Parameter": "best_buy_price", "Type": "Decimal", "Description": "Market's bet bid price (in human redable format)"}, - {"Parameter": "best_sell_price", "Type": "Decimal", "Description": "Market's bet ask price (in human redable format)"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotOrderbookRequest.json b/source/json_tables/chain/exchange/querySpotOrderbookRequest.json deleted file mode 100644 index 5935f9d3..00000000 --- a/source/json_tables/chain/exchange/querySpotOrderbookRequest.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Max number of order book entries to return per side", "Required": "No"}, - {"Parameter": "order_side", "Type": "OrderSide", "Description": "Specifies the side of the order book to return entries from", "Required": "No"}, - {"Parameter": "limit_cumulative_notional", "Type": "Decimal", "Description": "Limit the number of entries to return per side based on the cumulative notional (in human redable format)", "Required": "No"}, - {"Parameter": "limit_cumulative_quantity", "Type": "Decimal", "Description": "Limit the number of entries to return per side based on the cumulative quantity (in human redable format)", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotOrderbookResponse.json b/source/json_tables/chain/exchange/querySpotOrderbookResponse.json deleted file mode 100644 index fb868a91..00000000 --- a/source/json_tables/chain/exchange/querySpotOrderbookResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "buys_price_level", "Type": "Level Array", "Description": "Bid side entries"}, - {"Parameter": "sells_price_level", "Type": "Level Array", "Description": "Ask side entries"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotOrdersByHashesRequest.json b/source/json_tables/chain/exchange/querySpotOrdersByHashesRequest.json deleted file mode 100644 index 895607f1..00000000 --- a/source/json_tables/chain/exchange/querySpotOrdersByHashesRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "Trader's subaccount ID", "Required": "Yes"}, - {"Parameter": "order_hashes", "Type": "String Array", "Description": "List of order hashes to retrieve information for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySpotOrdersByHashesResponse.json b/source/json_tables/chain/exchange/querySpotOrdersByHashesResponse.json deleted file mode 100644 index 20bb79f9..00000000 --- a/source/json_tables/chain/exchange/querySpotOrdersByHashesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "orders", "Type": "TrimmedSpotLimitOrder Array", "Description": "Orders info"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountDepositRequest.json b/source/json_tables/chain/exchange/querySubaccountDepositRequest.json deleted file mode 100644 index a9a9affc..00000000 --- a/source/json_tables/chain/exchange/querySubaccountDepositRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID", "Required": "Yes"}, - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountDepositResponse.json b/source/json_tables/chain/exchange/querySubaccountDepositResponse.json deleted file mode 100644 index e84fb94d..00000000 --- a/source/json_tables/chain/exchange/querySubaccountDepositResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "deposits", "Type": "Deposit", "Description": "The subaccount's deposits for the specified token"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountDepositsRequest.json b/source/json_tables/chain/exchange/querySubaccountDepositsRequest.json deleted file mode 100644 index b39e7dee..00000000 --- a/source/json_tables/chain/exchange/querySubaccountDepositsRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID", "Required": "No"}, - {"Parameter": "subaccount", "Type": "Subaccount", "Description": "The subaccount info", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountDepositsResponse.json b/source/json_tables/chain/exchange/querySubaccountDepositsResponse.json deleted file mode 100644 index d38db166..00000000 --- a/source/json_tables/chain/exchange/querySubaccountDepositsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "deposits", "Type": "Map String to Deposit", "Description": "Map with the token denom as key, and a deposit information as value"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountEffectivePositionInMarketRequest.json b/source/json_tables/chain/exchange/querySubaccountEffectivePositionInMarketRequest.json deleted file mode 100644 index 14fa55e2..00000000 --- a/source/json_tables/chain/exchange/querySubaccountEffectivePositionInMarketRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID to query for", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountEffectivePositionInMarketResponse.json b/source/json_tables/chain/exchange/querySubaccountEffectivePositionInMarketResponse.json deleted file mode 100644 index d66a2a9b..00000000 --- a/source/json_tables/chain/exchange/querySubaccountEffectivePositionInMarketResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "state", "Type": "EffectivePosition", "Description": "Effective position information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountOrderMetadataRequest.json b/source/json_tables/chain/exchange/querySubaccountOrderMetadataRequest.json deleted file mode 100644 index 73cf6d4e..00000000 --- a/source/json_tables/chain/exchange/querySubaccountOrderMetadataRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountOrderMetadataResponse.json b/source/json_tables/chain/exchange/querySubaccountOrderMetadataResponse.json deleted file mode 100644 index 2728b8a6..00000000 --- a/source/json_tables/chain/exchange/querySubaccountOrderMetadataResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "metadata", "Type": "SubaccountOrderbookMetadataWithMarket Array", "Description": "List of subaccount's orderbook metadata information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountOrdersRequest.json b/source/json_tables/chain/exchange/querySubaccountOrdersRequest.json deleted file mode 100644 index c69a0195..00000000 --- a/source/json_tables/chain/exchange/querySubaccountOrdersRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountOrdersResponse.json b/source/json_tables/chain/exchange/querySubaccountOrdersResponse.json deleted file mode 100644 index 1a375b2d..00000000 --- a/source/json_tables/chain/exchange/querySubaccountOrdersResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "buy_orders", "Type": "SubaccountOrderData Array", "Description": "Buy orders info"}, - {"Parameter": "sell_orders", "Type": "SubaccountOrderData Array", "Description": "Sell orders info"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountPositionInMarketRequest.json b/source/json_tables/chain/exchange/querySubaccountPositionInMarketRequest.json deleted file mode 100644 index 14fa55e2..00000000 --- a/source/json_tables/chain/exchange/querySubaccountPositionInMarketRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID to query for", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountPositionInMarketResponse.json b/source/json_tables/chain/exchange/querySubaccountPositionInMarketResponse.json deleted file mode 100644 index d0b5d650..00000000 --- a/source/json_tables/chain/exchange/querySubaccountPositionInMarketResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "state", "Type": "Position", "Description": "Position information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountPositionsRequest.json b/source/json_tables/chain/exchange/querySubaccountPositionsRequest.json deleted file mode 100644 index 73cf6d4e..00000000 --- a/source/json_tables/chain/exchange/querySubaccountPositionsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountPositionsResponse.json b/source/json_tables/chain/exchange/querySubaccountPositionsResponse.json deleted file mode 100644 index 1c3504a4..00000000 --- a/source/json_tables/chain/exchange/querySubaccountPositionsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "state", "Type": "DerivativePosition Array", "Description": "List of derivative positions"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountTradeNonceRequest.json b/source/json_tables/chain/exchange/querySubaccountTradeNonceRequest.json deleted file mode 100644 index 73cf6d4e..00000000 --- a/source/json_tables/chain/exchange/querySubaccountTradeNonceRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID to query for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/querySubaccountTradeNonceResponse.json b/source/json_tables/chain/exchange/querySubaccountTradeNonceResponse.json deleted file mode 100644 index cff1e035..00000000 --- a/source/json_tables/chain/exchange/querySubaccountTradeNonceResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "nonce", "Type": "Integer", "Description": "The nonce number"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTradeRewardCampaignResponse.json b/source/json_tables/chain/exchange/queryTradeRewardCampaignResponse.json deleted file mode 100644 index 5e860dda..00000000 --- a/source/json_tables/chain/exchange/queryTradeRewardCampaignResponse.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "trading_reward_campaign_info", "Type": "TradingRewardCampaignInfo", "Description": "Campaign information"}, - {"Parameter": "trading_reward_pool_campaign_schedule", "Type": "CampaignRewardPool Array", "Description": "Campaign schedules"}, - {"Parameter": "total_trade_reward_points", "Type": "Decimal", "Description": "Trade reward points"}, - {"Parameter": "pending_trading_reward_pool_campaign_schedule", "Type": "CampaignRewardPool Array", "Description": "Pending campaigns schedules"}, - {"Parameter": "pending_total_trade_reward_points", "Type": "Decimal Array", "Description": "Pending campaigns points"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTradeRewardPointsRequest.json b/source/json_tables/chain/exchange/queryTradeRewardPointsRequest.json deleted file mode 100644 index 76fc41ae..00000000 --- a/source/json_tables/chain/exchange/queryTradeRewardPointsRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "accounts", "Type": "String List", "Description": "List of account addresses to query for", "Required": "No"}, - {"Parameter": "pending_pool_timestamp", "Type": "Integer", "Description": "Rewards pool timestamp", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTradeRewardPointsResponse.json b/source/json_tables/chain/exchange/queryTradeRewardPointsResponse.json deleted file mode 100644 index ae1fb85d..00000000 --- a/source/json_tables/chain/exchange/queryTradeRewardPointsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "account_trade_reward_points", "Type": "Decimal", "Description": "Number of points"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTraderDerivativeConditionalOrdersRequest.json b/source/json_tables/chain/exchange/queryTraderDerivativeConditionalOrdersRequest.json deleted file mode 100644 index 572bd8f5..00000000 --- a/source/json_tables/chain/exchange/queryTraderDerivativeConditionalOrdersRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "Trader subaccount ID", "Required": "No"}, - {"Parameter": "market_id", "Type": "String", "Description": "The market ID to query for", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTraderDerivativeConditionalOrdersResponse.json b/source/json_tables/chain/exchange/queryTraderDerivativeConditionalOrdersResponse.json deleted file mode 100644 index 09bb4fea..00000000 --- a/source/json_tables/chain/exchange/queryTraderDerivativeConditionalOrdersResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "orders", "Type": "TrimmedDerivativeConditionalOrder Array", "Description": "List of conditional orders"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTraderDerivativeOrdersRequest.json b/source/json_tables/chain/exchange/queryTraderDerivativeOrdersRequest.json deleted file mode 100644 index 89f62db6..00000000 --- a/source/json_tables/chain/exchange/queryTraderDerivativeOrdersRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "Trader's subaccount ID", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTraderDerivativeOrdersResponse.json b/source/json_tables/chain/exchange/queryTraderDerivativeOrdersResponse.json deleted file mode 100644 index c9deb562..00000000 --- a/source/json_tables/chain/exchange/queryTraderDerivativeOrdersResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "orders", "Type": "TrimmedDerivativeLimitOrder Array", "Description": "Orders info"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTraderSpotOrdersRequest.json b/source/json_tables/chain/exchange/queryTraderSpotOrdersRequest.json deleted file mode 100644 index 89f62db6..00000000 --- a/source/json_tables/chain/exchange/queryTraderSpotOrdersRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market ID to request for", "Required": "Yes"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "Trader's subaccount ID", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/queryTraderSpotOrdersResponse.json b/source/json_tables/chain/exchange/queryTraderSpotOrdersResponse.json deleted file mode 100644 index 20bb79f9..00000000 --- a/source/json_tables/chain/exchange/queryTraderSpotOrdersResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "orders", "Type": "TrimmedSpotLimitOrder Array", "Description": "Orders info"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/spotMarket.json b/source/json_tables/chain/exchange/spotMarket.json deleted file mode 100644 index 0c7fec11..00000000 --- a/source/json_tables/chain/exchange/spotMarket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - {"Parameter": "ticker", "Type": "String", "Description": "Name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset"}, - {"Parameter": "base_denom", "Type": "String", "Description": "Coin denom used for the base asset"}, - {"Parameter": "quote_denom", "Type": "String", "Description": "Coin denom used for the quote asset"}, - {"Parameter": "maker_fee_rate", "Type": "Decimal", "Description": "Fee percentage makers pay when trading"}, - {"Parameter": "taker_fee_rate", "Type": "Decimal", "Description": "Fee percentage takers pay when trading"}, - {"Parameter": "relayer_fee_share_rate", "Type": "Decimal", "Description": "Percentage of the transaction fee shared with the relayer in a derivative market"}, - {"Parameter": "market_id", "Type": "String", "Description": "The market ID"}, - {"Parameter": "status", "Type": "MarketStatus", "Description": "Status of the market"}, - {"Parameter": "min_price_tick_size", "Type": "Decimal", "Description": "Minimum tick size that the price required for orders in the market (in human redable format)"}, - {"Parameter": "min_quantity_tick_size", "Type": "Decimal", "Description": "Minimum tick size of the quantity required for orders in the market (in human redable format)"}, - {"Parameter": "min_notional", "Type": "Decimal", "Description": "Minimum notional (in quote asset) required for orders in the market (in human redable format)"}, - {"Parameter": "admin", "Type": "String", "Description": "Current market admin's address"}, - {"Parameter": "admin_permissions", "Type": "Integer", "Description": "Level of admin permissions (the permission number is a result of adding up all individual permissions numbers)"}, - {"Parameter": "base_decimals", "Type": "Integer", "Description": "Number of decimals used for the base token"}, - {"Parameter": "quote_decimals", "Type": "Integer", "Description": "Number of decimals used for the quote token"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/spotOrder.json b/source/json_tables/chain/exchange/spotOrder.json deleted file mode 100644 index b86968fe..00000000 --- a/source/json_tables/chain/exchange/spotOrder.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The unique ID of the market", "Required": "Yes"}, - {"Parameter": "order_info", "Type": "OrderInfo", "Description": "Order's information", "Required": "Yes"}, - {"Parameter": "order_type", "Type": "OrderType", "Description": "The order type", "Required": "Yes"}, - {"Parameter": "trigger_price", "Type": "Decimal", "Description": "The trigger price used by stop/take orders", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/subaccount.json b/source/json_tables/chain/exchange/subaccount.json deleted file mode 100644 index 903ca2b1..00000000 --- a/source/json_tables/chain/exchange/subaccount.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "trader", "Type": "String", "Description": "The subaccount trader address", "Required": "No"}, - {"Parameter": "subaccount_nonce", "Type": "Integer", "Description": "The subaccount nonce number", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/subaccountOrder.json b/source/json_tables/chain/exchange/subaccountOrder.json deleted file mode 100644 index 4b795a28..00000000 --- a/source/json_tables/chain/exchange/subaccountOrder.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "price", "Type": "Decimal", "Description": "Order price"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "The amount of the order quantity remaining fillable"}, - {"Parameter": "is_reduce_only", "Type": "Boolean", "Description": "True if the order is a reduce only order"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID provided by the creator"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/subaccountOrderData.json b/source/json_tables/chain/exchange/subaccountOrderData.json deleted file mode 100644 index f270fc9e..00000000 --- a/source/json_tables/chain/exchange/subaccountOrderData.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "order", "Type": "SubaccountOrder", "Description": "Order info"}, - {"Parameter": "order_hash", "Type": "Bytes", "Description": "Order hash"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/subaccountOrderbookMetadata.json b/source/json_tables/chain/exchange/subaccountOrderbookMetadata.json deleted file mode 100644 index e217cefe..00000000 --- a/source/json_tables/chain/exchange/subaccountOrderbookMetadata.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "vanilla_limit_order_count", "Type": "Integer", "Description": "Number of vanilla limit orders"}, - {"Parameter": "reduce_only_limit_order_count", "Type": "Integer", "Description": "Number of reduce only limit orders"}, - {"Parameter": "aggregate_reduce_only_quantity", "Type": "Decimal", "Description": "Aggregate fillable quantity of the subaccount's reduce-only limit orders in the given direction"}, - {"Parameter": "aggregate_vanilla_quantity", "Type": "Decimal", "Description": "Aggregate fillable quantity of the subaccount's vanilla limit orders in the given direction"}, - {"Parameter": "vanilla_conditional_order_count", "Type": "Integer", "Description": "Number of vanilla conditional orders"}, - {"Parameter": "reduce_only_conditional_order_count", "Type": "Integer", "Description": "Number of reduce only conditional orders"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/subaccountOrderbookMetadataWithMarket.json b/source/json_tables/chain/exchange/subaccountOrderbookMetadataWithMarket.json deleted file mode 100644 index 2bde0447..00000000 --- a/source/json_tables/chain/exchange/subaccountOrderbookMetadataWithMarket.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "metadata", "Type": "SubaccountOrderbookMetadata", "Description": "Orderbook metadata"}, - {"Parameter": "market_id", "Type": "String", "Description": "The orderbook's market ID"}, - {"Parameter": "is_buy", "Type": "Boolean", "Description": "True for buy. False for sell"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/tierStatistic.json b/source/json_tables/chain/exchange/tierStatistic.json deleted file mode 100644 index 8c6a4378..00000000 --- a/source/json_tables/chain/exchange/tierStatistic.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "tier", "Type": "Integer", "Description": "Tier number"}, - {"Parameter": "count", "Type": "Integer", "Description": "The tier count"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/tradeHistoryOptions.json b/source/json_tables/chain/exchange/tradeHistoryOptions.json deleted file mode 100644 index 3a6d5b75..00000000 --- a/source/json_tables/chain/exchange/tradeHistoryOptions.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "trade_grouping_sec", "Type": "Integer", "Description": "0 means use the chain's default grouping"}, - {"Parameter": "max_age", "Type": "Integer", "Description": "Restricts the trade records oldest age in seconds from the current block time to consider. A value of 0 means use all the records present on the chain"}, - {"Parameter": "include_raw_history", "Type": "Boolean", "Description": "If True, the raw underlying data used for the computation is included in the response"}, - {"Parameter": "include_metadata", "Type": "Boolean", "Description": "If True, metadata on the computation is included in the response"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/tradeRecord.json b/source/json_tables/chain/exchange/tradeRecord.json deleted file mode 100644 index 975b5b5a..00000000 --- a/source/json_tables/chain/exchange/tradeRecord.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "timestamp", "Type": "Integer", "Description": "Trade timestamp"}, - {"Parameter": "price", "Type": "Decimal", "Description": "Trade price"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "Trade quantity"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/tradeRecords.json b/source/json_tables/chain/exchange/tradeRecords.json deleted file mode 100644 index ca006752..00000000 --- a/source/json_tables/chain/exchange/tradeRecords.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "The market ID"}, - {"Parameter": "latest_trade_records", "Type": "TradeRecord Array", "Description": "List of trade records"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/tradingRewardCampaignBoostInfo.json b/source/json_tables/chain/exchange/tradingRewardCampaignBoostInfo.json deleted file mode 100644 index 28d117be..00000000 --- a/source/json_tables/chain/exchange/tradingRewardCampaignBoostInfo.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "boosted_spot_market_ids", "Type": "String Array", "Description": "List of spot market IDs"}, - {"Parameter": "spot_market_multipliers", "Type": "PointsMultiplier Array", "Description": "List of boost information for each spot market"}, - {"Parameter": "boosted_derivative_market_ids", "Type": "String Array", "Description": "List of derivative market IDs"}, - {"Parameter": "derivative_market_multipliers", "Type": "PointsMultiplier Array", "Description": "List of bood information for each derivative market"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/tradingRewardCampaignInfo.json b/source/json_tables/chain/exchange/tradingRewardCampaignInfo.json deleted file mode 100644 index 3c258503..00000000 --- a/source/json_tables/chain/exchange/tradingRewardCampaignInfo.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "campaign_duration_seconds", "Type": "Integer", "Description": "Campaign duration in seconds"}, - {"Parameter": "quote_denoms", "Type": "String Array", "Description": "The trading fee quote denoms which will be counted for the rewards"}, - {"Parameter": "trading_reward_boost_info", "Type": "TradingRewardCampaignBoostInfo", "Description": "Boost information"}, - {"Parameter": "disqualified_market_ids", "Type": "String Array", "Description": "List of disqualified marked IDs"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/trimmedDerivativeConditionalOrder.json b/source/json_tables/chain/exchange/trimmedDerivativeConditionalOrder.json deleted file mode 100644 index 13c9393f..00000000 --- a/source/json_tables/chain/exchange/trimmedDerivativeConditionalOrder.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - {"Parameter": "price", "Type": "Decimal", "Description": "The order price"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "The order quantity"}, - {"Parameter": "margin", "Type": "Decimal", "Description": "The order margin"}, - {"Parameter": "trigger_price", "Type": "OracleType", "Description": "Price to trigger the order"}, - {"Parameter": "is_buy", "Type": "Boolean", "Description": "True if the order is a buy order. False otherwise."}, - {"Parameter": "is_limit", "Type": "Boolean", "Description": "True if the order is a limit order. False otherwise."}, - {"Parameter": "order_hash", "Type": "String", "Description": "The order hash"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID provided by the creator"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/trimmedDerivativeLimitOrder.json b/source/json_tables/chain/exchange/trimmedDerivativeLimitOrder.json deleted file mode 100644 index 53e905c2..00000000 --- a/source/json_tables/chain/exchange/trimmedDerivativeLimitOrder.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - {"Parameter": "price", "Type": "Decimal", "Description": "Order price (in human redable format)"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "Order quantity (in human redable format)"}, - {"Parameter": "margin", "Type": "Decimal", "Description": "Order margin (in human redable format)"}, - {"Parameter": "fillable", "Type": "Decimal", "Description": "The remaining fillable amount of the order (in human redable format)"}, - {"Parameter": "is_buy", "Type": "Boolean", "Description": "True if the order is a buy order"}, - {"Parameter": "order_hash", "Type": "String", "Description": "The order hash"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID provided by the creator"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/trimmedLimitOrder.json b/source/json_tables/chain/exchange/trimmedLimitOrder.json deleted file mode 100644 index adb27c01..00000000 --- a/source/json_tables/chain/exchange/trimmedLimitOrder.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "price", "Type": "Decimal", "Description": "Order price (in human redable format)"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "Order quantity (in human redable format)"}, - {"Parameter": "order_hash", "Type": "String", "Description": "The order hash"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "Subaccount ID that created the order"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/trimmedSpotLimitOrder.json b/source/json_tables/chain/exchange/trimmedSpotLimitOrder.json deleted file mode 100644 index 14fc9e75..00000000 --- a/source/json_tables/chain/exchange/trimmedSpotLimitOrder.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "price", "Type": "Decimal", "Description": "Order price (in human redable format)"}, - {"Parameter": "quantity", "Type": "Decimal", "Description": "Order quantity (in human redable format)"}, - {"Parameter": "fillable", "Type": "Decimal", "Description": "The remaining fillable amount of the order (in human redable format)"}, - {"Parameter": "is_buy", "Type": "Boolean", "Description": "True if the order is a buy order"}, - {"Parameter": "order_hash", "Type": "String", "Description": "The order hash"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID provided by the creator"} -] \ No newline at end of file diff --git a/source/json_tables/chain/exchange/volumeRecord.json b/source/json_tables/chain/exchange/volumeRecord.json deleted file mode 100644 index 97b0a6a1..00000000 --- a/source/json_tables/chain/exchange/volumeRecord.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "maker_volume", "Type": "Decimal", "Description": "The maker volume (in human redable format)"}, - {"Parameter": "taker_volume", "Type": "Decimal", "Description": "The taker volume (in human redable format)"} -] \ No newline at end of file diff --git a/source/json_tables/chain/fee.json b/source/json_tables/chain/fee.json deleted file mode 100644 index a6001f89..00000000 --- a/source/json_tables/chain/fee.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "amount", "Type": "Coin Array", "Description": "Amount of coins to be paid as a fee"}, - {"Parameter": "gas_limit", "Type": "Integer", "Description": "Maximum gas that can be used in transaction processing before an out of gas error occurs"}, - {"Parameter": "payer", "Type": "String", "Description": "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"}, - {"Parameter": "granter", "Type": "String", "Description": "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"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/channel.json b/source/json_tables/chain/ibc/core/channel/channel.json deleted file mode 100644 index 3302a2c8..00000000 --- a/source/json_tables/chain/ibc/core/channel/channel.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "state", "Type": "State", "Description": "Current state of the channel end"}, - {"Parameter": "ordering", "Type": "Order", "Description": "Whether the channel is ordered or unordered"}, - {"Parameter": "counterparty", "Type": "Counterparty", "Description": "Counterparty channel end"}, - {"Parameter": "connection_hops", "Type": "String Array", "Description": "List of connection identifiers, in order, along which packets sent on this channel will travel"}, - {"Parameter": "version", "Type": "String", "Description": "Opaque channel version, which is agreed upon during the handshake"}, - {"Parameter": "upgrade_sequence", "Type": "Integer", "Description": "Indicates the latest upgrade attempt performed by this channel. The value of 0 indicates the channel has never been upgraded"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/counterparty.json b/source/json_tables/chain/ibc/core/channel/counterparty.json deleted file mode 100644 index 4228bff5..00000000 --- a/source/json_tables/chain/ibc/core/channel/counterparty.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port on the counterparty chain which owns the other end of the channel"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel end on the counterparty chain"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/identifiedChannel.json b/source/json_tables/chain/ibc/core/channel/identifiedChannel.json deleted file mode 100644 index 07830c14..00000000 --- a/source/json_tables/chain/ibc/core/channel/identifiedChannel.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - {"Parameter": "state", "Type": "State", "Description": "Current state of the channel end"}, - {"Parameter": "ordering", "Type": "Order", "Description": "Whether the channel is ordered or unordered"}, - {"Parameter": "counterparty", "Type": "Counterparty", "Description": "Counterparty channel end"}, - {"Parameter": "connection_hops", "Type": "String Array", "Description": "List of connection identifiers, in order, along which packets sent on this channel will travel"}, - {"Parameter": "version", "Type": "String", "Description": "Opaque channel version, which is agreed upon during the handshake"}, - {"Parameter": "port_id", "Type": "String", "Description": "Port identifier"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel identifier"}, - {"Parameter": "upgrade_sequence", "Type": "Integer", "Description": "Indicates the latest upgrade attempt performed by this channel. The value of 0 indicates the channel has never been upgraded"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/order.json b/source/json_tables/chain/ibc/core/channel/order.json deleted file mode 100644 index a1c3d3ea..00000000 --- a/source/json_tables/chain/ibc/core/channel/order.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Code": "0", "Name": "ORDER_NONE_UNSPECIFIED"}, - {"Code": "1", "Name": "ORDER_UNORDERED"}, - {"Code": "2", "Name": "ORDER_ORDERED"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/packetState.json b/source/json_tables/chain/ibc/core/channel/packetState.json deleted file mode 100644 index 76cec0ee..00000000 --- a/source/json_tables/chain/ibc/core/channel/packetState.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port identifier"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel identifier"}, - {"Parameter": "sequence", "Type": "Integer", "Description": "Packet sequence"}, - {"Parameter": "data", "Type": "Byte Array", "Description": "Embedded data that represents packet state"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryChannelClientStateRequest.json b/source/json_tables/chain/ibc/core/channel/queryChannelClientStateRequest.json deleted file mode 100644 index 2a57e58d..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryChannelClientStateRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryChannelClientStateResponse.json b/source/json_tables/chain/ibc/core/channel/queryChannelClientStateResponse.json deleted file mode 100644 index 4b74ab4f..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryChannelClientStateResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "identified_client_state", "Type": "IdentifiedChannel", "Description": "Client state associated with the channel"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryChannelConsensusStateRequest.json b/source/json_tables/chain/ibc/core/channel/queryChannelConsensusStateRequest.json deleted file mode 100644 index a289ff2e..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryChannelConsensusStateRequest.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"}, - {"Parameter": "revision_number", "Type": "Integer", "Description": "Revision number of the consensus state", "Required": "Yes"}, - {"Parameter": "revision_height", "Type": "Integer", "Description": "Revision height of the consensus state", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryChannelConsensusStateResponse.json b/source/json_tables/chain/ibc/core/channel/queryChannelConsensusStateResponse.json deleted file mode 100644 index a0106ae2..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryChannelConsensusStateResponse.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "consensus_state", "Type": "Any", "Description": "Consensus state associated with the channel"}, - {"Parameter": "client_id", "Type": "String", "Description": "Client ID associated with the consensus state"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryChannelRequest.json b/source/json_tables/chain/ibc/core/channel/queryChannelRequest.json deleted file mode 100644 index 2a57e58d..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryChannelRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryChannelResponse.json b/source/json_tables/chain/ibc/core/channel/queryChannelResponse.json deleted file mode 100644 index 915d7e0c..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryChannelResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "channel", "Type": "Channel", "Description": "Channel details"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryChannelsRequest.json b/source/json_tables/chain/ibc/core/channel/queryChannelsRequest.json deleted file mode 100644 index 9da294d1..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryChannelsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryChannelsResponse.json b/source/json_tables/chain/ibc/core/channel/queryChannelsResponse.json deleted file mode 100644 index d518ebf5..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryChannelsResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "channels", "Type": "IdentifiedChannel Array", "Description": "List of channels"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"}, - {"Parameter": "height", "Type": "Height", "Description": "Query block height"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryConnectionChannelsRequest.json b/source/json_tables/chain/ibc/core/channel/queryConnectionChannelsRequest.json deleted file mode 100644 index c14b0a65..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryConnectionChannelsRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "connection", "Type": "String", "Description": "Connection unique identifier", "Required": "Yes"}, - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryConnectionChannelsResponse.json b/source/json_tables/chain/ibc/core/channel/queryConnectionChannelsResponse.json deleted file mode 100644 index d518ebf5..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryConnectionChannelsResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "channels", "Type": "IdentifiedChannel Array", "Description": "List of channels"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"}, - {"Parameter": "height", "Type": "Height", "Description": "Query block height"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryNextSequenceReceiveRequest.json b/source/json_tables/chain/ibc/core/channel/queryNextSequenceReceiveRequest.json deleted file mode 100644 index 2a57e58d..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryNextSequenceReceiveRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryNextSequenceReceiveResponse.json b/source/json_tables/chain/ibc/core/channel/queryNextSequenceReceiveResponse.json deleted file mode 100644 index 7298d44c..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryNextSequenceReceiveResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "next_sequence_receive", "Type": "Integer", "Description": "Next sequence receive number"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementRequest.json b/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementRequest.json deleted file mode 100644 index 0cf6b279..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"}, - {"Parameter": "sequence", "Type": "Integer", "Description": "Packet sequence", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementResponse.json b/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementResponse.json deleted file mode 100644 index af953b0b..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "acknowledgement", "Type": "Byte Array", "Description": "Success flag to mark if the receipt exists"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementsRequest.json b/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementsRequest.json deleted file mode 100644 index e3186a0e..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementsRequest.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"}, - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"}, - {"Parameter": "packet_commitment_sequences", "Type": "Integer Array", "Description": "List of packet sequences", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementsResponse.json b/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementsResponse.json deleted file mode 100644 index e4254ce5..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketAcknowledgementsResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "acknowledgements", "Type": "PacketState Array", "Description": "Acknowledgements details"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"}, - {"Parameter": "height", "Type": "Height", "Description": "Query block height"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentRequest.json b/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentRequest.json deleted file mode 100644 index 0cf6b279..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"}, - {"Parameter": "sequence", "Type": "Integer", "Description": "Packet sequence", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentResponse.json b/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentResponse.json deleted file mode 100644 index b9b2ab40..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "commitment", "Type": "Byte Array", "Description": "Packet associated with the request fields"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentsRequest.json b/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentsRequest.json deleted file mode 100644 index d47dfe9e..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentsRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"}, - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentsResponse.json b/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentsResponse.json deleted file mode 100644 index d373c70b..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketCommitmentsResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "commitments", "Type": "PacketState Array", "Description": "Commitments information"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"}, - {"Parameter": "height", "Type": "Height", "Description": "Query block height"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketReceiptRequest.json b/source/json_tables/chain/ibc/core/channel/queryPacketReceiptRequest.json deleted file mode 100644 index 0cf6b279..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketReceiptRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"}, - {"Parameter": "sequence", "Type": "Integer", "Description": "Packet sequence", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryPacketReceiptResponse.json b/source/json_tables/chain/ibc/core/channel/queryPacketReceiptResponse.json deleted file mode 100644 index f27c918f..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryPacketReceiptResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "received", "Type": "Boolean", "Description": "Success flag to mark if the receipt exists"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryUnreceivedAcksRequest.json b/source/json_tables/chain/ibc/core/channel/queryUnreceivedAcksRequest.json deleted file mode 100644 index 9cd86f55..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryUnreceivedAcksRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"}, - {"Parameter": "packet_ack_sequences", "Type": "Integer Array", "Description": "List of acknowledgement sequences", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryUnreceivedAcksResponse.json b/source/json_tables/chain/ibc/core/channel/queryUnreceivedAcksResponse.json deleted file mode 100644 index 53e3d720..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryUnreceivedAcksResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sequences", "Type": "Integer Array", "Description": "List of unreceived packet sequences"}, - {"Parameter": "height", "Type": "Height", "Description": "Query block height"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryUnreceivedPacketsRequest.json b/source/json_tables/chain/ibc/core/channel/queryUnreceivedPacketsRequest.json deleted file mode 100644 index a4a275f6..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryUnreceivedPacketsRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "Port unique identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "Channel unique identifier", "Required": "Yes"}, - {"Parameter": "packet_commitment_sequences", "Type": "Integer Array", "Description": "List of packet sequences", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/queryUnreceivedPacketsResponse.json b/source/json_tables/chain/ibc/core/channel/queryUnreceivedPacketsResponse.json deleted file mode 100644 index 53e3d720..00000000 --- a/source/json_tables/chain/ibc/core/channel/queryUnreceivedPacketsResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sequences", "Type": "Integer Array", "Description": "List of unreceived packet sequences"}, - {"Parameter": "height", "Type": "Height", "Description": "Query block height"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/channel/state.json b/source/json_tables/chain/ibc/core/channel/state.json deleted file mode 100644 index 8896ee70..00000000 --- a/source/json_tables/chain/ibc/core/channel/state.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Code": "0", "Name": "STATE_UNINITIALIZED_UNSPECIFIED"}, - {"Code": "1", "Name": "STATE_INIT"}, - {"Code": "2", "Name": "STATE_TRYOPEN"}, - {"Code": "3", "Name": "STATE_OPEN"}, - {"Code": "4", "Name": "STATE_CLOSED"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/consensusStateWithHeight.json b/source/json_tables/chain/ibc/core/client/consensusStateWithHeight.json deleted file mode 100644 index 6931aff1..00000000 --- a/source/json_tables/chain/ibc/core/client/consensusStateWithHeight.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "height", "Type": "Height", "Description": "Consensus state height"}, - {"Parameter": "consensus_state", "Type": "Any", "Description": "Consensus state"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/identifiedClientState.json b/source/json_tables/chain/ibc/core/client/identifiedClientState.json deleted file mode 100644 index 6b6e737f..00000000 --- a/source/json_tables/chain/ibc/core/client/identifiedClientState.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Client identifier"}, - {"Parameter": "client_state", "Type": "Any", "Description": "Client state"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/params.json b/source/json_tables/chain/ibc/core/client/params.json deleted file mode 100644 index 31c14807..00000000 --- a/source/json_tables/chain/ibc/core/client/params.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "allowed_clients", "Type": "String Array", "Description": "Allowed_clients defines the list of allowed client state types which can be created and interacted with. If a client type is removed from the allowed clients list, usage of this client will be disabled until it is added again to the list"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryClientParamsResponse.json b/source/json_tables/chain/ibc/core/client/queryClientParamsResponse.json deleted file mode 100644 index 973f011e..00000000 --- a/source/json_tables/chain/ibc/core/client/queryClientParamsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "params", "Type": "params", "Description": "Module's parameters"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryClientStateRequest.json b/source/json_tables/chain/ibc/core/client/queryClientStateRequest.json deleted file mode 100644 index 486be60e..00000000 --- a/source/json_tables/chain/ibc/core/client/queryClientStateRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Client state unique identifier", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryClientStateResponse.json b/source/json_tables/chain/ibc/core/client/queryClientStateResponse.json deleted file mode 100644 index 9ef3661e..00000000 --- a/source/json_tables/chain/ibc/core/client/queryClientStateResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "client_state", "Type": "Any", "Description": "Client state associated with the request identifier"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryClientStatesRequest.json b/source/json_tables/chain/ibc/core/client/queryClientStatesRequest.json deleted file mode 100644 index 9da294d1..00000000 --- a/source/json_tables/chain/ibc/core/client/queryClientStatesRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryClientStatesResponse.json b/source/json_tables/chain/ibc/core/client/queryClientStatesResponse.json deleted file mode 100644 index 7d0d42d8..00000000 --- a/source/json_tables/chain/ibc/core/client/queryClientStatesResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "client_states", "Type": "IdentifiedClientState Array", "Description": "Client state associated with the request identifier"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryClientStatusRequest.json b/source/json_tables/chain/ibc/core/client/queryClientStatusRequest.json deleted file mode 100644 index 77a27792..00000000 --- a/source/json_tables/chain/ibc/core/client/queryClientStatusRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Client unique identifier", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryClientStatusResponse.json b/source/json_tables/chain/ibc/core/client/queryClientStatusResponse.json deleted file mode 100644 index 51ea3f45..00000000 --- a/source/json_tables/chain/ibc/core/client/queryClientStatusResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "status", "Type": "String", "Description": "Client status"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryConsensusStateHeightsRequest.json b/source/json_tables/chain/ibc/core/client/queryConsensusStateHeightsRequest.json deleted file mode 100644 index 99fe4f32..00000000 --- a/source/json_tables/chain/ibc/core/client/queryConsensusStateHeightsRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Client identifier", "Required": "Yes"}, - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryConsensusStateHeightsResponse.json b/source/json_tables/chain/ibc/core/client/queryConsensusStateHeightsResponse.json deleted file mode 100644 index 25cb1581..00000000 --- a/source/json_tables/chain/ibc/core/client/queryConsensusStateHeightsResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "consensus_state_heights", "Type": "Height Array", "Description": "Consensus state heights"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryConsensusStateRequest.json b/source/json_tables/chain/ibc/core/client/queryConsensusStateRequest.json deleted file mode 100644 index ca0076b7..00000000 --- a/source/json_tables/chain/ibc/core/client/queryConsensusStateRequest.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Client identifier", "Required": "Yes"}, - {"Parameter": "revision_number", "Type": "Integer", "Description": "Consensus state revision number", "Required": "Yes"}, - {"Parameter": "client_id", "Type": "Integer", "Description": "Consensus state revision height", "Required": "Yes"}, - {"Parameter": "latest_height", "Type": "Boolean", "Description": "Overrrides the height field and queries the latest stored ConsensusState", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryConsensusStateResponse.json b/source/json_tables/chain/ibc/core/client/queryConsensusStateResponse.json deleted file mode 100644 index f4b7bdf0..00000000 --- a/source/json_tables/chain/ibc/core/client/queryConsensusStateResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "consensus_state", "Type": "Any", "Description": "Client state associated with the request identifier"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryConsensusStatesRequest.json b/source/json_tables/chain/ibc/core/client/queryConsensusStatesRequest.json deleted file mode 100644 index 99fe4f32..00000000 --- a/source/json_tables/chain/ibc/core/client/queryConsensusStatesRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Client identifier", "Required": "Yes"}, - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryConsensusStatesResponse.json b/source/json_tables/chain/ibc/core/client/queryConsensusStatesResponse.json deleted file mode 100644 index 639cef2e..00000000 --- a/source/json_tables/chain/ibc/core/client/queryConsensusStatesResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "consensus_states", "Type": "ConsensusStateWithHeight Array", "Description": "Consensus states associated with the identifier"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryUpgradedClientStateResponse.json b/source/json_tables/chain/ibc/core/client/queryUpgradedClientStateResponse.json deleted file mode 100644 index 99567127..00000000 --- a/source/json_tables/chain/ibc/core/client/queryUpgradedClientStateResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "upgraded_client_state", "Type": "Any", "Description": "Client state associated with the request identifier"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/client/queryUpgradedConsensusStateResponse.json b/source/json_tables/chain/ibc/core/client/queryUpgradedConsensusStateResponse.json deleted file mode 100644 index 948ae7ab..00000000 --- a/source/json_tables/chain/ibc/core/client/queryUpgradedConsensusStateResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "upgraded_consensus_state", "Type": "Any", "Description": "Consensus state associated with the request identifier"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/connectionEnd.json b/source/json_tables/chain/ibc/core/connection/connectionEnd.json deleted file mode 100644 index 5bc39a50..00000000 --- a/source/json_tables/chain/ibc/core/connection/connectionEnd.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Client associated with this connection"}, - {"Parameter": "versions", "Type": "Version String", "Description": "Channel identifier"}, - {"Parameter": "state", "Type": "State", "Description": "Current state of the connection end"}, - {"Parameter": "counterparty", "Type": "Counterparty", "Description": "Counterparty chain associated with this connection"}, - {"Parameter": "delay_period", "Type": "Integer", "Description": "Delay period that must pass before a consensus state can be used for packet-verification NOTE: delay period logic is only implemented by some clients"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/counterparty.json b/source/json_tables/chain/ibc/core/connection/counterparty.json deleted file mode 100644 index 9d723d69..00000000 --- a/source/json_tables/chain/ibc/core/connection/counterparty.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Identifies the client on the counterparty chain associated with a given connection"}, - {"Parameter": "connection_id", "Type": "String", "Description": "Identifies the connection end on the counterparty chain associated with a given connection"}, - {"Parameter": "prefix", "Type": "MarketPrefix", "Description": "Commitment merkle prefix of the counterparty chain"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/identifiedConnection.json b/source/json_tables/chain/ibc/core/connection/identifiedConnection.json deleted file mode 100644 index d78ec642..00000000 --- a/source/json_tables/chain/ibc/core/connection/identifiedConnection.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "id", "Type": "String", "Description": "Connection identifier"}, - {"Parameter": "client_id", "Type": "String", "Description": "Client associated with this connection"}, - {"Parameter": "versions", "Type": "Version String", "Description": "IBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection"}, - {"Parameter": "state", "Type": "State", "Description": "Current state of the connection end"}, - {"Parameter": "counterparty", "Type": "Counterparty", "Description": "Counterparty chain associated with this connection"}, - {"Parameter": "delay_period", "Type": "Integer", "Description": "Delay period associated with this connection"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/params.json b/source/json_tables/chain/ibc/core/connection/params.json deleted file mode 100644 index 1f4f0a82..00000000 --- a/source/json_tables/chain/ibc/core/connection/params.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "max_expected_time_per_block", "Type": "Integer", "Description": "Maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the largest amount of time that the chain might reasonably take to produce the next block under normal operating conditions. A safe choice is 3-5x the expected time per block"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryClientConnectionsRequest.json b/source/json_tables/chain/ibc/core/connection/queryClientConnectionsRequest.json deleted file mode 100644 index a57b0d25..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryClientConnectionsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "client_id", "Type": "String", "Description": "Client identifier associated with a connection", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryClientConnectionsResponse.json b/source/json_tables/chain/ibc/core/connection/queryClientConnectionsResponse.json deleted file mode 100644 index 3706bffb..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryClientConnectionsResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "connection_paths", "Type": "String Array", "Description": "All the connection paths associated with a client"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionClientStateRequest.json b/source/json_tables/chain/ibc/core/connection/queryConnectionClientStateRequest.json deleted file mode 100644 index 607bb7a4..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionClientStateRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "connection_id", "Type": "String", "Description": "Connection identifier", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionClientStateResponse.json b/source/json_tables/chain/ibc/core/connection/queryConnectionClientStateResponse.json deleted file mode 100644 index 84cfd56f..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionClientStateResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "identified_client_state", "Type": "IdentifiedClientState", "Description": "Client state associated with the channel"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionConsensusStateRequest.json b/source/json_tables/chain/ibc/core/connection/queryConnectionConsensusStateRequest.json deleted file mode 100644 index dae3ecd6..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionConsensusStateRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "connection_id", "Type": "String", "Description": "Connection identifier", "Required": "Yes"}, - {"Parameter": "revision_number", "Type": "Integer", "Description": "Revision number of the consensus state", "Required": "Yes"}, - {"Parameter": "revision_height", "Type": "Integer", "Description": "Revision height of the consensus state", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionConsensusStateResponse.json b/source/json_tables/chain/ibc/core/connection/queryConnectionConsensusStateResponse.json deleted file mode 100644 index 906bb992..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionConsensusStateResponse.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "consensus_state", "Type": "Any", "Description": "Consensus state associated with the channel"}, - {"Parameter": "client_id", "Type": "String", "Description": "Client identifier associated with the consensus state"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionParamsResponse.json b/source/json_tables/chain/ibc/core/connection/queryConnectionParamsResponse.json deleted file mode 100644 index 2271813c..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionParamsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "params", "Type": "Params", "Description": "Module's parameters"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionRequest.json b/source/json_tables/chain/ibc/core/connection/queryConnectionRequest.json deleted file mode 100644 index 7955649f..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "connection_id", "Type": "String", "Description": "Connection unique identifier", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionResponse.json b/source/json_tables/chain/ibc/core/connection/queryConnectionResponse.json deleted file mode 100644 index ca2ed149..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "connection", "Type": "ConnectionEnd", "Description": "Connection associated with the request identifier"}, - {"Parameter": "proof", "Type": "Byte Array", "Description": "Merkle proof of existence"}, - {"Parameter": "proof_height", "Type": "Height", "Description": "Height at which the proof was retrieved"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionsRequest.json b/source/json_tables/chain/ibc/core/connection/queryConnectionsRequest.json deleted file mode 100644 index 9da294d1..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionsRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/queryConnectionsResponse.json b/source/json_tables/chain/ibc/core/connection/queryConnectionsResponse.json deleted file mode 100644 index c0ddbb07..00000000 --- a/source/json_tables/chain/ibc/core/connection/queryConnectionsResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "connections", "Type": "IdentifiedConnection Array", "Description": "Connection associated with the request identifier"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"}, - {"Parameter": "height", "Type": "Height", "Description": "Query block height"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/state.json b/source/json_tables/chain/ibc/core/connection/state.json deleted file mode 100644 index e9130dde..00000000 --- a/source/json_tables/chain/ibc/core/connection/state.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Code": "0", "Name": "STATE_UNINITIALIZED_UNSPECIFIED"}, - {"Code": "1", "Name": "STATE_INIT"}, - {"Code": "2", "Name": "STATE_TRYOPEN"}, - {"Code": "3", "Name": "STATE_OPEN"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/connection/version.json b/source/json_tables/chain/ibc/core/connection/version.json deleted file mode 100644 index e0564e4d..00000000 --- a/source/json_tables/chain/ibc/core/connection/version.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "identifier", "Type": "String", "Description": "Unique version identifier"}, - {"Parameter": "features", "Type": "String Array", "Description": "List of features compatible with the specified identifier"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/height.json b/source/json_tables/chain/ibc/core/height.json deleted file mode 100644 index 452877d6..00000000 --- a/source/json_tables/chain/ibc/core/height.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "revision_number", "Type": "Integer", "Description": "The revision that the client is currently on"}, - {"Parameter": "revision_height", "Type": "Integer", "Description": "The height within the given revision"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/core/merklePrefix.json b/source/json_tables/chain/ibc/core/merklePrefix.json deleted file mode 100644 index 04744293..00000000 --- a/source/json_tables/chain/ibc/core/merklePrefix.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "key_prefix", "Type": "Byte Array", "Description": "Merkle path prefixed to the key"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/denomTrace.json b/source/json_tables/chain/ibc/transfer/denomTrace.json deleted file mode 100644 index c78692d1..00000000 --- a/source/json_tables/chain/ibc/transfer/denomTrace.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "path", "Type": "String", "Description": "Path is the port and channel"}, - {"Parameter": "base_denom", "Type": "String", "Description": "The token denom"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/msgTransfer.json b/source/json_tables/chain/ibc/transfer/msgTransfer.json deleted file mode 100644 index 2480e848..00000000 --- a/source/json_tables/chain/ibc/transfer/msgTransfer.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - {"Parameter": "source_port", "Type": "String", "Description": "The port on which the packet will be sent"}, - {"Parameter": "source_channel", "Type": "String", "Description": "The channel by which the packet will be sent"}, - {"Parameter": "token", "Type": "Coin", "Description": "The tokens to be transferred"}, - {"Parameter": "sender", "Type": "String", "Description": "The sender address"}, - {"Parameter": "receiver", "Type": "String", "Description": "The recipient address on the destination chain"}, - {"Parameter": "timeout_height", "Type": "Height", "Description": "Timeout height relative to the current block height. The timeout is disabled when set to 0"}, - {"Parameter": "timeout_timestamp", "Type": "Integer", "Description": "Timeout timestamp in absolute nanoseconds since unix epoch. The timeout is disabled when set to 0"}, - {"Parameter": "memo", "Type": "String", "Description": "Optional memo"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryDenomHashRequest.json b/source/json_tables/chain/ibc/transfer/queryDenomHashRequest.json deleted file mode 100644 index ce0e4376..00000000 --- a/source/json_tables/chain/ibc/transfer/queryDenomHashRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "trace", "Type": "String", "Description": "The denomination trace ([port_id]/[channel_id])+/[denom]", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryDenomHashResponse.json b/source/json_tables/chain/ibc/transfer/queryDenomHashResponse.json deleted file mode 100644 index 78b747d3..00000000 --- a/source/json_tables/chain/ibc/transfer/queryDenomHashResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "hash", "Type": "String", "Description": "Hash (in hex format) of the denomination trace information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryDenomTraceRequest.json b/source/json_tables/chain/ibc/transfer/queryDenomTraceRequest.json deleted file mode 100644 index bbaede68..00000000 --- a/source/json_tables/chain/ibc/transfer/queryDenomTraceRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "hash", "Type": "String", "Description": "The denom trace hash", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryDenomTraceResponse.json b/source/json_tables/chain/ibc/transfer/queryDenomTraceResponse.json deleted file mode 100644 index dab3d692..00000000 --- a/source/json_tables/chain/ibc/transfer/queryDenomTraceResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom_trace", "Type": "DenomTrace", "Description": "Denom trace information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryDenomTracesRequest.json b/source/json_tables/chain/ibc/transfer/queryDenomTracesRequest.json deleted file mode 100644 index 9da294d1..00000000 --- a/source/json_tables/chain/ibc/transfer/queryDenomTracesRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryDenomTracesResponse.json b/source/json_tables/chain/ibc/transfer/queryDenomTracesResponse.json deleted file mode 100644 index 031cdcda..00000000 --- a/source/json_tables/chain/ibc/transfer/queryDenomTracesResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom_traces", "Type": "DenomTrace Array", "Description": "Denom traces information"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryEscrowAddressRequest.json b/source/json_tables/chain/ibc/transfer/queryEscrowAddressRequest.json deleted file mode 100644 index 929fc40c..00000000 --- a/source/json_tables/chain/ibc/transfer/queryEscrowAddressRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "port_id", "Type": "String", "Description": "The unique port identifier", "Required": "Yes"}, - {"Parameter": "channel_id", "Type": "String", "Description": "The unique channel identifier", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryEscrowAddressResponse.json b/source/json_tables/chain/ibc/transfer/queryEscrowAddressResponse.json deleted file mode 100644 index ebab83a1..00000000 --- a/source/json_tables/chain/ibc/transfer/queryEscrowAddressResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "escrow_address", "Type": "String", "Description": "The escrow account address"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryTotalEscrowForDenomRequest.json b/source/json_tables/chain/ibc/transfer/queryTotalEscrowForDenomRequest.json deleted file mode 100644 index deec1dcc..00000000 --- a/source/json_tables/chain/ibc/transfer/queryTotalEscrowForDenomRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Token denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/ibc/transfer/queryTotalEscrowForDenomResponse.json b/source/json_tables/chain/ibc/transfer/queryTotalEscrowForDenomResponse.json deleted file mode 100644 index e293f519..00000000 --- a/source/json_tables/chain/ibc/transfer/queryTotalEscrowForDenomResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "amount", "Type": "Coin", "Description": "Amount of token in the escrow"} -] \ No newline at end of file diff --git a/source/json_tables/chain/modeInfo.json b/source/json_tables/chain/modeInfo.json deleted file mode 100644 index 72784fe7..00000000 --- a/source/json_tables/chain/modeInfo.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "sum", "Type": "Signing mode", "Description": "Types that are valid to be assigned to Sum: *ModeInfo_Single_, *ModeInfo_Multi_"} -] \ No newline at end of file diff --git a/source/json_tables/chain/oracle/metadataStatistics.json b/source/json_tables/chain/oracle/metadataStatistics.json deleted file mode 100644 index ddfb70a5..00000000 --- a/source/json_tables/chain/oracle/metadataStatistics.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - {"Parameter": "group_count", "Type": "Integer", "Description": "Refers to the number of groups used. Equals records_sample_size if no grouping is used"}, - {"Parameter": "records_sample_size", "Type": "Integer", "Description": "Refers to the total number of records used"}, - {"Parameter": "mean", "Type": "Decimal", "Description": "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": "Decimal", "Description": "Refers to the time-weighted average price which equals ∑ (price_i * ∆t_i) / ∑ ∆t_i where ∆t_i = t_i - t_{i-1}"}, - {"Parameter": "first_timestamp", "Type": "Integer", "Description": "The timestamp of the oldest record considered"}, - {"Parameter": "last_timestamp", "Type": "Integer", "Description": "The timestamp of the youngest record considered"}, - {"Parameter": "min_price", "Type": "Decimal", "Description": "Refers to the smallest individual raw price considered"}, - {"Parameter": "max_price", "Type": "Decimal", "Description": "Refers to the largest individual raw price considered"}, - {"Parameter": "median_price", "Type": "Decimal", "Description": "Refers to the median individual raw price considered"} -] \ No newline at end of file diff --git a/source/json_tables/chain/oracle/oracleType.json b/source/json_tables/chain/oracle/oracleType.json deleted file mode 100644 index 642ebdb8..00000000 --- a/source/json_tables/chain/oracle/oracleType.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - {"Code": "0", "Name": "Unspecified"}, - {"Code": "1", "Name": "Band"}, - {"Code": "2", "Name": "PriceFeed"}, - {"Code": "3", "Name": "Coinbase"}, - {"Code": "4", "Name": "Chainlink"}, - {"Code": "5", "Name": "Razor"}, - {"Code": "6", "Name": "Dia"}, - {"Code": "7", "Name": "API3"}, - {"Code": "8", "Name": "Uma"}, - {"Code": "9", "Name": "Pyth"}, - {"Code": "10", "Name": "BandIBC"}, - {"Code": "11", "Name": "Provider"} -] \ No newline at end of file diff --git a/source/json_tables/chain/pageRequest.json b/source/json_tables/chain/pageRequest.json deleted file mode 100644 index ae86443d..00000000 --- a/source/json_tables/chain/pageRequest.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "key", "Type": "Byte Array", "Description": "Key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set", "Required": "No"}, - {"Parameter": "offset", "Type": "Integer", "Description": "Numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set", "Required": "No"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Total number of results to be returned in the result page", "Required": "No"}, - {"Parameter": "count_total", "Type": "Boolean", "Description": "Set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. It is only respected when offset is used. It is ignored when key is set", "Required": "No"}, - {"Parameter": "reverse", "Type": "Boolean", "Description": "Reverse is set to true if results are to be returned in the descending order", "Required": "No"} -] diff --git a/source/json_tables/chain/pageResponse.json b/source/json_tables/chain/pageResponse.json deleted file mode 100644 index 17ecaf98..00000000 --- a/source/json_tables/chain/pageResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "next_key", "Type": "Byte Array", "Description": "The key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results."}, - {"Parameter": "total", "Type": "Integer", "Description": "Total number of results available if PageRequest.count_total was set, its value is undefined otherwise"} -] \ No newline at end of file diff --git a/source/json_tables/chain/peggy/msgSendToEth.json b/source/json_tables/chain/peggy/msgSendToEth.json deleted file mode 100644 index a6c70fe1..00000000 --- a/source/json_tables/chain/peggy/msgSendToEth.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's address", "Required": "Yes"}, - {"Parameter": "eth_dest", "Type": "String", "Description": "Destination Ethereum address", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Coin", "Description": "The coin to send across the bridge (note the restriction that this is a single coin, not a set of coins)", "Required": "Yes"}, - {"Parameter": "bridge_fee", "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"} -] \ No newline at end of file diff --git a/source/json_tables/chain/peggy/sendToInjective.json b/source/json_tables/chain/peggy/sendToInjective.json index 755c88ea..ff89bb03 100644 --- a/source/json_tables/chain/peggy/sendToInjective.json +++ b/source/json_tables/chain/peggy/sendToInjective.json @@ -6,7 +6,7 @@ {"Parameter": "amount", "Type": "Float", "Description": "The amount to transfer", "Required": "Yes"}, {"Parameter": "maxFeePerGas", "Type": "Integer", "Description": "The maxFeePerGas in Gwei", "Required": "Yes"}, {"Parameter": "maxPriorityFeePerGas", "Type": "Integer", "Description": "The maxPriorityFeePerGas in Gwei", "Required": "Yes"}, - {"Parameter": "peggo_abi", "Type": "String", "Description": "Peggo contract ABI|", "Required": "Yes"}, + {"Parameter": "peggo_abi", "Type": "String", "Description": "Peggo contract ABI", "Required": "Yes"}, {"Parameter": "data", "Type": "String", "Description": "The body of the message to send to Injective chain to do the deposit", "Required": "Yes"}, {"Parameter": "decimals", "Type": "Integer", "Description": "Number of decimals in Injective chain of the token being transferred (default: 18)", "Required": "No"} ] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/actions.json b/source/json_tables/chain/permissions/actions.json deleted file mode 100644 index f653b889..00000000 --- a/source/json_tables/chain/permissions/actions.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - {"Code": "0", "Name": "ACTION_UNSPECIFIED"}, - {"Code": "1", "Name": "MINT"}, - {"Code": "2", "Name": "RECEIVE"}, - {"Code": "4", "Name": "BURN"}, - {"Code": "8", "Name": "SEND"}, - {"Code": "16", "Name": "SUPER_BURN"}, - {"Code": "134217728", "Name": "MODIFY_POLICY_MANAGERS"}, - {"Code": "268435456", "Name": "MODIFY_CONTRACT_HOOK"}, - {"Code": "536870912", "Name": "MODIFY_ROLE_PERMISSIONS"}, - {"Code": "1073741824", "Name": "MODIFY_ROLE_MANAGERS"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/actorRoles.json b/source/json_tables/chain/permissions/actorRoles.json deleted file mode 100644 index cbd50f4e..00000000 --- a/source/json_tables/chain/permissions/actorRoles.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "actor", "Type": "String", "Description": "Actor name"}, - {"Parameter": "roles", "Type": "String Array", "Description": "List of roles"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/addressVoucher.json b/source/json_tables/chain/permissions/addressVoucher.json deleted file mode 100644 index c291f30c..00000000 --- a/source/json_tables/chain/permissions/addressVoucher.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "address", "Type": "String", "Description": "Injective address the voucher is associated to"}, - {"Parameter": "voucher", "Type": "Coin", "Description": "The token amount"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/genesisState.json b/source/json_tables/chain/permissions/genesisState.json deleted file mode 100644 index 103c6d1d..00000000 --- a/source/json_tables/chain/permissions/genesisState.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "params", "Type": "Params", "Description": "Module's parameters"}, - {"Parameter": "namespaces", "Type": "Namespace Array", "Description": "List of namespaces"}, - {"Parameter": "vouchers", "Type": "AddressVoucher Array", "Description": "List of vouchers"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/msgClaimVoucher.json b/source/json_tables/chain/permissions/msgClaimVoucher.json deleted file mode 100644 index edf844a9..00000000 --- a/source/json_tables/chain/permissions/msgClaimVoucher.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"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"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/msgCreateNamespace.json b/source/json_tables/chain/permissions/msgCreateNamespace.json deleted file mode 100644 index 9950b070..00000000 --- a/source/json_tables/chain/permissions/msgCreateNamespace.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's Injective address", "Required": "Yes"}, - {"Parameter": "namespace", "Type": "Namespace", "Description": "The namespace information", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/msgUpdateActorRoles.json b/source/json_tables/chain/permissions/msgUpdateActorRoles.json deleted file mode 100644 index 7516c207..00000000 --- a/source/json_tables/chain/permissions/msgUpdateActorRoles.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's Injective address", "Required": "Yes"}, - {"Parameter": "denom", "Type": "String", "Description": "The token denom of the namespace to update", "Required": "Yes"}, - {"Parameter": "role_actors_to_add", "Type": "RoleActors Array", "Description": "Address of the wasm contract that will provide the real destination address", "Required": "No"}, - {"Parameter": "role_actors_to_revoke", "Type": "RoleActors Array", "Description": "List of roles", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/msgUpdateNamespace.json b/source/json_tables/chain/permissions/msgUpdateNamespace.json deleted file mode 100644 index 98f70228..00000000 --- a/source/json_tables/chain/permissions/msgUpdateNamespace.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "The sender's Injective address", "Required": "Yes"}, - {"Parameter": "denom", "Type": "String", "Description": "The token denom of the namespace to update", "Required": "Yes"}, - {"Parameter": "contract_hook", "Type": "MsgUpdateNamespace_SetContractHook", "Description": "Address of the wasm contract that will provide the real destination address", "Required": "Yes"}, - {"Parameter": "role_permissions", "Type": "Role Array", "Description": "List of roles", "Required": "Yes"}, - {"Parameter": "role_managers", "Type": "RoleManager Array", "Description": "List of role managers", "Required": "Yes"}, - {"Parameter": "policy_statuses", "Type": "PolicyStatus Array", "Description": "List of policy statuses", "Required": "Yes"}, - {"Parameter": "policy_manager_capabilities", "Type": "PolicyManagerCapability Array", "Description": "List of policy manager capabilities", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/msgUpdateNamespace_SetContractHook.json b/source/json_tables/chain/permissions/msgUpdateNamespace_SetContractHook.json deleted file mode 100644 index 2d617cae..00000000 --- a/source/json_tables/chain/permissions/msgUpdateNamespace_SetContractHook.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "new_value", "Type": "String", "Description": "Address of the wasm contract that will provide the real destination address"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/namespace.json b/source/json_tables/chain/permissions/namespace.json deleted file mode 100644 index 141ac1ad..00000000 --- a/source/json_tables/chain/permissions/namespace.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Token denom"}, - {"Parameter": "contract_hook", "Type": "String", "Description": "Address of the wasm contract that will provide the real destination address"}, - {"Parameter": "role_permissions", "Type": "Role Array", "Description": "List of roles"}, - {"Parameter": "actor_roles", "Type": "ActorRoles Array", "Description": "List of actor roles"}, - {"Parameter": "role_managers", "Type": "RoleManager Array", "Description": "List of role managers"}, - {"Parameter": "policy_statuses", "Type": "PolicyStatus Array", "Description": "List of policy statuses"}, - {"Parameter": "policy_manager_capabilities", "Type": "PolicyManagerCapability Array", "Description": "List of policy manager capabilities"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/params.json b/source/json_tables/chain/permissions/params.json deleted file mode 100644 index 340d3b85..00000000 --- a/source/json_tables/chain/permissions/params.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "wasm_hook_query_max_gas", "Type": "Integer", "Description": "Max amount of gas allowed for wasm hook queries"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/policyManagerCapability.json b/source/json_tables/chain/permissions/policyManagerCapability.json deleted file mode 100644 index fd9c96eb..00000000 --- a/source/json_tables/chain/permissions/policyManagerCapability.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "manager", "Type": "String", "Description": "Manager name"}, - {"Parameter": "action", "Type": "Action", "Description": "Action code number"}, - {"Parameter": "can_disable", "Type": "Boolean", "Description": "True if the manager can disable the policy, False if not"}, - {"Parameter": "can_seal", "Type": "Boolean", "Description": "True if the manager can seal the policy, False if not"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/policyStatus.json b/source/json_tables/chain/permissions/policyStatus.json deleted file mode 100644 index a7c1056f..00000000 --- a/source/json_tables/chain/permissions/policyStatus.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "action", "Type": "Action", "Description": "Action code number"}, - {"Parameter": "is_disabled", "Type": "Boolean", "Description": "True if the policy is disabled, False if it is enabled"}, - {"Parameter": "is_sealed", "Type": "Boolean", "Description": "True if the policy is sealed, False if it is not"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryActorsByRoleRequest.json b/source/json_tables/chain/permissions/queryActorsByRoleRequest.json deleted file mode 100644 index c1c795dd..00000000 --- a/source/json_tables/chain/permissions/queryActorsByRoleRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"}, - {"Parameter": "role", "Type": "String", "Description": "The role to query actors for", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryActorsByRoleResponse.json b/source/json_tables/chain/permissions/queryActorsByRoleResponse.json deleted file mode 100644 index 237d64b9..00000000 --- a/source/json_tables/chain/permissions/queryActorsByRoleResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "actors", "Type": "String Array", "Description": "List of actors INJ addresses"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryModuleStateResponse.json b/source/json_tables/chain/permissions/queryModuleStateResponse.json deleted file mode 100644 index 4f992f57..00000000 --- a/source/json_tables/chain/permissions/queryModuleStateResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "state", "Type": "GenesisState", "Description": "Module state"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryNamespaceDenomsResponse.json b/source/json_tables/chain/permissions/queryNamespaceDenomsResponse.json deleted file mode 100644 index a9855566..00000000 --- a/source/json_tables/chain/permissions/queryNamespaceDenomsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denoms", "Type": "String Array", "Description": "List of namespaces denoms"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryNamespaceRequest.json b/source/json_tables/chain/permissions/queryNamespaceRequest.json deleted file mode 100644 index e57e445b..00000000 --- a/source/json_tables/chain/permissions/queryNamespaceRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryNamespaceResponse.json b/source/json_tables/chain/permissions/queryNamespaceResponse.json deleted file mode 100644 index 923104ed..00000000 --- a/source/json_tables/chain/permissions/queryNamespaceResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "namespace", "Type": "Namespace", "Description": "Namespace details"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryNamespacesResponse.json b/source/json_tables/chain/permissions/queryNamespacesResponse.json deleted file mode 100644 index c65644f1..00000000 --- a/source/json_tables/chain/permissions/queryNamespacesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "namespaces", "Type": "Namespace Array", "Description": "List of namespaces"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryPolicyManagerCapabilitiesRequest.json b/source/json_tables/chain/permissions/queryPolicyManagerCapabilitiesRequest.json deleted file mode 100644 index e57e445b..00000000 --- a/source/json_tables/chain/permissions/queryPolicyManagerCapabilitiesRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryPolicyManagerCapabilitiesResponse.json b/source/json_tables/chain/permissions/queryPolicyManagerCapabilitiesResponse.json deleted file mode 100644 index e51de58f..00000000 --- a/source/json_tables/chain/permissions/queryPolicyManagerCapabilitiesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "policy_manager_capabilities", "Type": "PolicyManagerCapability Array", "Description": "List of policy manager capabilities"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryPolicyStatusesRequest.json b/source/json_tables/chain/permissions/queryPolicyStatusesRequest.json deleted file mode 100644 index e57e445b..00000000 --- a/source/json_tables/chain/permissions/queryPolicyStatusesRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryPolicyStatusesResponse.json b/source/json_tables/chain/permissions/queryPolicyStatusesResponse.json deleted file mode 100644 index 310a72b8..00000000 --- a/source/json_tables/chain/permissions/queryPolicyStatusesResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "policy_statuses", "Type": "PolicyStatus", "Description": "Role manager details"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryRoleManagerRequest.json b/source/json_tables/chain/permissions/queryRoleManagerRequest.json deleted file mode 100644 index 7f6e53cc..00000000 --- a/source/json_tables/chain/permissions/queryRoleManagerRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"}, - {"Parameter": "manager", "Type": "String", "Description": "The manager's Injective address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryRoleManagerResponse.json b/source/json_tables/chain/permissions/queryRoleManagerResponse.json deleted file mode 100644 index 21630924..00000000 --- a/source/json_tables/chain/permissions/queryRoleManagerResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "role_manager", "Type": "RoleManager", "Description": "Role manager details"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryRoleManagersRequest.json b/source/json_tables/chain/permissions/queryRoleManagersRequest.json deleted file mode 100644 index e57e445b..00000000 --- a/source/json_tables/chain/permissions/queryRoleManagersRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryRoleManagersResponse.json b/source/json_tables/chain/permissions/queryRoleManagersResponse.json deleted file mode 100644 index d314e4e8..00000000 --- a/source/json_tables/chain/permissions/queryRoleManagersResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "role_managers", "Type": "RoleManager Array", "Description": "List of role managers"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryRolesByActorRequest.json b/source/json_tables/chain/permissions/queryRolesByActorRequest.json deleted file mode 100644 index 1b9289d9..00000000 --- a/source/json_tables/chain/permissions/queryRolesByActorRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"}, - {"Parameter": "actor", "Type": "String", "Description": "The actor's INJ address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryRolesByActorResponse.json b/source/json_tables/chain/permissions/queryRolesByActorResponse.json deleted file mode 100644 index 8914523b..00000000 --- a/source/json_tables/chain/permissions/queryRolesByActorResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "roles", "Type": "String Array", "Description": "List of roles"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryVoucherRequest.json b/source/json_tables/chain/permissions/queryVoucherRequest.json deleted file mode 100644 index b4c04bfc..00000000 --- a/source/json_tables/chain/permissions/queryVoucherRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"}, - {"Parameter": "address", "Type": "String", "Description": "The Injective address of the receiver", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryVoucherResponse.json b/source/json_tables/chain/permissions/queryVoucherResponse.json deleted file mode 100644 index 8a0eac0e..00000000 --- a/source/json_tables/chain/permissions/queryVoucherResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "voucher", "Type": "Coin", "Description": "A token amount"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryVouchersRequest.json b/source/json_tables/chain/permissions/queryVouchersRequest.json deleted file mode 100644 index e57e445b..00000000 --- a/source/json_tables/chain/permissions/queryVouchersRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "The token denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/queryVouchersResponse.json b/source/json_tables/chain/permissions/queryVouchersResponse.json deleted file mode 100644 index bbff4681..00000000 --- a/source/json_tables/chain/permissions/queryVouchersResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "vouchers", "Type": "AddressVoucher Array", "Description": "List of vouchers"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/role.json b/source/json_tables/chain/permissions/role.json deleted file mode 100644 index 78311953..00000000 --- a/source/json_tables/chain/permissions/role.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "name", "Type": "String", "Description": "Role name"}, - {"Parameter": "role_id", "Type": "Integer", "Description": "Role ID"}, - {"Parameter": "permissions", "Type": "Integer", "Description": "Integer representing the bitwhise combination of all actions assigned to the role"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/roleActors.json b/source/json_tables/chain/permissions/roleActors.json deleted file mode 100644 index e5801f68..00000000 --- a/source/json_tables/chain/permissions/roleActors.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "role", "Type": "String", "Description": "Role name"}, - {"Parameter": "actors", "Type": "String Array", "Description": "List of actors' names"} -] \ No newline at end of file diff --git a/source/json_tables/chain/permissions/roleManager.json b/source/json_tables/chain/permissions/roleManager.json deleted file mode 100644 index e2775edf..00000000 --- a/source/json_tables/chain/permissions/roleManager.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "manager", "Type": "String", "Description": "Manager name"}, - {"Parameter": "roles", "Type": "String Array", "Description": "List of roles"} -] \ No newline at end of file diff --git a/source/json_tables/chain/signerInfo.json b/source/json_tables/chain/signerInfo.json deleted file mode 100644 index be0ef17d..00000000 --- a/source/json_tables/chain/signerInfo.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "public_key", "Type": "Any", "Description": "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": "mode_info", "Type": "ModeInfo", "Description": "Describes the signing mode of the signer and is a nested structure to support nested multisig pubkey's"}, - {"Parameter": "sequence", "Type": "Integer", "Description": "The sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks"} -] \ No newline at end of file diff --git a/source/json_tables/chain/staking/msgDelegate.json b/source/json_tables/chain/staking/msgDelegate.json deleted file mode 100644 index 67c0f24a..00000000 --- a/source/json_tables/chain/staking/msgDelegate.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "delegator_address", "Type": "String", "Description": "The delegator's address", "Required": "Yes"}, - {"Parameter": "validator_address", "Type": "String", "Description": "The validator's address", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Coin", "Description": "The token amount to delegate", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/abciQueryRequest.json b/source/json_tables/chain/tendermint/abciQueryRequest.json deleted file mode 100644 index fec3c0c8..00000000 --- a/source/json_tables/chain/tendermint/abciQueryRequest.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "data", "Type": "Bytes", "Description": "Query data", "Required": "No"}, - {"Parameter": "path", "Type": "String", "Description": "Query path", "Required": "Yes"}, - {"Parameter": "haight", "Type": "Integer", "Description": "Block height", "Required": "No"}, - {"Parameter": "prove", "Type": "Boolean", "Description": "", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/abciQueryResponse.json b/source/json_tables/chain/tendermint/abciQueryResponse.json deleted file mode 100644 index f73f93c0..00000000 --- a/source/json_tables/chain/tendermint/abciQueryResponse.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - {"Parameter": "code", "Type": "Integer", "Description": "Query result code (zero: success, non-zero: error"}, - {"Parameter": "log", "Type": "String", "Description": ""}, - {"Parameter": "info", "Type": "String", "Description": ""}, - {"Parameter": "index", "Type": "Integer", "Description": ""}, - {"Parameter": "key", "Type": "Bytes", "Description": ""}, - {"Parameter": "value", "Type": "Bytes", "Description": ""}, - {"Parameter": "proof_ops", "Type": "ProofOps", "Description": ""}, - {"Parameter": "height", "Type": "Integer", "Description": "Block height"}, - {"Parameter": "codespace", "Type": "String", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/block.json b/source/json_tables/chain/tendermint/block.json deleted file mode 100644 index f5f04ae2..00000000 --- a/source/json_tables/chain/tendermint/block.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "header", "Type": "Header", "Description": "Header information"}, - {"Parameter": "data", "Type": "Data", "Description": "Block data"}, - {"Parameter": "evidence", "Type": "EvidenceList", "Description": ""}, - {"Parameter": "last_commit", "Type": "Commit", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/blockID.json b/source/json_tables/chain/tendermint/blockID.json deleted file mode 100644 index e4a6d109..00000000 --- a/source/json_tables/chain/tendermint/blockID.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "hash", "Type": "Bytes", "Description": "Block hash"}, - {"Parameter": "part_set_header", "Type": "PartSetHeader", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/blockIDFlag.json b/source/json_tables/chain/tendermint/blockIDFlag.json deleted file mode 100644 index 614a3ad9..00000000 --- a/source/json_tables/chain/tendermint/blockIDFlag.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Code": "0", "Name": "BLOCK_ID_FLAG_UNKNOWN"}, - {"Code": "1", "Name": "BLOCK_ID_FLAG_ABSENT"}, - {"Code": "2", "Name": "BLOCK_ID_FLAG_COMMIT"}, - {"Code": "3", "Name": "BLOCK_ID_FLAG_NIL"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/commit.json b/source/json_tables/chain/tendermint/commit.json deleted file mode 100644 index 6ce8184b..00000000 --- a/source/json_tables/chain/tendermint/commit.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "height", "Type": "Integer", "Description": "Block height"}, - {"Parameter": "round", "Type": "Integer", "Description": "Consensus round"}, - {"Parameter": "block_id", "Type": "BlockID", "Description": "Block identifier"}, - {"Parameter": "signatures", "Type": "CommitSig Array", "Description": "Sigantures"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/commitSig.json b/source/json_tables/chain/tendermint/commitSig.json deleted file mode 100644 index 31107bab..00000000 --- a/source/json_tables/chain/tendermint/commitSig.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "block_id_flag", "Type": "BlockIDFlag", "Description": "Block height"}, - {"Parameter": "validator_address", "Type": "Bytes", "Description": "Validator address"}, - {"Parameter": "timestamp", "Type": "Time", "Description": "Block time"}, - {"Parameter": "signature", "Type": "Bytes", "Description": "Block signature"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/consensus.json b/source/json_tables/chain/tendermint/consensus.json deleted file mode 100644 index 91a5e695..00000000 --- a/source/json_tables/chain/tendermint/consensus.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "block", "Type": "Integer", "Description": ""}, - {"Parameter": "app", "Type": "Integer", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/data.json b/source/json_tables/chain/tendermint/data.json deleted file mode 100644 index 94b278fd..00000000 --- a/source/json_tables/chain/tendermint/data.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "txs", "Type": "Byte Array", "Description": "Txs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs."} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/defaultNodeInfo.json b/source/json_tables/chain/tendermint/defaultNodeInfo.json deleted file mode 100644 index 10cb5cde..00000000 --- a/source/json_tables/chain/tendermint/defaultNodeInfo.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - {"Parameter": "protocol_version", "Type": "ProtocolVersion", "Description": "Protocol version information"}, - {"Parameter": "default_nod_id", "Type": "String", "Description": "Node identifier"}, - {"Parameter": "listen_addr", "Type": "String", "Description": "URI of the node's listening endpoint"}, - {"Parameter": "network", "Type": "String", "Description": "The chain network name"}, - {"Parameter": "version", "Type": "String", "Description": "The version number"}, - {"Parameter": "channels", "Type": "Bytes", "Description": "Channels information"}, - {"Parameter": "moniker", "Type": "String", "Description": ""}, - {"Parameter": "other", "Type": "DefaultNodeInfoOther", "Description": "Extra node information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/defaultNodeInfoOther.json b/source/json_tables/chain/tendermint/defaultNodeInfoOther.json deleted file mode 100644 index f3b58931..00000000 --- a/source/json_tables/chain/tendermint/defaultNodeInfoOther.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "tx_index", "Type": "String", "Description": "TX indexing status (on/off)"}, - {"Parameter": "rpc_address", "Type": "String", "Description": "URI for RPC connections"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/evidence.json b/source/json_tables/chain/tendermint/evidence.json deleted file mode 100644 index 55055422..00000000 --- a/source/json_tables/chain/tendermint/evidence.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "sum", "Type": "isEvidence_Sum", "Description": "Valid types for 'sum' are Evidence_DuplicateVoteEvidence and Evidence_LightClientAttackEvidence"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/evidenceList.json b/source/json_tables/chain/tendermint/evidenceList.json deleted file mode 100644 index 19e28976..00000000 --- a/source/json_tables/chain/tendermint/evidenceList.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "evidence", "Type": "Evidence Array", "Description": "Block evidence"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/getBlockByHeightRequest.json b/source/json_tables/chain/tendermint/getBlockByHeightRequest.json deleted file mode 100644 index 4bde65be..00000000 --- a/source/json_tables/chain/tendermint/getBlockByHeightRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "height", "Type": "Integer", "Description": "Block height", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/getBlockByHeightResponse.json b/source/json_tables/chain/tendermint/getBlockByHeightResponse.json deleted file mode 100644 index 518ddbeb..00000000 --- a/source/json_tables/chain/tendermint/getBlockByHeightResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "block_id", "Type": "BlockID", "Description": "Block identifier"}, - {"Parameter": "sdk_block", "Type": "Block", "Description": "Block details"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/getLatestBlockResponse.json b/source/json_tables/chain/tendermint/getLatestBlockResponse.json deleted file mode 100644 index 518ddbeb..00000000 --- a/source/json_tables/chain/tendermint/getLatestBlockResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "block_id", "Type": "BlockID", "Description": "Block identifier"}, - {"Parameter": "sdk_block", "Type": "Block", "Description": "Block details"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/getLatestValidatorSetResponse.json b/source/json_tables/chain/tendermint/getLatestValidatorSetResponse.json deleted file mode 100644 index 45dbe73d..00000000 --- a/source/json_tables/chain/tendermint/getLatestValidatorSetResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "block_height", "Type": "Integer", "Description": "Block height"}, - {"Parameter": "validators", "Type": "Validator Array", "Description": "List of validators"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/getNodeInfoResponse.json b/source/json_tables/chain/tendermint/getNodeInfoResponse.json deleted file mode 100644 index 8bbba07b..00000000 --- a/source/json_tables/chain/tendermint/getNodeInfoResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "default_node_info", "Type": "DefaultNodeInfo", "Description": "Node information"}, - {"Parameter": "application_version", "Type": "VersionInfo", "Description": "Node version information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/getSyncingResponse.json b/source/json_tables/chain/tendermint/getSyncingResponse.json deleted file mode 100644 index e27b5544..00000000 --- a/source/json_tables/chain/tendermint/getSyncingResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "syncing", "Type": "Boolean", "Description": "Syncing status"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/getValidatorSetByHeightRequest.json b/source/json_tables/chain/tendermint/getValidatorSetByHeightRequest.json deleted file mode 100644 index 25dba463..00000000 --- a/source/json_tables/chain/tendermint/getValidatorSetByHeightRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "height", "Type": "Integer", "Description": "Block height", "Required": "Yes"}, - {"Parameter": "pagination", "Type": "PageRequest", "Description": "The optional pagination for the request", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/getValidatorSetByHeightResponse.json b/source/json_tables/chain/tendermint/getValidatorSetByHeightResponse.json deleted file mode 100644 index 45dbe73d..00000000 --- a/source/json_tables/chain/tendermint/getValidatorSetByHeightResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "block_height", "Type": "Integer", "Description": "Block height"}, - {"Parameter": "validators", "Type": "Validator Array", "Description": "List of validators"}, - {"Parameter": "pagination", "Type": "PageResponse", "Description": "Pagination information in the response"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/header.json b/source/json_tables/chain/tendermint/header.json deleted file mode 100644 index b1a3bcc3..00000000 --- a/source/json_tables/chain/tendermint/header.json +++ /dev/null @@ -1,16 +0,0 @@ -[ - {"Parameter": "version", "Type": "Consensus", "Description": ""}, - {"Parameter": "chain_id", "Type": "String", "Description": "Chain identifier"}, - {"Parameter": "height", "Type": "Integer", "Description": "Block height"}, - {"Parameter": "time", "Type": "Time", "Description": "Block time"}, - {"Parameter": "last_block_id", "Type": "BlockID", "Description": "Previous block identifier"}, - {"Parameter": "last_commit_hash", "Type": "Bytes", "Description": "Last commit hash"}, - {"Parameter": "data_hash", "Type": "Bytes", "Description": "Block data hash"}, - {"Parameter": "validators_hash", "Type": "Bytes", "Description": "Validators information hash"}, - {"Parameter": "next_validators_hash", "Type": "Bytes", "Description": "Validators information hash"}, - {"Parameter": "consensus_hash", "Type": "Bytes", "Description": "Consensus information hash"}, - {"Parameter": "app_hash", "Type": "Bytes", "Description": "Application hash"}, - {"Parameter": "last_result_hash", "Type": "Bytes", "Description": "Last result hash"}, - {"Parameter": "evidence_hash", "Type": "Bytes", "Description": "Evidence data hash"}, - {"Parameter": "proposer_address", "Type": "String", "Description": "Block proposer's address"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/module.json b/source/json_tables/chain/tendermint/module.json deleted file mode 100644 index c172e38b..00000000 --- a/source/json_tables/chain/tendermint/module.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "path", "Type": "String", "Description": "Module path"}, - {"Parameter": "version", "Type": "String", "Description": "Module version"}, - {"Parameter": "sum", "Type": "String", "Description": "Checksum"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/partSetHeader.json b/source/json_tables/chain/tendermint/partSetHeader.json deleted file mode 100644 index 5d363ecb..00000000 --- a/source/json_tables/chain/tendermint/partSetHeader.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "total", "Type": "Integer", "Description": ""}, - {"Parameter": "hash", "Type": "Bytes", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/proofOp.json b/source/json_tables/chain/tendermint/proofOp.json deleted file mode 100644 index 74f049f3..00000000 --- a/source/json_tables/chain/tendermint/proofOp.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "type", "Type": "String", "Description": ""}, - {"Parameter": "key", "Type": "Bytes", "Description": ""}, - {"Parameter": "data", "Type": "Bytes", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/proofOps.json b/source/json_tables/chain/tendermint/proofOps.json deleted file mode 100644 index 7ca18025..00000000 --- a/source/json_tables/chain/tendermint/proofOps.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "ops", "Type": "ProofOp Array", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/protocolVersion.json b/source/json_tables/chain/tendermint/protocolVersion.json deleted file mode 100644 index b7a88458..00000000 --- a/source/json_tables/chain/tendermint/protocolVersion.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "p2p", "Type": "Integer", "Description": ""}, - {"Parameter": "block", "Type": "Integer", "Description": ""}, - {"Parameter": "app", "Type": "Integer", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/validator.json b/source/json_tables/chain/tendermint/validator.json deleted file mode 100644 index bbc221a7..00000000 --- a/source/json_tables/chain/tendermint/validator.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "address", "Type": "String", "Description": "Validator's address"}, - {"Parameter": "pub_key", "Type": "Any", "Description": "Validator's public key"}, - {"Parameter": "voting_power", "Type": "Integer", "Description": "Validator's voting power"}, - {"Parameter": "proposer_priority", "Type": "Integer", "Description": ""} -] \ No newline at end of file diff --git a/source/json_tables/chain/tendermint/versionInfo.json b/source/json_tables/chain/tendermint/versionInfo.json deleted file mode 100644 index 7cca363a..00000000 --- a/source/json_tables/chain/tendermint/versionInfo.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - {"Parameter": "name", "Type": "String", "Description": "The chain name"}, - {"Parameter": "app_name", "Type": "String", "Description": "Application name"}, - {"Parameter": "version", "Type": "String", "Description": "Application version"}, - {"Parameter": "git_commit", "Type": "String", "Description": "Git commit hash"}, - {"Parameter": "build_tags", "Type": "String", "Description": "Application build tags"}, - {"Parameter": "go_version", "Type": "String", "Description": "GoLang version used to compile the application"}, - {"Parameter": "build_deps", "Type": "Module Array", "Description": "Application dependencies"}, - {"Parameter": "cosmos_sdk_version", "Type": "String", "Description": "Cosmos SDK version used by the application"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tip.json b/source/json_tables/chain/tip.json deleted file mode 100644 index 01423b07..00000000 --- a/source/json_tables/chain/tip.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "amount", "Type": "Coin Array", "Description": "Amount of coins to be paid as a tip"}, - {"Parameter": "tipper", "Type": "String", "Description": "Address of the account paying for the tip"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/denomAuthorityMetadata.json b/source/json_tables/chain/tokenfactory/denomAuthorityMetadata.json deleted file mode 100644 index 37907670..00000000 --- a/source/json_tables/chain/tokenfactory/denomAuthorityMetadata.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "admin", "Type": "String", "Description": "The denom admin"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/genesisDenom.json b/source/json_tables/chain/tokenfactory/genesisDenom.json deleted file mode 100644 index 0614bdaf..00000000 --- a/source/json_tables/chain/tokenfactory/genesisDenom.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Token denom"}, - {"Parameter": "authority_metadata", "Type": "DenomAuthorityMetadata", "Description": "Token authority metadata"}, - {"Parameter": "name", "Type": "String", "Description": "Token name"}, - {"Parameter": "symbol", "Type": "String", "Description": "Token symbol"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/genesisState.json b/source/json_tables/chain/tokenfactory/genesisState.json deleted file mode 100644 index d265e98a..00000000 --- a/source/json_tables/chain/tokenfactory/genesisState.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "params", "Type": "Params", "Description": "Module parameters"}, - {"Parameter": "factory_denoms", "Type": "GenesisDenom Array", "Description": "Module parameters"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/msgBurn.json b/source/json_tables/chain/tokenfactory/msgBurn.json deleted file mode 100644 index b08cbe04..00000000 --- a/source/json_tables/chain/tokenfactory/msgBurn.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "Sender Injective address", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Coin", "Description": "Amount to burn", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/msgChangeAdmin.json b/source/json_tables/chain/tokenfactory/msgChangeAdmin.json deleted file mode 100644 index 84f65cc7..00000000 --- a/source/json_tables/chain/tokenfactory/msgChangeAdmin.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "Sender Injective address", "Required": "Yes"}, - {"Parameter": "denom", "Type": "String", "Description": "Token denom", "Required": "Yes"}, - {"Parameter": "new_admin", "Type": "String", "Description": "New admin Injective address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/msgCreateDenom.json b/source/json_tables/chain/tokenfactory/msgCreateDenom.json deleted file mode 100644 index 6aec8bc9..00000000 --- a/source/json_tables/chain/tokenfactory/msgCreateDenom.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "Sender Injective address", "Required": "Yes"}, - {"Parameter": "subdenom", "Type": "String", "Description": "New token subdenom", "Required": "Yes"}, - {"Parameter": "name", "Type": "String", "Description": "New token name", "Required": "Yes"}, - {"Parameter": "symbol", "Type": "String", "Description": "New token symbol", "Required": "Yes"}, - {"Parameter": "decimals", "Type": "Integer", "Description": "Number of decimals use to represent token amount on chain", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/msgMint.json b/source/json_tables/chain/tokenfactory/msgMint.json deleted file mode 100644 index 18d3e9ef..00000000 --- a/source/json_tables/chain/tokenfactory/msgMint.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "Sender Injective address", "Required": "Yes"}, - {"Parameter": "amount", "Type": "Coin", "Description": "Amount to mint", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/msgSetDenomMetadata.json b/source/json_tables/chain/tokenfactory/msgSetDenomMetadata.json deleted file mode 100644 index 2c3e0d65..00000000 --- a/source/json_tables/chain/tokenfactory/msgSetDenomMetadata.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "Sender Injective address", "Required": "Yes"}, - {"Parameter": "metadata", "Type": "Metadata", "Description": "Token metadata", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/params.json b/source/json_tables/chain/tokenfactory/params.json deleted file mode 100644 index ec67ba36..00000000 --- a/source/json_tables/chain/tokenfactory/params.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denoms_creation_fee", "Type": "Coin Array", "Description": "Fee required to create a denom"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/queryDenomAuthorityMetadataRequest.json b/source/json_tables/chain/tokenfactory/queryDenomAuthorityMetadataRequest.json deleted file mode 100644 index b2e985ad..00000000 --- a/source/json_tables/chain/tokenfactory/queryDenomAuthorityMetadataRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "creator", "Type": "String", "Description": "The denom creator address", "Required": "Yes"}, - {"Parameter": "sub_denom", "Type": "String", "Description": "The token subdenom", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/queryDenomAuthorityMetadataResponse.json b/source/json_tables/chain/tokenfactory/queryDenomAuthorityMetadataResponse.json deleted file mode 100644 index 2d78532b..00000000 --- a/source/json_tables/chain/tokenfactory/queryDenomAuthorityMetadataResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "authority_metadata", "Type": "DenomAuthorityMetadata", "Description": "The denom authority information"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/queryDenomsFromCreatorRequest.json b/source/json_tables/chain/tokenfactory/queryDenomsFromCreatorRequest.json deleted file mode 100644 index 96161934..00000000 --- a/source/json_tables/chain/tokenfactory/queryDenomsFromCreatorRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "creator", "Type": "String", "Description": "The denom creator address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/queryDenomsFromCreatorResponse.json b/source/json_tables/chain/tokenfactory/queryDenomsFromCreatorResponse.json deleted file mode 100644 index 7bcf7f75..00000000 --- a/source/json_tables/chain/tokenfactory/queryDenomsFromCreatorResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "denoms", "Type": "String Array", "Description": "List of denoms"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tokenfactory/queryModuleStateResponse.json b/source/json_tables/chain/tokenfactory/queryModuleStateResponse.json deleted file mode 100644 index 1f06a4da..00000000 --- a/source/json_tables/chain/tokenfactory/queryModuleStateResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "state", "Type": "GenesisState", "Description": "The state details"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tx.json b/source/json_tables/chain/tx.json deleted file mode 100644 index d5e53ae9..00000000 --- a/source/json_tables/chain/tx.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "body", "Type": "TxBody", "Description": "Body is the processable content of the transaction"}, - {"Parameter": "auth_info", "Type": "AuthInfo", "Description": "Authorization related content of the transaction (specifically signers, signer modes and fee)"}, - {"Parameter": "signatures", "Type": "Bytes Array Array", "Description": "List of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tx/getTxRequest.json b/source/json_tables/chain/tx/getTxRequest.json deleted file mode 100644 index f85ef1ac..00000000 --- a/source/json_tables/chain/tx/getTxRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "hash", "Type": "String", "Description": "The TX hash to query, encoded as a hex string", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/chain/tx/getTxResponse.json b/source/json_tables/chain/tx/getTxResponse.json deleted file mode 100644 index fea9fa89..00000000 --- a/source/json_tables/chain/tx/getTxResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "tx", "Type": "Tx", "Description": "Transaction details"}, - {"Parameter": "tx_resposne", "Type": "TxResponse", "Description": "Transaction details"} -] \ No newline at end of file diff --git a/source/json_tables/chain/txBody.json b/source/json_tables/chain/txBody.json deleted file mode 100644 index 5622a8e5..00000000 --- a/source/json_tables/chain/txBody.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "messages", "Type": "Any Array", "Description": "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": "memo", "Type": "String", "Description": "Memo is any arbitrary note/comment to be added to the transaction"}, - {"Parameter": "timeout_height", "Type": "Integer", "Description": "The block height after which this transaction will not be processed by the chain"}, - {"Parameter": "extension_options", "Type": "Any Array", "Description": "These 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": "Any Array", "Description": "These 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"} -] \ No newline at end of file diff --git a/source/json_tables/chain/txfees/eipBaseFee.json b/source/json_tables/chain/txfees/eipBaseFee.json deleted file mode 100644 index dcea7c04..00000000 --- a/source/json_tables/chain/txfees/eipBaseFee.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "base_fee", "Type": "Decimal", "Description": "The current chain gas price"} -] \ No newline at end of file diff --git a/source/json_tables/chain/txfees/queryEipBaseFeeResponse.json b/source/json_tables/chain/txfees/queryEipBaseFeeResponse.json deleted file mode 100644 index 945d01b3..00000000 --- a/source/json_tables/chain/txfees/queryEipBaseFeeResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "base_fee", "Type": "EipBaseFee", "Description": "The current chain gas price"} -] \ No newline at end of file diff --git a/source/json_tables/cometbft/abci/v1/ApplySnapshotChunkRequest.json b/source/json_tables/cometbft/abci/v1/ApplySnapshotChunkRequest.json new file mode 100644 index 00000000..3a882065 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ApplySnapshotChunkRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "index", + "Type": "uint32", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "chunk", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "sender", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ApplySnapshotChunkResponse.json b/source/json_tables/cometbft/abci/v1/ApplySnapshotChunkResponse.json new file mode 100644 index 00000000..cd9125e3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ApplySnapshotChunkResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "result", + "Type": "ApplySnapshotChunkResult", + "Description": "" + }, + { + "Parameter": "refetch_chunks", + "Type": "uint32 array", + "Description": "" + }, + { + "Parameter": "reject_senders", + "Type": "string array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/CheckTxRequest.json b/source/json_tables/cometbft/abci/v1/CheckTxRequest.json new file mode 100644 index 00000000..71103258 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/CheckTxRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "tx", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "type", + "Type": "CheckTxType", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/CheckTxResponse.json b/source/json_tables/cometbft/abci/v1/CheckTxResponse.json new file mode 100644 index 00000000..1f82cf3b --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/CheckTxResponse.json @@ -0,0 +1,47 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "gas_wanted", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "gas_used", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + }, + { + "Parameter": "lane_id", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/CommitInfo.json b/source/json_tables/cometbft/abci/v1/CommitInfo.json new file mode 100644 index 00000000..3f39dc1c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/CommitInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "votes", + "Type": "VoteInfo array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/CommitResponse.json b/source/json_tables/cometbft/abci/v1/CommitResponse.json new file mode 100644 index 00000000..97c5eeeb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/CommitResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "retain_height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/EchoRequest.json b/source/json_tables/cometbft/abci/v1/EchoRequest.json new file mode 100644 index 00000000..cdb1cfc2 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/EchoRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "message", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/EchoResponse.json b/source/json_tables/cometbft/abci/v1/EchoResponse.json new file mode 100644 index 00000000..4d9438bc --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/EchoResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "message", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Event.json b/source/json_tables/cometbft/abci/v1/Event.json new file mode 100644 index 00000000..730563e1 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Event.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "type", + "Type": "string", + "Description": "" + }, + { + "Parameter": "attributes", + "Type": "EventAttribute array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ExceptionResponse.json b/source/json_tables/cometbft/abci/v1/ExceptionResponse.json new file mode 100644 index 00000000..6371b0db --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ExceptionResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "error", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ExecTxResult.json b/source/json_tables/cometbft/abci/v1/ExecTxResult.json new file mode 100644 index 00000000..074c3600 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ExecTxResult.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "gas_wanted", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "gas_used", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ExtendVoteRequest.json b/source/json_tables/cometbft/abci/v1/ExtendVoteRequest.json new file mode 100644 index 00000000..48357a4d --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ExtendVoteRequest.json @@ -0,0 +1,50 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "the hash of the block that this vote may be referring to", + "Required": "Yes" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "the height of the extended vote", + "Required": "Yes" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "info of the block that this vote may be referring to", + "Required": "Yes" + }, + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proposed_last_commit", + "Type": "CommitInfo", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "misbehavior", + "Type": "Misbehavior array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the original proposer of the block.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ExtendVoteResponse.json b/source/json_tables/cometbft/abci/v1/ExtendVoteResponse.json new file mode 100644 index 00000000..d507d72c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ExtendVoteResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote_extension", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ExtendedCommitInfo.json b/source/json_tables/cometbft/abci/v1/ExtendedCommitInfo.json new file mode 100644 index 00000000..230487b4 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ExtendedCommitInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "round", + "Type": "int32", + "Description": "The round at which the block proposer decided in the previous height." + }, + { + "Parameter": "votes", + "Type": "ExtendedVoteInfo array", + "Description": "List of validators' addresses in the last validator set with their voting information, including vote extensions." + } +] diff --git a/source/json_tables/cometbft/abci/v1/ExtendedVoteInfo.json b/source/json_tables/cometbft/abci/v1/ExtendedVoteInfo.json new file mode 100644 index 00000000..481ba9bc --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ExtendedVoteInfo.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "validator", + "Type": "Validator", + "Description": "The validator that sent the vote." + }, + { + "Parameter": "vote_extension", + "Type": "byte array", + "Description": "Non-deterministic extension provided by the sending validator's application." + }, + { + "Parameter": "extension_signature", + "Type": "byte array", + "Description": "Vote extension signature created by CometBFT" + }, + { + "Parameter": "block_id_flag", + "Type": "v1.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 new file mode 100644 index 00000000..0f05749f --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/FinalizeBlockRequest.json @@ -0,0 +1,56 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "decided_last_commit", + "Type": "CommitInfo", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "misbehavior", + "Type": "Misbehavior array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "Merkle root hash of the fields of the decided block.", + "Required": "Yes" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the original proposer of the block.", + "Required": "Yes" + }, + { + "Parameter": "syncing_to_height", + "Type": "int64", + "Description": "If the node is syncing/replaying blocks - target height. If not, syncing_to == height.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/FinalizeBlockResponse.json b/source/json_tables/cometbft/abci/v1/FinalizeBlockResponse.json new file mode 100644 index 00000000..f27eed00 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/FinalizeBlockResponse.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "events", + "Type": "Event array", + "Description": "set of block events emitted as part of executing the block" + }, + { + "Parameter": "tx_results", + "Type": "ExecTxResult array", + "Description": "the result of executing each transaction including the events the particular transaction emitted. This should match the order of the transactions delivered in the block itself" + }, + { + "Parameter": "validator_updates", + "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", + "Description": "updates to the consensus params, if any." + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "app_hash is the hash of the applications' state which is used to confirm that execution of the transactions was deterministic. It is up to the application to decide which algorithm to use." + } +] diff --git a/source/json_tables/cometbft/abci/v1/InfoRequest.json b/source/json_tables/cometbft/abci/v1/InfoRequest.json new file mode 100644 index 00000000..2aabc172 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/InfoRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "version", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "block_version", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "p2p_version", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "abci_version", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/InfoResponse.json b/source/json_tables/cometbft/abci/v1/InfoResponse.json new file mode 100644 index 00000000..64bbb5a7 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/InfoResponse.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "data", + "Type": "string", + "Description": "" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "" + }, + { + "Parameter": "app_version", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "last_block_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_block_app_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "lane_priorities", + "Type": "map[string]uint32", + "Description": "" + }, + { + "Parameter": "default_lane", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/InitChainRequest.json b/source/json_tables/cometbft/abci/v1/InitChainRequest.json new file mode 100644 index 00000000..168ac1e9 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/InitChainRequest.json @@ -0,0 +1,38 @@ +[ + { + "Parameter": "time", + "Type": "time.Time", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "consensus_params", + "Type": "v1.ConsensusParams", + "Description": "", + "Required": "No" + }, + { + "Parameter": "validators", + "Type": "ValidatorUpdate array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "app_state_bytes", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "initial_height", + "Type": "int64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/InitChainResponse.json b/source/json_tables/cometbft/abci/v1/InitChainResponse.json new file mode 100644 index 00000000..69949bb9 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/InitChainResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "consensus_params", + "Type": "v1.ConsensusParams", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ListSnapshotsResponse.json b/source/json_tables/cometbft/abci/v1/ListSnapshotsResponse.json new file mode 100644 index 00000000..2bcf73b3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ListSnapshotsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "snapshots", + "Type": "Snapshot array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/LoadSnapshotChunkRequest.json b/source/json_tables/cometbft/abci/v1/LoadSnapshotChunkRequest.json new file mode 100644 index 00000000..71cf29ad --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/LoadSnapshotChunkRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "format", + "Type": "uint32", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "chunk", + "Type": "uint32", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/LoadSnapshotChunkResponse.json b/source/json_tables/cometbft/abci/v1/LoadSnapshotChunkResponse.json new file mode 100644 index 00000000..91e56f41 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/LoadSnapshotChunkResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "chunk", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Misbehavior.json b/source/json_tables/cometbft/abci/v1/Misbehavior.json new file mode 100644 index 00000000..449845a1 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Misbehavior.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "type", + "Type": "MisbehaviorType", + "Description": "" + }, + { + "Parameter": "validator", + "Type": "Validator", + "Description": "The offending validator" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "The height when the offense occurred" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "The corresponding time where the offense occurred" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "Total voting power of the validator set in case the ABCI application does not store historical validators. https://github.com/tendermint/tendermint/issues/4581" + } +] diff --git a/source/json_tables/cometbft/abci/v1/OfferSnapshotRequest.json b/source/json_tables/cometbft/abci/v1/OfferSnapshotRequest.json new file mode 100644 index 00000000..be07ff82 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/OfferSnapshotRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "snapshot", + "Type": "Snapshot", + "Description": "", + "Required": "No" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/OfferSnapshotResponse.json b/source/json_tables/cometbft/abci/v1/OfferSnapshotResponse.json new file mode 100644 index 00000000..915cc5ff --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/OfferSnapshotResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "OfferSnapshotResult", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/PrepareProposalRequest.json b/source/json_tables/cometbft/abci/v1/PrepareProposalRequest.json new file mode 100644 index 00000000..64cfca7e --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/PrepareProposalRequest.json @@ -0,0 +1,50 @@ +[ + { + "Parameter": "max_tx_bytes", + "Type": "int64", + "Description": "the modified transactions cannot exceed this size.", + "Required": "Yes" + }, + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "txs is an array of transactions that will be included in a block, sent to the app for possible modifications.", + "Required": "Yes" + }, + { + "Parameter": "local_last_commit", + "Type": "ExtendedCommitInfo", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "misbehavior", + "Type": "Misbehavior array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the validator proposing the block.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/PrepareProposalResponse.json b/source/json_tables/cometbft/abci/v1/PrepareProposalResponse.json new file mode 100644 index 00000000..b2bb5885 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/PrepareProposalResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ProcessProposalRequest.json b/source/json_tables/cometbft/abci/v1/ProcessProposalRequest.json new file mode 100644 index 00000000..fae011f2 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ProcessProposalRequest.json @@ -0,0 +1,50 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proposed_last_commit", + "Type": "CommitInfo", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "misbehavior", + "Type": "Misbehavior array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "Merkle root hash of the fields of the proposed block.", + "Required": "Yes" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the original proposer of the block.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ProcessProposalResponse.json b/source/json_tables/cometbft/abci/v1/ProcessProposalResponse.json new file mode 100644 index 00000000..1274f94d --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ProcessProposalResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "status", + "Type": "ProcessProposalStatus", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/QueryRequest.json b/source/json_tables/cometbft/abci/v1/QueryRequest.json new file mode 100644 index 00000000..f54f8446 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/QueryRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "path", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "prove", + "Type": "bool", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/QueryResponse.json b/source/json_tables/cometbft/abci/v1/QueryResponse.json new file mode 100644 index 00000000..667ac8cc --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/QueryResponse.json @@ -0,0 +1,47 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "bytes data = 2; // use \"value\" instead." + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "index", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "key", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "value", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proof_ops", + "Type": "v11.ProofOps", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1/Request_ApplySnapshotChunk.json new file mode 100644 index 00000000..dc9062ad --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_ApplySnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "apply_snapshot_chunk", + "Type": "ApplySnapshotChunkRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_CheckTx.json b/source/json_tables/cometbft/abci/v1/Request_CheckTx.json new file mode 100644 index 00000000..8f7b9f53 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_CheckTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "check_tx", + "Type": "CheckTxRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_Commit.json b/source/json_tables/cometbft/abci/v1/Request_Commit.json new file mode 100644 index 00000000..25649129 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_Commit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "commit", + "Type": "CommitRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_Echo.json b/source/json_tables/cometbft/abci/v1/Request_Echo.json new file mode 100644 index 00000000..07acb0aa --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_Echo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "echo", + "Type": "EchoRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_ExtendVote.json b/source/json_tables/cometbft/abci/v1/Request_ExtendVote.json new file mode 100644 index 00000000..07a89595 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_ExtendVote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "extend_vote", + "Type": "ExtendVoteRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_FinalizeBlock.json b/source/json_tables/cometbft/abci/v1/Request_FinalizeBlock.json new file mode 100644 index 00000000..e6fabf07 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_FinalizeBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "finalize_block", + "Type": "FinalizeBlockRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_Flush.json b/source/json_tables/cometbft/abci/v1/Request_Flush.json new file mode 100644 index 00000000..cac3a511 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_Flush.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "flush", + "Type": "FlushRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_Info.json b/source/json_tables/cometbft/abci/v1/Request_Info.json new file mode 100644 index 00000000..eb257d88 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_Info.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "InfoRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_InitChain.json b/source/json_tables/cometbft/abci/v1/Request_InitChain.json new file mode 100644 index 00000000..275a6faf --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_InitChain.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "init_chain", + "Type": "InitChainRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_ListSnapshots.json b/source/json_tables/cometbft/abci/v1/Request_ListSnapshots.json new file mode 100644 index 00000000..67e1f187 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_ListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "list_snapshots", + "Type": "ListSnapshotsRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1/Request_LoadSnapshotChunk.json new file mode 100644 index 00000000..ae37b9d1 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_LoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "load_snapshot_chunk", + "Type": "LoadSnapshotChunkRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1/Request_OfferSnapshot.json new file mode 100644 index 00000000..304c8386 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_OfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "offer_snapshot", + "Type": "OfferSnapshotRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_PrepareProposal.json b/source/json_tables/cometbft/abci/v1/Request_PrepareProposal.json new file mode 100644 index 00000000..12b1fabe --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_PrepareProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "prepare_proposal", + "Type": "PrepareProposalRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_ProcessProposal.json b/source/json_tables/cometbft/abci/v1/Request_ProcessProposal.json new file mode 100644 index 00000000..b1016b79 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_ProcessProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "process_proposal", + "Type": "ProcessProposalRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_Query.json b/source/json_tables/cometbft/abci/v1/Request_Query.json new file mode 100644 index 00000000..22fe291f --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_Query.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "query", + "Type": "QueryRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Request_VerifyVoteExtension.json b/source/json_tables/cometbft/abci/v1/Request_VerifyVoteExtension.json new file mode 100644 index 00000000..c52a44be --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Request_VerifyVoteExtension.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "verify_vote_extension", + "Type": "VerifyVoteExtensionRequest", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1/Response_ApplySnapshotChunk.json new file mode 100644 index 00000000..3fd1ed61 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_ApplySnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "apply_snapshot_chunk", + "Type": "ApplySnapshotChunkResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_CheckTx.json b/source/json_tables/cometbft/abci/v1/Response_CheckTx.json new file mode 100644 index 00000000..98dfb2a0 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_CheckTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "check_tx", + "Type": "CheckTxResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_Commit.json b/source/json_tables/cometbft/abci/v1/Response_Commit.json new file mode 100644 index 00000000..40c960e2 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_Commit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "commit", + "Type": "CommitResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_Echo.json b/source/json_tables/cometbft/abci/v1/Response_Echo.json new file mode 100644 index 00000000..05195e97 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_Echo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "echo", + "Type": "EchoResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_Exception.json b/source/json_tables/cometbft/abci/v1/Response_Exception.json new file mode 100644 index 00000000..548ecf81 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_Exception.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "exception", + "Type": "ExceptionResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_ExtendVote.json b/source/json_tables/cometbft/abci/v1/Response_ExtendVote.json new file mode 100644 index 00000000..e84dc04b --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_ExtendVote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "extend_vote", + "Type": "ExtendVoteResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_FinalizeBlock.json b/source/json_tables/cometbft/abci/v1/Response_FinalizeBlock.json new file mode 100644 index 00000000..14dce9ea --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_FinalizeBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "finalize_block", + "Type": "FinalizeBlockResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_Flush.json b/source/json_tables/cometbft/abci/v1/Response_Flush.json new file mode 100644 index 00000000..7ddcb41c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_Flush.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "flush", + "Type": "FlushResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_Info.json b/source/json_tables/cometbft/abci/v1/Response_Info.json new file mode 100644 index 00000000..b8b09225 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_Info.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "InfoResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_InitChain.json b/source/json_tables/cometbft/abci/v1/Response_InitChain.json new file mode 100644 index 00000000..00a92103 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_InitChain.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "init_chain", + "Type": "InitChainResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_ListSnapshots.json b/source/json_tables/cometbft/abci/v1/Response_ListSnapshots.json new file mode 100644 index 00000000..4c13ea20 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_ListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "list_snapshots", + "Type": "ListSnapshotsResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1/Response_LoadSnapshotChunk.json new file mode 100644 index 00000000..b02c5d09 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_LoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "load_snapshot_chunk", + "Type": "LoadSnapshotChunkResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1/Response_OfferSnapshot.json new file mode 100644 index 00000000..4ab4d817 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_OfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "offer_snapshot", + "Type": "OfferSnapshotResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_PrepareProposal.json b/source/json_tables/cometbft/abci/v1/Response_PrepareProposal.json new file mode 100644 index 00000000..55b4eb5d --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_PrepareProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "prepare_proposal", + "Type": "PrepareProposalResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_ProcessProposal.json b/source/json_tables/cometbft/abci/v1/Response_ProcessProposal.json new file mode 100644 index 00000000..800cbdad --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_ProcessProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "process_proposal", + "Type": "ProcessProposalResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_Query.json b/source/json_tables/cometbft/abci/v1/Response_Query.json new file mode 100644 index 00000000..ac554517 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_Query.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "query", + "Type": "QueryResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Response_VerifyVoteExtension.json b/source/json_tables/cometbft/abci/v1/Response_VerifyVoteExtension.json new file mode 100644 index 00000000..99979eda --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Response_VerifyVoteExtension.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "verify_vote_extension", + "Type": "VerifyVoteExtensionResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Snapshot.json b/source/json_tables/cometbft/abci/v1/Snapshot.json new file mode 100644 index 00000000..123a9712 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Snapshot.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "format", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "chunks", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "metadata", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/TxResult.json b/source/json_tables/cometbft/abci/v1/TxResult.json new file mode 100644 index 00000000..f46e2101 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/TxResult.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "index", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "tx", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "result", + "Type": "ExecTxResult", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/Validator.json b/source/json_tables/cometbft/abci/v1/Validator.json new file mode 100644 index 00000000..f354e383 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/Validator.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "power", + "Type": "int64", + "Description": "PubKey pub_key = 2 [(gogoproto.nullable)=false];" + } +] diff --git a/source/json_tables/cometbft/abci/v1/ValidatorUpdate.json b/source/json_tables/cometbft/abci/v1/ValidatorUpdate.json new file mode 100644 index 00000000..9195d3c5 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/ValidatorUpdate.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "pub_key_bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "pub_key_type", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/VerifyVoteExtensionRequest.json b/source/json_tables/cometbft/abci/v1/VerifyVoteExtensionRequest.json new file mode 100644 index 00000000..aabd3a02 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/VerifyVoteExtensionRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "the hash of the block that this received vote corresponds to", + "Required": "Yes" + }, + { + "Parameter": "validator_address", + "Type": "byte array", + "Description": "the validator that signed the vote extension", + "Required": "Yes" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "vote_extension", + "Type": "byte array", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/abci/v1/VerifyVoteExtensionResponse.json b/source/json_tables/cometbft/abci/v1/VerifyVoteExtensionResponse.json new file mode 100644 index 00000000..3c74a6f6 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/VerifyVoteExtensionResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "status", + "Type": "VerifyVoteExtensionStatus", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1/VoteInfo.json b/source/json_tables/cometbft/abci/v1/VoteInfo.json new file mode 100644 index 00000000..85954df3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1/VoteInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "validator", + "Type": "Validator", + "Description": "" + }, + { + "Parameter": "block_id_flag", + "Type": "v1.BlockIDFlag", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/BlockParams.json b/source/json_tables/cometbft/abci/v1beta1/BlockParams.json new file mode 100644 index 00000000..ce59a070 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/BlockParams.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "max_bytes", + "Type": "int64", + "Description": "Note: must be greater than 0" + }, + { + "Parameter": "max_gas", + "Type": "int64", + "Description": "Note: must be greater or equal to -1" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ConsensusParams.json b/source/json_tables/cometbft/abci/v1beta1/ConsensusParams.json new file mode 100644 index 00000000..ca18b86c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ConsensusParams.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "block", + "Type": "BlockParams", + "Description": "" + }, + { + "Parameter": "evidence", + "Type": "v1beta1.EvidenceParams", + "Description": "" + }, + { + "Parameter": "validator", + "Type": "v1beta1.ValidatorParams", + "Description": "" + }, + { + "Parameter": "version", + "Type": "v1beta1.VersionParams", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Event.json b/source/json_tables/cometbft/abci/v1beta1/Event.json new file mode 100644 index 00000000..730563e1 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Event.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "type", + "Type": "string", + "Description": "" + }, + { + "Parameter": "attributes", + "Type": "EventAttribute array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Evidence.json b/source/json_tables/cometbft/abci/v1beta1/Evidence.json new file mode 100644 index 00000000..a2ccd68f --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Evidence.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "type", + "Type": "EvidenceType", + "Description": "" + }, + { + "Parameter": "validator", + "Type": "Validator", + "Description": "The offending validator" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "The height when the offense occurred" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "The corresponding time where the offense occurred" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "Total voting power of the validator set in case the ABCI application does not store historical validators. https://github.com/tendermint/tendermint/issues/4581" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/LastCommitInfo.json b/source/json_tables/cometbft/abci/v1beta1/LastCommitInfo.json new file mode 100644 index 00000000..3f39dc1c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/LastCommitInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "votes", + "Type": "VoteInfo array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta1/RequestApplySnapshotChunk.json new file mode 100644 index 00000000..8ae535dc --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestApplySnapshotChunk.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "index", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "chunk", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "sender", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestBeginBlock.json b/source/json_tables/cometbft/abci/v1beta1/RequestBeginBlock.json new file mode 100644 index 00000000..ba49df5e --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestBeginBlock.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "header", + "Type": "v1beta1.Header", + "Description": "" + }, + { + "Parameter": "last_commit_info", + "Type": "LastCommitInfo", + "Description": "" + }, + { + "Parameter": "byzantine_validators", + "Type": "Evidence array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestCheckTx.json b/source/json_tables/cometbft/abci/v1beta1/RequestCheckTx.json new file mode 100644 index 00000000..08bcf7fc --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestCheckTx.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "tx", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "type", + "Type": "CheckTxType", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestDeliverTx.json b/source/json_tables/cometbft/abci/v1beta1/RequestDeliverTx.json new file mode 100644 index 00000000..fe0f1f79 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestDeliverTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "tx", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestEcho.json b/source/json_tables/cometbft/abci/v1beta1/RequestEcho.json new file mode 100644 index 00000000..4d9438bc --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestEcho.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "message", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestEndBlock.json b/source/json_tables/cometbft/abci/v1beta1/RequestEndBlock.json new file mode 100644 index 00000000..0f4e1315 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestEndBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestInfo.json b/source/json_tables/cometbft/abci/v1beta1/RequestInfo.json new file mode 100644 index 00000000..79582f75 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestInfo.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "version", + "Type": "string", + "Description": "" + }, + { + "Parameter": "block_version", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "p2p_version", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestInitChain.json b/source/json_tables/cometbft/abci/v1beta1/RequestInitChain.json new file mode 100644 index 00000000..4ef68d8f --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestInitChain.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "consensus_params", + "Type": "ConsensusParams", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "app_state_bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "initial_height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestLoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta1/RequestLoadSnapshotChunk.json new file mode 100644 index 00000000..e46f3e14 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestLoadSnapshotChunk.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "format", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "chunk", + "Type": "uint32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestOfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta1/RequestOfferSnapshot.json new file mode 100644 index 00000000..846929b2 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestOfferSnapshot.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "snapshot", + "Type": "Snapshot", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/RequestQuery.json b/source/json_tables/cometbft/abci/v1beta1/RequestQuery.json new file mode 100644 index 00000000..15bdd7ca --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/RequestQuery.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "path", + "Type": "string", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "prove", + "Type": "bool", + "Description": "" + } +] diff --git a/source/json_tables/indexer_new/event_provider_api/ABCIAttribute.json b/source/json_tables/cometbft/abci/v1beta1/RequestSetOption.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/ABCIAttribute.json rename to source/json_tables/cometbft/abci/v1beta1/RequestSetOption.json diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta1/Request_ApplySnapshotChunk.json new file mode 100644 index 00000000..5ba58755 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_ApplySnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "apply_snapshot_chunk", + "Type": "RequestApplySnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_BeginBlock.json b/source/json_tables/cometbft/abci/v1beta1/Request_BeginBlock.json new file mode 100644 index 00000000..93b3de75 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_BeginBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "begin_block", + "Type": "RequestBeginBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_CheckTx.json b/source/json_tables/cometbft/abci/v1beta1/Request_CheckTx.json new file mode 100644 index 00000000..e404ea7c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_CheckTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "check_tx", + "Type": "RequestCheckTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_Commit.json b/source/json_tables/cometbft/abci/v1beta1/Request_Commit.json new file mode 100644 index 00000000..9db9f85f --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_Commit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "commit", + "Type": "RequestCommit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_DeliverTx.json b/source/json_tables/cometbft/abci/v1beta1/Request_DeliverTx.json new file mode 100644 index 00000000..251457ce --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_DeliverTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "deliver_tx", + "Type": "RequestDeliverTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_Echo.json b/source/json_tables/cometbft/abci/v1beta1/Request_Echo.json new file mode 100644 index 00000000..8bd09b5d --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_Echo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "echo", + "Type": "RequestEcho", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_EndBlock.json b/source/json_tables/cometbft/abci/v1beta1/Request_EndBlock.json new file mode 100644 index 00000000..f50ab4b9 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_EndBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "end_block", + "Type": "RequestEndBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_Flush.json b/source/json_tables/cometbft/abci/v1beta1/Request_Flush.json new file mode 100644 index 00000000..f4a75436 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_Flush.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "flush", + "Type": "RequestFlush", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_Info.json b/source/json_tables/cometbft/abci/v1beta1/Request_Info.json new file mode 100644 index 00000000..87a52a42 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_Info.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "RequestInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_InitChain.json b/source/json_tables/cometbft/abci/v1beta1/Request_InitChain.json new file mode 100644 index 00000000..bca6e470 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_InitChain.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "init_chain", + "Type": "RequestInitChain", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta1/Request_ListSnapshots.json new file mode 100644 index 00000000..34a01b41 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_ListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "list_snapshots", + "Type": "RequestListSnapshots", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta1/Request_LoadSnapshotChunk.json new file mode 100644 index 00000000..ca4ec99b --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_LoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "load_snapshot_chunk", + "Type": "RequestLoadSnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta1/Request_OfferSnapshot.json new file mode 100644 index 00000000..e1cd8f0c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_OfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "offer_snapshot", + "Type": "RequestOfferSnapshot", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_Query.json b/source/json_tables/cometbft/abci/v1beta1/Request_Query.json new file mode 100644 index 00000000..c254a4df --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_Query.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "query", + "Type": "RequestQuery", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Request_SetOption.json b/source/json_tables/cometbft/abci/v1beta1/Request_SetOption.json new file mode 100644 index 00000000..e1c25f5a --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Request_SetOption.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "set_option", + "Type": "RequestSetOption", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta1/ResponseApplySnapshotChunk.json new file mode 100644 index 00000000..1aa5c0f6 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseApplySnapshotChunk.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "result", + "Type": "ResponseApplySnapshotChunk_Result", + "Description": "" + }, + { + "Parameter": "refetch_chunks", + "Type": "uint32 array", + "Description": "" + }, + { + "Parameter": "reject_senders", + "Type": "string array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseBeginBlock.json b/source/json_tables/cometbft/abci/v1beta1/ResponseBeginBlock.json new file mode 100644 index 00000000..8343b448 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseBeginBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseCheckTx.json b/source/json_tables/cometbft/abci/v1beta1/ResponseCheckTx.json new file mode 100644 index 00000000..e44844bb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseCheckTx.json @@ -0,0 +1,57 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "gas_wanted", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "gas_used", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + }, + { + "Parameter": "sender", + "Type": "string", + "Description": "" + }, + { + "Parameter": "priority", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "mempool_error", + "Type": "string", + "Description": "mempool_error is set by CometBFT. ABCI applications creating a ResponseCheckTX should not set mempool_error." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseCommit.json b/source/json_tables/cometbft/abci/v1beta1/ResponseCommit.json new file mode 100644 index 00000000..602a65da --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseCommit.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "reserve 1" + }, + { + "Parameter": "retain_height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseDeliverTx.json b/source/json_tables/cometbft/abci/v1beta1/ResponseDeliverTx.json new file mode 100644 index 00000000..074c3600 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseDeliverTx.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "gas_wanted", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "gas_used", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseEcho.json b/source/json_tables/cometbft/abci/v1beta1/ResponseEcho.json new file mode 100644 index 00000000..4d9438bc --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseEcho.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "message", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseEndBlock.json b/source/json_tables/cometbft/abci/v1beta1/ResponseEndBlock.json new file mode 100644 index 00000000..94fb5318 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseEndBlock.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "validator_updates", + "Type": "ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "consensus_param_updates", + "Type": "ConsensusParams", + "Description": "" + }, + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseException.json b/source/json_tables/cometbft/abci/v1beta1/ResponseException.json new file mode 100644 index 00000000..6371b0db --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseException.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "error", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseInfo.json b/source/json_tables/cometbft/abci/v1beta1/ResponseInfo.json new file mode 100644 index 00000000..dda15f15 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseInfo.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "data", + "Type": "string", + "Description": "" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "" + }, + { + "Parameter": "app_version", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "last_block_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_block_app_hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseInitChain.json b/source/json_tables/cometbft/abci/v1beta1/ResponseInitChain.json new file mode 100644 index 00000000..666b3d8c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseInitChain.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "consensus_params", + "Type": "ConsensusParams", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseListSnapshots.json b/source/json_tables/cometbft/abci/v1beta1/ResponseListSnapshots.json new file mode 100644 index 00000000..2bcf73b3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "snapshots", + "Type": "Snapshot array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseLoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta1/ResponseLoadSnapshotChunk.json new file mode 100644 index 00000000..91e56f41 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseLoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "chunk", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseOfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta1/ResponseOfferSnapshot.json new file mode 100644 index 00000000..80247377 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseOfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "ResponseOfferSnapshot_Result", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseQuery.json b/source/json_tables/cometbft/abci/v1beta1/ResponseQuery.json new file mode 100644 index 00000000..7bedd0e4 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseQuery.json @@ -0,0 +1,47 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "bytes data = 2; // use \"value\" instead." + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "index", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "key", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "value", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proof_ops", + "Type": "v1.ProofOps", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ResponseSetOption.json b/source/json_tables/cometbft/abci/v1beta1/ResponseSetOption.json new file mode 100644 index 00000000..da145629 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ResponseSetOption.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "bytes data = 2;" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta1/Response_ApplySnapshotChunk.json new file mode 100644 index 00000000..82a98a83 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_ApplySnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "apply_snapshot_chunk", + "Type": "ResponseApplySnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_BeginBlock.json b/source/json_tables/cometbft/abci/v1beta1/Response_BeginBlock.json new file mode 100644 index 00000000..5794d4a3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_BeginBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "begin_block", + "Type": "ResponseBeginBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_CheckTx.json b/source/json_tables/cometbft/abci/v1beta1/Response_CheckTx.json new file mode 100644 index 00000000..3cae7245 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_CheckTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "check_tx", + "Type": "ResponseCheckTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_Commit.json b/source/json_tables/cometbft/abci/v1beta1/Response_Commit.json new file mode 100644 index 00000000..c6edb327 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_Commit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "commit", + "Type": "ResponseCommit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_DeliverTx.json b/source/json_tables/cometbft/abci/v1beta1/Response_DeliverTx.json new file mode 100644 index 00000000..b054b4b2 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_DeliverTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "deliver_tx", + "Type": "ResponseDeliverTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_Echo.json b/source/json_tables/cometbft/abci/v1beta1/Response_Echo.json new file mode 100644 index 00000000..d60f0cfb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_Echo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "echo", + "Type": "ResponseEcho", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_EndBlock.json b/source/json_tables/cometbft/abci/v1beta1/Response_EndBlock.json new file mode 100644 index 00000000..d74aebb3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_EndBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "end_block", + "Type": "ResponseEndBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_Exception.json b/source/json_tables/cometbft/abci/v1beta1/Response_Exception.json new file mode 100644 index 00000000..5deb4590 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_Exception.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "exception", + "Type": "ResponseException", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_Flush.json b/source/json_tables/cometbft/abci/v1beta1/Response_Flush.json new file mode 100644 index 00000000..1bbc9a22 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_Flush.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "flush", + "Type": "ResponseFlush", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_Info.json b/source/json_tables/cometbft/abci/v1beta1/Response_Info.json new file mode 100644 index 00000000..22ead7b9 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_Info.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "ResponseInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_InitChain.json b/source/json_tables/cometbft/abci/v1beta1/Response_InitChain.json new file mode 100644 index 00000000..adc2c349 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_InitChain.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "init_chain", + "Type": "ResponseInitChain", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta1/Response_ListSnapshots.json new file mode 100644 index 00000000..e373c7d8 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_ListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "list_snapshots", + "Type": "ResponseListSnapshots", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta1/Response_LoadSnapshotChunk.json new file mode 100644 index 00000000..52e25a1e --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_LoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "load_snapshot_chunk", + "Type": "ResponseLoadSnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta1/Response_OfferSnapshot.json new file mode 100644 index 00000000..fb4bd161 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_OfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "offer_snapshot", + "Type": "ResponseOfferSnapshot", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_Query.json b/source/json_tables/cometbft/abci/v1beta1/Response_Query.json new file mode 100644 index 00000000..a086ad2d --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_Query.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "query", + "Type": "ResponseQuery", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Response_SetOption.json b/source/json_tables/cometbft/abci/v1beta1/Response_SetOption.json new file mode 100644 index 00000000..27764a70 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Response_SetOption.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "set_option", + "Type": "ResponseSetOption", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Snapshot.json b/source/json_tables/cometbft/abci/v1beta1/Snapshot.json new file mode 100644 index 00000000..123a9712 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Snapshot.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "format", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "chunks", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "metadata", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/TxResult.json b/source/json_tables/cometbft/abci/v1beta1/TxResult.json new file mode 100644 index 00000000..654b5a32 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/TxResult.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "index", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "tx", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "result", + "Type": "ResponseDeliverTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/Validator.json b/source/json_tables/cometbft/abci/v1beta1/Validator.json new file mode 100644 index 00000000..f354e383 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/Validator.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "power", + "Type": "int64", + "Description": "PubKey pub_key = 2 [(gogoproto.nullable)=false];" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/ValidatorUpdate.json b/source/json_tables/cometbft/abci/v1beta1/ValidatorUpdate.json new file mode 100644 index 00000000..d408acf3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/ValidatorUpdate.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "pub_key", + "Type": "v1.PublicKey", + "Description": "" + }, + { + "Parameter": "power", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta1/VoteInfo.json b/source/json_tables/cometbft/abci/v1beta1/VoteInfo.json new file mode 100644 index 00000000..23e54c7f --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta1/VoteInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "validator", + "Type": "Validator", + "Description": "" + }, + { + "Parameter": "signed_last_block", + "Type": "bool", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/CommitInfo.json b/source/json_tables/cometbft/abci/v1beta2/CommitInfo.json new file mode 100644 index 00000000..dce02e82 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/CommitInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "votes", + "Type": "v1beta1.VoteInfo array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Event.json b/source/json_tables/cometbft/abci/v1beta2/Event.json new file mode 100644 index 00000000..730563e1 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Event.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "type", + "Type": "string", + "Description": "" + }, + { + "Parameter": "attributes", + "Type": "EventAttribute array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ExtendedCommitInfo.json b/source/json_tables/cometbft/abci/v1beta2/ExtendedCommitInfo.json new file mode 100644 index 00000000..230487b4 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ExtendedCommitInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "round", + "Type": "int32", + "Description": "The round at which the block proposer decided in the previous height." + }, + { + "Parameter": "votes", + "Type": "ExtendedVoteInfo array", + "Description": "List of validators' addresses in the last validator set with their voting information, including vote extensions." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ExtendedVoteInfo.json b/source/json_tables/cometbft/abci/v1beta2/ExtendedVoteInfo.json new file mode 100644 index 00000000..46d12daa --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ExtendedVoteInfo.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "validator", + "Type": "v1beta1.Validator", + "Description": "The validator that sent the vote." + }, + { + "Parameter": "signed_last_block", + "Type": "bool", + "Description": "Indicates whether the validator signed the last block, allowing for rewards based on validator availability." + }, + { + "Parameter": "vote_extension", + "Type": "byte array", + "Description": "Non-deterministic extension provided by the sending validator's application." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Misbehavior.json b/source/json_tables/cometbft/abci/v1beta2/Misbehavior.json new file mode 100644 index 00000000..b9b11d30 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Misbehavior.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "type", + "Type": "MisbehaviorType", + "Description": "" + }, + { + "Parameter": "validator", + "Type": "v1beta1.Validator", + "Description": "The offending validator" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "The height when the offense occurred" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "The corresponding time where the offense occurred" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "Total voting power of the validator set in case the ABCI application does not store historical validators. https://github.com/tendermint/tendermint/issues/4581" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestBeginBlock.json b/source/json_tables/cometbft/abci/v1beta2/RequestBeginBlock.json new file mode 100644 index 00000000..ffce5fce --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/RequestBeginBlock.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "header", + "Type": "v1beta11.Header", + "Description": "" + }, + { + "Parameter": "last_commit_info", + "Type": "CommitInfo", + "Description": "" + }, + { + "Parameter": "byzantine_validators", + "Type": "Misbehavior array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestInfo.json b/source/json_tables/cometbft/abci/v1beta2/RequestInfo.json new file mode 100644 index 00000000..4191ccc9 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/RequestInfo.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "version", + "Type": "string", + "Description": "" + }, + { + "Parameter": "block_version", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "p2p_version", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "abci_version", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestInitChain.json b/source/json_tables/cometbft/abci/v1beta2/RequestInitChain.json new file mode 100644 index 00000000..9c59c0b8 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/RequestInitChain.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "consensus_params", + "Type": "v1beta2.ConsensusParams", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "v1beta1.ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "app_state_bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "initial_height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestPrepareProposal.json b/source/json_tables/cometbft/abci/v1beta2/RequestPrepareProposal.json new file mode 100644 index 00000000..393bad73 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/RequestPrepareProposal.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "max_tx_bytes", + "Type": "int64", + "Description": "the modified transactions cannot exceed this size." + }, + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "txs is an array of transactions that will be included in a block, sent to the app for possible modifications." + }, + { + "Parameter": "local_last_commit", + "Type": "ExtendedCommitInfo", + "Description": "" + }, + { + "Parameter": "misbehavior", + "Type": "Misbehavior array", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the validator proposing the block." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/RequestProcessProposal.json b/source/json_tables/cometbft/abci/v1beta2/RequestProcessProposal.json new file mode 100644 index 00000000..e06d7def --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/RequestProcessProposal.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "" + }, + { + "Parameter": "proposed_last_commit", + "Type": "CommitInfo", + "Description": "" + }, + { + "Parameter": "misbehavior", + "Type": "Misbehavior array", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "hash is the merkle root hash of the fields of the proposed block." + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the original proposer of the block." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta2/Request_ApplySnapshotChunk.json new file mode 100644 index 00000000..f1c47a26 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_ApplySnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "apply_snapshot_chunk", + "Type": "v1beta1.RequestApplySnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_BeginBlock.json b/source/json_tables/cometbft/abci/v1beta2/Request_BeginBlock.json new file mode 100644 index 00000000..93b3de75 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_BeginBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "begin_block", + "Type": "RequestBeginBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_CheckTx.json b/source/json_tables/cometbft/abci/v1beta2/Request_CheckTx.json new file mode 100644 index 00000000..d1295c62 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_CheckTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "check_tx", + "Type": "v1beta1.RequestCheckTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Commit.json b/source/json_tables/cometbft/abci/v1beta2/Request_Commit.json new file mode 100644 index 00000000..545d8a9e --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_Commit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "commit", + "Type": "v1beta1.RequestCommit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_DeliverTx.json b/source/json_tables/cometbft/abci/v1beta2/Request_DeliverTx.json new file mode 100644 index 00000000..f91b08f2 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_DeliverTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "deliver_tx", + "Type": "v1beta1.RequestDeliverTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Echo.json b/source/json_tables/cometbft/abci/v1beta2/Request_Echo.json new file mode 100644 index 00000000..5fcf8bc3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_Echo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "echo", + "Type": "v1beta1.RequestEcho", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_EndBlock.json b/source/json_tables/cometbft/abci/v1beta2/Request_EndBlock.json new file mode 100644 index 00000000..e2671107 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_EndBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "end_block", + "Type": "v1beta1.RequestEndBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Flush.json b/source/json_tables/cometbft/abci/v1beta2/Request_Flush.json new file mode 100644 index 00000000..ffb3a2bb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_Flush.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "flush", + "Type": "v1beta1.RequestFlush", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Info.json b/source/json_tables/cometbft/abci/v1beta2/Request_Info.json new file mode 100644 index 00000000..87a52a42 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_Info.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "RequestInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_InitChain.json b/source/json_tables/cometbft/abci/v1beta2/Request_InitChain.json new file mode 100644 index 00000000..bca6e470 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_InitChain.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "init_chain", + "Type": "RequestInitChain", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta2/Request_ListSnapshots.json new file mode 100644 index 00000000..09b864ef --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_ListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "list_snapshots", + "Type": "v1beta1.RequestListSnapshots", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta2/Request_LoadSnapshotChunk.json new file mode 100644 index 00000000..922bcd4a --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_LoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "load_snapshot_chunk", + "Type": "v1beta1.RequestLoadSnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta2/Request_OfferSnapshot.json new file mode 100644 index 00000000..13802582 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_OfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "offer_snapshot", + "Type": "v1beta1.RequestOfferSnapshot", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_PrepareProposal.json b/source/json_tables/cometbft/abci/v1beta2/Request_PrepareProposal.json new file mode 100644 index 00000000..dcabad31 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_PrepareProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "prepare_proposal", + "Type": "RequestPrepareProposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_ProcessProposal.json b/source/json_tables/cometbft/abci/v1beta2/Request_ProcessProposal.json new file mode 100644 index 00000000..2d344d99 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_ProcessProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "process_proposal", + "Type": "RequestProcessProposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Request_Query.json b/source/json_tables/cometbft/abci/v1beta2/Request_Query.json new file mode 100644 index 00000000..5f156f9e --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Request_Query.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "query", + "Type": "v1beta1.RequestQuery", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponseBeginBlock.json b/source/json_tables/cometbft/abci/v1beta2/ResponseBeginBlock.json new file mode 100644 index 00000000..8343b448 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ResponseBeginBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponseCheckTx.json b/source/json_tables/cometbft/abci/v1beta2/ResponseCheckTx.json new file mode 100644 index 00000000..e44844bb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ResponseCheckTx.json @@ -0,0 +1,57 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "gas_wanted", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "gas_used", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + }, + { + "Parameter": "sender", + "Type": "string", + "Description": "" + }, + { + "Parameter": "priority", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "mempool_error", + "Type": "string", + "Description": "mempool_error is set by CometBFT. ABCI applications creating a ResponseCheckTX should not set mempool_error." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponseDeliverTx.json b/source/json_tables/cometbft/abci/v1beta2/ResponseDeliverTx.json new file mode 100644 index 00000000..074c3600 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ResponseDeliverTx.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "gas_wanted", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "gas_used", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponseEndBlock.json b/source/json_tables/cometbft/abci/v1beta2/ResponseEndBlock.json new file mode 100644 index 00000000..2a28d73c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ResponseEndBlock.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "validator_updates", + "Type": "v1beta1.ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "consensus_param_updates", + "Type": "v1beta2.ConsensusParams", + "Description": "" + }, + { + "Parameter": "events", + "Type": "Event array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponseInitChain.json b/source/json_tables/cometbft/abci/v1beta2/ResponseInitChain.json new file mode 100644 index 00000000..7503ed40 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ResponseInitChain.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "consensus_params", + "Type": "v1beta2.ConsensusParams", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "v1beta1.ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponsePrepareProposal.json b/source/json_tables/cometbft/abci/v1beta2/ResponsePrepareProposal.json new file mode 100644 index 00000000..b2bb5885 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ResponsePrepareProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/ResponseProcessProposal.json b/source/json_tables/cometbft/abci/v1beta2/ResponseProcessProposal.json new file mode 100644 index 00000000..c0a9bce1 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/ResponseProcessProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "status", + "Type": "ResponseProcessProposal_ProposalStatus", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta2/Response_ApplySnapshotChunk.json new file mode 100644 index 00000000..5cdb6fb5 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_ApplySnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "apply_snapshot_chunk", + "Type": "v1beta1.ResponseApplySnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_BeginBlock.json b/source/json_tables/cometbft/abci/v1beta2/Response_BeginBlock.json new file mode 100644 index 00000000..5794d4a3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_BeginBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "begin_block", + "Type": "ResponseBeginBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_CheckTx.json b/source/json_tables/cometbft/abci/v1beta2/Response_CheckTx.json new file mode 100644 index 00000000..3cae7245 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_CheckTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "check_tx", + "Type": "ResponseCheckTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Commit.json b/source/json_tables/cometbft/abci/v1beta2/Response_Commit.json new file mode 100644 index 00000000..00c15665 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_Commit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "commit", + "Type": "v1beta1.ResponseCommit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_DeliverTx.json b/source/json_tables/cometbft/abci/v1beta2/Response_DeliverTx.json new file mode 100644 index 00000000..b054b4b2 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_DeliverTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "deliver_tx", + "Type": "ResponseDeliverTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Echo.json b/source/json_tables/cometbft/abci/v1beta2/Response_Echo.json new file mode 100644 index 00000000..6b792de8 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_Echo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "echo", + "Type": "v1beta1.ResponseEcho", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_EndBlock.json b/source/json_tables/cometbft/abci/v1beta2/Response_EndBlock.json new file mode 100644 index 00000000..d74aebb3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_EndBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "end_block", + "Type": "ResponseEndBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Exception.json b/source/json_tables/cometbft/abci/v1beta2/Response_Exception.json new file mode 100644 index 00000000..6fccaa01 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_Exception.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "exception", + "Type": "v1beta1.ResponseException", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Flush.json b/source/json_tables/cometbft/abci/v1beta2/Response_Flush.json new file mode 100644 index 00000000..d6f715cd --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_Flush.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "flush", + "Type": "v1beta1.ResponseFlush", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Info.json b/source/json_tables/cometbft/abci/v1beta2/Response_Info.json new file mode 100644 index 00000000..83b88831 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_Info.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "v1beta1.ResponseInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_InitChain.json b/source/json_tables/cometbft/abci/v1beta2/Response_InitChain.json new file mode 100644 index 00000000..adc2c349 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_InitChain.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "init_chain", + "Type": "ResponseInitChain", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta2/Response_ListSnapshots.json new file mode 100644 index 00000000..706771ca --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_ListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "list_snapshots", + "Type": "v1beta1.ResponseListSnapshots", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta2/Response_LoadSnapshotChunk.json new file mode 100644 index 00000000..6d098aca --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_LoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "load_snapshot_chunk", + "Type": "v1beta1.ResponseLoadSnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta2/Response_OfferSnapshot.json new file mode 100644 index 00000000..4b1b88fa --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_OfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "offer_snapshot", + "Type": "v1beta1.ResponseOfferSnapshot", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_PrepareProposal.json b/source/json_tables/cometbft/abci/v1beta2/Response_PrepareProposal.json new file mode 100644 index 00000000..5ffb8685 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_PrepareProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "prepare_proposal", + "Type": "ResponsePrepareProposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_ProcessProposal.json b/source/json_tables/cometbft/abci/v1beta2/Response_ProcessProposal.json new file mode 100644 index 00000000..ab45f152 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_ProcessProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "process_proposal", + "Type": "ResponseProcessProposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta2/Response_Query.json b/source/json_tables/cometbft/abci/v1beta2/Response_Query.json new file mode 100644 index 00000000..6dcce614 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta2/Response_Query.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "query", + "Type": "v1beta1.ResponseQuery", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/CommitInfo.json b/source/json_tables/cometbft/abci/v1beta3/CommitInfo.json new file mode 100644 index 00000000..3f39dc1c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/CommitInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "votes", + "Type": "VoteInfo array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ExecTxResult.json b/source/json_tables/cometbft/abci/v1beta3/ExecTxResult.json new file mode 100644 index 00000000..f92255fb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ExecTxResult.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "gas_wanted", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "gas_used", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "events", + "Type": "v1beta2.Event array", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ExtendedCommitInfo.json b/source/json_tables/cometbft/abci/v1beta3/ExtendedCommitInfo.json new file mode 100644 index 00000000..230487b4 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ExtendedCommitInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "round", + "Type": "int32", + "Description": "The round at which the block proposer decided in the previous height." + }, + { + "Parameter": "votes", + "Type": "ExtendedVoteInfo array", + "Description": "List of validators' addresses in the last validator set with their voting information, including vote extensions." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ExtendedVoteInfo.json b/source/json_tables/cometbft/abci/v1beta3/ExtendedVoteInfo.json new file mode 100644 index 00000000..60799f96 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ExtendedVoteInfo.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "validator", + "Type": "v1beta1.Validator", + "Description": "The validator that sent the vote." + }, + { + "Parameter": "vote_extension", + "Type": "byte array", + "Description": "Non-deterministic extension provided by the sending validator's application." + }, + { + "Parameter": "extension_signature", + "Type": "byte array", + "Description": "Vote extension signature created by CometBFT" + }, + { + "Parameter": "block_id_flag", + "Type": "v1beta11.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 new file mode 100644 index 00000000..fcf90a22 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/RequestExtendVote.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "the hash of the block that this vote may be referring to" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "the height of the extended vote" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "info of the block that this vote may be referring to" + }, + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "" + }, + { + "Parameter": "proposed_last_commit", + "Type": "CommitInfo", + "Description": "" + }, + { + "Parameter": "misbehavior", + "Type": "v1beta2.Misbehavior array", + "Description": "" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the original proposer of the block." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestFinalizeBlock.json b/source/json_tables/cometbft/abci/v1beta3/RequestFinalizeBlock.json new file mode 100644 index 00000000..bdb0c704 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/RequestFinalizeBlock.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "" + }, + { + "Parameter": "decided_last_commit", + "Type": "CommitInfo", + "Description": "" + }, + { + "Parameter": "misbehavior", + "Type": "v1beta2.Misbehavior array", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "hash is the merkle root hash of the fields of the decided block." + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "proposer_address is the address of the public key of the original proposer of the block." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestInitChain.json b/source/json_tables/cometbft/abci/v1beta3/RequestInitChain.json new file mode 100644 index 00000000..e8982a34 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/RequestInitChain.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "consensus_params", + "Type": "v1.ConsensusParams", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "v1beta1.ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "app_state_bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "initial_height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestPrepareProposal.json b/source/json_tables/cometbft/abci/v1beta3/RequestPrepareProposal.json new file mode 100644 index 00000000..1ed450a1 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/RequestPrepareProposal.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "max_tx_bytes", + "Type": "int64", + "Description": "the modified transactions cannot exceed this size." + }, + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "txs is an array of transactions that will be included in a block, sent to the app for possible modifications." + }, + { + "Parameter": "local_last_commit", + "Type": "ExtendedCommitInfo", + "Description": "" + }, + { + "Parameter": "misbehavior", + "Type": "v1beta2.Misbehavior array", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the validator proposing the block." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestProcessProposal.json b/source/json_tables/cometbft/abci/v1beta3/RequestProcessProposal.json new file mode 100644 index 00000000..19a2d956 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/RequestProcessProposal.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "" + }, + { + "Parameter": "proposed_last_commit", + "Type": "CommitInfo", + "Description": "" + }, + { + "Parameter": "misbehavior", + "Type": "v1beta2.Misbehavior array", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "hash is the merkle root hash of the fields of the proposed block." + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "address of the public key of the original proposer of the block." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/RequestVerifyVoteExtension.json b/source/json_tables/cometbft/abci/v1beta3/RequestVerifyVoteExtension.json new file mode 100644 index 00000000..87e5fffe --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/RequestVerifyVoteExtension.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "the hash of the block that this received vote corresponds to" + }, + { + "Parameter": "validator_address", + "Type": "byte array", + "Description": "the validator that signed the vote extension" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "vote_extension", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta3/Request_ApplySnapshotChunk.json new file mode 100644 index 00000000..f1c47a26 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_ApplySnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "apply_snapshot_chunk", + "Type": "v1beta1.RequestApplySnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_CheckTx.json b/source/json_tables/cometbft/abci/v1beta3/Request_CheckTx.json new file mode 100644 index 00000000..d1295c62 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_CheckTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "check_tx", + "Type": "v1beta1.RequestCheckTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Commit.json b/source/json_tables/cometbft/abci/v1beta3/Request_Commit.json new file mode 100644 index 00000000..545d8a9e --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_Commit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "commit", + "Type": "v1beta1.RequestCommit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Echo.json b/source/json_tables/cometbft/abci/v1beta3/Request_Echo.json new file mode 100644 index 00000000..5fcf8bc3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_Echo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "echo", + "Type": "v1beta1.RequestEcho", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_ExtendVote.json b/source/json_tables/cometbft/abci/v1beta3/Request_ExtendVote.json new file mode 100644 index 00000000..9c4c614c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_ExtendVote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "extend_vote", + "Type": "RequestExtendVote", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_FinalizeBlock.json b/source/json_tables/cometbft/abci/v1beta3/Request_FinalizeBlock.json new file mode 100644 index 00000000..ef6b46d6 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_FinalizeBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "finalize_block", + "Type": "RequestFinalizeBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Flush.json b/source/json_tables/cometbft/abci/v1beta3/Request_Flush.json new file mode 100644 index 00000000..ffb3a2bb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_Flush.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "flush", + "Type": "v1beta1.RequestFlush", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Info.json b/source/json_tables/cometbft/abci/v1beta3/Request_Info.json new file mode 100644 index 00000000..10d3d3fb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_Info.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "v1beta2.RequestInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_InitChain.json b/source/json_tables/cometbft/abci/v1beta3/Request_InitChain.json new file mode 100644 index 00000000..bca6e470 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_InitChain.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "init_chain", + "Type": "RequestInitChain", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta3/Request_ListSnapshots.json new file mode 100644 index 00000000..09b864ef --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_ListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "list_snapshots", + "Type": "v1beta1.RequestListSnapshots", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta3/Request_LoadSnapshotChunk.json new file mode 100644 index 00000000..922bcd4a --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_LoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "load_snapshot_chunk", + "Type": "v1beta1.RequestLoadSnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta3/Request_OfferSnapshot.json new file mode 100644 index 00000000..13802582 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_OfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "offer_snapshot", + "Type": "v1beta1.RequestOfferSnapshot", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_PrepareProposal.json b/source/json_tables/cometbft/abci/v1beta3/Request_PrepareProposal.json new file mode 100644 index 00000000..dcabad31 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_PrepareProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "prepare_proposal", + "Type": "RequestPrepareProposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_ProcessProposal.json b/source/json_tables/cometbft/abci/v1beta3/Request_ProcessProposal.json new file mode 100644 index 00000000..2d344d99 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_ProcessProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "process_proposal", + "Type": "RequestProcessProposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_Query.json b/source/json_tables/cometbft/abci/v1beta3/Request_Query.json new file mode 100644 index 00000000..5f156f9e --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_Query.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "query", + "Type": "v1beta1.RequestQuery", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Request_VerifyVoteExtension.json b/source/json_tables/cometbft/abci/v1beta3/Request_VerifyVoteExtension.json new file mode 100644 index 00000000..1c4ba0bf --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Request_VerifyVoteExtension.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "verify_vote_extension", + "Type": "RequestVerifyVoteExtension", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseCheckTx.json b/source/json_tables/cometbft/abci/v1beta3/ResponseCheckTx.json new file mode 100644 index 00000000..f92255fb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ResponseCheckTx.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "gas_wanted", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "gas_used", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "events", + "Type": "v1beta2.Event array", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseCommit.json b/source/json_tables/cometbft/abci/v1beta3/ResponseCommit.json new file mode 100644 index 00000000..97c5eeeb --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ResponseCommit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "retain_height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseExtendVote.json b/source/json_tables/cometbft/abci/v1beta3/ResponseExtendVote.json new file mode 100644 index 00000000..d507d72c --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ResponseExtendVote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote_extension", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseFinalizeBlock.json b/source/json_tables/cometbft/abci/v1beta3/ResponseFinalizeBlock.json new file mode 100644 index 00000000..38b1009f --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ResponseFinalizeBlock.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "events", + "Type": "v1beta2.Event array", + "Description": "set of block events emitted as part of executing the block" + }, + { + "Parameter": "tx_results", + "Type": "ExecTxResult array", + "Description": "the result of executing each transaction including the events the particular transaction emitted. This should match the order of the transactions delivered in the block itself" + }, + { + "Parameter": "validator_updates", + "Type": "v1beta1.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", + "Description": "updates to the consensus params, if any." + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "app_hash is the hash of the applications' state which is used to confirm that execution of the transactions was deterministic. It is up to the application to decide which algorithm to use." + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseInitChain.json b/source/json_tables/cometbft/abci/v1beta3/ResponseInitChain.json new file mode 100644 index 00000000..36f0610a --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ResponseInitChain.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "consensus_params", + "Type": "v1.ConsensusParams", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "v1beta1.ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/ResponseVerifyVoteExtension.json b/source/json_tables/cometbft/abci/v1beta3/ResponseVerifyVoteExtension.json new file mode 100644 index 00000000..635adc34 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/ResponseVerifyVoteExtension.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "status", + "Type": "ResponseVerifyVoteExtension_VerifyStatus", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_ApplySnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta3/Response_ApplySnapshotChunk.json new file mode 100644 index 00000000..5cdb6fb5 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_ApplySnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "apply_snapshot_chunk", + "Type": "v1beta1.ResponseApplySnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_CheckTx.json b/source/json_tables/cometbft/abci/v1beta3/Response_CheckTx.json new file mode 100644 index 00000000..3cae7245 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_CheckTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "check_tx", + "Type": "ResponseCheckTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Commit.json b/source/json_tables/cometbft/abci/v1beta3/Response_Commit.json new file mode 100644 index 00000000..c6edb327 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_Commit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "commit", + "Type": "ResponseCommit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Echo.json b/source/json_tables/cometbft/abci/v1beta3/Response_Echo.json new file mode 100644 index 00000000..6b792de8 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_Echo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "echo", + "Type": "v1beta1.ResponseEcho", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Exception.json b/source/json_tables/cometbft/abci/v1beta3/Response_Exception.json new file mode 100644 index 00000000..6fccaa01 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_Exception.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "exception", + "Type": "v1beta1.ResponseException", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_ExtendVote.json b/source/json_tables/cometbft/abci/v1beta3/Response_ExtendVote.json new file mode 100644 index 00000000..07c65246 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_ExtendVote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "extend_vote", + "Type": "ResponseExtendVote", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_FinalizeBlock.json b/source/json_tables/cometbft/abci/v1beta3/Response_FinalizeBlock.json new file mode 100644 index 00000000..8f64f0d3 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_FinalizeBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "finalize_block", + "Type": "ResponseFinalizeBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Flush.json b/source/json_tables/cometbft/abci/v1beta3/Response_Flush.json new file mode 100644 index 00000000..d6f715cd --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_Flush.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "flush", + "Type": "v1beta1.ResponseFlush", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Info.json b/source/json_tables/cometbft/abci/v1beta3/Response_Info.json new file mode 100644 index 00000000..83b88831 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_Info.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "v1beta1.ResponseInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_InitChain.json b/source/json_tables/cometbft/abci/v1beta3/Response_InitChain.json new file mode 100644 index 00000000..adc2c349 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_InitChain.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "init_chain", + "Type": "ResponseInitChain", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_ListSnapshots.json b/source/json_tables/cometbft/abci/v1beta3/Response_ListSnapshots.json new file mode 100644 index 00000000..706771ca --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_ListSnapshots.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "list_snapshots", + "Type": "v1beta1.ResponseListSnapshots", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_LoadSnapshotChunk.json b/source/json_tables/cometbft/abci/v1beta3/Response_LoadSnapshotChunk.json new file mode 100644 index 00000000..6d098aca --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_LoadSnapshotChunk.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "load_snapshot_chunk", + "Type": "v1beta1.ResponseLoadSnapshotChunk", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_OfferSnapshot.json b/source/json_tables/cometbft/abci/v1beta3/Response_OfferSnapshot.json new file mode 100644 index 00000000..4b1b88fa --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_OfferSnapshot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "offer_snapshot", + "Type": "v1beta1.ResponseOfferSnapshot", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_PrepareProposal.json b/source/json_tables/cometbft/abci/v1beta3/Response_PrepareProposal.json new file mode 100644 index 00000000..c7a3a032 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_PrepareProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "prepare_proposal", + "Type": "v1beta2.ResponsePrepareProposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_ProcessProposal.json b/source/json_tables/cometbft/abci/v1beta3/Response_ProcessProposal.json new file mode 100644 index 00000000..1a30801f --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_ProcessProposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "process_proposal", + "Type": "v1beta2.ResponseProcessProposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_Query.json b/source/json_tables/cometbft/abci/v1beta3/Response_Query.json new file mode 100644 index 00000000..6dcce614 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_Query.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "query", + "Type": "v1beta1.ResponseQuery", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/Response_VerifyVoteExtension.json b/source/json_tables/cometbft/abci/v1beta3/Response_VerifyVoteExtension.json new file mode 100644 index 00000000..f3713ff8 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/Response_VerifyVoteExtension.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "verify_vote_extension", + "Type": "ResponseVerifyVoteExtension", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/TxResult.json b/source/json_tables/cometbft/abci/v1beta3/TxResult.json new file mode 100644 index 00000000..f46e2101 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/TxResult.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "index", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "tx", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "result", + "Type": "ExecTxResult", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/abci/v1beta3/VoteInfo.json b/source/json_tables/cometbft/abci/v1beta3/VoteInfo.json new file mode 100644 index 00000000..0cb4a005 --- /dev/null +++ b/source/json_tables/cometbft/abci/v1beta3/VoteInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "validator", + "Type": "v1beta1.Validator", + "Description": "" + }, + { + "Parameter": "block_id_flag", + "Type": "v1beta11.BlockIDFlag", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/BlockRequest.json b/source/json_tables/cometbft/blocksync/v1/BlockRequest.json new file mode 100644 index 00000000..2d6eb3d8 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/BlockRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/BlockResponse.json b/source/json_tables/cometbft/blocksync/v1/BlockResponse.json new file mode 100644 index 00000000..d01cd210 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/BlockResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "block", + "Type": "v1.Block", + "Description": "" + }, + { + "Parameter": "ext_commit", + "Type": "v1.ExtendedCommit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/Message_BlockRequest.json b/source/json_tables/cometbft/blocksync/v1/Message_BlockRequest.json new file mode 100644 index 00000000..f76c384a --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/Message_BlockRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "block_request", + "Type": "BlockRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/Message_BlockResponse.json b/source/json_tables/cometbft/blocksync/v1/Message_BlockResponse.json new file mode 100644 index 00000000..d19f2de1 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/Message_BlockResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "block_response", + "Type": "BlockResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/Message_NoBlockResponse.json b/source/json_tables/cometbft/blocksync/v1/Message_NoBlockResponse.json new file mode 100644 index 00000000..d49aa5e5 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/Message_NoBlockResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "no_block_response", + "Type": "NoBlockResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/Message_StatusRequest.json b/source/json_tables/cometbft/blocksync/v1/Message_StatusRequest.json new file mode 100644 index 00000000..86531786 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/Message_StatusRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "status_request", + "Type": "StatusRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/Message_StatusResponse.json b/source/json_tables/cometbft/blocksync/v1/Message_StatusResponse.json new file mode 100644 index 00000000..0a80302d --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/Message_StatusResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "status_response", + "Type": "StatusResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/NoBlockResponse.json b/source/json_tables/cometbft/blocksync/v1/NoBlockResponse.json new file mode 100644 index 00000000..0f4e1315 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/NoBlockResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1/StatusResponse.json b/source/json_tables/cometbft/blocksync/v1/StatusResponse.json new file mode 100644 index 00000000..f0a2295a --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1/StatusResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "base", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/BlockRequest.json b/source/json_tables/cometbft/blocksync/v1beta1/BlockRequest.json new file mode 100644 index 00000000..2d6eb3d8 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/BlockRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/BlockResponse.json b/source/json_tables/cometbft/blocksync/v1beta1/BlockResponse.json new file mode 100644 index 00000000..0055380a --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/BlockResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "block", + "Type": "v1beta1.Block", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/Message_BlockRequest.json b/source/json_tables/cometbft/blocksync/v1beta1/Message_BlockRequest.json new file mode 100644 index 00000000..f76c384a --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/Message_BlockRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "block_request", + "Type": "BlockRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/Message_BlockResponse.json b/source/json_tables/cometbft/blocksync/v1beta1/Message_BlockResponse.json new file mode 100644 index 00000000..d19f2de1 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/Message_BlockResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "block_response", + "Type": "BlockResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/Message_NoBlockResponse.json b/source/json_tables/cometbft/blocksync/v1beta1/Message_NoBlockResponse.json new file mode 100644 index 00000000..d49aa5e5 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/Message_NoBlockResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "no_block_response", + "Type": "NoBlockResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/Message_StatusRequest.json b/source/json_tables/cometbft/blocksync/v1beta1/Message_StatusRequest.json new file mode 100644 index 00000000..86531786 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/Message_StatusRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "status_request", + "Type": "StatusRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/Message_StatusResponse.json b/source/json_tables/cometbft/blocksync/v1beta1/Message_StatusResponse.json new file mode 100644 index 00000000..0a80302d --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/Message_StatusResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "status_response", + "Type": "StatusResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/NoBlockResponse.json b/source/json_tables/cometbft/blocksync/v1beta1/NoBlockResponse.json new file mode 100644 index 00000000..0f4e1315 --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/NoBlockResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/blocksync/v1beta1/StatusResponse.json b/source/json_tables/cometbft/blocksync/v1beta1/StatusResponse.json new file mode 100644 index 00000000..f0a2295a --- /dev/null +++ b/source/json_tables/cometbft/blocksync/v1beta1/StatusResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "base", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1/ApplySnapshotChunkResult.json b/source/json_tables/cometbft/cometbft/abci/v1/ApplySnapshotChunkResult.json new file mode 100644 index 00000000..bb263a83 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1/ApplySnapshotChunkResult.json @@ -0,0 +1,26 @@ +[ + { + "Code": "0", + "Name": "APPLY_SNAPSHOT_CHUNK_RESULT_UNKNOWN" + }, + { + "Code": "1", + "Name": "APPLY_SNAPSHOT_CHUNK_RESULT_ACCEPT" + }, + { + "Code": "2", + "Name": "APPLY_SNAPSHOT_CHUNK_RESULT_ABORT" + }, + { + "Code": "3", + "Name": "APPLY_SNAPSHOT_CHUNK_RESULT_RETRY" + }, + { + "Code": "4", + "Name": "APPLY_SNAPSHOT_CHUNK_RESULT_RETRY_SNAPSHOT" + }, + { + "Code": "5", + "Name": "APPLY_SNAPSHOT_CHUNK_RESULT_REJECT_SNAPSHOT" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1/CheckTxType.json b/source/json_tables/cometbft/cometbft/abci/v1/CheckTxType.json new file mode 100644 index 00000000..c0e60667 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1/CheckTxType.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "CHECK_TX_TYPE_UNKNOWN" + }, + { + "Code": "1", + "Name": "CHECK_TX_TYPE_RECHECK" + }, + { + "Code": "2", + "Name": "CHECK_TX_TYPE_CHECK" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1/MisbehaviorType.json b/source/json_tables/cometbft/cometbft/abci/v1/MisbehaviorType.json new file mode 100644 index 00000000..1e316e58 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1/MisbehaviorType.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "MISBEHAVIOR_TYPE_UNKNOWN" + }, + { + "Code": "1", + "Name": "MISBEHAVIOR_TYPE_DUPLICATE_VOTE" + }, + { + "Code": "2", + "Name": "MISBEHAVIOR_TYPE_LIGHT_CLIENT_ATTACK" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1/OfferSnapshotResult.json b/source/json_tables/cometbft/cometbft/abci/v1/OfferSnapshotResult.json new file mode 100644 index 00000000..82404045 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1/OfferSnapshotResult.json @@ -0,0 +1,26 @@ +[ + { + "Code": "0", + "Name": "OFFER_SNAPSHOT_RESULT_UNKNOWN" + }, + { + "Code": "1", + "Name": "OFFER_SNAPSHOT_RESULT_ACCEPT" + }, + { + "Code": "2", + "Name": "OFFER_SNAPSHOT_RESULT_ABORT" + }, + { + "Code": "3", + "Name": "OFFER_SNAPSHOT_RESULT_REJECT" + }, + { + "Code": "4", + "Name": "OFFER_SNAPSHOT_RESULT_REJECT_FORMAT" + }, + { + "Code": "5", + "Name": "OFFER_SNAPSHOT_RESULT_REJECT_SENDER" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1/ProcessProposalStatus.json b/source/json_tables/cometbft/cometbft/abci/v1/ProcessProposalStatus.json new file mode 100644 index 00000000..71a6032f --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1/ProcessProposalStatus.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "PROCESS_PROPOSAL_STATUS_UNKNOWN" + }, + { + "Code": "1", + "Name": "PROCESS_PROPOSAL_STATUS_ACCEPT" + }, + { + "Code": "2", + "Name": "PROCESS_PROPOSAL_STATUS_REJECT" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1/VerifyVoteExtensionStatus.json b/source/json_tables/cometbft/cometbft/abci/v1/VerifyVoteExtensionStatus.json new file mode 100644 index 00000000..568cc872 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1/VerifyVoteExtensionStatus.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "VERIFY_VOTE_EXTENSION_STATUS_UNKNOWN" + }, + { + "Code": "1", + "Name": "VERIFY_VOTE_EXTENSION_STATUS_ACCEPT" + }, + { + "Code": "2", + "Name": "VERIFY_VOTE_EXTENSION_STATUS_REJECT" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1beta1/CheckTxType.json b/source/json_tables/cometbft/cometbft/abci/v1beta1/CheckTxType.json new file mode 100644 index 00000000..42d126fe --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1beta1/CheckTxType.json @@ -0,0 +1,10 @@ +[ + { + "Code": "0", + "Name": "NEW" + }, + { + "Code": "1", + "Name": "RECHECK" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1beta1/EvidenceType.json b/source/json_tables/cometbft/cometbft/abci/v1beta1/EvidenceType.json new file mode 100644 index 00000000..5f5e0484 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1beta1/EvidenceType.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "DUPLICATE_VOTE" + }, + { + "Code": "2", + "Name": "LIGHT_CLIENT_ATTACK" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1beta1/Result.json b/source/json_tables/cometbft/cometbft/abci/v1beta1/Result.json new file mode 100644 index 00000000..9b417198 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1beta1/Result.json @@ -0,0 +1,26 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "ACCEPT" + }, + { + "Code": "2", + "Name": "ABORT" + }, + { + "Code": "3", + "Name": "RETRY" + }, + { + "Code": "4", + "Name": "RETRY_SNAPSHOT" + }, + { + "Code": "5", + "Name": "REJECT_SNAPSHOT" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1beta2/MisbehaviorType.json b/source/json_tables/cometbft/cometbft/abci/v1beta2/MisbehaviorType.json new file mode 100644 index 00000000..5f5e0484 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1beta2/MisbehaviorType.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "DUPLICATE_VOTE" + }, + { + "Code": "2", + "Name": "LIGHT_CLIENT_ATTACK" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1beta2/ProposalStatus.json b/source/json_tables/cometbft/cometbft/abci/v1beta2/ProposalStatus.json new file mode 100644 index 00000000..b2cd718b --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1beta2/ProposalStatus.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "ACCEPT" + }, + { + "Code": "2", + "Name": "REJECT" + } +] diff --git a/source/json_tables/cometbft/cometbft/abci/v1beta3/VerifyStatus.json b/source/json_tables/cometbft/cometbft/abci/v1beta3/VerifyStatus.json new file mode 100644 index 00000000..b2cd718b --- /dev/null +++ b/source/json_tables/cometbft/cometbft/abci/v1beta3/VerifyStatus.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "ACCEPT" + }, + { + "Code": "2", + "Name": "REJECT" + } +] diff --git a/source/json_tables/cometbft/cometbft/privval/v1beta1/Errors.json b/source/json_tables/cometbft/cometbft/privval/v1beta1/Errors.json new file mode 100644 index 00000000..faa47de4 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/privval/v1beta1/Errors.json @@ -0,0 +1,26 @@ +[ + { + "Code": "0", + "Name": "ERRORS_UNKNOWN" + }, + { + "Code": "1", + "Name": "ERRORS_UNEXPECTED_RESPONSE" + }, + { + "Code": "2", + "Name": "ERRORS_NO_CONNECTION" + }, + { + "Code": "3", + "Name": "ERRORS_CONNECTION_TIMEOUT" + }, + { + "Code": "4", + "Name": "ERRORS_READ_TIMEOUT" + }, + { + "Code": "5", + "Name": "ERRORS_WRITE_TIMEOUT" + } +] diff --git a/source/json_tables/cometbft/cometbft/privval/v1beta2/Errors.json b/source/json_tables/cometbft/cometbft/privval/v1beta2/Errors.json new file mode 100644 index 00000000..faa47de4 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/privval/v1beta2/Errors.json @@ -0,0 +1,26 @@ +[ + { + "Code": "0", + "Name": "ERRORS_UNKNOWN" + }, + { + "Code": "1", + "Name": "ERRORS_UNEXPECTED_RESPONSE" + }, + { + "Code": "2", + "Name": "ERRORS_NO_CONNECTION" + }, + { + "Code": "3", + "Name": "ERRORS_CONNECTION_TIMEOUT" + }, + { + "Code": "4", + "Name": "ERRORS_READ_TIMEOUT" + }, + { + "Code": "5", + "Name": "ERRORS_WRITE_TIMEOUT" + } +] diff --git a/source/json_tables/cometbft/cometbft/types/v1/BlockIDFlag.json b/source/json_tables/cometbft/cometbft/types/v1/BlockIDFlag.json new file mode 100644 index 00000000..7c3138fc --- /dev/null +++ b/source/json_tables/cometbft/cometbft/types/v1/BlockIDFlag.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "BLOCK_ID_FLAG_UNKNOWN" + }, + { + "Code": "1", + "Name": "BLOCK_ID_FLAG_ABSENT" + }, + { + "Code": "2", + "Name": "BLOCK_ID_FLAG_COMMIT" + }, + { + "Code": "3", + "Name": "BLOCK_ID_FLAG_NIL" + } +] diff --git a/source/json_tables/cometbft/cometbft/types/v1/SignedMsgType.json b/source/json_tables/cometbft/cometbft/types/v1/SignedMsgType.json new file mode 100644 index 00000000..d4aa6ee3 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/types/v1/SignedMsgType.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "SIGNED_MSG_TYPE_UNKNOWN" + }, + { + "Code": "1", + "Name": "SIGNED_MSG_TYPE_PREVOTE" + }, + { + "Code": "2", + "Name": "SIGNED_MSG_TYPE_PRECOMMIT" + }, + { + "Code": "32", + "Name": "SIGNED_MSG_TYPE_PROPOSAL" + } +] diff --git a/source/json_tables/cometbft/cometbft/types/v1beta1/BlockIDFlag.json b/source/json_tables/cometbft/cometbft/types/v1beta1/BlockIDFlag.json new file mode 100644 index 00000000..7c3138fc --- /dev/null +++ b/source/json_tables/cometbft/cometbft/types/v1beta1/BlockIDFlag.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "BLOCK_ID_FLAG_UNKNOWN" + }, + { + "Code": "1", + "Name": "BLOCK_ID_FLAG_ABSENT" + }, + { + "Code": "2", + "Name": "BLOCK_ID_FLAG_COMMIT" + }, + { + "Code": "3", + "Name": "BLOCK_ID_FLAG_NIL" + } +] diff --git a/source/json_tables/cometbft/cometbft/types/v1beta1/SignedMsgType.json b/source/json_tables/cometbft/cometbft/types/v1beta1/SignedMsgType.json new file mode 100644 index 00000000..d4aa6ee3 --- /dev/null +++ b/source/json_tables/cometbft/cometbft/types/v1beta1/SignedMsgType.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "SIGNED_MSG_TYPE_UNKNOWN" + }, + { + "Code": "1", + "Name": "SIGNED_MSG_TYPE_PREVOTE" + }, + { + "Code": "2", + "Name": "SIGNED_MSG_TYPE_PRECOMMIT" + }, + { + "Code": "32", + "Name": "SIGNED_MSG_TYPE_PROPOSAL" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/BlockPart.json b/source/json_tables/cometbft/consensus/v1/BlockPart.json new file mode 100644 index 00000000..6210a341 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/BlockPart.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "part", + "Type": "v1.Part", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/EndHeight.json b/source/json_tables/cometbft/consensus/v1/EndHeight.json new file mode 100644 index 00000000..0f4e1315 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/EndHeight.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/HasProposalBlockPart.json b/source/json_tables/cometbft/consensus/v1/HasProposalBlockPart.json new file mode 100644 index 00000000..0aa7a96a --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/HasProposalBlockPart.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "index", + "Type": "int32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/HasVote.json b/source/json_tables/cometbft/consensus/v1/HasVote.json new file mode 100644 index 00000000..2091dc33 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/HasVote.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "type", + "Type": "v1.SignedMsgType", + "Description": "" + }, + { + "Parameter": "index", + "Type": "int32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_BlockPart.json b/source/json_tables/cometbft/consensus/v1/Message_BlockPart.json new file mode 100644 index 00000000..40c18a00 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_BlockPart.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "block_part", + "Type": "BlockPart", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_HasProposalBlockPart.json b/source/json_tables/cometbft/consensus/v1/Message_HasProposalBlockPart.json new file mode 100644 index 00000000..cd1399e7 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_HasProposalBlockPart.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "has_proposal_block_part", + "Type": "HasProposalBlockPart", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_HasVote.json b/source/json_tables/cometbft/consensus/v1/Message_HasVote.json new file mode 100644 index 00000000..a9811e33 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_HasVote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "has_vote", + "Type": "HasVote", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_NewRoundStep.json b/source/json_tables/cometbft/consensus/v1/Message_NewRoundStep.json new file mode 100644 index 00000000..f591a0e0 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_NewRoundStep.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "new_round_step", + "Type": "NewRoundStep", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_NewValidBlock.json b/source/json_tables/cometbft/consensus/v1/Message_NewValidBlock.json new file mode 100644 index 00000000..7715a31f --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_NewValidBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "new_valid_block", + "Type": "NewValidBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_Proposal.json b/source/json_tables/cometbft/consensus/v1/Message_Proposal.json new file mode 100644 index 00000000..b3c18bbe --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_Proposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proposal", + "Type": "Proposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_ProposalPol.json b/source/json_tables/cometbft/consensus/v1/Message_ProposalPol.json new file mode 100644 index 00000000..b3100cfd --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_ProposalPol.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proposal_pol", + "Type": "ProposalPOL", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_Vote.json b/source/json_tables/cometbft/consensus/v1/Message_Vote.json new file mode 100644 index 00000000..63b663c1 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_Vote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote", + "Type": "Vote", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_VoteSetBits.json b/source/json_tables/cometbft/consensus/v1/Message_VoteSetBits.json new file mode 100644 index 00000000..c8a788b2 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_VoteSetBits.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote_set_bits", + "Type": "VoteSetBits", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Message_VoteSetMaj23.json b/source/json_tables/cometbft/consensus/v1/Message_VoteSetMaj23.json new file mode 100644 index 00000000..fa4aeebf --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Message_VoteSetMaj23.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote_set_maj23", + "Type": "VoteSetMaj23", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/MsgInfo.json b/source/json_tables/cometbft/consensus/v1/MsgInfo.json new file mode 100644 index 00000000..f5340842 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/MsgInfo.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "msg", + "Type": "Message", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "peer_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "receive_time", + "Type": "time.Time", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/NewRoundStep.json b/source/json_tables/cometbft/consensus/v1/NewRoundStep.json new file mode 100644 index 00000000..0500f324 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/NewRoundStep.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "step", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "seconds_since_start_time", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_commit_round", + "Type": "int32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/NewValidBlock.json b/source/json_tables/cometbft/consensus/v1/NewValidBlock.json new file mode 100644 index 00000000..6b52e053 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/NewValidBlock.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_part_set_header", + "Type": "v1.PartSetHeader", + "Description": "" + }, + { + "Parameter": "block_parts", + "Type": "v11.BitArray", + "Description": "" + }, + { + "Parameter": "is_commit", + "Type": "bool", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Proposal.json b/source/json_tables/cometbft/consensus/v1/Proposal.json new file mode 100644 index 00000000..1db6d4af --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Proposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proposal", + "Type": "v1.Proposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/ProposalPOL.json b/source/json_tables/cometbft/consensus/v1/ProposalPOL.json new file mode 100644 index 00000000..b72bb805 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/ProposalPOL.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "proposal_pol_round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "proposal_pol", + "Type": "v11.BitArray", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/TimedWALMessage.json b/source/json_tables/cometbft/consensus/v1/TimedWALMessage.json new file mode 100644 index 00000000..81ae2b0c --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/TimedWALMessage.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "msg", + "Type": "WALMessage", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/TimeoutInfo.json b/source/json_tables/cometbft/consensus/v1/TimeoutInfo.json new file mode 100644 index 00000000..bf949434 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/TimeoutInfo.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "duration", + "Type": "time.Duration", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "step", + "Type": "uint32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/Vote.json b/source/json_tables/cometbft/consensus/v1/Vote.json new file mode 100644 index 00000000..713ad5d5 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/Vote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote", + "Type": "v1.Vote", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/VoteSetBits.json b/source/json_tables/cometbft/consensus/v1/VoteSetBits.json new file mode 100644 index 00000000..0c068efb --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/VoteSetBits.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "type", + "Type": "v1.SignedMsgType", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "v1.BlockID", + "Description": "" + }, + { + "Parameter": "votes", + "Type": "v11.BitArray", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/VoteSetMaj23.json b/source/json_tables/cometbft/consensus/v1/VoteSetMaj23.json new file mode 100644 index 00000000..6e45b9ef --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/VoteSetMaj23.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "type", + "Type": "v1.SignedMsgType", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "v1.BlockID", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/WALMessage_EndHeight.json b/source/json_tables/cometbft/consensus/v1/WALMessage_EndHeight.json new file mode 100644 index 00000000..922700a9 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/WALMessage_EndHeight.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "end_height", + "Type": "EndHeight", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/WALMessage_EventDataRoundState.json b/source/json_tables/cometbft/consensus/v1/WALMessage_EventDataRoundState.json new file mode 100644 index 00000000..01c42fee --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/WALMessage_EventDataRoundState.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "event_data_round_state", + "Type": "v1.EventDataRoundState", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/WALMessage_MsgInfo.json b/source/json_tables/cometbft/consensus/v1/WALMessage_MsgInfo.json new file mode 100644 index 00000000..afd2133f --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/WALMessage_MsgInfo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "msg_info", + "Type": "MsgInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1/WALMessage_TimeoutInfo.json b/source/json_tables/cometbft/consensus/v1/WALMessage_TimeoutInfo.json new file mode 100644 index 00000000..54a5caa4 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1/WALMessage_TimeoutInfo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "timeout_info", + "Type": "TimeoutInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/BlockPart.json b/source/json_tables/cometbft/consensus/v1beta1/BlockPart.json new file mode 100644 index 00000000..13a15c8b --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/BlockPart.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "part", + "Type": "v1beta1.Part", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/EndHeight.json b/source/json_tables/cometbft/consensus/v1beta1/EndHeight.json new file mode 100644 index 00000000..0f4e1315 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/EndHeight.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/HasVote.json b/source/json_tables/cometbft/consensus/v1beta1/HasVote.json new file mode 100644 index 00000000..51f7fe6f --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/HasVote.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "type", + "Type": "v1beta1.SignedMsgType", + "Description": "" + }, + { + "Parameter": "index", + "Type": "int32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_BlockPart.json b/source/json_tables/cometbft/consensus/v1beta1/Message_BlockPart.json new file mode 100644 index 00000000..40c18a00 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_BlockPart.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "block_part", + "Type": "BlockPart", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_HasVote.json b/source/json_tables/cometbft/consensus/v1beta1/Message_HasVote.json new file mode 100644 index 00000000..a9811e33 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_HasVote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "has_vote", + "Type": "HasVote", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_NewRoundStep.json b/source/json_tables/cometbft/consensus/v1beta1/Message_NewRoundStep.json new file mode 100644 index 00000000..f591a0e0 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_NewRoundStep.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "new_round_step", + "Type": "NewRoundStep", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_NewValidBlock.json b/source/json_tables/cometbft/consensus/v1beta1/Message_NewValidBlock.json new file mode 100644 index 00000000..7715a31f --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_NewValidBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "new_valid_block", + "Type": "NewValidBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_Proposal.json b/source/json_tables/cometbft/consensus/v1beta1/Message_Proposal.json new file mode 100644 index 00000000..b3c18bbe --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_Proposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proposal", + "Type": "Proposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_ProposalPol.json b/source/json_tables/cometbft/consensus/v1beta1/Message_ProposalPol.json new file mode 100644 index 00000000..b3100cfd --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_ProposalPol.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proposal_pol", + "Type": "ProposalPOL", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_Vote.json b/source/json_tables/cometbft/consensus/v1beta1/Message_Vote.json new file mode 100644 index 00000000..63b663c1 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_Vote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote", + "Type": "Vote", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_VoteSetBits.json b/source/json_tables/cometbft/consensus/v1beta1/Message_VoteSetBits.json new file mode 100644 index 00000000..c8a788b2 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_VoteSetBits.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote_set_bits", + "Type": "VoteSetBits", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Message_VoteSetMaj23.json b/source/json_tables/cometbft/consensus/v1beta1/Message_VoteSetMaj23.json new file mode 100644 index 00000000..fa4aeebf --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Message_VoteSetMaj23.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote_set_maj23", + "Type": "VoteSetMaj23", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/MsgInfo.json b/source/json_tables/cometbft/consensus/v1beta1/MsgInfo.json new file mode 100644 index 00000000..bde1d44d --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/MsgInfo.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "msg", + "Type": "Message", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "peer_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/NewRoundStep.json b/source/json_tables/cometbft/consensus/v1beta1/NewRoundStep.json new file mode 100644 index 00000000..0500f324 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/NewRoundStep.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "step", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "seconds_since_start_time", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_commit_round", + "Type": "int32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/NewValidBlock.json b/source/json_tables/cometbft/consensus/v1beta1/NewValidBlock.json new file mode 100644 index 00000000..39557b40 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/NewValidBlock.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_part_set_header", + "Type": "v1beta1.PartSetHeader", + "Description": "" + }, + { + "Parameter": "block_parts", + "Type": "v1.BitArray", + "Description": "" + }, + { + "Parameter": "is_commit", + "Type": "bool", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Proposal.json b/source/json_tables/cometbft/consensus/v1beta1/Proposal.json new file mode 100644 index 00000000..4eb669a8 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Proposal.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proposal", + "Type": "v1beta1.Proposal", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/ProposalPOL.json b/source/json_tables/cometbft/consensus/v1beta1/ProposalPOL.json new file mode 100644 index 00000000..3152d8ea --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/ProposalPOL.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "proposal_pol_round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "proposal_pol", + "Type": "v1.BitArray", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/TimedWALMessage.json b/source/json_tables/cometbft/consensus/v1beta1/TimedWALMessage.json new file mode 100644 index 00000000..81ae2b0c --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/TimedWALMessage.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "msg", + "Type": "WALMessage", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/TimeoutInfo.json b/source/json_tables/cometbft/consensus/v1beta1/TimeoutInfo.json new file mode 100644 index 00000000..bf949434 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/TimeoutInfo.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "duration", + "Type": "time.Duration", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "step", + "Type": "uint32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/Vote.json b/source/json_tables/cometbft/consensus/v1beta1/Vote.json new file mode 100644 index 00000000..b3aa8e79 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/Vote.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote", + "Type": "v1beta1.Vote", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/VoteSetBits.json b/source/json_tables/cometbft/consensus/v1beta1/VoteSetBits.json new file mode 100644 index 00000000..d76f8359 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/VoteSetBits.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "type", + "Type": "v1beta1.SignedMsgType", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "v1beta1.BlockID", + "Description": "" + }, + { + "Parameter": "votes", + "Type": "v1.BitArray", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/VoteSetMaj23.json b/source/json_tables/cometbft/consensus/v1beta1/VoteSetMaj23.json new file mode 100644 index 00000000..072fb980 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/VoteSetMaj23.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "type", + "Type": "v1beta1.SignedMsgType", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "v1beta1.BlockID", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EndHeight.json b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EndHeight.json new file mode 100644 index 00000000..922700a9 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EndHeight.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "end_height", + "Type": "EndHeight", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EventDataRoundState.json b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EventDataRoundState.json new file mode 100644 index 00000000..cc1977a1 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_EventDataRoundState.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "event_data_round_state", + "Type": "v1beta1.EventDataRoundState", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/WALMessage_MsgInfo.json b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_MsgInfo.json new file mode 100644 index 00000000..afd2133f --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_MsgInfo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "msg_info", + "Type": "MsgInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/consensus/v1beta1/WALMessage_TimeoutInfo.json b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_TimeoutInfo.json new file mode 100644 index 00000000..54a5caa4 --- /dev/null +++ b/source/json_tables/cometbft/consensus/v1beta1/WALMessage_TimeoutInfo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "timeout_info", + "Type": "TimeoutInfo", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/crypto/v1/DominoOp.json b/source/json_tables/cometbft/crypto/v1/DominoOp.json new file mode 100644 index 00000000..944708f3 --- /dev/null +++ b/source/json_tables/cometbft/crypto/v1/DominoOp.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "key", + "Type": "string", + "Description": "" + }, + { + "Parameter": "input", + "Type": "string", + "Description": "" + }, + { + "Parameter": "output", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/crypto/v1/Proof.json b/source/json_tables/cometbft/crypto/v1/Proof.json new file mode 100644 index 00000000..f73cfe9e --- /dev/null +++ b/source/json_tables/cometbft/crypto/v1/Proof.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "total", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "index", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "leaf_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "aunts", + "Type": "][byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/crypto/v1/ProofOp.json b/source/json_tables/cometbft/crypto/v1/ProofOp.json new file mode 100644 index 00000000..3c6fef61 --- /dev/null +++ b/source/json_tables/cometbft/crypto/v1/ProofOp.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "type", + "Type": "string", + "Description": "" + }, + { + "Parameter": "key", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/crypto/v1/ProofOps.json b/source/json_tables/cometbft/crypto/v1/ProofOps.json new file mode 100644 index 00000000..045de812 --- /dev/null +++ b/source/json_tables/cometbft/crypto/v1/ProofOps.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "ops", + "Type": "ProofOp array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/crypto/v1/PublicKey_Bls12381.json b/source/json_tables/cometbft/crypto/v1/PublicKey_Bls12381.json new file mode 100644 index 00000000..9be17a7c --- /dev/null +++ b/source/json_tables/cometbft/crypto/v1/PublicKey_Bls12381.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "bls12381", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/crypto/v1/PublicKey_Ed25519.json b/source/json_tables/cometbft/crypto/v1/PublicKey_Ed25519.json new file mode 100644 index 00000000..b1864f4c --- /dev/null +++ b/source/json_tables/cometbft/crypto/v1/PublicKey_Ed25519.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "ed25519", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/crypto/v1/PublicKey_Secp256K1.json b/source/json_tables/cometbft/crypto/v1/PublicKey_Secp256K1.json new file mode 100644 index 00000000..317a7f6d --- /dev/null +++ b/source/json_tables/cometbft/crypto/v1/PublicKey_Secp256K1.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "secp256k1", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/crypto/v1/ValueOp.json b/source/json_tables/cometbft/crypto/v1/ValueOp.json new file mode 100644 index 00000000..d3619330 --- /dev/null +++ b/source/json_tables/cometbft/crypto/v1/ValueOp.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "key", + "Type": "byte array", + "Description": "Encoded in ProofOp.Key." + }, + { + "Parameter": "proof", + "Type": "Proof", + "Description": "To encode in ProofOp.Data" + } +] diff --git a/source/json_tables/cometbft/libs/bits/v1/BitArray.json b/source/json_tables/cometbft/libs/bits/v1/BitArray.json new file mode 100644 index 00000000..3a140107 --- /dev/null +++ b/source/json_tables/cometbft/libs/bits/v1/BitArray.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "bits", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "elems", + "Type": "uint64 array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/mempool/v1/Message_Txs.json b/source/json_tables/cometbft/mempool/v1/Message_Txs.json new file mode 100644 index 00000000..d5e359a4 --- /dev/null +++ b/source/json_tables/cometbft/mempool/v1/Message_Txs.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "txs", + "Type": "Txs", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/mempool/v1/Txs.json b/source/json_tables/cometbft/mempool/v1/Txs.json new file mode 100644 index 00000000..b2bb5885 --- /dev/null +++ b/source/json_tables/cometbft/mempool/v1/Txs.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/mempool/v2/HaveTx.json b/source/json_tables/cometbft/mempool/v2/HaveTx.json new file mode 100644 index 00000000..c539496a --- /dev/null +++ b/source/json_tables/cometbft/mempool/v2/HaveTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "tx_key", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/mempool/v2/Message_HaveTx.json b/source/json_tables/cometbft/mempool/v2/Message_HaveTx.json new file mode 100644 index 00000000..ee4e7f9b --- /dev/null +++ b/source/json_tables/cometbft/mempool/v2/Message_HaveTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "have_tx", + "Type": "HaveTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/mempool/v2/Message_ResetRoute.json b/source/json_tables/cometbft/mempool/v2/Message_ResetRoute.json new file mode 100644 index 00000000..82ffa3ce --- /dev/null +++ b/source/json_tables/cometbft/mempool/v2/Message_ResetRoute.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "reset_route", + "Type": "ResetRoute", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/mempool/v2/Message_Txs.json b/source/json_tables/cometbft/mempool/v2/Message_Txs.json new file mode 100644 index 00000000..d5e359a4 --- /dev/null +++ b/source/json_tables/cometbft/mempool/v2/Message_Txs.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "txs", + "Type": "Txs", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/mempool/v2/Txs.json b/source/json_tables/cometbft/mempool/v2/Txs.json new file mode 100644 index 00000000..b2bb5885 --- /dev/null +++ b/source/json_tables/cometbft/mempool/v2/Txs.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/AuthSigMessage.json b/source/json_tables/cometbft/p2p/v1/AuthSigMessage.json new file mode 100644 index 00000000..c0faab2a --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/AuthSigMessage.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "pub_key", + "Type": "v1.PublicKey", + "Description": "" + }, + { + "Parameter": "sig", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/DefaultNodeInfo.json b/source/json_tables/cometbft/p2p/v1/DefaultNodeInfo.json new file mode 100644 index 00000000..af7fc636 --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/DefaultNodeInfo.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "protocol_version", + "Type": "ProtocolVersion", + "Description": "" + }, + { + "Parameter": "default_node_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "listen_addr", + "Type": "string", + "Description": "" + }, + { + "Parameter": "network", + "Type": "string", + "Description": "" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "" + }, + { + "Parameter": "channels", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "moniker", + "Type": "string", + "Description": "" + }, + { + "Parameter": "other", + "Type": "DefaultNodeInfoOther", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/DefaultNodeInfoOther.json b/source/json_tables/cometbft/p2p/v1/DefaultNodeInfoOther.json new file mode 100644 index 00000000..911aaffc --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/DefaultNodeInfoOther.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "tx_index", + "Type": "string", + "Description": "" + }, + { + "Parameter": "rpc_address", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/Message_PexAddrs.json b/source/json_tables/cometbft/p2p/v1/Message_PexAddrs.json new file mode 100644 index 00000000..c7648537 --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/Message_PexAddrs.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "pex_addrs", + "Type": "PexAddrs", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/Message_PexRequest.json b/source/json_tables/cometbft/p2p/v1/Message_PexRequest.json new file mode 100644 index 00000000..adacd8ae --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/Message_PexRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pex_request", + "Type": "PexRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/NetAddress.json b/source/json_tables/cometbft/p2p/v1/NetAddress.json new file mode 100644 index 00000000..a4340f4b --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/NetAddress.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "ip", + "Type": "string", + "Description": "" + }, + { + "Parameter": "port", + "Type": "uint32", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/PacketMsg.json b/source/json_tables/cometbft/p2p/v1/PacketMsg.json new file mode 100644 index 00000000..863ba441 --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/PacketMsg.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "channel_id", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "eof", + "Type": "bool", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/Packet_PacketMsg.json b/source/json_tables/cometbft/p2p/v1/Packet_PacketMsg.json new file mode 100644 index 00000000..11b99f5e --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/Packet_PacketMsg.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "packet_msg", + "Type": "PacketMsg", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/Packet_PacketPing.json b/source/json_tables/cometbft/p2p/v1/Packet_PacketPing.json new file mode 100644 index 00000000..b46e7a77 --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/Packet_PacketPing.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "packet_ping", + "Type": "PacketPing", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/Packet_PacketPong.json b/source/json_tables/cometbft/p2p/v1/Packet_PacketPong.json new file mode 100644 index 00000000..1348b6cd --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/Packet_PacketPong.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "packet_pong", + "Type": "PacketPong", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/PexAddrs.json b/source/json_tables/cometbft/p2p/v1/PexAddrs.json new file mode 100644 index 00000000..fed533f8 --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/PexAddrs.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "addrs", + "Type": "NetAddress array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/p2p/v1/ProtocolVersion.json b/source/json_tables/cometbft/p2p/v1/ProtocolVersion.json new file mode 100644 index 00000000..e80077bf --- /dev/null +++ b/source/json_tables/cometbft/p2p/v1/ProtocolVersion.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "p2p", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "block", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "app", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_PingRequest.json b/source/json_tables/cometbft/privval/v1/Message_PingRequest.json new file mode 100644 index 00000000..6d3761ac --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_PingRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "ping_request", + "Type": "PingRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_PingResponse.json b/source/json_tables/cometbft/privval/v1/Message_PingResponse.json new file mode 100644 index 00000000..bd9052cb --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_PingResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "ping_response", + "Type": "PingResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_PubKeyRequest.json b/source/json_tables/cometbft/privval/v1/Message_PubKeyRequest.json new file mode 100644 index 00000000..fc3e0d50 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_PubKeyRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pub_key_request", + "Type": "PubKeyRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_PubKeyResponse.json b/source/json_tables/cometbft/privval/v1/Message_PubKeyResponse.json new file mode 100644 index 00000000..cdc2b8fb --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_PubKeyResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "pub_key_response", + "Type": "PubKeyResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_SignBytesRequest.json b/source/json_tables/cometbft/privval/v1/Message_SignBytesRequest.json new file mode 100644 index 00000000..b299c3a3 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_SignBytesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "sign_bytes_request", + "Type": "SignBytesRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_SignBytesResponse.json b/source/json_tables/cometbft/privval/v1/Message_SignBytesResponse.json new file mode 100644 index 00000000..82992114 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_SignBytesResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "sign_bytes_response", + "Type": "SignBytesResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_SignProposalRequest.json b/source/json_tables/cometbft/privval/v1/Message_SignProposalRequest.json new file mode 100644 index 00000000..5d676525 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_SignProposalRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "sign_proposal_request", + "Type": "SignProposalRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_SignVoteRequest.json b/source/json_tables/cometbft/privval/v1/Message_SignVoteRequest.json new file mode 100644 index 00000000..78139efc --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_SignVoteRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "sign_vote_request", + "Type": "SignVoteRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1/Message_SignedProposalResponse.json new file mode 100644 index 00000000..ed5d62ca --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_SignedProposalResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "signed_proposal_response", + "Type": "SignedProposalResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/Message_SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1/Message_SignedVoteResponse.json new file mode 100644 index 00000000..f5407369 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/Message_SignedVoteResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "signed_vote_response", + "Type": "SignedVoteResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/PubKeyRequest.json b/source/json_tables/cometbft/privval/v1/PubKeyRequest.json new file mode 100644 index 00000000..1ee5d006 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/PubKeyRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1/PubKeyResponse.json b/source/json_tables/cometbft/privval/v1/PubKeyResponse.json new file mode 100644 index 00000000..d5beceec --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/PubKeyResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + }, + { + "Parameter": "pub_key_bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "pub_key_type", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/RemoteSignerError.json b/source/json_tables/cometbft/privval/v1/RemoteSignerError.json new file mode 100644 index 00000000..a6406d5f --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/RemoteSignerError.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/SignBytesRequest.json b/source/json_tables/cometbft/privval/v1/SignBytesRequest.json new file mode 100644 index 00000000..72264a45 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/SignBytesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "value", + "Type": "byte array", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1/SignBytesResponse.json b/source/json_tables/cometbft/privval/v1/SignBytesResponse.json new file mode 100644 index 00000000..bd206312 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/SignBytesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "signature", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/SignProposalRequest.json b/source/json_tables/cometbft/privval/v1/SignProposalRequest.json new file mode 100644 index 00000000..ccc21200 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/SignProposalRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "proposal", + "Type": "v1.Proposal", + "Description": "", + "Required": "No" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1/SignVoteRequest.json b/source/json_tables/cometbft/privval/v1/SignVoteRequest.json new file mode 100644 index 00000000..739c6f00 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/SignVoteRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "vote", + "Type": "v1.Vote", + "Description": "", + "Required": "No" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "skip_extension_signing", + "Type": "bool", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1/SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1/SignedProposalResponse.json new file mode 100644 index 00000000..0f87144f --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/SignedProposalResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "proposal", + "Type": "v1.Proposal", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1/SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1/SignedVoteResponse.json new file mode 100644 index 00000000..8ff035b9 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1/SignedVoteResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "vote", + "Type": "v1.Vote", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/Message_PingRequest.json b/source/json_tables/cometbft/privval/v1beta1/Message_PingRequest.json new file mode 100644 index 00000000..6d3761ac --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/Message_PingRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "ping_request", + "Type": "PingRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/Message_PingResponse.json b/source/json_tables/cometbft/privval/v1beta1/Message_PingResponse.json new file mode 100644 index 00000000..bd9052cb --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/Message_PingResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "ping_response", + "Type": "PingResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/Message_PubKeyRequest.json b/source/json_tables/cometbft/privval/v1beta1/Message_PubKeyRequest.json new file mode 100644 index 00000000..fc3e0d50 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/Message_PubKeyRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pub_key_request", + "Type": "PubKeyRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/Message_PubKeyResponse.json b/source/json_tables/cometbft/privval/v1beta1/Message_PubKeyResponse.json new file mode 100644 index 00000000..cdc2b8fb --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/Message_PubKeyResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "pub_key_response", + "Type": "PubKeyResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/Message_SignProposalRequest.json b/source/json_tables/cometbft/privval/v1beta1/Message_SignProposalRequest.json new file mode 100644 index 00000000..5d676525 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/Message_SignProposalRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "sign_proposal_request", + "Type": "SignProposalRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/Message_SignVoteRequest.json b/source/json_tables/cometbft/privval/v1beta1/Message_SignVoteRequest.json new file mode 100644 index 00000000..78139efc --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/Message_SignVoteRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "sign_vote_request", + "Type": "SignVoteRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/Message_SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1beta1/Message_SignedProposalResponse.json new file mode 100644 index 00000000..ed5d62ca --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/Message_SignedProposalResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "signed_proposal_response", + "Type": "SignedProposalResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/Message_SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1beta1/Message_SignedVoteResponse.json new file mode 100644 index 00000000..f5407369 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/Message_SignedVoteResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "signed_vote_response", + "Type": "SignedVoteResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/PubKeyRequest.json b/source/json_tables/cometbft/privval/v1beta1/PubKeyRequest.json new file mode 100644 index 00000000..1ee5d006 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/PubKeyRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/PubKeyResponse.json b/source/json_tables/cometbft/privval/v1beta1/PubKeyResponse.json new file mode 100644 index 00000000..e3fd990e --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/PubKeyResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "pub_key", + "Type": "v1.PublicKey", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/RemoteSignerError.json b/source/json_tables/cometbft/privval/v1beta1/RemoteSignerError.json new file mode 100644 index 00000000..a6406d5f --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/RemoteSignerError.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/SignProposalRequest.json b/source/json_tables/cometbft/privval/v1beta1/SignProposalRequest.json new file mode 100644 index 00000000..6da8e760 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/SignProposalRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "proposal", + "Type": "v1beta1.Proposal", + "Description": "", + "Required": "No" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/SignVoteRequest.json b/source/json_tables/cometbft/privval/v1beta1/SignVoteRequest.json new file mode 100644 index 00000000..4176fb6d --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/SignVoteRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "vote", + "Type": "v1beta1.Vote", + "Description": "", + "Required": "No" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1beta1/SignedProposalResponse.json new file mode 100644 index 00000000..49b5ac7b --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/SignedProposalResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "proposal", + "Type": "v1beta1.Proposal", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta1/SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1beta1/SignedVoteResponse.json new file mode 100644 index 00000000..df76fcf2 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta1/SignedVoteResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "vote", + "Type": "v1beta1.Vote", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/Message_PingRequest.json b/source/json_tables/cometbft/privval/v1beta2/Message_PingRequest.json new file mode 100644 index 00000000..6d3761ac --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/Message_PingRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "ping_request", + "Type": "PingRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/Message_PingResponse.json b/source/json_tables/cometbft/privval/v1beta2/Message_PingResponse.json new file mode 100644 index 00000000..bd9052cb --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/Message_PingResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "ping_response", + "Type": "PingResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/Message_PubKeyRequest.json b/source/json_tables/cometbft/privval/v1beta2/Message_PubKeyRequest.json new file mode 100644 index 00000000..fc3e0d50 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/Message_PubKeyRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pub_key_request", + "Type": "PubKeyRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/Message_PubKeyResponse.json b/source/json_tables/cometbft/privval/v1beta2/Message_PubKeyResponse.json new file mode 100644 index 00000000..cdc2b8fb --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/Message_PubKeyResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "pub_key_response", + "Type": "PubKeyResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/Message_SignProposalRequest.json b/source/json_tables/cometbft/privval/v1beta2/Message_SignProposalRequest.json new file mode 100644 index 00000000..5d676525 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/Message_SignProposalRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "sign_proposal_request", + "Type": "SignProposalRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/Message_SignVoteRequest.json b/source/json_tables/cometbft/privval/v1beta2/Message_SignVoteRequest.json new file mode 100644 index 00000000..78139efc --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/Message_SignVoteRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "sign_vote_request", + "Type": "SignVoteRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/Message_SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1beta2/Message_SignedProposalResponse.json new file mode 100644 index 00000000..ed5d62ca --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/Message_SignedProposalResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "signed_proposal_response", + "Type": "SignedProposalResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/Message_SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1beta2/Message_SignedVoteResponse.json new file mode 100644 index 00000000..f5407369 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/Message_SignedVoteResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "signed_vote_response", + "Type": "SignedVoteResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/PubKeyRequest.json b/source/json_tables/cometbft/privval/v1beta2/PubKeyRequest.json new file mode 100644 index 00000000..1ee5d006 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/PubKeyRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/PubKeyResponse.json b/source/json_tables/cometbft/privval/v1beta2/PubKeyResponse.json new file mode 100644 index 00000000..e3fd990e --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/PubKeyResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "pub_key", + "Type": "v1.PublicKey", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/RemoteSignerError.json b/source/json_tables/cometbft/privval/v1beta2/RemoteSignerError.json new file mode 100644 index 00000000..a6406d5f --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/RemoteSignerError.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/SignProposalRequest.json b/source/json_tables/cometbft/privval/v1beta2/SignProposalRequest.json new file mode 100644 index 00000000..a960076b --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/SignProposalRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "proposal", + "Type": "v11.Proposal", + "Description": "", + "Required": "No" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/SignVoteRequest.json b/source/json_tables/cometbft/privval/v1beta2/SignVoteRequest.json new file mode 100644 index 00000000..d3c756c1 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/SignVoteRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "vote", + "Type": "v11.Vote", + "Description": "", + "Required": "No" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/SignedProposalResponse.json b/source/json_tables/cometbft/privval/v1beta2/SignedProposalResponse.json new file mode 100644 index 00000000..647adeb4 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/SignedProposalResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "proposal", + "Type": "v11.Proposal", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/privval/v1beta2/SignedVoteResponse.json b/source/json_tables/cometbft/privval/v1beta2/SignedVoteResponse.json new file mode 100644 index 00000000..c1ace834 --- /dev/null +++ b/source/json_tables/cometbft/privval/v1beta2/SignedVoteResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "vote", + "Type": "v11.Vote", + "Description": "" + }, + { + "Parameter": "error", + "Type": "RemoteSignerError", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/rpc/grpc/v1beta1/RequestBroadcastTx.json b/source/json_tables/cometbft/rpc/grpc/v1beta1/RequestBroadcastTx.json new file mode 100644 index 00000000..fe0f1f79 --- /dev/null +++ b/source/json_tables/cometbft/rpc/grpc/v1beta1/RequestBroadcastTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "tx", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/rpc/grpc/v1beta1/ResponseBroadcastTx.json b/source/json_tables/cometbft/rpc/grpc/v1beta1/ResponseBroadcastTx.json new file mode 100644 index 00000000..7be6ad8f --- /dev/null +++ b/source/json_tables/cometbft/rpc/grpc/v1beta1/ResponseBroadcastTx.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "check_tx", + "Type": "v1beta1.ResponseCheckTx", + "Description": "" + }, + { + "Parameter": "deliver_tx", + "Type": "v1beta1.ResponseDeliverTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/rpc/grpc/v1beta2/ResponseBroadcastTx.json b/source/json_tables/cometbft/rpc/grpc/v1beta2/ResponseBroadcastTx.json new file mode 100644 index 00000000..b426c60b --- /dev/null +++ b/source/json_tables/cometbft/rpc/grpc/v1beta2/ResponseBroadcastTx.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "check_tx", + "Type": "v1beta2.ResponseCheckTx", + "Description": "" + }, + { + "Parameter": "deliver_tx", + "Type": "v1beta2.ResponseDeliverTx", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/rpc/grpc/v1beta3/ResponseBroadcastTx.json b/source/json_tables/cometbft/rpc/grpc/v1beta3/ResponseBroadcastTx.json new file mode 100644 index 00000000..cf9a133f --- /dev/null +++ b/source/json_tables/cometbft/rpc/grpc/v1beta3/ResponseBroadcastTx.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "check_tx", + "Type": "v1beta3.ResponseCheckTx", + "Description": "" + }, + { + "Parameter": "tx_result", + "Type": "v1beta3.ExecTxResult", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/services/block/v1/GetByHeightRequest.json b/source/json_tables/cometbft/services/block/v1/GetByHeightRequest.json new file mode 100644 index 00000000..8bae97d8 --- /dev/null +++ b/source/json_tables/cometbft/services/block/v1/GetByHeightRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "The height of the block requested.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/services/block/v1/GetByHeightResponse.json b/source/json_tables/cometbft/services/block/v1/GetByHeightResponse.json new file mode 100644 index 00000000..1572c3d0 --- /dev/null +++ b/source/json_tables/cometbft/services/block/v1/GetByHeightResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "block_id", + "Type": "v1.BlockID", + "Description": "" + }, + { + "Parameter": "block", + "Type": "v1.Block", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/services/block/v1/GetLatestHeightResponse.json b/source/json_tables/cometbft/services/block/v1/GetLatestHeightResponse.json new file mode 100644 index 00000000..00af9937 --- /dev/null +++ b/source/json_tables/cometbft/services/block/v1/GetLatestHeightResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "The height of the latest committed block. Will be 0 if no data has been committed yet." + } +] diff --git a/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsRequest.json b/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsRequest.json new file mode 100644 index 00000000..2d6eb3d8 --- /dev/null +++ b/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsResponse.json b/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsResponse.json new file mode 100644 index 00000000..0fec5888 --- /dev/null +++ b/source/json_tables/cometbft/services/block_results/v1/GetBlockResultsResponse.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "tx_results", + "Type": "v1.ExecTxResult array", + "Description": "" + }, + { + "Parameter": "finalize_block_events", + "Type": "v1.Event array", + "Description": "" + }, + { + "Parameter": "validator_updates", + "Type": "v1.ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "consensus_param_updates", + "Type": "v11.ConsensusParams", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/services/pruning/v1/GetBlockIndexerRetainHeightResponse.json b/source/json_tables/cometbft/services/pruning/v1/GetBlockIndexerRetainHeightResponse.json new file mode 100644 index 00000000..a17eda77 --- /dev/null +++ b/source/json_tables/cometbft/services/pruning/v1/GetBlockIndexerRetainHeightResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/services/pruning/v1/GetBlockResultsRetainHeightResponse.json b/source/json_tables/cometbft/services/pruning/v1/GetBlockResultsRetainHeightResponse.json new file mode 100644 index 00000000..e6660817 --- /dev/null +++ b/source/json_tables/cometbft/services/pruning/v1/GetBlockResultsRetainHeightResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "pruning_service_retain_height", + "Type": "uint64", + "Description": "The retain height set by the pruning service (e.g. by the data companion) specifically for block results." + } +] diff --git a/source/json_tables/cometbft/services/pruning/v1/GetBlockRetainHeightResponse.json b/source/json_tables/cometbft/services/pruning/v1/GetBlockRetainHeightResponse.json new file mode 100644 index 00000000..a1fac93e --- /dev/null +++ b/source/json_tables/cometbft/services/pruning/v1/GetBlockRetainHeightResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "app_retain_height", + "Type": "uint64", + "Description": "The retain height set by the application." + }, + { + "Parameter": "pruning_service_retain_height", + "Type": "uint64", + "Description": "The retain height set via the pruning service (e.g. by the data companion) specifically for blocks." + } +] diff --git a/source/json_tables/cometbft/services/pruning/v1/GetTxIndexerRetainHeightResponse.json b/source/json_tables/cometbft/services/pruning/v1/GetTxIndexerRetainHeightResponse.json new file mode 100644 index 00000000..a17eda77 --- /dev/null +++ b/source/json_tables/cometbft/services/pruning/v1/GetTxIndexerRetainHeightResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/services/pruning/v1/SetBlockIndexerRetainHeightRequest.json b/source/json_tables/cometbft/services/pruning/v1/SetBlockIndexerRetainHeightRequest.json new file mode 100644 index 00000000..e54bc18d --- /dev/null +++ b/source/json_tables/cometbft/services/pruning/v1/SetBlockIndexerRetainHeightRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/services/pruning/v1/SetBlockResultsRetainHeightRequest.json b/source/json_tables/cometbft/services/pruning/v1/SetBlockResultsRetainHeightRequest.json new file mode 100644 index 00000000..e54bc18d --- /dev/null +++ b/source/json_tables/cometbft/services/pruning/v1/SetBlockResultsRetainHeightRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/services/pruning/v1/SetBlockRetainHeightRequest.json b/source/json_tables/cometbft/services/pruning/v1/SetBlockRetainHeightRequest.json new file mode 100644 index 00000000..e54bc18d --- /dev/null +++ b/source/json_tables/cometbft/services/pruning/v1/SetBlockRetainHeightRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/services/pruning/v1/SetTxIndexerRetainHeightRequest.json b/source/json_tables/cometbft/services/pruning/v1/SetTxIndexerRetainHeightRequest.json new file mode 100644 index 00000000..e54bc18d --- /dev/null +++ b/source/json_tables/cometbft/services/pruning/v1/SetTxIndexerRetainHeightRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/services/version/v1/GetVersionResponse.json b/source/json_tables/cometbft/services/version/v1/GetVersionResponse.json new file mode 100644 index 00000000..520cc37c --- /dev/null +++ b/source/json_tables/cometbft/services/version/v1/GetVersionResponse.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "node", + "Type": "string", + "Description": "" + }, + { + "Parameter": "abci", + "Type": "string", + "Description": "" + }, + { + "Parameter": "p2p", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "block", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1/ABCIResponsesInfo.json b/source/json_tables/cometbft/state/v1/ABCIResponsesInfo.json new file mode 100644 index 00000000..376031f7 --- /dev/null +++ b/source/json_tables/cometbft/state/v1/ABCIResponsesInfo.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "legacy_abci_responses", + "Type": "LegacyABCIResponses", + "Description": "Retains the responses of the legacy ABCI calls during block processing." + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "finalize_block", + "Type": "v1.FinalizeBlockResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1/ConsensusParamsInfo.json b/source/json_tables/cometbft/state/v1/ConsensusParamsInfo.json new file mode 100644 index 00000000..aee83739 --- /dev/null +++ b/source/json_tables/cometbft/state/v1/ConsensusParamsInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "consensus_params", + "Type": "v11.ConsensusParams", + "Description": "" + }, + { + "Parameter": "last_height_changed", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1/LegacyABCIResponses.json b/source/json_tables/cometbft/state/v1/LegacyABCIResponses.json new file mode 100644 index 00000000..4d6e7519 --- /dev/null +++ b/source/json_tables/cometbft/state/v1/LegacyABCIResponses.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "deliver_txs", + "Type": "v1.ExecTxResult array", + "Description": "" + }, + { + "Parameter": "end_block", + "Type": "ResponseEndBlock", + "Description": "" + }, + { + "Parameter": "begin_block", + "Type": "ResponseBeginBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1/ResponseBeginBlock.json b/source/json_tables/cometbft/state/v1/ResponseBeginBlock.json new file mode 100644 index 00000000..5c90670e --- /dev/null +++ b/source/json_tables/cometbft/state/v1/ResponseBeginBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "events", + "Type": "v1.Event array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1/ResponseEndBlock.json b/source/json_tables/cometbft/state/v1/ResponseEndBlock.json new file mode 100644 index 00000000..3e2cff6b --- /dev/null +++ b/source/json_tables/cometbft/state/v1/ResponseEndBlock.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "validator_updates", + "Type": "v1.ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "consensus_param_updates", + "Type": "v11.ConsensusParams", + "Description": "" + }, + { + "Parameter": "events", + "Type": "v1.Event array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1/State.json b/source/json_tables/cometbft/state/v1/State.json new file mode 100644 index 00000000..357b6db5 --- /dev/null +++ b/source/json_tables/cometbft/state/v1/State.json @@ -0,0 +1,72 @@ +[ + { + "Parameter": "version", + "Type": "Version", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "immutable" + }, + { + "Parameter": "initial_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_block_height", + "Type": "int64", + "Description": "LastBlockHeight=0 at genesis (ie. block(H=0) does not exist)" + }, + { + "Parameter": "last_block_id", + "Type": "v11.BlockID", + "Description": "" + }, + { + "Parameter": "last_block_time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators", + "Type": "v11.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", + "Description": "" + }, + { + "Parameter": "last_validators", + "Type": "v11.ValidatorSet", + "Description": "" + }, + { + "Parameter": "last_height_validators_changed", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "consensus_params", + "Type": "v11.ConsensusParams", + "Description": "Consensus parameters used for validating blocks. Changes returned by EndBlock and updated after Commit." + }, + { + "Parameter": "last_height_consensus_params_changed", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_results_hash", + "Type": "byte array", + "Description": "Merkle root of the results from executing prev block" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "the latest AppHash we've received from calling abci.Commit()" + } +] diff --git a/source/json_tables/cometbft/state/v1/ValidatorsInfo.json b/source/json_tables/cometbft/state/v1/ValidatorsInfo.json new file mode 100644 index 00000000..912f81dc --- /dev/null +++ b/source/json_tables/cometbft/state/v1/ValidatorsInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "validator_set", + "Type": "v11.ValidatorSet", + "Description": "" + }, + { + "Parameter": "last_height_changed", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1/Version.json b/source/json_tables/cometbft/state/v1/Version.json new file mode 100644 index 00000000..13057b34 --- /dev/null +++ b/source/json_tables/cometbft/state/v1/Version.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "consensus", + "Type": "v12.Consensus", + "Description": "" + }, + { + "Parameter": "software", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta1/ABCIResponses.json b/source/json_tables/cometbft/state/v1beta1/ABCIResponses.json new file mode 100644 index 00000000..4c5aed6a --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta1/ABCIResponses.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "deliver_txs", + "Type": "v1beta1.ResponseDeliverTx array", + "Description": "" + }, + { + "Parameter": "end_block", + "Type": "v1beta1.ResponseEndBlock", + "Description": "" + }, + { + "Parameter": "begin_block", + "Type": "v1beta1.ResponseBeginBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta1/ABCIResponsesInfo.json b/source/json_tables/cometbft/state/v1beta1/ABCIResponsesInfo.json new file mode 100644 index 00000000..cc2041e4 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta1/ABCIResponsesInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "abci_responses", + "Type": "ABCIResponses", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta1/ConsensusParamsInfo.json b/source/json_tables/cometbft/state/v1beta1/ConsensusParamsInfo.json new file mode 100644 index 00000000..4338395f --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta1/ConsensusParamsInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "consensus_params", + "Type": "v1beta11.ConsensusParams", + "Description": "" + }, + { + "Parameter": "last_height_changed", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta1/State.json b/source/json_tables/cometbft/state/v1beta1/State.json new file mode 100644 index 00000000..802e68e6 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta1/State.json @@ -0,0 +1,72 @@ +[ + { + "Parameter": "version", + "Type": "Version", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "immutable" + }, + { + "Parameter": "initial_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_block_height", + "Type": "int64", + "Description": "LastBlockHeight=0 at genesis (ie. block(H=0) does not exist)" + }, + { + "Parameter": "last_block_id", + "Type": "v1beta11.BlockID", + "Description": "" + }, + { + "Parameter": "last_block_time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators", + "Type": "v1beta11.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", + "Description": "" + }, + { + "Parameter": "last_validators", + "Type": "v1beta11.ValidatorSet", + "Description": "" + }, + { + "Parameter": "last_height_validators_changed", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "consensus_params", + "Type": "v1beta11.ConsensusParams", + "Description": "Consensus parameters used for validating blocks. Changes returned by EndBlock and updated after Commit." + }, + { + "Parameter": "last_height_consensus_params_changed", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_results_hash", + "Type": "byte array", + "Description": "Merkle root of the results from executing prev block" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "the latest AppHash we've received from calling abci.Commit()" + } +] diff --git a/source/json_tables/cometbft/state/v1beta1/ValidatorsInfo.json b/source/json_tables/cometbft/state/v1beta1/ValidatorsInfo.json new file mode 100644 index 00000000..31781c7e --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta1/ValidatorsInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "validator_set", + "Type": "v1beta11.ValidatorSet", + "Description": "" + }, + { + "Parameter": "last_height_changed", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta1/Version.json b/source/json_tables/cometbft/state/v1beta1/Version.json new file mode 100644 index 00000000..8ee64ce8 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta1/Version.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "consensus", + "Type": "v1.Consensus", + "Description": "" + }, + { + "Parameter": "software", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta2/ABCIResponses.json b/source/json_tables/cometbft/state/v1beta2/ABCIResponses.json new file mode 100644 index 00000000..368606f3 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta2/ABCIResponses.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "deliver_txs", + "Type": "v1beta2.ResponseDeliverTx array", + "Description": "" + }, + { + "Parameter": "end_block", + "Type": "v1beta2.ResponseEndBlock", + "Description": "" + }, + { + "Parameter": "begin_block", + "Type": "v1beta2.ResponseBeginBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta2/ABCIResponsesInfo.json b/source/json_tables/cometbft/state/v1beta2/ABCIResponsesInfo.json new file mode 100644 index 00000000..cc2041e4 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta2/ABCIResponsesInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "abci_responses", + "Type": "ABCIResponses", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta2/ConsensusParamsInfo.json b/source/json_tables/cometbft/state/v1beta2/ConsensusParamsInfo.json new file mode 100644 index 00000000..01d710ba --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta2/ConsensusParamsInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "consensus_params", + "Type": "v1beta21.ConsensusParams", + "Description": "" + }, + { + "Parameter": "last_height_changed", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta2/State.json b/source/json_tables/cometbft/state/v1beta2/State.json new file mode 100644 index 00000000..96f4fac6 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta2/State.json @@ -0,0 +1,72 @@ +[ + { + "Parameter": "version", + "Type": "v1beta1.Version", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "immutable" + }, + { + "Parameter": "initial_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_block_height", + "Type": "int64", + "Description": "LastBlockHeight=0 at genesis (ie. block(H=0) does not exist)" + }, + { + "Parameter": "last_block_id", + "Type": "v1beta11.BlockID", + "Description": "" + }, + { + "Parameter": "last_block_time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators", + "Type": "v1beta11.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", + "Description": "" + }, + { + "Parameter": "last_validators", + "Type": "v1beta11.ValidatorSet", + "Description": "" + }, + { + "Parameter": "last_height_validators_changed", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "consensus_params", + "Type": "v1beta21.ConsensusParams", + "Description": "Consensus parameters used for validating blocks. Changes returned by EndBlock and updated after Commit." + }, + { + "Parameter": "last_height_consensus_params_changed", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_results_hash", + "Type": "byte array", + "Description": "Merkle root of the results from executing prev block" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "the latest AppHash we've received from calling abci.Commit()" + } +] diff --git a/source/json_tables/cometbft/state/v1beta3/ABCIResponsesInfo.json b/source/json_tables/cometbft/state/v1beta3/ABCIResponsesInfo.json new file mode 100644 index 00000000..664f1494 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta3/ABCIResponsesInfo.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "legacy_abci_responses", + "Type": "LegacyABCIResponses", + "Description": "Retains the responses of the legacy ABCI calls during block processing." + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "response_finalize_block", + "Type": "v1beta3.ResponseFinalizeBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta3/ConsensusParamsInfo.json b/source/json_tables/cometbft/state/v1beta3/ConsensusParamsInfo.json new file mode 100644 index 00000000..1539e9da --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta3/ConsensusParamsInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "consensus_params", + "Type": "v1.ConsensusParams", + "Description": "" + }, + { + "Parameter": "last_height_changed", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta3/LegacyABCIResponses.json b/source/json_tables/cometbft/state/v1beta3/LegacyABCIResponses.json new file mode 100644 index 00000000..681c6a9f --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta3/LegacyABCIResponses.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "deliver_txs", + "Type": "v1beta3.ExecTxResult array", + "Description": "" + }, + { + "Parameter": "end_block", + "Type": "ResponseEndBlock", + "Description": "" + }, + { + "Parameter": "begin_block", + "Type": "ResponseBeginBlock", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta3/ResponseBeginBlock.json b/source/json_tables/cometbft/state/v1beta3/ResponseBeginBlock.json new file mode 100644 index 00000000..972972a3 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta3/ResponseBeginBlock.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "events", + "Type": "v1beta2.Event array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta3/ResponseEndBlock.json b/source/json_tables/cometbft/state/v1beta3/ResponseEndBlock.json new file mode 100644 index 00000000..b93816de --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta3/ResponseEndBlock.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "validator_updates", + "Type": "v1beta1.ValidatorUpdate array", + "Description": "" + }, + { + "Parameter": "consensus_param_updates", + "Type": "v1.ConsensusParams", + "Description": "" + }, + { + "Parameter": "events", + "Type": "v1beta2.Event array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/state/v1beta3/State.json b/source/json_tables/cometbft/state/v1beta3/State.json new file mode 100644 index 00000000..2c023974 --- /dev/null +++ b/source/json_tables/cometbft/state/v1beta3/State.json @@ -0,0 +1,72 @@ +[ + { + "Parameter": "version", + "Type": "v1beta11.Version", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "immutable" + }, + { + "Parameter": "initial_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_block_height", + "Type": "int64", + "Description": "LastBlockHeight=0 at genesis (ie. block(H=0) does not exist)" + }, + { + "Parameter": "last_block_id", + "Type": "v1beta12.BlockID", + "Description": "" + }, + { + "Parameter": "last_block_time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "next_validators", + "Type": "v1beta12.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", + "Description": "" + }, + { + "Parameter": "last_validators", + "Type": "v1beta12.ValidatorSet", + "Description": "" + }, + { + "Parameter": "last_height_validators_changed", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "consensus_params", + "Type": "v1.ConsensusParams", + "Description": "Consensus parameters used for validating blocks. Changes returned by EndBlock and updated after Commit." + }, + { + "Parameter": "last_height_consensus_params_changed", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "last_results_hash", + "Type": "byte array", + "Description": "Merkle root of the results from executing prev block" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "the latest AppHash we've received from calling abci.Commit()" + } +] diff --git a/source/json_tables/cometbft/statesync/v1/ChunkRequest.json b/source/json_tables/cometbft/statesync/v1/ChunkRequest.json new file mode 100644 index 00000000..4d3ca0ec --- /dev/null +++ b/source/json_tables/cometbft/statesync/v1/ChunkRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "format", + "Type": "uint32", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "index", + "Type": "uint32", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cometbft/statesync/v1/ChunkResponse.json b/source/json_tables/cometbft/statesync/v1/ChunkResponse.json new file mode 100644 index 00000000..7cd5186f --- /dev/null +++ b/source/json_tables/cometbft/statesync/v1/ChunkResponse.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "format", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "index", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "chunk", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "missing", + "Type": "bool", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/statesync/v1/Message_ChunkRequest.json b/source/json_tables/cometbft/statesync/v1/Message_ChunkRequest.json new file mode 100644 index 00000000..e7534023 --- /dev/null +++ b/source/json_tables/cometbft/statesync/v1/Message_ChunkRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "chunk_request", + "Type": "ChunkRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/statesync/v1/Message_ChunkResponse.json b/source/json_tables/cometbft/statesync/v1/Message_ChunkResponse.json new file mode 100644 index 00000000..058644bd --- /dev/null +++ b/source/json_tables/cometbft/statesync/v1/Message_ChunkResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "chunk_response", + "Type": "ChunkResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/statesync/v1/Message_SnapshotsRequest.json b/source/json_tables/cometbft/statesync/v1/Message_SnapshotsRequest.json new file mode 100644 index 00000000..e4452a4b --- /dev/null +++ b/source/json_tables/cometbft/statesync/v1/Message_SnapshotsRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "snapshots_request", + "Type": "SnapshotsRequest", + "Description": "", + "Required": "No" + } +] diff --git a/source/json_tables/cometbft/statesync/v1/Message_SnapshotsResponse.json b/source/json_tables/cometbft/statesync/v1/Message_SnapshotsResponse.json new file mode 100644 index 00000000..e05548de --- /dev/null +++ b/source/json_tables/cometbft/statesync/v1/Message_SnapshotsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "snapshots_response", + "Type": "SnapshotsResponse", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/statesync/v1/SnapshotsResponse.json b/source/json_tables/cometbft/statesync/v1/SnapshotsResponse.json new file mode 100644 index 00000000..123a9712 --- /dev/null +++ b/source/json_tables/cometbft/statesync/v1/SnapshotsResponse.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "format", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "chunks", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "metadata", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/store/v1/BlockStoreState.json b/source/json_tables/cometbft/store/v1/BlockStoreState.json new file mode 100644 index 00000000..6dd61bb5 --- /dev/null +++ b/source/json_tables/cometbft/store/v1/BlockStoreState.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "base", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/tendermint/abci/CheckTxType.json b/source/json_tables/cometbft/tendermint/abci/CheckTxType.json new file mode 100644 index 00000000..42d126fe --- /dev/null +++ b/source/json_tables/cometbft/tendermint/abci/CheckTxType.json @@ -0,0 +1,10 @@ +[ + { + "Code": "0", + "Name": "NEW" + }, + { + "Code": "1", + "Name": "RECHECK" + } +] diff --git a/source/json_tables/cometbft/tendermint/abci/MisbehaviorType.json b/source/json_tables/cometbft/tendermint/abci/MisbehaviorType.json new file mode 100644 index 00000000..5f5e0484 --- /dev/null +++ b/source/json_tables/cometbft/tendermint/abci/MisbehaviorType.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "DUPLICATE_VOTE" + }, + { + "Code": "2", + "Name": "LIGHT_CLIENT_ATTACK" + } +] diff --git a/source/json_tables/cometbft/tendermint/abci/ProposalStatus.json b/source/json_tables/cometbft/tendermint/abci/ProposalStatus.json new file mode 100644 index 00000000..b2cd718b --- /dev/null +++ b/source/json_tables/cometbft/tendermint/abci/ProposalStatus.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "ACCEPT" + }, + { + "Code": "2", + "Name": "REJECT" + } +] diff --git a/source/json_tables/cometbft/tendermint/abci/Result.json b/source/json_tables/cometbft/tendermint/abci/Result.json new file mode 100644 index 00000000..9b417198 --- /dev/null +++ b/source/json_tables/cometbft/tendermint/abci/Result.json @@ -0,0 +1,26 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "ACCEPT" + }, + { + "Code": "2", + "Name": "ABORT" + }, + { + "Code": "3", + "Name": "RETRY" + }, + { + "Code": "4", + "Name": "RETRY_SNAPSHOT" + }, + { + "Code": "5", + "Name": "REJECT_SNAPSHOT" + } +] diff --git a/source/json_tables/cometbft/tendermint/abci/VerifyStatus.json b/source/json_tables/cometbft/tendermint/abci/VerifyStatus.json new file mode 100644 index 00000000..b2cd718b --- /dev/null +++ b/source/json_tables/cometbft/tendermint/abci/VerifyStatus.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "UNKNOWN" + }, + { + "Code": "1", + "Name": "ACCEPT" + }, + { + "Code": "2", + "Name": "REJECT" + } +] diff --git a/source/json_tables/cometbft/tendermint/types/BlockIDFlag.json b/source/json_tables/cometbft/tendermint/types/BlockIDFlag.json new file mode 100644 index 00000000..7c3138fc --- /dev/null +++ b/source/json_tables/cometbft/tendermint/types/BlockIDFlag.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "BLOCK_ID_FLAG_UNKNOWN" + }, + { + "Code": "1", + "Name": "BLOCK_ID_FLAG_ABSENT" + }, + { + "Code": "2", + "Name": "BLOCK_ID_FLAG_COMMIT" + }, + { + "Code": "3", + "Name": "BLOCK_ID_FLAG_NIL" + } +] diff --git a/source/json_tables/cometbft/tendermint/types/SignedMsgType.json b/source/json_tables/cometbft/tendermint/types/SignedMsgType.json new file mode 100644 index 00000000..d4aa6ee3 --- /dev/null +++ b/source/json_tables/cometbft/tendermint/types/SignedMsgType.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "SIGNED_MSG_TYPE_UNKNOWN" + }, + { + "Code": "1", + "Name": "SIGNED_MSG_TYPE_PREVOTE" + }, + { + "Code": "2", + "Name": "SIGNED_MSG_TYPE_PRECOMMIT" + }, + { + "Code": "32", + "Name": "SIGNED_MSG_TYPE_PROPOSAL" + } +] diff --git a/source/json_tables/cometbft/types/v1/ABCIParams.json b/source/json_tables/cometbft/types/v1/ABCIParams.json new file mode 100644 index 00000000..b28007c3 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/ABCIParams.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote_extensions_enable_height", + "Type": "int64", + "Description": "vote_extensions_enable_height has been deprecated. Instead, use FeatureParams.vote_extensions_enable_height." + } +] diff --git a/source/json_tables/cometbft/types/v1/Block.json b/source/json_tables/cometbft/types/v1/Block.json new file mode 100644 index 00000000..5696031a --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Block.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "header", + "Type": "Header", + "Description": "" + }, + { + "Parameter": "data", + "Type": "Data", + "Description": "" + }, + { + "Parameter": "evidence", + "Type": "EvidenceList", + "Description": "" + }, + { + "Parameter": "last_commit", + "Type": "Commit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/BlockID.json b/source/json_tables/cometbft/types/v1/BlockID.json new file mode 100644 index 00000000..0e9d09c6 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/BlockID.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "part_set_header", + "Type": "PartSetHeader", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/BlockMeta.json b/source/json_tables/cometbft/types/v1/BlockMeta.json new file mode 100644 index 00000000..e0652595 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/BlockMeta.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "block_size", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "header", + "Type": "Header", + "Description": "" + }, + { + "Parameter": "num_txs", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/BlockParams.json b/source/json_tables/cometbft/types/v1/BlockParams.json new file mode 100644 index 00000000..7dbf0ee4 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/BlockParams.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "max_bytes", + "Type": "int64", + "Description": "Maximum size of a block, in bytes. Must be greater or equal to -1 and cannot be greater than the hard-coded maximum block size, which is 100MB. If set to -1, the limit is the hard-coded maximum block size." + }, + { + "Parameter": "max_gas", + "Type": "int64", + "Description": "Maximum gas wanted by transactions included in a block. Must be greater or equal to -1. If set to -1, no limit is enforced." + } +] diff --git a/source/json_tables/cometbft/types/v1/CanonicalBlockID.json b/source/json_tables/cometbft/types/v1/CanonicalBlockID.json new file mode 100644 index 00000000..52da753f --- /dev/null +++ b/source/json_tables/cometbft/types/v1/CanonicalBlockID.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "part_set_header", + "Type": "CanonicalPartSetHeader", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/CanonicalPartSetHeader.json b/source/json_tables/cometbft/types/v1/CanonicalPartSetHeader.json new file mode 100644 index 00000000..29da6250 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/CanonicalPartSetHeader.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "total", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/CanonicalProposal.json b/source/json_tables/cometbft/types/v1/CanonicalProposal.json new file mode 100644 index 00000000..6ade49ff --- /dev/null +++ b/source/json_tables/cometbft/types/v1/CanonicalProposal.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "type", + "Type": "SignedMsgType", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "pol_round", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "CanonicalBlockID", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/CanonicalVote.json b/source/json_tables/cometbft/types/v1/CanonicalVote.json new file mode 100644 index 00000000..63cc2ece --- /dev/null +++ b/source/json_tables/cometbft/types/v1/CanonicalVote.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "type", + "Type": "SignedMsgType", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "CanonicalBlockID", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/CanonicalVoteExtension.json b/source/json_tables/cometbft/types/v1/CanonicalVoteExtension.json new file mode 100644 index 00000000..48e6d25b --- /dev/null +++ b/source/json_tables/cometbft/types/v1/CanonicalVoteExtension.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "extension", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/Commit.json b/source/json_tables/cometbft/types/v1/Commit.json new file mode 100644 index 00000000..cbea7aec --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Commit.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "signatures", + "Type": "CommitSig array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/CommitSig.json b/source/json_tables/cometbft/types/v1/CommitSig.json new file mode 100644 index 00000000..9fd5cfd8 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/CommitSig.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "block_id_flag", + "Type": "BlockIDFlag", + "Description": "" + }, + { + "Parameter": "validator_address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "signature", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/ConsensusParams.json b/source/json_tables/cometbft/types/v1/ConsensusParams.json new file mode 100644 index 00000000..85cd3040 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/ConsensusParams.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "block", + "Type": "BlockParams", + "Description": "" + }, + { + "Parameter": "evidence", + "Type": "EvidenceParams", + "Description": "" + }, + { + "Parameter": "validator", + "Type": "ValidatorParams", + "Description": "" + }, + { + "Parameter": "version", + "Type": "VersionParams", + "Description": "" + }, + { + "Parameter": "abci", + "Type": "ABCIParams", + "Description": "" + }, + { + "Parameter": "synchrony", + "Type": "SynchronyParams", + "Description": "" + }, + { + "Parameter": "feature", + "Type": "FeatureParams", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/Data.json b/source/json_tables/cometbft/types/v1/Data.json new file mode 100644 index 00000000..661fe156 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Data.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "Txs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs." + } +] diff --git a/source/json_tables/cometbft/types/v1/DuplicateVoteEvidence.json b/source/json_tables/cometbft/types/v1/DuplicateVoteEvidence.json new file mode 100644 index 00000000..7995129f --- /dev/null +++ b/source/json_tables/cometbft/types/v1/DuplicateVoteEvidence.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "vote_a", + "Type": "Vote", + "Description": "" + }, + { + "Parameter": "vote_b", + "Type": "Vote", + "Description": "" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "validator_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/EvidenceList.json b/source/json_tables/cometbft/types/v1/EvidenceList.json new file mode 100644 index 00000000..51a399e0 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/EvidenceList.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "evidence", + "Type": "Evidence array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/EvidenceParams.json b/source/json_tables/cometbft/types/v1/EvidenceParams.json new file mode 100644 index 00000000..b2066249 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/EvidenceParams.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "max_age_num_blocks", + "Type": "int64", + "Description": "Maximum age of evidence, in blocks. The recommended formula for calculating it is max_age_duration / {average block time}." + }, + { + "Parameter": "max_age_duration", + "Type": "time.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." + }, + { + "Parameter": "max_bytes", + "Type": "int64", + "Description": "Maximum size in bytes of evidence allowed to be included in a block. It should fall comfortably under the maximum size of a block." + } +] diff --git a/source/json_tables/cometbft/types/v1/Evidence_DuplicateVoteEvidence.json b/source/json_tables/cometbft/types/v1/Evidence_DuplicateVoteEvidence.json new file mode 100644 index 00000000..df163539 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Evidence_DuplicateVoteEvidence.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "duplicate_vote_evidence", + "Type": "DuplicateVoteEvidence", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/Evidence_LightClientAttackEvidence.json b/source/json_tables/cometbft/types/v1/Evidence_LightClientAttackEvidence.json new file mode 100644 index 00000000..2d4b0eaa --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Evidence_LightClientAttackEvidence.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "light_client_attack_evidence", + "Type": "LightClientAttackEvidence", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/ExtendedCommit.json b/source/json_tables/cometbft/types/v1/ExtendedCommit.json new file mode 100644 index 00000000..74a08a90 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/ExtendedCommit.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "extended_signatures", + "Type": "ExtendedCommitSig array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/ExtendedCommitSig.json b/source/json_tables/cometbft/types/v1/ExtendedCommitSig.json new file mode 100644 index 00000000..5241179b --- /dev/null +++ b/source/json_tables/cometbft/types/v1/ExtendedCommitSig.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "block_id_flag", + "Type": "BlockIDFlag", + "Description": "" + }, + { + "Parameter": "validator_address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "signature", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "extension", + "Type": "byte array", + "Description": "Vote extension data" + }, + { + "Parameter": "extension_signature", + "Type": "byte array", + "Description": "Vote extension signature" + } +] diff --git a/source/json_tables/cometbft/types/v1/FeatureParams.json b/source/json_tables/cometbft/types/v1/FeatureParams.json new file mode 100644 index 00000000..c2798449 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/FeatureParams.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "vote_extensions_enable_height", + "Type": "types.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", + "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/HashedParams.json b/source/json_tables/cometbft/types/v1/HashedParams.json new file mode 100644 index 00000000..820f382a --- /dev/null +++ b/source/json_tables/cometbft/types/v1/HashedParams.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "block_max_bytes", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "block_max_gas", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/Header.json b/source/json_tables/cometbft/types/v1/Header.json new file mode 100644 index 00000000..fc0e0125 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Header.json @@ -0,0 +1,72 @@ +[ + { + "Parameter": "version", + "Type": "v11.Consensus", + "Description": "basic block info" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "last_block_id", + "Type": "BlockID", + "Description": "prev block info" + }, + { + "Parameter": "last_commit_hash", + "Type": "byte array", + "Description": "hashes of block data" + }, + { + "Parameter": "data_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "validators_hash", + "Type": "byte array", + "Description": "hashes from the app output from the prev block" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "consensus_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "last_results_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "evidence_hash", + "Type": "byte array", + "Description": "consensus info" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/LightBlock.json b/source/json_tables/cometbft/types/v1/LightBlock.json new file mode 100644 index 00000000..b9c0595c --- /dev/null +++ b/source/json_tables/cometbft/types/v1/LightBlock.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "signed_header", + "Type": "SignedHeader", + "Description": "" + }, + { + "Parameter": "validator_set", + "Type": "ValidatorSet", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/LightClientAttackEvidence.json b/source/json_tables/cometbft/types/v1/LightClientAttackEvidence.json new file mode 100644 index 00000000..c3ce855b --- /dev/null +++ b/source/json_tables/cometbft/types/v1/LightClientAttackEvidence.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "conflicting_block", + "Type": "LightBlock", + "Description": "" + }, + { + "Parameter": "common_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "byzantine_validators", + "Type": "Validator array", + "Description": "" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/Part.json b/source/json_tables/cometbft/types/v1/Part.json new file mode 100644 index 00000000..ee41006c --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Part.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "index", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proof", + "Type": "v1.Proof", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/PartSetHeader.json b/source/json_tables/cometbft/types/v1/PartSetHeader.json new file mode 100644 index 00000000..29da6250 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/PartSetHeader.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "total", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/Proposal.json b/source/json_tables/cometbft/types/v1/Proposal.json new file mode 100644 index 00000000..03ec625a --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Proposal.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "type", + "Type": "SignedMsgType", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "pol_round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "signature", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/SignedHeader.json b/source/json_tables/cometbft/types/v1/SignedHeader.json new file mode 100644 index 00000000..9d47af7e --- /dev/null +++ b/source/json_tables/cometbft/types/v1/SignedHeader.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "header", + "Type": "Header", + "Description": "" + }, + { + "Parameter": "commit", + "Type": "Commit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/SimpleValidator.json b/source/json_tables/cometbft/types/v1/SimpleValidator.json new file mode 100644 index 00000000..6b312523 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/SimpleValidator.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "pub_key", + "Type": "v1.PublicKey", + "Description": "" + }, + { + "Parameter": "voting_power", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/SynchronyParams.json b/source/json_tables/cometbft/types/v1/SynchronyParams.json new file mode 100644 index 00000000..96768046 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/SynchronyParams.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "precision", + "Type": "time.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", + "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 new file mode 100644 index 00000000..fecadab6 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/TxProof.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "root_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proof", + "Type": "v1.Proof", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/Validator.json b/source/json_tables/cometbft/types/v1/Validator.json new file mode 100644 index 00000000..d08f44f0 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Validator.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "pub_key", + "Type": "v1.PublicKey", + "Description": "" + }, + { + "Parameter": "voting_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "proposer_priority", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "pub_key_bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "pub_key_type", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/ValidatorParams.json b/source/json_tables/cometbft/types/v1/ValidatorParams.json new file mode 100644 index 00000000..3cf5a62d --- /dev/null +++ b/source/json_tables/cometbft/types/v1/ValidatorParams.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "pub_key_types", + "Type": "string array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/ValidatorSet.json b/source/json_tables/cometbft/types/v1/ValidatorSet.json new file mode 100644 index 00000000..6e019fb4 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/ValidatorSet.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "validators", + "Type": "Validator array", + "Description": "" + }, + { + "Parameter": "proposer", + "Type": "Validator", + "Description": "" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1/VersionParams.json b/source/json_tables/cometbft/types/v1/VersionParams.json new file mode 100644 index 00000000..d8565bb6 --- /dev/null +++ b/source/json_tables/cometbft/types/v1/VersionParams.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "app", + "Type": "uint64", + "Description": "The ABCI application version. It was named app_version in CometBFT 0.34." + } +] diff --git a/source/json_tables/cometbft/types/v1/Vote.json b/source/json_tables/cometbft/types/v1/Vote.json new file mode 100644 index 00000000..5f42385e --- /dev/null +++ b/source/json_tables/cometbft/types/v1/Vote.json @@ -0,0 +1,52 @@ +[ + { + "Parameter": "type", + "Type": "SignedMsgType", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "validator_address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "validator_index", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "signature", + "Type": "byte array", + "Description": "Vote signature by the validator if they participated in consensus for the associated block." + }, + { + "Parameter": "extension", + "Type": "byte array", + "Description": "Vote extension provided by the application. Only valid for precommit messages." + }, + { + "Parameter": "extension_signature", + "Type": "byte array", + "Description": "Vote extension signature by the validator if they participated in consensus for the associated block. Only valid for precommit messages." + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Block.json b/source/json_tables/cometbft/types/v1beta1/Block.json new file mode 100644 index 00000000..5696031a --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Block.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "header", + "Type": "Header", + "Description": "" + }, + { + "Parameter": "data", + "Type": "Data", + "Description": "" + }, + { + "Parameter": "evidence", + "Type": "EvidenceList", + "Description": "" + }, + { + "Parameter": "last_commit", + "Type": "Commit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/BlockID.json b/source/json_tables/cometbft/types/v1beta1/BlockID.json new file mode 100644 index 00000000..0e9d09c6 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/BlockID.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "part_set_header", + "Type": "PartSetHeader", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/BlockMeta.json b/source/json_tables/cometbft/types/v1beta1/BlockMeta.json new file mode 100644 index 00000000..e0652595 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/BlockMeta.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "block_size", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "header", + "Type": "Header", + "Description": "" + }, + { + "Parameter": "num_txs", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/BlockParams.json b/source/json_tables/cometbft/types/v1beta1/BlockParams.json new file mode 100644 index 00000000..8936125e --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/BlockParams.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "max_bytes", + "Type": "int64", + "Description": "Max block size, in bytes. Note: must be greater than 0" + }, + { + "Parameter": "max_gas", + "Type": "int64", + "Description": "Max gas per block. Note: must be greater or equal to -1" + }, + { + "Parameter": "time_iota_ms", + "Type": "int64", + "Description": "Minimum time increment between consecutive blocks (in milliseconds) If the block header timestamp is ahead of the system clock, decrease this value. Not exposed to the application." + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/CanonicalBlockID.json b/source/json_tables/cometbft/types/v1beta1/CanonicalBlockID.json new file mode 100644 index 00000000..52da753f --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/CanonicalBlockID.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "part_set_header", + "Type": "CanonicalPartSetHeader", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/CanonicalPartSetHeader.json b/source/json_tables/cometbft/types/v1beta1/CanonicalPartSetHeader.json new file mode 100644 index 00000000..29da6250 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/CanonicalPartSetHeader.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "total", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/CanonicalProposal.json b/source/json_tables/cometbft/types/v1beta1/CanonicalProposal.json new file mode 100644 index 00000000..6ade49ff --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/CanonicalProposal.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "type", + "Type": "SignedMsgType", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "pol_round", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "CanonicalBlockID", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/CanonicalVote.json b/source/json_tables/cometbft/types/v1beta1/CanonicalVote.json new file mode 100644 index 00000000..63cc2ece --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/CanonicalVote.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "type", + "Type": "SignedMsgType", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "CanonicalBlockID", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Commit.json b/source/json_tables/cometbft/types/v1beta1/Commit.json new file mode 100644 index 00000000..cbea7aec --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Commit.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "signatures", + "Type": "CommitSig array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/CommitSig.json b/source/json_tables/cometbft/types/v1beta1/CommitSig.json new file mode 100644 index 00000000..9fd5cfd8 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/CommitSig.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "block_id_flag", + "Type": "BlockIDFlag", + "Description": "" + }, + { + "Parameter": "validator_address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "signature", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/ConsensusParams.json b/source/json_tables/cometbft/types/v1beta1/ConsensusParams.json new file mode 100644 index 00000000..9e5b2473 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/ConsensusParams.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "block", + "Type": "BlockParams", + "Description": "" + }, + { + "Parameter": "evidence", + "Type": "EvidenceParams", + "Description": "" + }, + { + "Parameter": "validator", + "Type": "ValidatorParams", + "Description": "" + }, + { + "Parameter": "version", + "Type": "VersionParams", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Data.json b/source/json_tables/cometbft/types/v1beta1/Data.json new file mode 100644 index 00000000..661fe156 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Data.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "txs", + "Type": "][byte array", + "Description": "Txs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs." + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/DuplicateVoteEvidence.json b/source/json_tables/cometbft/types/v1beta1/DuplicateVoteEvidence.json new file mode 100644 index 00000000..7995129f --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/DuplicateVoteEvidence.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "vote_a", + "Type": "Vote", + "Description": "" + }, + { + "Parameter": "vote_b", + "Type": "Vote", + "Description": "" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "validator_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/EvidenceList.json b/source/json_tables/cometbft/types/v1beta1/EvidenceList.json new file mode 100644 index 00000000..51a399e0 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/EvidenceList.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "evidence", + "Type": "Evidence array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/EvidenceParams.json b/source/json_tables/cometbft/types/v1beta1/EvidenceParams.json new file mode 100644 index 00000000..a63d4620 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/EvidenceParams.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "max_age_num_blocks", + "Type": "int64", + "Description": "Max age of evidence, in blocks. The basic formula for calculating this is: MaxAgeDuration / {average block time}." + }, + { + "Parameter": "max_age_duration", + "Type": "time.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)." + }, + { + "Parameter": "max_bytes", + "Type": "int64", + "Description": "This sets the maximum size of total evidence in bytes that can be committed in a single block. and should fall comfortably under the max block bytes. Default is 1048576 or 1MB" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Evidence_DuplicateVoteEvidence.json b/source/json_tables/cometbft/types/v1beta1/Evidence_DuplicateVoteEvidence.json new file mode 100644 index 00000000..df163539 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Evidence_DuplicateVoteEvidence.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "duplicate_vote_evidence", + "Type": "DuplicateVoteEvidence", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Evidence_LightClientAttackEvidence.json b/source/json_tables/cometbft/types/v1beta1/Evidence_LightClientAttackEvidence.json new file mode 100644 index 00000000..2d4b0eaa --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Evidence_LightClientAttackEvidence.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "light_client_attack_evidence", + "Type": "LightClientAttackEvidence", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/HashedParams.json b/source/json_tables/cometbft/types/v1beta1/HashedParams.json new file mode 100644 index 00000000..820f382a --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/HashedParams.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "block_max_bytes", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "block_max_gas", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Header.json b/source/json_tables/cometbft/types/v1beta1/Header.json new file mode 100644 index 00000000..fc0e0125 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Header.json @@ -0,0 +1,72 @@ +[ + { + "Parameter": "version", + "Type": "v11.Consensus", + "Description": "basic block info" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "last_block_id", + "Type": "BlockID", + "Description": "prev block info" + }, + { + "Parameter": "last_commit_hash", + "Type": "byte array", + "Description": "hashes of block data" + }, + { + "Parameter": "data_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "validators_hash", + "Type": "byte array", + "Description": "hashes from the app output from the prev block" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "consensus_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "last_results_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "evidence_hash", + "Type": "byte array", + "Description": "consensus info" + }, + { + "Parameter": "proposer_address", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/LightBlock.json b/source/json_tables/cometbft/types/v1beta1/LightBlock.json new file mode 100644 index 00000000..b9c0595c --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/LightBlock.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "signed_header", + "Type": "SignedHeader", + "Description": "" + }, + { + "Parameter": "validator_set", + "Type": "ValidatorSet", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/LightClientAttackEvidence.json b/source/json_tables/cometbft/types/v1beta1/LightClientAttackEvidence.json new file mode 100644 index 00000000..c3ce855b --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/LightClientAttackEvidence.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "conflicting_block", + "Type": "LightBlock", + "Description": "" + }, + { + "Parameter": "common_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "byzantine_validators", + "Type": "Validator array", + "Description": "" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Part.json b/source/json_tables/cometbft/types/v1beta1/Part.json new file mode 100644 index 00000000..ee41006c --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Part.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "index", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proof", + "Type": "v1.Proof", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/PartSetHeader.json b/source/json_tables/cometbft/types/v1beta1/PartSetHeader.json new file mode 100644 index 00000000..29da6250 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/PartSetHeader.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "total", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Proposal.json b/source/json_tables/cometbft/types/v1beta1/Proposal.json new file mode 100644 index 00000000..03ec625a --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Proposal.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "type", + "Type": "SignedMsgType", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "pol_round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "signature", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/SignedHeader.json b/source/json_tables/cometbft/types/v1beta1/SignedHeader.json new file mode 100644 index 00000000..9d47af7e --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/SignedHeader.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "header", + "Type": "Header", + "Description": "" + }, + { + "Parameter": "commit", + "Type": "Commit", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/SimpleValidator.json b/source/json_tables/cometbft/types/v1beta1/SimpleValidator.json new file mode 100644 index 00000000..6b312523 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/SimpleValidator.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "pub_key", + "Type": "v1.PublicKey", + "Description": "" + }, + { + "Parameter": "voting_power", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/TxProof.json b/source/json_tables/cometbft/types/v1beta1/TxProof.json new file mode 100644 index 00000000..fecadab6 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/TxProof.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "root_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proof", + "Type": "v1.Proof", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Validator.json b/source/json_tables/cometbft/types/v1beta1/Validator.json new file mode 100644 index 00000000..18b37887 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Validator.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "pub_key", + "Type": "v1.PublicKey", + "Description": "" + }, + { + "Parameter": "voting_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "proposer_priority", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/ValidatorParams.json b/source/json_tables/cometbft/types/v1beta1/ValidatorParams.json new file mode 100644 index 00000000..3cf5a62d --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/ValidatorParams.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "pub_key_types", + "Type": "string array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/ValidatorSet.json b/source/json_tables/cometbft/types/v1beta1/ValidatorSet.json new file mode 100644 index 00000000..6e019fb4 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/ValidatorSet.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "validators", + "Type": "Validator array", + "Description": "" + }, + { + "Parameter": "proposer", + "Type": "Validator", + "Description": "" + }, + { + "Parameter": "total_voting_power", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/VersionParams.json b/source/json_tables/cometbft/types/v1beta1/VersionParams.json new file mode 100644 index 00000000..017955b9 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/VersionParams.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "app", + "Type": "uint64", + "Description": "Was named app_version in Tendermint 0.34" + } +] diff --git a/source/json_tables/cometbft/types/v1beta1/Vote.json b/source/json_tables/cometbft/types/v1beta1/Vote.json new file mode 100644 index 00000000..4936a100 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta1/Vote.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "type", + "Type": "SignedMsgType", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "round", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "block_id", + "Type": "BlockID", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "validator_address", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "validator_index", + "Type": "int32", + "Description": "" + }, + { + "Parameter": "signature", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/types/v1beta2/BlockParams.json b/source/json_tables/cometbft/types/v1beta2/BlockParams.json new file mode 100644 index 00000000..ae411801 --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta2/BlockParams.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "max_bytes", + "Type": "int64", + "Description": "Max block size, in bytes. Note: must be greater than 0" + }, + { + "Parameter": "max_gas", + "Type": "int64", + "Description": "Max gas per block. Note: must be greater or equal to -1" + } +] diff --git a/source/json_tables/cometbft/types/v1beta2/ConsensusParams.json b/source/json_tables/cometbft/types/v1beta2/ConsensusParams.json new file mode 100644 index 00000000..ca18b86c --- /dev/null +++ b/source/json_tables/cometbft/types/v1beta2/ConsensusParams.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "block", + "Type": "BlockParams", + "Description": "" + }, + { + "Parameter": "evidence", + "Type": "v1beta1.EvidenceParams", + "Description": "" + }, + { + "Parameter": "validator", + "Type": "v1beta1.ValidatorParams", + "Description": "" + }, + { + "Parameter": "version", + "Type": "v1beta1.VersionParams", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/version/v1/App.json b/source/json_tables/cometbft/version/v1/App.json new file mode 100644 index 00000000..298a7340 --- /dev/null +++ b/source/json_tables/cometbft/version/v1/App.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "protocol", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "software", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cometbft/version/v1/Consensus.json b/source/json_tables/cometbft/version/v1/Consensus.json new file mode 100644 index 00000000..987c735a --- /dev/null +++ b/source/json_tables/cometbft/version/v1/Consensus.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "block", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "app", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/authz/GenericAuthorization.json b/source/json_tables/cosmos/authz/GenericAuthorization.json new file mode 100644 index 00000000..b010d196 --- /dev/null +++ b/source/json_tables/cosmos/authz/GenericAuthorization.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "msg", + "Type": "string", + "Description": "Msg, identified by it's type URL, to grant unrestricted permissions to execute" + } +] diff --git a/source/json_tables/cosmos/authz/GenesisState.json b/source/json_tables/cosmos/authz/GenesisState.json new file mode 100644 index 00000000..b5164e3a --- /dev/null +++ b/source/json_tables/cosmos/authz/GenesisState.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "authorization", + "Type": "GrantAuthorization array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/authz/Grant.json b/source/json_tables/cosmos/authz/Grant.json new file mode 100644 index 00000000..589e9bc8 --- /dev/null +++ b/source/json_tables/cosmos/authz/Grant.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "authorization", + "Type": "types.Any", + "Description": "" + }, + { + "Parameter": "expiration", + "Type": "time.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 new file mode 100644 index 00000000..5eab7406 --- /dev/null +++ b/source/json_tables/cosmos/authz/GrantAuthorization.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "" + }, + { + "Parameter": "grantee", + "Type": "string", + "Description": "" + }, + { + "Parameter": "authorization", + "Type": "types.Any", + "Description": "" + }, + { + "Parameter": "expiration", + "Type": "time.Time", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/authz/GrantQueueItem.json b/source/json_tables/cosmos/authz/GrantQueueItem.json new file mode 100644 index 00000000..e3cfe174 --- /dev/null +++ b/source/json_tables/cosmos/authz/GrantQueueItem.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "msg_type_urls", + "Type": "string array", + "Description": "msg_type_urls contains the list of TypeURL of a sdk.Msg." + } +] diff --git a/source/json_tables/cosmos/authz/MsgExec.json b/source/json_tables/cosmos/authz/MsgExec.json new file mode 100644 index 00000000..c6f58954 --- /dev/null +++ b/source/json_tables/cosmos/authz/MsgExec.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "grantee", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "msgs", + "Type": "types.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/MsgExecCompat.json b/source/json_tables/cosmos/authz/MsgExecCompat.json new file mode 100644 index 00000000..80522ec8 --- /dev/null +++ b/source/json_tables/cosmos/authz/MsgExecCompat.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "grantee", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "msgs", + "Type": "string array", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/authz/MsgExecCompatResponse.json b/source/json_tables/cosmos/authz/MsgExecCompatResponse.json new file mode 100644 index 00000000..00e34b15 --- /dev/null +++ b/source/json_tables/cosmos/authz/MsgExecCompatResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "results", + "Type": "][byte array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/authz/MsgExecResponse.json b/source/json_tables/cosmos/authz/MsgExecResponse.json new file mode 100644 index 00000000..00e34b15 --- /dev/null +++ b/source/json_tables/cosmos/authz/MsgExecResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "results", + "Type": "][byte array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/authz/MsgGrant.json b/source/json_tables/cosmos/authz/MsgGrant.json new file mode 100644 index 00000000..e1ffe12c --- /dev/null +++ b/source/json_tables/cosmos/authz/MsgGrant.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "grantee", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "grant", + "Type": "Grant", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/authz/MsgRevoke.json b/source/json_tables/cosmos/authz/MsgRevoke.json new file mode 100644 index 00000000..0b277fd7 --- /dev/null +++ b/source/json_tables/cosmos/authz/MsgRevoke.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "grantee", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "msg_type_url", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/authz/QueryGranteeGrantsRequest.json b/source/json_tables/cosmos/authz/QueryGranteeGrantsRequest.json new file mode 100644 index 00000000..2b509775 --- /dev/null +++ b/source/json_tables/cosmos/authz/QueryGranteeGrantsRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "grantee", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..bf8ce399 --- /dev/null +++ b/source/json_tables/cosmos/authz/QueryGranteeGrantsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "grants", + "Type": "GrantAuthorization array", + "Description": "grants is a list of grants granted to the grantee." + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..e4ca7b55 --- /dev/null +++ b/source/json_tables/cosmos/authz/QueryGranterGrantsRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..7ddf3d3f --- /dev/null +++ b/source/json_tables/cosmos/authz/QueryGranterGrantsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "grants", + "Type": "GrantAuthorization array", + "Description": "grants is a list of grants granted by the granter." + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..208c91fc --- /dev/null +++ b/source/json_tables/cosmos/authz/QueryGrantsRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "grantee", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "msg_type_url", + "Type": "string", + "Description": "Optional, msg_type_url, when set, will query only grants matching given msg type.", + "Required": "No" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..a567102a --- /dev/null +++ b/source/json_tables/cosmos/authz/QueryGrantsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "grants", + "Type": "Grant array", + "Description": "authorizations is a list of grants granted for grantee by granter." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines an pagination for the response." + } +] diff --git a/source/json_tables/cosmos/cmtservice/ABCIQueryRequest.json b/source/json_tables/cosmos/cmtservice/ABCIQueryRequest.json new file mode 100644 index 00000000..f54f8446 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/ABCIQueryRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "path", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "prove", + "Type": "bool", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/cmtservice/ABCIQueryResponse.json b/source/json_tables/cosmos/cmtservice/ABCIQueryResponse.json new file mode 100644 index 00000000..f6ade5d1 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/ABCIQueryResponse.json @@ -0,0 +1,47 @@ +[ + { + "Parameter": "code", + "Type": "uint32", + "Description": "" + }, + { + "Parameter": "log", + "Type": "string", + "Description": "" + }, + { + "Parameter": "info", + "Type": "string", + "Description": "" + }, + { + "Parameter": "index", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "key", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "value", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "proof_ops", + "Type": "ProofOps", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "codespace", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/cmtservice/Block.json b/source/json_tables/cosmos/cmtservice/Block.json new file mode 100644 index 00000000..ce9da8a8 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/Block.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "header", + "Type": "Header", + "Description": "" + }, + { + "Parameter": "data", + "Type": "v1.Data", + "Description": "" + }, + { + "Parameter": "evidence", + "Type": "v1.EvidenceList", + "Description": "" + }, + { + "Parameter": "last_commit", + "Type": "v1.Commit", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/cmtservice/GetBlockByHeightRequest.json b/source/json_tables/cosmos/cmtservice/GetBlockByHeightRequest.json new file mode 100644 index 00000000..2d6eb3d8 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetBlockByHeightRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/cmtservice/GetBlockByHeightResponse.json b/source/json_tables/cosmos/cmtservice/GetBlockByHeightResponse.json new file mode 100644 index 00000000..28b131bf --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetBlockByHeightResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "block_id", + "Type": "v1.BlockID", + "Description": "" + }, + { + "Parameter": "block", + "Type": "v1.Block", + "Description": "Deprecated: please use `sdk_block` instead" + }, + { + "Parameter": "sdk_block", + "Type": "Block", + "Description": "Since: cosmos-sdk 0.47" + } +] diff --git a/source/json_tables/cosmos/cmtservice/GetLatestBlockResponse.json b/source/json_tables/cosmos/cmtservice/GetLatestBlockResponse.json new file mode 100644 index 00000000..28b131bf --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetLatestBlockResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "block_id", + "Type": "v1.BlockID", + "Description": "" + }, + { + "Parameter": "block", + "Type": "v1.Block", + "Description": "Deprecated: please use `sdk_block` instead" + }, + { + "Parameter": "sdk_block", + "Type": "Block", + "Description": "Since: cosmos-sdk 0.47" + } +] diff --git a/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetRequest.json b/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetRequest.json new file mode 100644 index 00000000..6a8360b5 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..192d2a48 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetLatestValidatorSetResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "block_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "Validator array", + "Description": "" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..e0838f4c --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetNodeInfoResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "default_node_info", + "Type": "v11.DefaultNodeInfo", + "Description": "" + }, + { + "Parameter": "application_version", + "Type": "VersionInfo", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/cmtservice/GetSyncingResponse.json b/source/json_tables/cosmos/cmtservice/GetSyncingResponse.json new file mode 100644 index 00000000..050dd3ee --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetSyncingResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "syncing", + "Type": "bool", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightRequest.json b/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightRequest.json new file mode 100644 index 00000000..78112c54 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "height", + "Type": "int64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..192d2a48 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/GetValidatorSetByHeightResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "block_height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "validators", + "Type": "Validator array", + "Description": "" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..ae0a5844 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/Header.json @@ -0,0 +1,72 @@ +[ + { + "Parameter": "version", + "Type": "v11.Consensus", + "Description": "basic block info" + }, + { + "Parameter": "chain_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "height", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "time", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "last_block_id", + "Type": "v1.BlockID", + "Description": "prev block info" + }, + { + "Parameter": "last_commit_hash", + "Type": "byte array", + "Description": "hashes of block data" + }, + { + "Parameter": "data_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "validators_hash", + "Type": "byte array", + "Description": "hashes from the app output from the prev block" + }, + { + "Parameter": "next_validators_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "consensus_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "last_results_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "evidence_hash", + "Type": "byte array", + "Description": "consensus info" + }, + { + "Parameter": "proposer_address", + "Type": "string", + "Description": "proposer_address is the original block proposer address, formatted as a Bech32 string. In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string for better UX." + } +] diff --git a/source/json_tables/cosmos/cmtservice/Module.json b/source/json_tables/cosmos/cmtservice/Module.json new file mode 100644 index 00000000..ebc35df8 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/Module.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "path", + "Type": "string", + "Description": "module path" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "module version" + }, + { + "Parameter": "sum", + "Type": "string", + "Description": "checksum" + } +] diff --git a/source/json_tables/cosmos/cmtservice/ProofOp.json b/source/json_tables/cosmos/cmtservice/ProofOp.json new file mode 100644 index 00000000..3c6fef61 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/ProofOp.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "type", + "Type": "string", + "Description": "" + }, + { + "Parameter": "key", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/cmtservice/ProofOps.json b/source/json_tables/cosmos/cmtservice/ProofOps.json new file mode 100644 index 00000000..045de812 --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/ProofOps.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "ops", + "Type": "ProofOp array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/cmtservice/Validator.json b/source/json_tables/cosmos/cmtservice/Validator.json new file mode 100644 index 00000000..96d3771c --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/Validator.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "" + }, + { + "Parameter": "pub_key", + "Type": "types.Any", + "Description": "" + }, + { + "Parameter": "voting_power", + "Type": "int64", + "Description": "" + }, + { + "Parameter": "proposer_priority", + "Type": "int64", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/cmtservice/VersionInfo.json b/source/json_tables/cosmos/cmtservice/VersionInfo.json new file mode 100644 index 00000000..c5b95fff --- /dev/null +++ b/source/json_tables/cosmos/cmtservice/VersionInfo.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "name", + "Type": "string", + "Description": "" + }, + { + "Parameter": "app_name", + "Type": "string", + "Description": "" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "" + }, + { + "Parameter": "git_commit", + "Type": "string", + "Description": "" + }, + { + "Parameter": "build_tags", + "Type": "string", + "Description": "" + }, + { + "Parameter": "go_version", + "Type": "string", + "Description": "" + }, + { + "Parameter": "build_deps", + "Type": "Module array", + "Description": "" + }, + { + "Parameter": "cosmos_sdk_version", + "Type": "string", + "Description": "Since: cosmos-sdk 0.43" + } +] diff --git a/source/json_tables/errors/authz.json b/source/json_tables/cosmos/errors/authz.json similarity index 100% rename from source/json_tables/errors/authz.json rename to source/json_tables/cosmos/errors/authz.json diff --git a/source/json_tables/errors/bank.json b/source/json_tables/cosmos/errors/bank.json similarity index 100% rename from source/json_tables/errors/bank.json rename to source/json_tables/cosmos/errors/bank.json diff --git a/source/json_tables/errors/crisis.json b/source/json_tables/cosmos/errors/crisis.json similarity index 100% rename from source/json_tables/errors/crisis.json rename to source/json_tables/cosmos/errors/crisis.json diff --git a/source/json_tables/errors/distribution.json b/source/json_tables/cosmos/errors/distribution.json similarity index 100% rename from source/json_tables/errors/distribution.json rename to source/json_tables/cosmos/errors/distribution.json diff --git a/source/json_tables/errors/evidence.json b/source/json_tables/cosmos/errors/evidence.json similarity index 100% rename from source/json_tables/errors/evidence.json rename to source/json_tables/cosmos/errors/evidence.json diff --git a/source/json_tables/errors/feegrant.json b/source/json_tables/cosmos/errors/feegrant.json similarity index 100% rename from source/json_tables/errors/feegrant.json rename to source/json_tables/cosmos/errors/feegrant.json diff --git a/source/json_tables/errors/gov.json b/source/json_tables/cosmos/errors/gov.json similarity index 100% rename from source/json_tables/errors/gov.json rename to source/json_tables/cosmos/errors/gov.json diff --git a/source/json_tables/errors/nft.json b/source/json_tables/cosmos/errors/nft.json similarity index 100% rename from source/json_tables/errors/nft.json rename to source/json_tables/cosmos/errors/nft.json diff --git a/source/json_tables/errors/slashing.json b/source/json_tables/cosmos/errors/slashing.json similarity index 100% rename from source/json_tables/errors/slashing.json rename to source/json_tables/cosmos/errors/slashing.json diff --git a/source/json_tables/errors/staking.json b/source/json_tables/cosmos/errors/staking.json similarity index 100% rename from source/json_tables/errors/staking.json rename to source/json_tables/cosmos/errors/staking.json diff --git a/source/json_tables/errors/upgrade.json b/source/json_tables/cosmos/errors/upgrade.json similarity index 100% rename from source/json_tables/errors/upgrade.json rename to source/json_tables/cosmos/errors/upgrade.json diff --git a/source/json_tables/cosmos/feegrant/AllowedMsgAllowance.json b/source/json_tables/cosmos/feegrant/AllowedMsgAllowance.json new file mode 100644 index 00000000..588b27b1 --- /dev/null +++ b/source/json_tables/cosmos/feegrant/AllowedMsgAllowance.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "allowance", + "Type": "types1.Any", + "Description": "allowance can be any of basic and periodic fee allowance." + }, + { + "Parameter": "allowed_messages", + "Type": "string array", + "Description": "allowed_messages are the messages for which the grantee has the access." + } +] diff --git a/source/json_tables/cosmos/feegrant/BasicAllowance.json b/source/json_tables/cosmos/feegrant/BasicAllowance.json new file mode 100644 index 00000000..d0d4017c --- /dev/null +++ b/source/json_tables/cosmos/feegrant/BasicAllowance.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "spend_limit", + "Type": "github_com_cosmos_cosmos_sdk_types.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", + "Description": "expiration specifies an optional time when this allowance expires" + } +] diff --git a/source/json_tables/cosmos/feegrant/GenesisState.json b/source/json_tables/cosmos/feegrant/GenesisState.json new file mode 100644 index 00000000..66674d78 --- /dev/null +++ b/source/json_tables/cosmos/feegrant/GenesisState.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "allowances", + "Type": "Grant array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/feegrant/Grant.json b/source/json_tables/cosmos/feegrant/Grant.json new file mode 100644 index 00000000..1d0dee47 --- /dev/null +++ b/source/json_tables/cosmos/feegrant/Grant.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "granter is the address of the user granting an allowance of their funds." + }, + { + "Parameter": "grantee", + "Type": "string", + "Description": "grantee is the address of the user being granted an allowance of another user's funds." + }, + { + "Parameter": "allowance", + "Type": "types1.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 new file mode 100644 index 00000000..7866899a --- /dev/null +++ b/source/json_tables/cosmos/feegrant/MsgGrantAllowance.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "granter is the address of the user granting an allowance of their funds.", + "Required": "Yes" + }, + { + "Parameter": "grantee", + "Type": "string", + "Description": "grantee is the address of the user being granted an allowance of another user's funds.", + "Required": "Yes" + }, + { + "Parameter": "allowance", + "Type": "types.Any", + "Description": "allowance can be any of basic, periodic, allowed fee allowance.", + "Required": "No" + } +] diff --git a/source/json_tables/cosmos/feegrant/MsgPruneAllowances.json b/source/json_tables/cosmos/feegrant/MsgPruneAllowances.json new file mode 100644 index 00000000..a2f248da --- /dev/null +++ b/source/json_tables/cosmos/feegrant/MsgPruneAllowances.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pruner", + "Type": "string", + "Description": "pruner is the address of the user pruning expired allowances.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/feegrant/MsgRevokeAllowance.json b/source/json_tables/cosmos/feegrant/MsgRevokeAllowance.json new file mode 100644 index 00000000..d2980b3f --- /dev/null +++ b/source/json_tables/cosmos/feegrant/MsgRevokeAllowance.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "granter is the address of the user granting an allowance of their funds.", + "Required": "Yes" + }, + { + "Parameter": "grantee", + "Type": "string", + "Description": "grantee is the address of the user being granted an allowance of another user's funds.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/feegrant/PeriodicAllowance.json b/source/json_tables/cosmos/feegrant/PeriodicAllowance.json new file mode 100644 index 00000000..3026867c --- /dev/null +++ b/source/json_tables/cosmos/feegrant/PeriodicAllowance.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "basic", + "Type": "BasicAllowance", + "Description": "basic specifies a struct of `BasicAllowance`" + }, + { + "Parameter": "period", + "Type": "time.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", + "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", + "Description": "period_can_spend is the number of coins left to be spent before the period_reset time" + }, + { + "Parameter": "period_reset", + "Type": "time.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/QueryAllowanceRequest.json b/source/json_tables/cosmos/feegrant/QueryAllowanceRequest.json new file mode 100644 index 00000000..d2980b3f --- /dev/null +++ b/source/json_tables/cosmos/feegrant/QueryAllowanceRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "granter is the address of the user granting an allowance of their funds.", + "Required": "Yes" + }, + { + "Parameter": "grantee", + "Type": "string", + "Description": "grantee is the address of the user being granted an allowance of another user's funds.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/feegrant/QueryAllowanceResponse.json b/source/json_tables/cosmos/feegrant/QueryAllowanceResponse.json new file mode 100644 index 00000000..127a0350 --- /dev/null +++ b/source/json_tables/cosmos/feegrant/QueryAllowanceResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "allowance", + "Type": "Grant", + "Description": "allowance is a allowance granted for grantee by granter." + } +] diff --git a/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterRequest.json b/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterRequest.json new file mode 100644 index 00000000..e4ca7b55 --- /dev/null +++ b/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "granter", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..4c383e2e --- /dev/null +++ b/source/json_tables/cosmos/feegrant/QueryAllowancesByGranterResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "allowances", + "Type": "Grant array", + "Description": "allowances that have been issued by the granter." + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..2b509775 --- /dev/null +++ b/source/json_tables/cosmos/feegrant/QueryAllowancesRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "grantee", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..bcf3b4a9 --- /dev/null +++ b/source/json_tables/cosmos/feegrant/QueryAllowancesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "allowances", + "Type": "Grant array", + "Description": "allowances are allowance's granted for grantee by granter." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines an pagination for the response." + } +] diff --git a/source/json_tables/cosmos/group/DecisionPolicyWindows.json b/source/json_tables/cosmos/group/DecisionPolicyWindows.json new file mode 100644 index 00000000..2b47fbf0 --- /dev/null +++ b/source/json_tables/cosmos/group/DecisionPolicyWindows.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "voting_period", + "Type": "time.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", + "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 new file mode 100644 index 00000000..22e82832 --- /dev/null +++ b/source/json_tables/cosmos/group/GenesisState.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "group_seq", + "Type": "uint64", + "Description": "group_seq is the group table orm.Sequence, it is used to get the next group ID." + }, + { + "Parameter": "groups", + "Type": "GroupInfo array", + "Description": "groups is the list of groups info." + }, + { + "Parameter": "group_members", + "Type": "GroupMember array", + "Description": "group_members is the list of groups members." + }, + { + "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." + }, + { + "Parameter": "group_policies", + "Type": "GroupPolicyInfo array", + "Description": "group_policies is the list of group policies info." + }, + { + "Parameter": "proposal_seq", + "Type": "uint64", + "Description": "proposal_seq is the proposal table orm.Sequence, it is used to get the next proposal ID." + }, + { + "Parameter": "proposals", + "Type": "Proposal array", + "Description": "proposals is the list of proposals." + }, + { + "Parameter": "votes", + "Type": "Vote array", + "Description": "votes is the list of votes." + } +] diff --git a/source/json_tables/cosmos/group/GroupInfo.json b/source/json_tables/cosmos/group/GroupInfo.json new file mode 100644 index 00000000..e850a20e --- /dev/null +++ b/source/json_tables/cosmos/group/GroupInfo.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "id", + "Type": "uint64", + "Description": "id is the unique ID of the group." + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group's admin." + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata to attached to the group. the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1" + }, + { + "Parameter": "version", + "Type": "uint64", + "Description": "version is used to track changes to a group's membership structure that would break existing proposals. Whenever any members weight is changed, or any member is added or removed this version is incremented and will cause proposals based on older versions of this group to fail" + }, + { + "Parameter": "total_weight", + "Type": "string", + "Description": "total_weight is the sum of the group members' weights." + }, + { + "Parameter": "created_at", + "Type": "time.Time", + "Description": "created_at is a timestamp specifying when a group was created." + } +] diff --git a/source/json_tables/cosmos/group/GroupMember.json b/source/json_tables/cosmos/group/GroupMember.json new file mode 100644 index 00000000..4e09020c --- /dev/null +++ b/source/json_tables/cosmos/group/GroupMember.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group." + }, + { + "Parameter": "member", + "Type": "Member", + "Description": "member is the member data." + } +] diff --git a/source/json_tables/cosmos/group/GroupPolicyInfo.json b/source/json_tables/cosmos/group/GroupPolicyInfo.json new file mode 100644 index 00000000..e57027a6 --- /dev/null +++ b/source/json_tables/cosmos/group/GroupPolicyInfo.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the account address of group policy." + }, + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group." + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group admin." + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata attached to the group policy. the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#decision-policy-1" + }, + { + "Parameter": "version", + "Type": "uint64", + "Description": "version is used to track changes to a group's GroupPolicyInfo structure that would create a different result on a running proposal." + }, + { + "Parameter": "decision_policy", + "Type": "types.Any", + "Description": "decision_policy specifies the group policy's decision policy." + }, + { + "Parameter": "created_at", + "Type": "time.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 new file mode 100644 index 00000000..ff423201 --- /dev/null +++ b/source/json_tables/cosmos/group/Member.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the member's account address." + }, + { + "Parameter": "weight", + "Type": "string", + "Description": "weight is the member's voting weight that should be greater than 0." + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata attached to the member." + }, + { + "Parameter": "added_at", + "Type": "time.Time", + "Description": "added_at is a timestamp specifying when a member was added." + } +] diff --git a/source/json_tables/cosmos/group/MemberRequest.json b/source/json_tables/cosmos/group/MemberRequest.json new file mode 100644 index 00000000..4ae6e21c --- /dev/null +++ b/source/json_tables/cosmos/group/MemberRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the member's account address.", + "Required": "Yes" + }, + { + "Parameter": "weight", + "Type": "string", + "Description": "weight is the member's voting weight that should be greater than 0.", + "Required": "Yes" + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata attached to the member.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgCreateGroup.json b/source/json_tables/cosmos/group/MsgCreateGroup.json new file mode 100644 index 00000000..110750db --- /dev/null +++ b/source/json_tables/cosmos/group/MsgCreateGroup.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group admin.", + "Required": "Yes" + }, + { + "Parameter": "members", + "Type": "MemberRequest array", + "Description": "members defines the group members.", + "Required": "Yes" + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata to attached to the group.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgCreateGroupPolicy.json b/source/json_tables/cosmos/group/MsgCreateGroupPolicy.json new file mode 100644 index 00000000..a143b62c --- /dev/null +++ b/source/json_tables/cosmos/group/MsgCreateGroupPolicy.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group admin.", + "Required": "Yes" + }, + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group.", + "Required": "Yes" + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata attached to the group policy.", + "Required": "Yes" + }, + { + "Parameter": "decision_policy", + "Type": "types.Any", + "Description": "decision_policy specifies the group policy's decision policy.", + "Required": "No" + } +] diff --git a/source/json_tables/cosmos/group/MsgCreateGroupPolicyResponse.json b/source/json_tables/cosmos/group/MsgCreateGroupPolicyResponse.json new file mode 100644 index 00000000..6749fabd --- /dev/null +++ b/source/json_tables/cosmos/group/MsgCreateGroupPolicyResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the account address of the newly created group policy." + } +] diff --git a/source/json_tables/cosmos/group/MsgCreateGroupResponse.json b/source/json_tables/cosmos/group/MsgCreateGroupResponse.json new file mode 100644 index 00000000..0c74d25b --- /dev/null +++ b/source/json_tables/cosmos/group/MsgCreateGroupResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the newly created group." + } +] diff --git a/source/json_tables/cosmos/group/MsgCreateGroupWithPolicy.json b/source/json_tables/cosmos/group/MsgCreateGroupWithPolicy.json new file mode 100644 index 00000000..d5b14e20 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgCreateGroupWithPolicy.json @@ -0,0 +1,38 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group and group policy admin.", + "Required": "Yes" + }, + { + "Parameter": "members", + "Type": "MemberRequest array", + "Description": "members defines the group members.", + "Required": "Yes" + }, + { + "Parameter": "group_metadata", + "Type": "string", + "Description": "group_metadata is any arbitrary metadata attached to the group.", + "Required": "Yes" + }, + { + "Parameter": "group_policy_metadata", + "Type": "string", + "Description": "group_policy_metadata is any arbitrary metadata attached to the group policy.", + "Required": "Yes" + }, + { + "Parameter": "group_policy_as_admin", + "Type": "bool", + "Description": "group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin.", + "Required": "Yes" + }, + { + "Parameter": "decision_policy", + "Type": "types.Any", + "Description": "decision_policy specifies the group policy's decision policy.", + "Required": "No" + } +] diff --git a/source/json_tables/cosmos/group/MsgCreateGroupWithPolicyResponse.json b/source/json_tables/cosmos/group/MsgCreateGroupWithPolicyResponse.json new file mode 100644 index 00000000..905fe61c --- /dev/null +++ b/source/json_tables/cosmos/group/MsgCreateGroupWithPolicyResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the newly created group with policy." + }, + { + "Parameter": "group_policy_address", + "Type": "string", + "Description": "group_policy_address is the account address of the newly created group policy." + } +] diff --git a/source/json_tables/cosmos/group/MsgExec.json b/source/json_tables/cosmos/group/MsgExec.json new file mode 100644 index 00000000..c7a4b0f5 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgExec.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal is the unique ID of the proposal.", + "Required": "Yes" + }, + { + "Parameter": "executor", + "Type": "string", + "Description": "executor is the account address used to execute the proposal.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgExecResponse.json b/source/json_tables/cosmos/group/MsgExecResponse.json new file mode 100644 index 00000000..2a6ae5b7 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgExecResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "ProposalExecutorResult", + "Description": "result is the final result of the proposal execution." + } +] diff --git a/source/json_tables/cosmos/group/MsgLeaveGroup.json b/source/json_tables/cosmos/group/MsgLeaveGroup.json new file mode 100644 index 00000000..f7d00df6 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgLeaveGroup.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the account address of the group member.", + "Required": "Yes" + }, + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgSubmitProposal.json b/source/json_tables/cosmos/group/MsgSubmitProposal.json new file mode 100644 index 00000000..f207f6cd --- /dev/null +++ b/source/json_tables/cosmos/group/MsgSubmitProposal.json @@ -0,0 +1,44 @@ +[ + { + "Parameter": "group_policy_address", + "Type": "string", + "Description": "group_policy_address is the account address of group policy.", + "Required": "Yes" + }, + { + "Parameter": "proposers", + "Type": "string array", + "Description": "proposers are the account addresses of the proposers. Proposers signatures will be counted as yes votes.", + "Required": "Yes" + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata attached to the proposal.", + "Required": "Yes" + }, + { + "Parameter": "messages", + "Type": "types.Any array", + "Description": "messages is a list of `sdk.Msg`s that will be executed if the proposal passes.", + "Required": "No" + }, + { + "Parameter": "exec", + "Type": "Exec", + "Description": "exec defines the mode of execution of the proposal, whether it should be executed immediately on creation or not. If so, proposers signatures are considered as Yes votes.", + "Required": "Yes" + }, + { + "Parameter": "title", + "Type": "string", + "Description": "title is the title of the proposal. Since: cosmos-sdk 0.47", + "Required": "Yes" + }, + { + "Parameter": "summary", + "Type": "string", + "Description": "summary is the summary of the proposal. Since: cosmos-sdk 0.47", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgSubmitProposalResponse.json b/source/json_tables/cosmos/group/MsgSubmitProposalResponse.json new file mode 100644 index 00000000..497b1ce4 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgSubmitProposalResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal is the unique ID of the proposal." + } +] diff --git a/source/json_tables/cosmos/group/MsgUpdateGroupAdmin.json b/source/json_tables/cosmos/group/MsgUpdateGroupAdmin.json new file mode 100644 index 00000000..fe65edf7 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgUpdateGroupAdmin.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the current account address of the group admin.", + "Required": "Yes" + }, + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group.", + "Required": "Yes" + }, + { + "Parameter": "new_admin", + "Type": "string", + "Description": "new_admin is the group new admin account address.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgUpdateGroupMembers.json b/source/json_tables/cosmos/group/MsgUpdateGroupMembers.json new file mode 100644 index 00000000..ab3b0096 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgUpdateGroupMembers.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group admin.", + "Required": "Yes" + }, + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group.", + "Required": "Yes" + }, + { + "Parameter": "member_updates", + "Type": "MemberRequest array", + "Description": "member_updates is the list of members to update, set weight to 0 to remove a member.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgUpdateGroupMetadata.json b/source/json_tables/cosmos/group/MsgUpdateGroupMetadata.json new file mode 100644 index 00000000..c513740e --- /dev/null +++ b/source/json_tables/cosmos/group/MsgUpdateGroupMetadata.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group admin.", + "Required": "Yes" + }, + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group.", + "Required": "Yes" + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is the updated group's metadata.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgUpdateGroupPolicyAdmin.json b/source/json_tables/cosmos/group/MsgUpdateGroupPolicyAdmin.json new file mode 100644 index 00000000..343611d5 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgUpdateGroupPolicyAdmin.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group admin.", + "Required": "Yes" + }, + { + "Parameter": "group_policy_address", + "Type": "string", + "Description": "group_policy_address is the account address of the group policy.", + "Required": "Yes" + }, + { + "Parameter": "new_admin", + "Type": "string", + "Description": "new_admin is the new group policy admin.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgUpdateGroupPolicyDecisionPolicy.json b/source/json_tables/cosmos/group/MsgUpdateGroupPolicyDecisionPolicy.json new file mode 100644 index 00000000..0b9dba3a --- /dev/null +++ b/source/json_tables/cosmos/group/MsgUpdateGroupPolicyDecisionPolicy.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group admin.", + "Required": "Yes" + }, + { + "Parameter": "group_policy_address", + "Type": "string", + "Description": "group_policy_address is the account address of group policy.", + "Required": "Yes" + }, + { + "Parameter": "decision_policy", + "Type": "types.Any", + "Description": "decision_policy is the updated group policy's decision policy.", + "Required": "No" + } +] diff --git a/source/json_tables/cosmos/group/MsgUpdateGroupPolicyMetadata.json b/source/json_tables/cosmos/group/MsgUpdateGroupPolicyMetadata.json new file mode 100644 index 00000000..99ea0113 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgUpdateGroupPolicyMetadata.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of the group admin.", + "Required": "Yes" + }, + { + "Parameter": "group_policy_address", + "Type": "string", + "Description": "group_policy_address is the account address of group policy.", + "Required": "Yes" + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is the group policy metadata to be updated.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgVote.json b/source/json_tables/cosmos/group/MsgVote.json new file mode 100644 index 00000000..59d30904 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgVote.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal is the unique ID of the proposal.", + "Required": "Yes" + }, + { + "Parameter": "voter", + "Type": "string", + "Description": "voter is the voter account address.", + "Required": "Yes" + }, + { + "Parameter": "option", + "Type": "VoteOption", + "Description": "option is the voter's choice on the proposal.", + "Required": "Yes" + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata attached to the vote.", + "Required": "Yes" + }, + { + "Parameter": "exec", + "Type": "Exec", + "Description": "exec defines whether the proposal should be executed immediately after voting or not.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/MsgWithdrawProposal.json b/source/json_tables/cosmos/group/MsgWithdrawProposal.json new file mode 100644 index 00000000..07463b01 --- /dev/null +++ b/source/json_tables/cosmos/group/MsgWithdrawProposal.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal is the unique ID of the proposal.", + "Required": "Yes" + }, + { + "Parameter": "address", + "Type": "string", + "Description": "address is the admin of the group policy or one of the proposer of the proposal.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/PercentageDecisionPolicy.json b/source/json_tables/cosmos/group/PercentageDecisionPolicy.json new file mode 100644 index 00000000..da5714c7 --- /dev/null +++ b/source/json_tables/cosmos/group/PercentageDecisionPolicy.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "percentage", + "Type": "string", + "Description": "percentage is the minimum percentage of the weighted sum of `YES` votes must meet for a proposal to succeed." + }, + { + "Parameter": "windows", + "Type": "DecisionPolicyWindows", + "Description": "windows defines the different windows for voting and execution." + } +] diff --git a/source/json_tables/cosmos/group/Proposal.json b/source/json_tables/cosmos/group/Proposal.json new file mode 100644 index 00000000..915a8b92 --- /dev/null +++ b/source/json_tables/cosmos/group/Proposal.json @@ -0,0 +1,72 @@ +[ + { + "Parameter": "id", + "Type": "uint64", + "Description": "id is the unique id of the proposal." + }, + { + "Parameter": "group_policy_address", + "Type": "string", + "Description": "group_policy_address is the account address of group policy." + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata attached to the proposal. the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#proposal-4" + }, + { + "Parameter": "proposers", + "Type": "string array", + "Description": "proposers are the account addresses of the proposers." + }, + { + "Parameter": "submit_time", + "Type": "time.Time", + "Description": "submit_time is a timestamp specifying when a proposal was submitted." + }, + { + "Parameter": "group_version", + "Type": "uint64", + "Description": "group_version tracks the version of the group at proposal submission. This field is here for informational purposes only." + }, + { + "Parameter": "group_policy_version", + "Type": "uint64", + "Description": "group_policy_version tracks the version of the group policy at proposal submission. When a decision policy is changed, existing proposals from previous policy versions will become invalid with the `ABORTED` status. This field is here for informational purposes only." + }, + { + "Parameter": "status", + "Type": "ProposalStatus", + "Description": "status represents the high level position in the life cycle of the proposal. Initial value is Submitted." + }, + { + "Parameter": "final_tally_result", + "Type": "TallyResult", + "Description": "final_tally_result contains the sums of all weighted votes for this proposal for each vote option. It is empty at submission, and only populated after tallying, at voting period end or at proposal execution, whichever happens first." + }, + { + "Parameter": "voting_period_end", + "Type": "time.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." + }, + { + "Parameter": "executor_result", + "Type": "ProposalExecutorResult", + "Description": "executor_result is the final result of the proposal execution. Initial value is NotRun." + }, + { + "Parameter": "messages", + "Type": "types.Any array", + "Description": "messages is a list of `sdk.Msg`s that will be executed if the proposal passes." + }, + { + "Parameter": "title", + "Type": "string", + "Description": "title is the title of the proposal Since: cosmos-sdk 0.47" + }, + { + "Parameter": "summary", + "Type": "string", + "Description": "summary is a short summary of the proposal Since: cosmos-sdk 0.47" + } +] diff --git a/source/json_tables/cosmos/group/QueryGroupInfoRequest.json b/source/json_tables/cosmos/group/QueryGroupInfoRequest.json new file mode 100644 index 00000000..5cc2e15b --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupInfoRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/QueryGroupInfoResponse.json b/source/json_tables/cosmos/group/QueryGroupInfoResponse.json new file mode 100644 index 00000000..94128225 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupInfoResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "GroupInfo", + "Description": "info is the GroupInfo of the group." + } +] diff --git a/source/json_tables/cosmos/group/QueryGroupMembersRequest.json b/source/json_tables/cosmos/group/QueryGroupMembersRequest.json new file mode 100644 index 00000000..fd790927 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupMembersRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group.", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..445b9fbc --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupMembersResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "members", + "Type": "GroupMember array", + "Description": "members are the members of the group with given group_id." + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..90c7dac5 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the admin address of the group policy.", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..d0bea630 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupPoliciesByAdminResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "group_policies", + "Type": "GroupPolicyInfo array", + "Description": "group_policies are the group policies info with provided admin." + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..5d8e4ad4 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "group_id", + "Type": "uint64", + "Description": "group_id is the unique ID of the group policy's group.", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..860c4843 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupPoliciesByGroupResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "group_policies", + "Type": "GroupPolicyInfo array", + "Description": "group_policies are the group policies info associated with the provided group." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/cosmos/group/QueryGroupPolicyInfoRequest.json b/source/json_tables/cosmos/group/QueryGroupPolicyInfoRequest.json new file mode 100644 index 00000000..f79d2a96 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupPolicyInfoRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the account address of the group policy.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/QueryGroupPolicyInfoResponse.json b/source/json_tables/cosmos/group/QueryGroupPolicyInfoResponse.json new file mode 100644 index 00000000..f4419d7b --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupPolicyInfoResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "info", + "Type": "GroupPolicyInfo", + "Description": "info is the GroupPolicyInfo of the group policy." + } +] diff --git a/source/json_tables/cosmos/group/QueryGroupsByAdminRequest.json b/source/json_tables/cosmos/group/QueryGroupsByAdminRequest.json new file mode 100644 index 00000000..5552ea47 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupsByAdminRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "admin", + "Type": "string", + "Description": "admin is the account address of a group's admin.", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..c9113e9e --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupsByAdminResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "groups", + "Type": "GroupInfo array", + "Description": "groups are the groups info with the provided admin." + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..be238c48 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupsByMemberRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the group member address.", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..6ec22637 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupsByMemberResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "groups", + "Type": "GroupInfo array", + "Description": "groups are the groups info with the provided group member." + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..79346d2c --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupsRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..5ff3fe82 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryGroupsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "groups", + "Type": "GroupInfo array", + "Description": "`groups` is all the groups present in state." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/cosmos/group/QueryProposalRequest.json b/source/json_tables/cosmos/group/QueryProposalRequest.json new file mode 100644 index 00000000..e53b9639 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryProposalRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal_id is the unique ID of a proposal.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/QueryProposalResponse.json b/source/json_tables/cosmos/group/QueryProposalResponse.json new file mode 100644 index 00000000..55e83154 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryProposalResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proposal", + "Type": "Proposal", + "Description": "proposal is the proposal info." + } +] diff --git a/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyRequest.json b/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyRequest.json new file mode 100644 index 00000000..20112c01 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the account address of the group policy related to proposals.", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..a37228de --- /dev/null +++ b/source/json_tables/cosmos/group/QueryProposalsByGroupPolicyResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "proposals", + "Type": "Proposal array", + "Description": "proposals are the proposals with given group policy." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/cosmos/group/QueryTallyResultRequest.json b/source/json_tables/cosmos/group/QueryTallyResultRequest.json new file mode 100644 index 00000000..f031ffcf --- /dev/null +++ b/source/json_tables/cosmos/group/QueryTallyResultRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal_id is the unique id of a proposal.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/QueryTallyResultResponse.json b/source/json_tables/cosmos/group/QueryTallyResultResponse.json new file mode 100644 index 00000000..fc24e2c8 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryTallyResultResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "tally", + "Type": "TallyResult", + "Description": "tally defines the requested tally." + } +] diff --git a/source/json_tables/cosmos/group/QueryVoteByProposalVoterRequest.json b/source/json_tables/cosmos/group/QueryVoteByProposalVoterRequest.json new file mode 100644 index 00000000..8ec4b63e --- /dev/null +++ b/source/json_tables/cosmos/group/QueryVoteByProposalVoterRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal_id is the unique ID of a proposal.", + "Required": "Yes" + }, + { + "Parameter": "voter", + "Type": "string", + "Description": "voter is a proposal voter account address.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/group/QueryVoteByProposalVoterResponse.json b/source/json_tables/cosmos/group/QueryVoteByProposalVoterResponse.json new file mode 100644 index 00000000..8b7309ff --- /dev/null +++ b/source/json_tables/cosmos/group/QueryVoteByProposalVoterResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "vote", + "Type": "Vote", + "Description": "vote is the vote with given proposal_id and voter." + } +] diff --git a/source/json_tables/cosmos/group/QueryVotesByProposalRequest.json b/source/json_tables/cosmos/group/QueryVotesByProposalRequest.json new file mode 100644 index 00000000..a03d91da --- /dev/null +++ b/source/json_tables/cosmos/group/QueryVotesByProposalRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal_id is the unique ID of a proposal.", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..50dd98d0 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryVotesByProposalResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "votes", + "Type": "Vote array", + "Description": "votes are the list of votes for given proposal_id." + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..f1a44ff1 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryVotesByVoterRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "voter", + "Type": "string", + "Description": "voter is a proposal voter account address.", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..b6154a90 --- /dev/null +++ b/source/json_tables/cosmos/group/QueryVotesByVoterResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "votes", + "Type": "Vote array", + "Description": "votes are the list of votes by given voter." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/cosmos/group/TallyResult.json b/source/json_tables/cosmos/group/TallyResult.json new file mode 100644 index 00000000..a2e88dc3 --- /dev/null +++ b/source/json_tables/cosmos/group/TallyResult.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "yes_count", + "Type": "string", + "Description": "yes_count is the weighted sum of yes votes." + }, + { + "Parameter": "abstain_count", + "Type": "string", + "Description": "abstain_count is the weighted sum of abstainers." + }, + { + "Parameter": "no_count", + "Type": "string", + "Description": "no_count is the weighted sum of no votes." + }, + { + "Parameter": "no_with_veto_count", + "Type": "string", + "Description": "no_with_veto_count is the weighted sum of veto." + } +] diff --git a/source/json_tables/cosmos/group/ThresholdDecisionPolicy.json b/source/json_tables/cosmos/group/ThresholdDecisionPolicy.json new file mode 100644 index 00000000..22a8e967 --- /dev/null +++ b/source/json_tables/cosmos/group/ThresholdDecisionPolicy.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "threshold", + "Type": "string", + "Description": "threshold is the minimum weighted sum of `YES` votes that must be met or exceeded for a proposal to succeed." + }, + { + "Parameter": "windows", + "Type": "DecisionPolicyWindows", + "Description": "windows defines the different windows for voting and execution." + } +] diff --git a/source/json_tables/cosmos/group/Vote.json b/source/json_tables/cosmos/group/Vote.json new file mode 100644 index 00000000..53d3f082 --- /dev/null +++ b/source/json_tables/cosmos/group/Vote.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "proposal_id", + "Type": "uint64", + "Description": "proposal is the unique ID of the proposal." + }, + { + "Parameter": "voter", + "Type": "string", + "Description": "voter is the account address of the voter." + }, + { + "Parameter": "option", + "Type": "VoteOption", + "Description": "option is the voter's choice on the proposal." + }, + { + "Parameter": "metadata", + "Type": "string", + "Description": "metadata is any arbitrary metadata attached to the vote. the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2" + }, + { + "Parameter": "submit_time", + "Type": "time.Time", + "Description": "submit_time is the timestamp when the vote was submitted." + } +] diff --git a/source/json_tables/cosmos/nft/Class.json b/source/json_tables/cosmos/nft/Class.json new file mode 100644 index 00000000..5f8d6654 --- /dev/null +++ b/source/json_tables/cosmos/nft/Class.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "id", + "Type": "string", + "Description": "id defines the unique identifier of the NFT classification, similar to the contract address of ERC721" + }, + { + "Parameter": "name", + "Type": "string", + "Description": "name defines the human-readable name of the NFT classification. Optional" + }, + { + "Parameter": "symbol", + "Type": "string", + "Description": "symbol is an abbreviated name for nft classification. Optional" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "description is a brief description of nft classification. Optional" + }, + { + "Parameter": "uri", + "Type": "string", + "Description": "uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional" + }, + { + "Parameter": "uri_hash", + "Type": "string", + "Description": "uri_hash is a hash of the document pointed by uri. Optional" + }, + { + "Parameter": "data", + "Type": "types.Any", + "Description": "data is the app specific metadata of the NFT class. Optional" + } +] diff --git a/source/json_tables/cosmos/nft/Entry.json b/source/json_tables/cosmos/nft/Entry.json new file mode 100644 index 00000000..edb17ff8 --- /dev/null +++ b/source/json_tables/cosmos/nft/Entry.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "owner", + "Type": "string", + "Description": "owner is the owner address of the following nft" + }, + { + "Parameter": "nfts", + "Type": "NFT array", + "Description": "nfts is a group of nfts of the same owner" + } +] diff --git a/source/json_tables/cosmos/nft/GenesisState.json b/source/json_tables/cosmos/nft/GenesisState.json new file mode 100644 index 00000000..77477e21 --- /dev/null +++ b/source/json_tables/cosmos/nft/GenesisState.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "classes", + "Type": "Class array", + "Description": "class defines the class of the nft type." + }, + { + "Parameter": "entries", + "Type": "Entry array", + "Description": "entry defines all nft owned by a person." + } +] diff --git a/source/json_tables/cosmos/nft/MsgSend.json b/source/json_tables/cosmos/nft/MsgSend.json new file mode 100644 index 00000000..61a51718 --- /dev/null +++ b/source/json_tables/cosmos/nft/MsgSend.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "class_id", + "Type": "string", + "Description": "class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721", + "Required": "Yes" + }, + { + "Parameter": "id", + "Type": "string", + "Description": "id defines the unique identification of nft", + "Required": "Yes" + }, + { + "Parameter": "sender", + "Type": "string", + "Description": "sender is the address of the owner of nft", + "Required": "Yes" + }, + { + "Parameter": "receiver", + "Type": "string", + "Description": "receiver is the receiver address of nft", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/nft/NFT.json b/source/json_tables/cosmos/nft/NFT.json new file mode 100644 index 00000000..111d0866 --- /dev/null +++ b/source/json_tables/cosmos/nft/NFT.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "class_id", + "Type": "string", + "Description": "class_id associated with the NFT, similar to the contract address of ERC721" + }, + { + "Parameter": "id", + "Type": "string", + "Description": "id is a unique identifier of the NFT" + }, + { + "Parameter": "uri", + "Type": "string", + "Description": "uri for the NFT metadata stored off chain" + }, + { + "Parameter": "uri_hash", + "Type": "string", + "Description": "uri_hash is a hash of the document pointed by uri" + }, + { + "Parameter": "data", + "Type": "types.Any", + "Description": "data is an app specific data of the NFT. Optional" + } +] diff --git a/source/json_tables/cosmos/nft/QueryBalanceRequest.json b/source/json_tables/cosmos/nft/QueryBalanceRequest.json new file mode 100644 index 00000000..654f92ee --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryBalanceRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "class_id", + "Type": "string", + "Description": "class_id associated with the nft", + "Required": "Yes" + }, + { + "Parameter": "owner", + "Type": "string", + "Description": "owner is the owner address of the nft", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/nft/QueryBalanceResponse.json b/source/json_tables/cosmos/nft/QueryBalanceResponse.json new file mode 100644 index 00000000..a3ff712f --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryBalanceResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "amount", + "Type": "uint64", + "Description": "amount is the number of all NFTs of a given class owned by the owner" + } +] diff --git a/source/json_tables/cosmos/nft/QueryClassRequest.json b/source/json_tables/cosmos/nft/QueryClassRequest.json new file mode 100644 index 00000000..af93cc85 --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryClassRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "class_id", + "Type": "string", + "Description": "class_id associated with the nft", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/nft/QueryClassResponse.json b/source/json_tables/cosmos/nft/QueryClassResponse.json new file mode 100644 index 00000000..0d6ebcc6 --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryClassResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "class", + "Type": "Class", + "Description": "class defines the class of the nft type." + } +] diff --git a/source/json_tables/cosmos/nft/QueryClassesRequest.json b/source/json_tables/cosmos/nft/QueryClassesRequest.json new file mode 100644 index 00000000..79346d2c --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryClassesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..21689a47 --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryClassesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "classes", + "Type": "Class array", + "Description": "class defines the class of the nft type." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/cosmos/nft/QueryNFTRequest.json b/source/json_tables/cosmos/nft/QueryNFTRequest.json new file mode 100644 index 00000000..69e34c80 --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryNFTRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "class_id", + "Type": "string", + "Description": "class_id associated with the nft", + "Required": "Yes" + }, + { + "Parameter": "id", + "Type": "string", + "Description": "id is a unique identifier of the NFT", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/nft/QueryNFTResponse.json b/source/json_tables/cosmos/nft/QueryNFTResponse.json new file mode 100644 index 00000000..7ec15e3c --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryNFTResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "nft", + "Type": "NFT", + "Description": "owner is the owner address of the nft" + } +] diff --git a/source/json_tables/cosmos/nft/QueryNFTsRequest.json b/source/json_tables/cosmos/nft/QueryNFTsRequest.json new file mode 100644 index 00000000..14af7d98 --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryNFTsRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "class_id", + "Type": "string", + "Description": "class_id associated with the nft", + "Required": "Yes" + }, + { + "Parameter": "owner", + "Type": "string", + "Description": "owner is the owner address of the nft", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..87fbbb80 --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryNFTsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "nfts", + "Type": "NFT array", + "Description": "NFT defines the NFT" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/cosmos/nft/QueryOwnerRequest.json b/source/json_tables/cosmos/nft/QueryOwnerRequest.json new file mode 100644 index 00000000..69e34c80 --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryOwnerRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "class_id", + "Type": "string", + "Description": "class_id associated with the nft", + "Required": "Yes" + }, + { + "Parameter": "id", + "Type": "string", + "Description": "id is a unique identifier of the NFT", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/nft/QueryOwnerResponse.json b/source/json_tables/cosmos/nft/QueryOwnerResponse.json new file mode 100644 index 00000000..8ad26904 --- /dev/null +++ b/source/json_tables/cosmos/nft/QueryOwnerResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "owner", + "Type": "string", + "Description": "owner is the owner address of the nft" + } +] diff --git a/source/json_tables/cosmos/nft/QuerySupplyRequest.json b/source/json_tables/cosmos/nft/QuerySupplyRequest.json new file mode 100644 index 00000000..af93cc85 --- /dev/null +++ b/source/json_tables/cosmos/nft/QuerySupplyRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "class_id", + "Type": "string", + "Description": "class_id associated with the nft", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/nft/QuerySupplyResponse.json b/source/json_tables/cosmos/nft/QuerySupplyResponse.json new file mode 100644 index 00000000..4ce248d7 --- /dev/null +++ b/source/json_tables/cosmos/nft/QuerySupplyResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "amount", + "Type": "uint64", + "Description": "amount is the number of all NFTs from the given class" + } +] diff --git a/source/json_tables/cosmos/node/ConfigResponse.json b/source/json_tables/cosmos/node/ConfigResponse.json new file mode 100644 index 00000000..d2f69d62 --- /dev/null +++ b/source/json_tables/cosmos/node/ConfigResponse.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "minimum_gas_price", + "Type": "string", + "Description": "" + }, + { + "Parameter": "pruning_keep_recent", + "Type": "string", + "Description": "" + }, + { + "Parameter": "pruning_interval", + "Type": "string", + "Description": "" + }, + { + "Parameter": "halt_height", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/node/StatusResponse.json b/source/json_tables/cosmos/node/StatusResponse.json new file mode 100644 index 00000000..c6235acc --- /dev/null +++ b/source/json_tables/cosmos/node/StatusResponse.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "earliest_store_height", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "height", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "timestamp", + "Type": "time.Time", + "Description": "" + }, + { + "Parameter": "app_hash", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "validator_hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/reflection/ListAllInterfacesResponse.json b/source/json_tables/cosmos/reflection/ListAllInterfacesResponse.json new file mode 100644 index 00000000..211b3141 --- /dev/null +++ b/source/json_tables/cosmos/reflection/ListAllInterfacesResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "interface_names", + "Type": "string array", + "Description": "interface_names is an array of all the registered interfaces." + } +] diff --git a/source/json_tables/cosmos/reflection/ListImplementationsRequest.json b/source/json_tables/cosmos/reflection/ListImplementationsRequest.json new file mode 100644 index 00000000..101f2ce8 --- /dev/null +++ b/source/json_tables/cosmos/reflection/ListImplementationsRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "interface_name", + "Type": "string", + "Description": "interface_name defines the interface to query the implementations for.", + "Required": "Yes" + } +] diff --git a/source/json_tables/cosmos/reflection/ListImplementationsResponse.json b/source/json_tables/cosmos/reflection/ListImplementationsResponse.json new file mode 100644 index 00000000..f2225870 --- /dev/null +++ b/source/json_tables/cosmos/reflection/ListImplementationsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "implementation_message_names", + "Type": "string array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/staking/StakeAuthorization.json b/source/json_tables/cosmos/staking/StakeAuthorization.json index 3d86bad1..dc59c136 100644 --- a/source/json_tables/cosmos/staking/StakeAuthorization.json +++ b/source/json_tables/cosmos/staking/StakeAuthorization.json @@ -8,20 +8,5 @@ "Parameter": "authorization_type", "Type": "AuthorizationType", "Description": "authorization_type defines one of AuthorizationType." - }, - { - "Parameter": "allow_list", - "Type": "StakeAuthorization_Validators", - "Description": "" - }, - { - "Parameter": "deny_list", - "Type": "StakeAuthorization_Validators", - "Description": "" - }, - { - "Parameter": "address", - "Type": "string array", - "Description": "" } ] diff --git a/source/json_tables/cosmos/staking/StakeAuthorization_AllowList.json b/source/json_tables/cosmos/staking/StakeAuthorization_AllowList.json new file mode 100644 index 00000000..3f703165 --- /dev/null +++ b/source/json_tables/cosmos/staking/StakeAuthorization_AllowList.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "allow_list", + "Type": "StakeAuthorization_Validators", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/staking/StakeAuthorization_DenyList.json b/source/json_tables/cosmos/staking/StakeAuthorization_DenyList.json new file mode 100644 index 00000000..d4cd9a5e --- /dev/null +++ b/source/json_tables/cosmos/staking/StakeAuthorization_DenyList.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "deny_list", + "Type": "StakeAuthorization_Validators", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/staking/StakeAuthorization_Validators.json b/source/json_tables/cosmos/staking/StakeAuthorization_Validators.json new file mode 100644 index 00000000..5127f49b --- /dev/null +++ b/source/json_tables/cosmos/staking/StakeAuthorization_Validators.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "address", + "Type": "string array", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/tx/ModeInfo_Multi.json b/source/json_tables/cosmos/tx/ModeInfo_Multi.json new file mode 100644 index 00000000..a88fa949 --- /dev/null +++ b/source/json_tables/cosmos/tx/ModeInfo_Multi.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "bitarray", + "Type": "types1.CompactBitArray", + "Description": "bitarray specifies which keys within the multisig are signing" + }, + { + "Parameter": "mode_infos", + "Type": "ModeInfo array", + "Description": "mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys" + } +] diff --git a/source/json_tables/cosmos/tx/ModeInfo_Multi_.json b/source/json_tables/cosmos/tx/ModeInfo_Multi_.json new file mode 100644 index 00000000..409f977a --- /dev/null +++ b/source/json_tables/cosmos/tx/ModeInfo_Multi_.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "multi", + "Type": "ModeInfo_Multi", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/tx/ModeInfo_Single.json b/source/json_tables/cosmos/tx/ModeInfo_Single.json new file mode 100644 index 00000000..2c027793 --- /dev/null +++ b/source/json_tables/cosmos/tx/ModeInfo_Single.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "mode", + "Type": "signing.SignMode", + "Description": "mode is the signing mode of the single signer" + } +] diff --git a/source/json_tables/cosmos/tx/ModeInfo_Single_.json b/source/json_tables/cosmos/tx/ModeInfo_Single_.json new file mode 100644 index 00000000..0885724f --- /dev/null +++ b/source/json_tables/cosmos/tx/ModeInfo_Single_.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "single", + "Type": "ModeInfo_Single", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/tx/signing/SignatureDescriptor.json b/source/json_tables/cosmos/tx/signing/SignatureDescriptor.json index 453d1273..0f44a8f2 100644 --- a/source/json_tables/cosmos/tx/signing/SignatureDescriptor.json +++ b/source/json_tables/cosmos/tx/signing/SignatureDescriptor.json @@ -13,35 +13,5 @@ "Parameter": "sequence", "Type": "uint64", "Description": "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." - }, - { - "Parameter": "single", - "Type": "SignatureDescriptor_Data_Single", - "Description": "" - }, - { - "Parameter": "multi", - "Type": "SignatureDescriptor_Data_Multi", - "Description": "" - }, - { - "Parameter": "mode", - "Type": "SignMode", - "Description": "mode is the signing mode of the single signer" - }, - { - "Parameter": "signature", - "Type": "byte array", - "Description": "signature is the raw signature bytes" - }, - { - "Parameter": "bitarray", - "Type": "types1.CompactBitArray", - "Description": "bitarray specifies which keys within the multisig are signing" - }, - { - "Parameter": "signatures", - "Type": "SignatureDescriptor_Data array", - "Description": "signatures is the signatures of the multi-signature" } ] diff --git a/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi.json b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi.json new file mode 100644 index 00000000..f52968c2 --- /dev/null +++ b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "bitarray", + "Type": "types1.CompactBitArray", + "Description": "bitarray specifies which keys within the multisig are signing" + }, + { + "Parameter": "signatures", + "Type": "SignatureDescriptor_Data array", + "Description": "signatures is the signatures of the multi-signature" + } +] diff --git a/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi_.json b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi_.json new file mode 100644 index 00000000..007092ce --- /dev/null +++ b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Multi_.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "multi", + "Type": "SignatureDescriptor_Data_Multi", + "Description": "" + } +] diff --git a/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Single.json b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Single.json new file mode 100644 index 00000000..c1598629 --- /dev/null +++ b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Single.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "mode", + "Type": "SignMode", + "Description": "mode is the signing mode of the single signer" + }, + { + "Parameter": "signature", + "Type": "byte array", + "Description": "signature is the raw signature bytes" + } +] diff --git a/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Single_.json b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Single_.json new file mode 100644 index 00000000..f2658d21 --- /dev/null +++ b/source/json_tables/cosmos/tx/signing/SignatureDescriptor_Data_Single_.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "single", + "Type": "SignatureDescriptor_Data_Single", + "Description": "" + } +] diff --git a/source/json_tables/errors/06-solomachine_errors.json b/source/json_tables/errors/06-solomachine_errors.json new file mode 100644 index 00000000..f424d346 --- /dev/null +++ b/source/json_tables/errors/06-solomachine_errors.json @@ -0,0 +1,27 @@ +[ + { + "module_name": "06-solomachine", + "error_code": 2, + "description": "invalid header" + }, + { + "module_name": "06-solomachine", + "error_code": 3, + "description": "invalid sequence" + }, + { + "module_name": "06-solomachine", + "error_code": 4, + "description": "invalid signature and data" + }, + { + "module_name": "06-solomachine", + "error_code": 5, + "description": "signature verification failed" + }, + { + "module_name": "06-solomachine", + "error_code": 6, + "description": "invalid solo machine proof" + } +] diff --git a/source/json_tables/errors/07-tendermint_errors.json b/source/json_tables/errors/07-tendermint_errors.json new file mode 100644 index 00000000..327791c7 --- /dev/null +++ b/source/json_tables/errors/07-tendermint_errors.json @@ -0,0 +1,67 @@ +[ + { + "module_name": "07-tendermint", + "error_code": 2, + "description": "invalid chain-id" + }, + { + "module_name": "07-tendermint", + "error_code": 3, + "description": "invalid trusting period" + }, + { + "module_name": "07-tendermint", + "error_code": 4, + "description": "invalid unbonding period" + }, + { + "module_name": "07-tendermint", + "error_code": 5, + "description": "invalid header height" + }, + { + "module_name": "07-tendermint", + "error_code": 6, + "description": "invalid header" + }, + { + "module_name": "07-tendermint", + "error_code": 7, + "description": "invalid max clock drift" + }, + { + "module_name": "07-tendermint", + "error_code": 8, + "description": "processed time not found" + }, + { + "module_name": "07-tendermint", + "error_code": 9, + "description": "processed height not found" + }, + { + "module_name": "07-tendermint", + "error_code": 10, + "description": "packet-specified delay period has not been reached" + }, + { + "module_name": "07-tendermint", + "error_code": 11, + "description": "time since latest trusted state has passed the trusting period" + }, + { + "module_name": "07-tendermint", + "error_code": 12, + "description": "time since latest trusted state has passed the unbonding period" + }, + { + "module_name": "07-tendermint", + "error_code": 13, + "description": "invalid proof specs" + }, + { + "module_name": "07-tendermint", + "error_code": 14, + "description": "invalid validator set" + } +] diff --git a/source/json_tables/errors/auction_errors.json b/source/json_tables/errors/auction_errors.json new file mode 100644 index 00000000..b746f794 --- /dev/null +++ b/source/json_tables/errors/auction_errors.json @@ -0,0 +1,12 @@ +[ + { + "module_name": "auction", + "error_code": 1, + "description": "invalid bid denom" + }, + { + "module_name": "auction", + "error_code": 2, + "description": "invalid bid round" + } +] diff --git a/source/json_tables/errors/authz_errors.json b/source/json_tables/errors/authz_errors.json new file mode 100644 index 00000000..55741136 --- /dev/null +++ b/source/json_tables/errors/authz_errors.json @@ -0,0 +1,42 @@ +[ + { + "module_name": "authz", + "error_code": 2, + "description": "authorization not found" + }, + { + "module_name": "authz", + "error_code": 3, + "description": "expiration time of authorization should be more than current time" + }, + { + "module_name": "authz", + "error_code": 4, + "description": "unknown authorization type" + }, + { + "module_name": "authz", + "error_code": 5, + "description": "grant key not found" + }, + { + "module_name": "authz", + "error_code": 6, + "description": "authorization expired" + }, + { + "module_name": "authz", + "error_code": 7, + "description": "grantee and granter should be different" + }, + { + "module_name": "authz", + "error_code": 9, + "description": "authorization can be given to msg with only one signer" + }, + { + "module_name": "authz", + "error_code": 12, + "description": "max tokens should be positive" + } +] diff --git a/source/json_tables/errors/bandoracle_errors.json b/source/json_tables/errors/bandoracle_errors.json new file mode 100644 index 00000000..96286072 --- /dev/null +++ b/source/json_tables/errors/bandoracle_errors.json @@ -0,0 +1,232 @@ +[ + { + "module_name": "bandoracle", + "error_code": 1, + "description": "owasm compilation failed" + }, + { + "module_name": "bandoracle", + "error_code": 2, + "description": "bad wasm execution" + }, + { + "module_name": "bandoracle", + "error_code": 3, + "description": "data source not found" + }, + { + "module_name": "bandoracle", + "error_code": 4, + "description": "oracle script not found" + }, + { + "module_name": "bandoracle", + "error_code": 5, + "description": "request not found" + }, + { + "module_name": "bandoracle", + "error_code": 6, + "description": "raw request not found" + }, + { + "module_name": "bandoracle", + "error_code": 7, + "description": "reporter not found" + }, + { + "module_name": "bandoracle", + "error_code": 8, + "description": "result not found" + }, + { + "module_name": "bandoracle", + "error_code": 9, + "description": "reporter already exists" + }, + { + "module_name": "bandoracle", + "error_code": 10, + "description": "validator not requested" + }, + { + "module_name": "bandoracle", + "error_code": 11, + "description": "validator already reported" + }, + { + "module_name": "bandoracle", + "error_code": 12, + "description": "invalid report size" + }, + { + "module_name": "bandoracle", + "error_code": 13, + "description": "reporter not authorized" + }, + { + "module_name": "bandoracle", + "error_code": 14, + "description": "editor not authorized" + }, + { + "module_name": "bandoracle", + "error_code": 16, + "description": "validator already active" + }, + { + "module_name": "bandoracle", + "error_code": 17, + "description": "too soon to activate" + }, + { + "module_name": "bandoracle", + "error_code": 18, + "description": "too long name" + }, + { + "module_name": "bandoracle", + "error_code": 19, + "description": "too long description" + }, + { + "module_name": "bandoracle", + "error_code": 20, + "description": "empty executable" + }, + { + "module_name": "bandoracle", + "error_code": 21, + "description": "empty wasm code" + }, + { + "module_name": "bandoracle", + "error_code": 22, + "description": "too large executable" + }, + { + "module_name": "bandoracle", + "error_code": 23, + "description": "too large wasm code" + }, + { + "module_name": "bandoracle", + "error_code": 24, + "description": "invalid min count" + }, + { + "module_name": "bandoracle", + "error_code": 25, + "description": "invalid ask count" + }, + { + "module_name": "bandoracle", + "error_code": 26, + "description": "too large calldata" + }, + { + "module_name": "bandoracle", + "error_code": 27, + "description": "too long client id" + }, + { + "module_name": "bandoracle", + "error_code": 28, + "description": "empty raw requests" + }, + { + "module_name": "bandoracle", + "error_code": 29, + "description": "empty report" + }, + { + "module_name": "bandoracle", + "error_code": 30, + "description": "duplicate external id" + }, + { + "module_name": "bandoracle", + "error_code": 31, + "description": "too long schema" + }, + { + "module_name": "bandoracle", + "error_code": 32, + "description": "too long url" + }, + { + "module_name": "bandoracle", + "error_code": 33, + "description": "too large raw report data" + }, + { + "module_name": "bandoracle", + "error_code": 34, + "description": "insufficient available validators" + }, + { + "module_name": "bandoracle", + "error_code": 35, + "description": "cannot create with [do-not-modify] content" + }, + { + "module_name": "bandoracle", + "error_code": 36, + "description": "cannot reference self as reporter" + }, + { + "module_name": "bandoracle", + "error_code": 37, + "description": "obi decode failed" + }, + { + "module_name": "bandoracle", + "error_code": 38, + "description": "uncompression failed" + }, + { + "module_name": "bandoracle", + "error_code": 39, + "description": "request already expired" + }, + { + "module_name": "bandoracle", + "error_code": 40, + "description": "bad drbg initialization" + }, + { + "module_name": "bandoracle", + "error_code": 41, + "description": "max oracle channels" + }, + { + "module_name": "bandoracle", + "error_code": 42, + "description": "invalid ICS20 version" + }, + { + "module_name": "bandoracle", + "error_code": 43, + "description": "not enough fee" + }, + { + "module_name": "bandoracle", + "error_code": 44, + "description": "invalid owasm gas" + }, + { + "module_name": "bandoracle", + "error_code": 45, + "description": "sending oracle request via IBC is disabled" + }, + { + "module_name": "bandoracle", + "error_code": 46, + "description": "invalid request key" + }, + { + "module_name": "bandoracle", + "error_code": 47, + "description": "too long request key" + } +] diff --git a/source/json_tables/errors/bank_errors.json b/source/json_tables/errors/bank_errors.json new file mode 100644 index 00000000..3e80d973 --- /dev/null +++ b/source/json_tables/errors/bank_errors.json @@ -0,0 +1,42 @@ +[ + { + "module_name": "bank", + "error_code": 2, + "description": "no inputs to send transaction" + }, + { + "module_name": "bank", + "error_code": 3, + "description": "no outputs to send transaction" + }, + { + "module_name": "bank", + "error_code": 4, + "description": "sum inputs != sum outputs" + }, + { + "module_name": "bank", + "error_code": 5, + "description": "send transactions are disabled" + }, + { + "module_name": "bank", + "error_code": 6, + "description": "client denom metadata not found" + }, + { + "module_name": "bank", + "error_code": 7, + "description": "invalid key" + }, + { + "module_name": "bank", + "error_code": 8, + "description": "duplicate entry" + }, + { + "module_name": "bank", + "error_code": 9, + "description": "multiple senders not allowed" + } +] diff --git a/source/json_tables/errors/capability_errors.json b/source/json_tables/errors/capability_errors.json new file mode 100644 index 00000000..dbb156a6 --- /dev/null +++ b/source/json_tables/errors/capability_errors.json @@ -0,0 +1,37 @@ +[ + { + "module_name": "capability", + "error_code": 2, + "description": "capability name not valid" + }, + { + "module_name": "capability", + "error_code": 3, + "description": "provided capability is nil" + }, + { + "module_name": "capability", + "error_code": 4, + "description": "capability name already taken" + }, + { + "module_name": "capability", + "error_code": 5, + "description": "given owner already claimed capability" + }, + { + "module_name": "capability", + "error_code": 6, + "description": "capability not owned by module" + }, + { + "module_name": "capability", + "error_code": 7, + "description": "capability not found" + }, + { + "module_name": "capability", + "error_code": 8, + "description": "owners not found for capability" + } +] diff --git a/source/json_tables/errors/chainlink_errors.json b/source/json_tables/errors/chainlink_errors.json new file mode 100644 index 00000000..4c66bf7b --- /dev/null +++ b/source/json_tables/errors/chainlink_errors.json @@ -0,0 +1,117 @@ +[ + { + "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/channel_errors.json b/source/json_tables/errors/channel_errors.json new file mode 100644 index 00000000..d8e7952c --- /dev/null +++ b/source/json_tables/errors/channel_errors.json @@ -0,0 +1,207 @@ +[ + { + "module_name": "channel", + "error_code": 2, + "description": "channel already exists" + }, + { + "module_name": "channel", + "error_code": 3, + "description": "channel not found" + }, + { + "module_name": "channel", + "error_code": 4, + "description": "invalid channel" + }, + { + "module_name": "channel", + "error_code": 5, + "description": "invalid channel state" + }, + { + "module_name": "channel", + "error_code": 6, + "description": "invalid channel ordering" + }, + { + "module_name": "channel", + "error_code": 7, + "description": "invalid counterparty channel" + }, + { + "module_name": "channel", + "error_code": 8, + "description": "invalid channel capability" + }, + { + "module_name": "channel", + "error_code": 9, + "description": "channel capability not found" + }, + { + "module_name": "channel", + "error_code": 10, + "description": "sequence send not found" + }, + { + "module_name": "channel", + "error_code": 11, + "description": "sequence receive not found" + }, + { + "module_name": "channel", + "error_code": 12, + "description": "sequence acknowledgement not found" + }, + { + "module_name": "channel", + "error_code": 13, + "description": "invalid packet" + }, + { + "module_name": "channel", + "error_code": 14, + "description": "packet timeout" + }, + { + "module_name": "channel", + "error_code": 15, + "description": "too many connection hops" + }, + { + "module_name": "channel", + "error_code": 16, + "description": "invalid acknowledgement" + }, + { + "module_name": "channel", + "error_code": 17, + "description": "acknowledgement for packet already exists" + }, + { + "module_name": "channel", + "error_code": 18, + "description": "invalid channel identifier" + }, + { + "module_name": "channel", + "error_code": 19, + "description": "packet already received" + }, + { + "module_name": "channel", + "error_code": 20, + "description": "packet commitment not found" + }, + { + "module_name": "channel", + "error_code": 21, + "description": "packet sequence is out of order" + }, + { + "module_name": "channel", + "error_code": 22, + "description": "packet messages are redundant" + }, + { + "module_name": "channel", + "error_code": 23, + "description": "message is redundant, no-op will be performed" + }, + { + "module_name": "channel", + "error_code": 24, + "description": "invalid channel version" + }, + { + "module_name": "channel", + "error_code": 25, + "description": "packet has not been sent" + }, + { + "module_name": "channel", + "error_code": 26, + "description": "invalid packet timeout" + }, + { + "module_name": "channel", + "error_code": 27, + "description": "upgrade error receipt not found" + }, + { + "module_name": "channel", + "error_code": 28, + "description": "invalid upgrade" + }, + { + "module_name": "channel", + "error_code": 29, + "description": "invalid upgrade sequence" + }, + { + "module_name": "channel", + "error_code": 30, + "description": "upgrade not found" + }, + { + "module_name": "channel", + "error_code": 31, + "description": "incompatible counterparty upgrade" + }, + { + "module_name": "channel", + "error_code": 32, + "description": "invalid upgrade error" + }, + { + "module_name": "channel", + "error_code": 33, + "description": "restore failed" + }, + { + "module_name": "channel", + "error_code": 34, + "description": "upgrade timed-out" + }, + { + "module_name": "channel", + "error_code": 35, + "description": "upgrade timeout is invalid" + }, + { + "module_name": "channel", + "error_code": 36, + "description": "pending inflight packets exist" + }, + { + "module_name": "channel", + "error_code": 37, + "description": "upgrade timeout failed" + }, + { + "module_name": "channel", + "error_code": 38, + "description": "invalid pruning limit" + }, + { + "module_name": "channel", + "error_code": 39, + "description": "timeout not reached" + }, + { + "module_name": "channel", + "error_code": 40, + "description": "timeout elapsed" + }, + { + "module_name": "channel", + "error_code": 41, + "description": "pruning sequence start not found" + }, + { + "module_name": "channel", + "error_code": 42, + "description": "recv start sequence not found" + } +] diff --git a/source/json_tables/errors/client_errors.json b/source/json_tables/errors/client_errors.json new file mode 100644 index 00000000..aaad93a4 --- /dev/null +++ b/source/json_tables/errors/client_errors.json @@ -0,0 +1,157 @@ +[ + { + "module_name": "client", + "error_code": 2, + "description": "light client already exists" + }, + { + "module_name": "client", + "error_code": 3, + "description": "light client is invalid" + }, + { + "module_name": "client", + "error_code": 4, + "description": "light client not found" + }, + { + "module_name": "client", + "error_code": 5, + "description": "light client is frozen due to misbehaviour" + }, + { + "module_name": "client", + "error_code": 6, + "description": "invalid client metadata" + }, + { + "module_name": "client", + "error_code": 7, + "description": "consensus state not found" + }, + { + "module_name": "client", + "error_code": 8, + "description": "invalid consensus state" + }, + { + "module_name": "client", + "error_code": 9, + "description": "client type not found" + }, + { + "module_name": "client", + "error_code": 10, + "description": "invalid client type" + }, + { + "module_name": "client", + "error_code": 11, + "description": "commitment root not found" + }, + { + "module_name": "client", + "error_code": 12, + "description": "invalid client header" + }, + { + "module_name": "client", + "error_code": 13, + "description": "invalid light client misbehaviour" + }, + { + "module_name": "client", + "error_code": 14, + "description": "client state verification failed" + }, + { + "module_name": "client", + "error_code": 15, + "description": "client consensus state verification failed" + }, + { + "module_name": "client", + "error_code": 16, + "description": "connection state verification failed" + }, + { + "module_name": "client", + "error_code": 17, + "description": "channel state verification failed" + }, + { + "module_name": "client", + "error_code": 18, + "description": "packet commitment verification failed" + }, + { + "module_name": "client", + "error_code": 19, + "description": "packet acknowledgement verification failed" + }, + { + "module_name": "client", + "error_code": 20, + "description": "packet receipt verification failed" + }, + { + "module_name": "client", + "error_code": 21, + "description": "next sequence receive verification failed" + }, + { + "module_name": "client", + "error_code": 22, + "description": "self consensus state not found" + }, + { + "module_name": "client", + "error_code": 23, + "description": "unable to update light client" + }, + { + "module_name": "client", + "error_code": 24, + "description": "invalid recovery client" + }, + { + "module_name": "client", + "error_code": 25, + "description": "invalid client upgrade" + }, + { + "module_name": "client", + "error_code": 26, + "description": "invalid height" + }, + { + "module_name": "client", + "error_code": 27, + "description": "invalid client state substitute" + }, + { + "module_name": "client", + "error_code": 28, + "description": "invalid upgrade proposal" + }, + { + "module_name": "client", + "error_code": 29, + "description": "client state is not active" + }, + { + "module_name": "client", + "error_code": 30, + "description": "membership verification failed" + }, + { + "module_name": "client", + "error_code": 31, + "description": "non-membership verification failed" + }, + { + "module_name": "client", + "error_code": 32, + "description": "client type not supported" + } +] diff --git a/source/json_tables/errors/commitment_errors.json b/source/json_tables/errors/commitment_errors.json new file mode 100644 index 00000000..a44f44b6 --- /dev/null +++ b/source/json_tables/errors/commitment_errors.json @@ -0,0 +1,17 @@ +[ + { + "module_name": "commitment", + "error_code": 2, + "description": "invalid proof" + }, + { + "module_name": "commitment", + "error_code": 3, + "description": "invalid prefix" + }, + { + "module_name": "commitment", + "error_code": 4, + "description": "invalid merkle proof" + } +] diff --git a/source/json_tables/errors/connection_errors.json b/source/json_tables/errors/connection_errors.json new file mode 100644 index 00000000..6cd7a606 --- /dev/null +++ b/source/json_tables/errors/connection_errors.json @@ -0,0 +1,52 @@ +[ + { + "module_name": "connection", + "error_code": 2, + "description": "connection already exists" + }, + { + "module_name": "connection", + "error_code": 3, + "description": "connection not found" + }, + { + "module_name": "connection", + "error_code": 4, + "description": "light client connection paths not found" + }, + { + "module_name": "connection", + "error_code": 5, + "description": "connection path is not associated to the given light client" + }, + { + "module_name": "connection", + "error_code": 6, + "description": "invalid connection state" + }, + { + "module_name": "connection", + "error_code": 7, + "description": "invalid counterparty connection" + }, + { + "module_name": "connection", + "error_code": 8, + "description": "invalid connection" + }, + { + "module_name": "connection", + "error_code": 9, + "description": "invalid connection version" + }, + { + "module_name": "connection", + "error_code": 10, + "description": "connection version negotiation failed" + }, + { + "module_name": "connection", + "error_code": 11, + "description": "invalid connection identifier" + } +] diff --git a/source/json_tables/errors/crisis_errors.json b/source/json_tables/errors/crisis_errors.json new file mode 100644 index 00000000..4a9e2779 --- /dev/null +++ b/source/json_tables/errors/crisis_errors.json @@ -0,0 +1,12 @@ +[ + { + "module_name": "crisis", + "error_code": 2, + "description": "sender address is empty" + }, + { + "module_name": "crisis", + "error_code": 3, + "description": "unknown invariant" + } +] diff --git a/source/json_tables/errors/distribution_errors.json b/source/json_tables/errors/distribution_errors.json new file mode 100644 index 00000000..3839cb1b --- /dev/null +++ b/source/json_tables/errors/distribution_errors.json @@ -0,0 +1,62 @@ +[ + { + "module_name": "distribution", + "error_code": 2, + "description": "delegator address is empty" + }, + { + "module_name": "distribution", + "error_code": 3, + "description": "withdraw address is empty" + }, + { + "module_name": "distribution", + "error_code": 4, + "description": "validator address is empty" + }, + { + "module_name": "distribution", + "error_code": 5, + "description": "no delegation distribution info" + }, + { + "module_name": "distribution", + "error_code": 6, + "description": "no validator distribution info" + }, + { + "module_name": "distribution", + "error_code": 7, + "description": "no validator commission to withdraw" + }, + { + "module_name": "distribution", + "error_code": 8, + "description": "set withdraw address disabled" + }, + { + "module_name": "distribution", + "error_code": 9, + "description": "community pool does not have sufficient coins to distribute" + }, + { + "module_name": "distribution", + "error_code": 10, + "description": "invalid community pool spend proposal amount" + }, + { + "module_name": "distribution", + "error_code": 11, + "description": "invalid community pool spend proposal recipient" + }, + { + "module_name": "distribution", + "error_code": 12, + "description": "validator does not exist" + }, + { + "module_name": "distribution", + "error_code": 13, + "description": "delegation does not exist" + } +] diff --git a/source/json_tables/errors/erc20_errors.json b/source/json_tables/errors/erc20_errors.json new file mode 100644 index 00000000..6310d01d --- /dev/null +++ b/source/json_tables/errors/erc20_errors.json @@ -0,0 +1,52 @@ +[ + { + "module_name": "erc20", + "error_code": 2, + "description": "attempting to create a token pair for bank denom that already has a pair associated" + }, + { + "module_name": "erc20", + "error_code": 3, + "description": "unauthorized account" + }, + { + "module_name": "erc20", + "error_code": 4, + "description": "invalid genesis" + }, + { + "module_name": "erc20", + "error_code": 5, + "description": "invalid token pair" + }, + { + "module_name": "erc20", + "error_code": 6, + "description": "invalid ERC20 contract address" + }, + { + "module_name": "erc20", + "error_code": 7, + "description": "unknown bank denom or zero supply" + }, + { + "module_name": "erc20", + "error_code": 8, + "description": "error uploading ERC20 contract" + }, + { + "module_name": "erc20", + "error_code": 9, + "description": "invalid token factory denom" + }, + { + "module_name": "erc20", + "error_code": 10, + "description": "respective erc20:... denom has existing supply" + }, + { + "module_name": "erc20", + "error_code": 11, + "description": "invalid query request" + } +] diff --git a/source/json_tables/errors/evidence_errors.json b/source/json_tables/errors/evidence_errors.json new file mode 100644 index 00000000..cf0868cc --- /dev/null +++ b/source/json_tables/errors/evidence_errors.json @@ -0,0 +1,17 @@ +[ + { + "module_name": "evidence", + "error_code": 2, + "description": "unregistered handler for evidence type" + }, + { + "module_name": "evidence", + "error_code": 3, + "description": "invalid evidence" + }, + { + "module_name": "evidence", + "error_code": 5, + "description": "evidence already exists" + } +] diff --git a/source/json_tables/errors/evm_errors.json b/source/json_tables/errors/evm_errors.json new file mode 100644 index 00000000..a187e3be --- /dev/null +++ b/source/json_tables/errors/evm_errors.json @@ -0,0 +1,117 @@ +[ + { + "module_name": "evm", + "error_code": 2, + "description": "invalid storage state" + }, + { + "module_name": "evm", + "error_code": 3, + "description": "execution reverted" + }, + { + "module_name": "evm", + "error_code": 4, + "description": "chain configuration not found" + }, + { + "module_name": "evm", + "error_code": 5, + "description": "invalid chain configuration" + }, + { + "module_name": "evm", + "error_code": 6, + "description": "invalid zero address" + }, + { + "module_name": "evm", + "error_code": 7, + "description": "empty hash" + }, + { + "module_name": "evm", + "error_code": 8, + "description": "block bloom not found" + }, + { + "module_name": "evm", + "error_code": 9, + "description": "transaction receipt not found" + }, + { + "module_name": "evm", + "error_code": 10, + "description": "EVM Create operation is disabled" + }, + { + "module_name": "evm", + "error_code": 11, + "description": "EVM Call operation is disabled" + }, + { + "module_name": "evm", + "error_code": 12, + "description": "invalid transaction amount" + }, + { + "module_name": "evm", + "error_code": 13, + "description": "invalid gas price" + }, + { + "module_name": "evm", + "error_code": 14, + "description": "invalid gas fee" + }, + { + "module_name": "evm", + "error_code": 15, + "description": "evm transaction execution failed" + }, + { + "module_name": "evm", + "error_code": 16, + "description": "invalid gas refund amount" + }, + { + "module_name": "evm", + "error_code": 17, + "description": "inconsistent gas" + }, + { + "module_name": "evm", + "error_code": 18, + "description": "invalid gas cap" + }, + { + "module_name": "evm", + "error_code": 19, + "description": "invalid base fee" + }, + { + "module_name": "evm", + "error_code": 20, + "description": "gas computation overflow/underflow" + }, + { + "module_name": "evm", + "error_code": 21, + "description": "account type is not a valid ethereum account" + }, + { + "module_name": "evm", + "error_code": 22, + "description": "invalid gas limit" + }, + { + "module_name": "evm", + "error_code": 23, + "description": "failed to apply state override" + }, + { + "module_name": "evm", + "error_code": 24, + "description": "EVM Create operation is not authorized for user" + } +] diff --git a/source/json_tables/errors/exchange_errors.json b/source/json_tables/errors/exchange_errors.json new file mode 100644 index 00000000..d1119a05 --- /dev/null +++ b/source/json_tables/errors/exchange_errors.json @@ -0,0 +1,557 @@ +[ + { + "module_name": "exchange", + "error_code": 1, + "description": "failed to validate order" + }, + { + "module_name": "exchange", + "error_code": 2, + "description": "spot market not found" + }, + { + "module_name": "exchange", + "error_code": 3, + "description": "spot market exists" + }, + { + "module_name": "exchange", + "error_code": 4, + "description": "struct field error" + }, + { + "module_name": "exchange", + "error_code": 5, + "description": "failed to validate market" + }, + { + "module_name": "exchange", + "error_code": 6, + "description": "subaccount has insufficient deposits" + }, + { + "module_name": "exchange", + "error_code": 7, + "description": "unrecognized order type" + }, + { + "module_name": "exchange", + "error_code": 8, + "description": "position quantity insufficient for order" + }, + { + "module_name": "exchange", + "error_code": 9, + "description": "order hash is not valid" + }, + { + "module_name": "exchange", + "error_code": 10, + "description": "subaccount id is not valid" + }, + { + "module_name": "exchange", + "error_code": 11, + "description": "invalid ticker" + }, + { + "module_name": "exchange", + "error_code": 12, + "description": "invalid base denom" + }, + { + "module_name": "exchange", + "error_code": 13, + "description": "invalid quote denom" + }, + { + "module_name": "exchange", + "error_code": 14, + "description": "invalid oracle" + }, + { + "module_name": "exchange", + "error_code": 15, + "description": "invalid expiry" + }, + { + "module_name": "exchange", + "error_code": 16, + "description": "invalid price" + }, + { + "module_name": "exchange", + "error_code": 17, + "description": "invalid quantity" + }, + { + "module_name": "exchange", + "error_code": 18, + "description": "unsupported oracle type" + }, + { + "module_name": "exchange", + "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, + "description": "perpetual market exists" + }, + { + "module_name": "exchange", + "error_code": 22, + "description": "expiry futures market exists" + }, + { + "module_name": "exchange", + "error_code": 23, + "description": "expiry futures market expired" + }, + { + "module_name": "exchange", + "error_code": 24, + "description": "no liquidity on the orderbook!" + }, + { + "module_name": "exchange", + "error_code": 25, + "description": "orderbook liquidity cannot satisfy current worst price" + }, + { + "module_name": "exchange", + "error_code": 26, + "description": "insufficient margin" + }, + { + "module_name": "exchange", + "error_code": 27, + "description": "derivative market not found" + }, + { + "module_name": "exchange", + "error_code": 28, + "description": "position not found" + }, + { + "module_name": "exchange", + "error_code": 29, + "description": "position direction does not oppose the reduce-only order" + }, + { + "module_name": "exchange", + "error_code": 30, + "description": "price Surpasses Bankruptcy Price" + }, + { + "module_name": "exchange", + "error_code": 31, + "description": "position not liquidable" + }, + { + "module_name": "exchange", + "error_code": 32, + "description": "invalid trigger price" + }, + { + "module_name": "exchange", + "error_code": 33, + "description": "invalid oracle type" + }, + { + "module_name": "exchange", + "error_code": 34, + "description": "invalid minimum price tick size" + }, + { + "module_name": "exchange", + "error_code": 35, + "description": "invalid minimum quantity tick size" + }, + { + "module_name": "exchange", + "error_code": 36, + "description": "invalid minimum order margin" + }, + { + "module_name": "exchange", + "error_code": 37, + "description": "exceeds order side count" + }, + { + "module_name": "exchange", + "error_code": 38, + "description": "subaccount cannot place a market order when a market order in the same market was already placed in same block" + }, + { + "module_name": "exchange", + "error_code": 39, + "description": "cannot place a conditional market order when a conditional market order in same relative direction already exists" + }, + { + "module_name": "exchange", + "error_code": 40, + "description": "equivalent market launch proposal already exists" + }, + { + "module_name": "exchange", + "error_code": 41, + "description": "invalid market status" + }, + { + "module_name": "exchange", + "error_code": 42, + "description": "base denom cannot be same with quote denom" + }, + { + "module_name": "exchange", + "error_code": 43, + "description": "oracle base cannot be same with oracle quote" + }, + { + "module_name": "exchange", + "error_code": 44, + "description": "makerFeeRate does not match TakerFeeRate requirements" + }, + { + "module_name": "exchange", + "error_code": 45, + "description": "ensure that MaintenanceMarginRatio < InitialMarginRatio <= ReduceMarginRatio" + }, + { + "module_name": "exchange", + "error_code": 46, + "description": "oracleScaleFactor cannot be greater than MaxOracleScaleFactor" + }, + { + "module_name": "exchange", + "error_code": 47, + "description": "spot exchange is not enabled yet" + }, + { + "module_name": "exchange", + "error_code": 48, + "description": "derivatives exchange is not enabled yet" + }, + { + "module_name": "exchange", + "error_code": 49, + "description": "oracle price delta exceeds threshold" + }, + { + "module_name": "exchange", + "error_code": 50, + "description": "invalid hourly interest rate" + }, + { + "module_name": "exchange", + "error_code": 51, + "description": "invalid hourly funding rate cap" + }, + { + "module_name": "exchange", + "error_code": 52, + "description": "only perpetual markets can update funding parameters" + }, + { + "module_name": "exchange", + "error_code": 53, + "description": "invalid trading reward campaign" + }, + { + "module_name": "exchange", + "error_code": 54, + "description": "invalid fee discount schedule" + }, + { + "module_name": "exchange", + "error_code": 55, + "description": "invalid liquidation order" + }, + { + "module_name": "exchange", + "error_code": 56, + "description": "unknown error happened for campaign distributions" + }, + { + "module_name": "exchange", + "error_code": 57, + "description": "invalid trading reward points update" + }, + { + "module_name": "exchange", + "error_code": 58, + "description": "invalid batch msg update" + }, + { + "module_name": "exchange", + "error_code": 59, + "description": "post-only order exceeds top of book price" + }, + { + "module_name": "exchange", + "error_code": 60, + "description": "order type not supported for given message" + }, + { + "module_name": "exchange", + "error_code": 61, + "description": "sender must match dmm account" + }, + { + "module_name": "exchange", + "error_code": 62, + "description": "already opted out of rewards" + }, + { + "module_name": "exchange", + "error_code": 63, + "description": "invalid margin ratio" + }, + { + "module_name": "exchange", + "error_code": 64, + "description": "provided funds are below minimum" + }, + { + "module_name": "exchange", + "error_code": 65, + "description": "position is below initial margin requirement" + }, + { + "module_name": "exchange", + "error_code": 66, + "description": "pool has non-positive total lp token supply" + }, + { + "module_name": "exchange", + "error_code": 67, + "description": "passed lp token burn amount is greater than total lp token supply" + }, + { + "module_name": "exchange", + "error_code": 68, + "description": "unsupported action" + }, + { + "module_name": "exchange", + "error_code": 69, + "description": "position quantity cannot be negative" + }, + { + "module_name": "exchange", + "error_code": 70, + "description": "binary options market exists" + }, + { + "module_name": "exchange", + "error_code": 71, + "description": "binary options market not found" + }, + { + "module_name": "exchange", + "error_code": 72, + "description": "invalid settlement" + }, + { + "module_name": "exchange", + "error_code": 73, + "description": "account doesnt exist" + }, + { + "module_name": "exchange", + "error_code": 74, + "description": "sender should be a market admin" + }, + { + "module_name": "exchange", + "error_code": 75, + "description": "market is already scheduled to settle" + }, + { + "module_name": "exchange", + "error_code": 76, + "description": "market not found" + }, + { + "module_name": "exchange", + "error_code": 77, + "description": "denom decimal should be greater than 0 and not greater than max scale factor" + }, + { + "module_name": "exchange", + "error_code": 78, + "description": "state is invalid" + }, + { + "module_name": "exchange", + "error_code": 79, + "description": "transient orders up to cancellation not supported" + }, + { + "module_name": "exchange", + "error_code": 80, + "description": "invalid trade" + }, + { + "module_name": "exchange", + "error_code": 81, + "description": "no margin locked in subaccount" + }, + { + "module_name": "exchange", + "error_code": 82, + "description": "invalid access level to perform action" + }, + { + "module_name": "exchange", + "error_code": 83, + "description": "invalid address" + }, + { + "module_name": "exchange", + "error_code": 84, + "description": "invalid argument" + }, + { + "module_name": "exchange", + "error_code": 85, + "description": "invalid funds direction" + }, + { + "module_name": "exchange", + "error_code": 86, + "description": "no funds provided" + }, + { + "module_name": "exchange", + "error_code": 87, + "description": "invalid signature" + }, + { + "module_name": "exchange", + "error_code": 88, + "description": "no funds to unlock" + }, + { + "module_name": "exchange", + "error_code": 89, + "description": "no msgs provided" + }, + { + "module_name": "exchange", + "error_code": 90, + "description": "no msg provided" + }, + { + "module_name": "exchange", + "error_code": 91, + "description": "invalid amount" + }, + { + "module_name": "exchange", + "error_code": 92, + "description": "The current feature has been disabled" + }, + { + "module_name": "exchange", + "error_code": 93, + "description": "order has too much margin" + }, + { + "module_name": "exchange", + "error_code": 94, + "description": "subaccount nonce is invalid" + }, + { + "module_name": "exchange", + "error_code": 95, + "description": "insufficient funds" + }, + { + "module_name": "exchange", + "error_code": 96, + "description": "exchange is in post-only mode" + }, + { + "module_name": "exchange", + "error_code": 97, + "description": "client order id already exists" + }, + { + "module_name": "exchange", + "error_code": 98, + "description": "client order id is invalid. Max length is 36 chars" + }, + { + "module_name": "exchange", + "error_code": 99, + "description": "market cannot be settled in emergency mode" + }, + { + "module_name": "exchange", + "error_code": 100, + "description": "invalid notional" + }, + { + "module_name": "exchange", + "error_code": 101, + "description": "stale oracle price" + }, + { + "module_name": "exchange", + "error_code": 102, + "description": "invalid stake grant" + }, + { + "module_name": "exchange", + "error_code": 103, + "description": "insufficient stake for grant" + }, + { + "module_name": "exchange", + "error_code": 104, + "description": "invalid permissions" + }, + { + "module_name": "exchange", + "error_code": 105, + "description": "the decimals specified for the denom is incorrect" + }, + { + "module_name": "exchange", + "error_code": 106, + "description": "insufficient market balance" + }, + { + "module_name": "exchange", + "error_code": 107, + "description": "invalid expiration block" + }, + { + "module_name": "exchange", + "error_code": 108, + "description": "v1 perpetual and expiry market launch proposal is not supported" + }, + { + "module_name": "exchange", + "error_code": 109, + "description": "position not offsettable" + }, + { + "module_name": "exchange", + "error_code": 110, + "description": "offsetting subaccount IDs cannot be empty" + }, + { + "module_name": "exchange", + "error_code": 111, + "description": "invalid open notional cap" + } +] diff --git a/source/json_tables/errors/feegrant_errors.json b/source/json_tables/errors/feegrant_errors.json new file mode 100644 index 00000000..106a9e32 --- /dev/null +++ b/source/json_tables/errors/feegrant_errors.json @@ -0,0 +1,32 @@ +[ + { + "module_name": "feegrant", + "error_code": 2, + "description": "fee limit exceeded" + }, + { + "module_name": "feegrant", + "error_code": 3, + "description": "fee allowance expired" + }, + { + "module_name": "feegrant", + "error_code": 4, + "description": "invalid duration" + }, + { + "module_name": "feegrant", + "error_code": 5, + "description": "no allowance" + }, + { + "module_name": "feegrant", + "error_code": 6, + "description": "allowed messages are empty" + }, + { + "module_name": "feegrant", + "error_code": 7, + "description": "message not allowed" + } +] diff --git a/source/json_tables/errors/feeibc_errors.json b/source/json_tables/errors/feeibc_errors.json new file mode 100644 index 00000000..0159805c --- /dev/null +++ b/source/json_tables/errors/feeibc_errors.json @@ -0,0 +1,57 @@ +[ + { + "module_name": "feeibc", + "error_code": 2, + "description": "invalid ICS29 middleware version" + }, + { + "module_name": "feeibc", + "error_code": 3, + "description": "no account found for given refund address" + }, + { + "module_name": "feeibc", + "error_code": 4, + "description": "balance not found for given account address" + }, + { + "module_name": "feeibc", + "error_code": 5, + "description": "there is no fee escrowed for the given packetID" + }, + { + "module_name": "feeibc", + "error_code": 6, + "description": "relayers must not be set. This feature is not supported" + }, + { + "module_name": "feeibc", + "error_code": 7, + "description": "counterparty payee must not be empty" + }, + { + "module_name": "feeibc", + "error_code": 8, + "description": "forward relayer address not found" + }, + { + "module_name": "feeibc", + "error_code": 9, + "description": "fee module is not enabled for this channel. If this error occurs after channel setup, fee module may not be enabled" + }, + { + "module_name": "feeibc", + "error_code": 10, + "description": "relayer address must be stored for async WriteAcknowledgement" + }, + { + "module_name": "feeibc", + "error_code": 11, + "description": "the fee module is currently locked, a severe bug has been detected" + }, + { + "module_name": "feeibc", + "error_code": 12, + "description": "unsupported action" + } +] diff --git a/source/json_tables/errors/gov_errors.json b/source/json_tables/errors/gov_errors.json new file mode 100644 index 00000000..92b75802 --- /dev/null +++ b/source/json_tables/errors/gov_errors.json @@ -0,0 +1,92 @@ +[ + { + "module_name": "gov", + "error_code": 3, + "description": "inactive proposal" + }, + { + "module_name": "gov", + "error_code": 4, + "description": "proposal already active" + }, + { + "module_name": "gov", + "error_code": 5, + "description": "invalid proposal content" + }, + { + "module_name": "gov", + "error_code": 6, + "description": "invalid proposal type" + }, + { + "module_name": "gov", + "error_code": 7, + "description": "invalid vote option" + }, + { + "module_name": "gov", + "error_code": 8, + "description": "invalid genesis state" + }, + { + "module_name": "gov", + "error_code": 9, + "description": "no handler exists for proposal type" + }, + { + "module_name": "gov", + "error_code": 10, + "description": "proposal message not recognized by router" + }, + { + "module_name": "gov", + "error_code": 11, + "description": "no messages proposed" + }, + { + "module_name": "gov", + "error_code": 12, + "description": "invalid proposal message" + }, + { + "module_name": "gov", + "error_code": 13, + "description": "expected gov account as only signer for proposal message" + }, + { + "module_name": "gov", + "error_code": 15, + "description": "metadata too long" + }, + { + "module_name": "gov", + "error_code": 16, + "description": "minimum deposit is too small" + }, + { + "module_name": "gov", + "error_code": 18, + "description": "invalid proposer" + }, + { + "module_name": "gov", + "error_code": 20, + "description": "voting period already ended" + }, + { + "module_name": "gov", + "error_code": 21, + "description": "invalid proposal" + }, + { + "module_name": "gov", + "error_code": 22, + "description": "summary too long" + }, + { + "module_name": "gov", + "error_code": 23, + "description": "invalid deposit denom" + } +] diff --git a/source/json_tables/errors/host_errors.json b/source/json_tables/errors/host_errors.json new file mode 100644 index 00000000..5c1d4e0c --- /dev/null +++ b/source/json_tables/errors/host_errors.json @@ -0,0 +1,17 @@ +[ + { + "module_name": "host", + "error_code": 2, + "description": "invalid identifier" + }, + { + "module_name": "host", + "error_code": 3, + "description": "invalid path" + }, + { + "module_name": "host", + "error_code": 4, + "description": "invalid packet" + } +] diff --git a/source/json_tables/errors/hyperlane_errors.json b/source/json_tables/errors/hyperlane_errors.json new file mode 100644 index 00000000..df99ac34 --- /dev/null +++ b/source/json_tables/errors/hyperlane_errors.json @@ -0,0 +1,17 @@ +[ + { + "module_name": "hyperlane", + "error_code": 1, + "description": "no receiver ISM" + }, + { + "module_name": "hyperlane", + "error_code": 2, + "description": "required hook not set" + }, + { + "module_name": "hyperlane", + "error_code": 3, + "description": "default hook not set" + } +] diff --git a/source/json_tables/errors/ibc_errors.json b/source/json_tables/errors/ibc_errors.json new file mode 100644 index 00000000..7da834c3 --- /dev/null +++ b/source/json_tables/errors/ibc_errors.json @@ -0,0 +1,82 @@ +[ + { + "module_name": "ibc", + "error_code": 1, + "description": "invalid sequence" + }, + { + "module_name": "ibc", + "error_code": 2, + "description": "unauthorized" + }, + { + "module_name": "ibc", + "error_code": 3, + "description": "insufficient funds" + }, + { + "module_name": "ibc", + "error_code": 4, + "description": "unknown request" + }, + { + "module_name": "ibc", + "error_code": 5, + "description": "invalid address" + }, + { + "module_name": "ibc", + "error_code": 6, + "description": "invalid coins" + }, + { + "module_name": "ibc", + "error_code": 7, + "description": "out of gas" + }, + { + "module_name": "ibc", + "error_code": 8, + "description": "invalid request" + }, + { + "module_name": "ibc", + "error_code": 9, + "description": "invalid height" + }, + { + "module_name": "ibc", + "error_code": 10, + "description": "invalid version" + }, + { + "module_name": "ibc", + "error_code": 11, + "description": "invalid chain-id" + }, + { + "module_name": "ibc", + "error_code": 12, + "description": "invalid type" + }, + { + "module_name": "ibc", + "error_code": 13, + "description": "failed packing protobuf message to Any" + }, + { + "module_name": "ibc", + "error_code": 14, + "description": "failed unpacking protobuf message from Any" + }, + { + "module_name": "ibc", + "error_code": 15, + "description": "internal logic error" + }, + { + "module_name": "ibc", + "error_code": 16, + "description": "not found" + } +] diff --git a/source/json_tables/errors/ibchooks_errors.json b/source/json_tables/errors/ibchooks_errors.json new file mode 100644 index 00000000..9df2f3e1 --- /dev/null +++ b/source/json_tables/errors/ibchooks_errors.json @@ -0,0 +1,7 @@ +[ + { + "module_name": "ibchooks", + "error_code": 2, + "description": "error in wasmhook message validation" + } +] diff --git a/source/json_tables/errors/icacontroller_errors.json b/source/json_tables/errors/icacontroller_errors.json new file mode 100644 index 00000000..a7512e2c --- /dev/null +++ b/source/json_tables/errors/icacontroller_errors.json @@ -0,0 +1,7 @@ +[ + { + "module_name": "icacontroller", + "error_code": 2, + "description": "controller submodule is disabled" + } +] diff --git a/source/json_tables/errors/icahost_errors.json b/source/json_tables/errors/icahost_errors.json new file mode 100644 index 00000000..f3e59cfa --- /dev/null +++ b/source/json_tables/errors/icahost_errors.json @@ -0,0 +1,7 @@ +[ + { + "module_name": "icahost", + "error_code": 2, + "description": "host submodule is disabled" + } +] diff --git a/source/json_tables/errors/injective_errors.json b/source/json_tables/errors/injective_errors.json new file mode 100644 index 00000000..d7f210ff --- /dev/null +++ b/source/json_tables/errors/injective_errors.json @@ -0,0 +1,7 @@ +[ + { + "module_name": "injective", + "error_code": 3, + "description": "invalid chain ID" + } +] diff --git a/source/json_tables/errors/insurance_errors.json b/source/json_tables/errors/insurance_errors.json new file mode 100644 index 00000000..09017dad --- /dev/null +++ b/source/json_tables/errors/insurance_errors.json @@ -0,0 +1,62 @@ +[ + { + "module_name": "insurance", + "error_code": 1, + "description": "insurance fund already exists" + }, + { + "module_name": "insurance", + "error_code": 2, + "description": "insurance fund not found" + }, + { + "module_name": "insurance", + "error_code": 3, + "description": "redemption already exists" + }, + { + "module_name": "insurance", + "error_code": 4, + "description": "invalid deposit amount" + }, + { + "module_name": "insurance", + "error_code": 5, + "description": "invalid deposit denom" + }, + { + "module_name": "insurance", + "error_code": 6, + "description": "insurance payout exceeds deposits" + }, + { + "module_name": "insurance", + "error_code": 7, + "description": "invalid ticker" + }, + { + "module_name": "insurance", + "error_code": 8, + "description": "invalid quote denom" + }, + { + "module_name": "insurance", + "error_code": 9, + "description": "invalid oracle" + }, + { + "module_name": "insurance", + "error_code": 10, + "description": "invalid expiration time" + }, + { + "module_name": "insurance", + "error_code": 11, + "description": "invalid marketID" + }, + { + "module_name": "insurance", + "error_code": 12, + "description": "invalid share denom" + } +] diff --git a/source/json_tables/errors/interchainaccounts_errors.json b/source/json_tables/errors/interchainaccounts_errors.json new file mode 100644 index 00000000..aea7883c --- /dev/null +++ b/source/json_tables/errors/interchainaccounts_errors.json @@ -0,0 +1,92 @@ +[ + { + "module_name": "interchainaccounts", + "error_code": 2, + "description": "unknown data type" + }, + { + "module_name": "interchainaccounts", + "error_code": 3, + "description": "account already exist" + }, + { + "module_name": "interchainaccounts", + "error_code": 4, + "description": "port is already bound" + }, + { + "module_name": "interchainaccounts", + "error_code": 5, + "description": "invalid message sent to channel end" + }, + { + "module_name": "interchainaccounts", + "error_code": 6, + "description": "invalid outgoing data" + }, + { + "module_name": "interchainaccounts", + "error_code": 7, + "description": "invalid route" + }, + { + "module_name": "interchainaccounts", + "error_code": 8, + "description": "interchain account not found" + }, + { + "module_name": "interchainaccounts", + "error_code": 9, + "description": "interchain account is already set" + }, + { + "module_name": "interchainaccounts", + "error_code": 10, + "description": "active channel already set for this owner" + }, + { + "module_name": "interchainaccounts", + "error_code": 11, + "description": "no active channel for this owner" + }, + { + "module_name": "interchainaccounts", + "error_code": 12, + "description": "invalid interchain accounts version" + }, + { + "module_name": "interchainaccounts", + "error_code": 13, + "description": "invalid account address" + }, + { + "module_name": "interchainaccounts", + "error_code": 14, + "description": "interchain account does not support this action" + }, + { + "module_name": "interchainaccounts", + "error_code": 15, + "description": "invalid controller port" + }, + { + "module_name": "interchainaccounts", + "error_code": 16, + "description": "invalid host port" + }, + { + "module_name": "interchainaccounts", + "error_code": 17, + "description": "timeout timestamp must be in the future" + }, + { + "module_name": "interchainaccounts", + "error_code": 18, + "description": "codec is not supported" + }, + { + "module_name": "interchainaccounts", + "error_code": 19, + "description": "invalid account reopening" + } +] diff --git a/source/json_tables/errors/ism_errors.json b/source/json_tables/errors/ism_errors.json new file mode 100644 index 00000000..9eeeb2f7 --- /dev/null +++ b/source/json_tables/errors/ism_errors.json @@ -0,0 +1,57 @@ +[ + { + "module_name": "ism", + "error_code": 1, + "description": "unexpected error" + }, + { + "module_name": "ism", + "error_code": 2, + "description": "invalid multisig configuration" + }, + { + "module_name": "ism", + "error_code": 3, + "description": "invalid announce" + }, + { + "module_name": "ism", + "error_code": 4, + "description": "mailbox does not exist" + }, + { + "module_name": "ism", + "error_code": 5, + "description": "invalid signature" + }, + { + "module_name": "ism", + "error_code": 6, + "description": "invalid ism type" + }, + { + "module_name": "ism", + "error_code": 7, + "description": "unknown ism id" + }, + { + "module_name": "ism", + "error_code": 8, + "description": "no route found" + }, + { + "module_name": "ism", + "error_code": 9, + "description": "unauthorized" + }, + { + "module_name": "ism", + "error_code": 10, + "description": "invalid owner" + }, + { + "module_name": "ism", + "error_code": 11, + "description": "route for domain already exists" + } +] diff --git a/source/json_tables/errors/oracle_errors.json b/source/json_tables/errors/oracle_errors.json new file mode 100644 index 00000000..dadf8b41 --- /dev/null +++ b/source/json_tables/errors/oracle_errors.json @@ -0,0 +1,217 @@ +[ + { + "module_name": "oracle", + "error_code": 1, + "description": "relayer address is empty" + }, + { + "module_name": "oracle", + "error_code": 2, + "description": "bad rates count" + }, + { + "module_name": "oracle", + "error_code": 3, + "description": "bad resolve times" + }, + { + "module_name": "oracle", + "error_code": 4, + "description": "bad request ID" + }, + { + "module_name": "oracle", + "error_code": 5, + "description": "relayer not authorized" + }, + { + "module_name": "oracle", + "error_code": 6, + "description": "bad price feed base count" + }, + { + "module_name": "oracle", + "error_code": 7, + "description": "bad price feed quote count" + }, + { + "module_name": "oracle", + "error_code": 8, + "description": "unsupported oracle type" + }, + { + "module_name": "oracle", + "error_code": 9, + "description": "bad messages count" + }, + { + "module_name": "oracle", + "error_code": 10, + "description": "bad Coinbase message" + }, + { + "module_name": "oracle", + "error_code": 11, + "description": "bad Ethereum signature" + }, + { + "module_name": "oracle", + "error_code": 12, + "description": "bad Coinbase message timestamp" + }, + { + "module_name": "oracle", + "error_code": 13, + "description": "Coinbase price not found" + }, + { + "module_name": "oracle", + "error_code": 14, + "description": "Prices must be positive" + }, + { + "module_name": "oracle", + "error_code": 15, + "description": "Prices must be less than 10 million." + }, + { + "module_name": "oracle", + "error_code": 16, + "description": "Invalid Band IBC Request" + }, + { + "module_name": "oracle", + "error_code": 17, + "description": "sample error" + }, + { + "module_name": "oracle", + "error_code": 18, + "description": "invalid packet timeout" + }, + { + "module_name": "oracle", + "error_code": 19, + "description": "invalid symbols count" + }, + { + "module_name": "oracle", + "error_code": 20, + "description": "could not claim port capability" + }, + { + "module_name": "oracle", + "error_code": 21, + "description": "invalid IBC Port ID" + }, + { + "module_name": "oracle", + "error_code": 22, + "description": "invalid IBC Channel ID" + }, + { + "module_name": "oracle", + "error_code": 23, + "description": "invalid Band IBC request interval" + }, + { + "module_name": "oracle", + "error_code": 24, + "description": "Invalid Band IBC Update Request Proposal" + }, + { + "module_name": "oracle", + "error_code": 25, + "description": "Band IBC Oracle Request not found" + }, + { + "module_name": "oracle", + "error_code": 26, + "description": "Base Info is empty" + }, + { + "module_name": "oracle", + "error_code": 27, + "description": "provider is empty" + }, + { + "module_name": "oracle", + "error_code": 28, + "description": "invalid provider name" + }, + { + "module_name": "oracle", + "error_code": 29, + "description": "invalid symbol" + }, + { + "module_name": "oracle", + "error_code": 30, + "description": "relayer already exists" + }, + { + "module_name": "oracle", + "error_code": 31, + "description": "provider price not found" + }, + { + "module_name": "oracle", + "error_code": 32, + "description": "invalid oracle request" + }, + { + "module_name": "oracle", + "error_code": 33, + "description": "no price for oracle was found" + }, + { + "module_name": "oracle", + "error_code": 34, + "description": "no address for Pyth contract found" + }, + { + "module_name": "oracle", + "error_code": 35, + "description": "unauthorized Pyth price relay" + }, + { + "module_name": "oracle", + "error_code": 36, + "description": "unauthorized Pyth price relay" + }, + { + "module_name": "oracle", + "error_code": 37, + "description": "unauthorized Pyth price relay" + }, + { + "module_name": "oracle", + "error_code": 38, + "description": "unauthorized Pyth price relay" + }, + { + "module_name": "oracle", + "error_code": 39, + "description": "empty price attestations" + }, + { + "module_name": "oracle", + "error_code": 40, + "description": "bad Stork message timestamp" + }, + { + "module_name": "oracle", + "error_code": 41, + "description": "sender stork is empty" + }, + { + "module_name": "oracle", + "error_code": 42, + "description": "invalid stork signature" + }, + { + "module_name": "oracle", + "error_code": 43, + "description": "stork asset id not unique" + } +] diff --git a/source/json_tables/errors/params_errors.json b/source/json_tables/errors/params_errors.json new file mode 100644 index 00000000..cbfe2753 --- /dev/null +++ b/source/json_tables/errors/params_errors.json @@ -0,0 +1,32 @@ +[ + { + "module_name": "params", + "error_code": 2, + "description": "unknown subspace" + }, + { + "module_name": "params", + "error_code": 3, + "description": "failed to set parameter" + }, + { + "module_name": "params", + "error_code": 4, + "description": "submitted parameter changes are empty" + }, + { + "module_name": "params", + "error_code": 5, + "description": "parameter subspace is empty" + }, + { + "module_name": "params", + "error_code": 6, + "description": "parameter key is empty" + }, + { + "module_name": "params", + "error_code": 7, + "description": "parameter value is empty" + } +] diff --git a/source/json_tables/errors/peggy_errors.json b/source/json_tables/errors/peggy_errors.json new file mode 100644 index 00000000..6f5f4b0d --- /dev/null +++ b/source/json_tables/errors/peggy_errors.json @@ -0,0 +1,77 @@ +[ + { + "module_name": "peggy", + "error_code": 1, + "description": "internal" + }, + { + "module_name": "peggy", + "error_code": 2, + "description": "duplicate" + }, + { + "module_name": "peggy", + "error_code": 3, + "description": "invalid" + }, + { + "module_name": "peggy", + "error_code": 4, + "description": "timeout" + }, + { + "module_name": "peggy", + "error_code": 5, + "description": "unknown" + }, + { + "module_name": "peggy", + "error_code": 6, + "description": "empty" + }, + { + "module_name": "peggy", + "error_code": 7, + "description": "outdated" + }, + { + "module_name": "peggy", + "error_code": 8, + "description": "unsupported" + }, + { + "module_name": "peggy", + "error_code": 9, + "description": "non contiguous event nonce" + }, + { + "module_name": "peggy", + "error_code": 10, + "description": "no unbatched txs found" + }, + { + "module_name": "peggy", + "error_code": 11, + "description": "can not set orchestrator addresses more than once" + }, + { + "module_name": "peggy", + "error_code": 12, + "description": "supply cannot exceed max ERC20 value" + }, + { + "module_name": "peggy", + "error_code": 13, + "description": "invalid ethereum sender on claim" + }, + { + "module_name": "peggy", + "error_code": 14, + "description": "invalid ethereum destination" + }, + { + "module_name": "peggy", + "error_code": 15, + "description": "missing previous claim for validator" + } +] diff --git a/source/json_tables/errors/permissions_errors.json b/source/json_tables/errors/permissions_errors.json new file mode 100644 index 00000000..dd6bbd02 --- /dev/null +++ b/source/json_tables/errors/permissions_errors.json @@ -0,0 +1,77 @@ +[ + { + "module_name": "permissions", + "error_code": 2, + "description": "attempting to create a namespace for denom that already exists" + }, + { + "module_name": "permissions", + "error_code": 3, + "description": "unauthorized account" + }, + { + "module_name": "permissions", + "error_code": 4, + "description": "invalid genesis" + }, + { + "module_name": "permissions", + "error_code": 5, + "description": "invalid namespace" + }, + { + "module_name": "permissions", + "error_code": 6, + "description": "invalid permissions" + }, + { + "module_name": "permissions", + "error_code": 7, + "description": "unknown role" + }, + { + "module_name": "permissions", + "error_code": 8, + "description": "unknown contract address" + }, + { + "module_name": "permissions", + "error_code": 9, + "description": "restricted action" + }, + { + "module_name": "permissions", + "error_code": 10, + "description": "invalid role" + }, + { + "module_name": "permissions", + "error_code": 11, + "description": "namespace for denom does not exist" + }, + { + "module_name": "permissions", + "error_code": 12, + "description": "wasm hook query error" + }, + { + "module_name": "permissions", + "error_code": 13, + "description": "voucher was not found" + }, + { + "module_name": "permissions", + "error_code": 14, + "description": "invalid contract hook" + }, + { + "module_name": "permissions", + "error_code": 15, + "description": "unknown policy" + }, + { + "module_name": "permissions", + "error_code": 16, + "description": "unauthorized policy change" + } +] diff --git a/source/json_tables/errors/port_errors.json b/source/json_tables/errors/port_errors.json new file mode 100644 index 00000000..ec7140b0 --- /dev/null +++ b/source/json_tables/errors/port_errors.json @@ -0,0 +1,22 @@ +[ + { + "module_name": "port", + "error_code": 2, + "description": "port is already binded" + }, + { + "module_name": "port", + "error_code": 3, + "description": "port not found" + }, + { + "module_name": "port", + "error_code": 4, + "description": "invalid port" + }, + { + "module_name": "port", + "error_code": 5, + "description": "route not found" + } +] diff --git a/source/json_tables/errors/post_dispatch_errors.json b/source/json_tables/errors/post_dispatch_errors.json new file mode 100644 index 00000000..7fa5e593 --- /dev/null +++ b/source/json_tables/errors/post_dispatch_errors.json @@ -0,0 +1,27 @@ +[ + { + "module_name": "post_dispatch", + "error_code": 1, + "description": "mailbox does not exist" + }, + { + "module_name": "post_dispatch", + "error_code": 2, + "description": "sender is not designated mailbox" + }, + { + "module_name": "post_dispatch", + "error_code": 3, + "description": "hook does not exist or isn't registered" + }, + { + "module_name": "post_dispatch", + "error_code": 4, + "description": "unauthorized" + }, + { + "module_name": "post_dispatch", + "error_code": 5, + "description": "invalid owner" + } +] diff --git a/source/json_tables/errors/sdk_errors.json b/source/json_tables/errors/sdk_errors.json new file mode 100644 index 00000000..34ae5ffe --- /dev/null +++ b/source/json_tables/errors/sdk_errors.json @@ -0,0 +1,202 @@ +[ + { + "module_name": "sdk", + "error_code": 2, + "description": "tx parse error" + }, + { + "module_name": "sdk", + "error_code": 3, + "description": "invalid sequence" + }, + { + "module_name": "sdk", + "error_code": 4, + "description": "unauthorized" + }, + { + "module_name": "sdk", + "error_code": 5, + "description": "insufficient funds" + }, + { + "module_name": "sdk", + "error_code": 6, + "description": "unknown request" + }, + { + "module_name": "sdk", + "error_code": 7, + "description": "invalid address" + }, + { + "module_name": "sdk", + "error_code": 8, + "description": "invalid pubkey" + }, + { + "module_name": "sdk", + "error_code": 9, + "description": "unknown address" + }, + { + "module_name": "sdk", + "error_code": 10, + "description": "invalid coins" + }, + { + "module_name": "sdk", + "error_code": 11, + "description": "out of gas" + }, + { + "module_name": "sdk", + "error_code": 12, + "description": "memo too large" + }, + { + "module_name": "sdk", + "error_code": 13, + "description": "insufficient fee" + }, + { + "module_name": "sdk", + "error_code": 14, + "description": "maximum number of signatures exceeded" + }, + { + "module_name": "sdk", + "error_code": 15, + "description": "no signatures supplied" + }, + { + "module_name": "sdk", + "error_code": 16, + "description": "failed to marshal JSON bytes" + }, + { + "module_name": "sdk", + "error_code": 17, + "description": "failed to unmarshal JSON bytes" + }, + { + "module_name": "sdk", + "error_code": 18, + "description": "invalid request" + }, + { + "module_name": "sdk", + "error_code": 19, + "description": "tx already in mempool" + }, + { + "module_name": "sdk", + "error_code": 20, + "description": "mempool is full" + }, + { + "module_name": "sdk", + "error_code": 21, + "description": "tx too large" + }, + { + "module_name": "sdk", + "error_code": 22, + "description": "key not found" + }, + { + "module_name": "sdk", + "error_code": 23, + "description": "invalid account password" + }, + { + "module_name": "sdk", + "error_code": 24, + "description": "tx intended signer does not match the given signer" + }, + { + "module_name": "sdk", + "error_code": 25, + "description": "invalid gas adjustment" + }, + { + "module_name": "sdk", + "error_code": 26, + "description": "invalid height" + }, + { + "module_name": "sdk", + "error_code": 27, + "description": "invalid version" + }, + { + "module_name": "sdk", + "error_code": 28, + "description": "invalid chain-id" + }, + { + "module_name": "sdk", + "error_code": 29, + "description": "invalid type" + }, + { + "module_name": "sdk", + "error_code": 30, + "description": "tx timeout height" + }, + { + "module_name": "sdk", + "error_code": 31, + "description": "unknown extension options" + }, + { + "module_name": "sdk", + "error_code": 32, + "description": "incorrect account sequence" + }, + { + "module_name": "sdk", + "error_code": 33, + "description": "failed packing protobuf message to Any" + }, + { + "module_name": "sdk", + "error_code": 34, + "description": "failed unpacking protobuf message from Any" + }, + { + "module_name": "sdk", + "error_code": 35, + "description": "internal logic error" + }, + { + "module_name": "sdk", + "error_code": 36, + "description": "conflict" + }, + { + "module_name": "sdk", + "error_code": 37, + "description": "feature not supported" + }, + { + "module_name": "sdk", + "error_code": 38, + "description": "not found" + }, + { + "module_name": "sdk", + "error_code": 39, + "description": "Internal IO error" + }, + { + "module_name": "sdk", + "error_code": 40, + "description": "error in app.toml" + }, + { + "module_name": "sdk", + "error_code": 41, + "description": "invalid gas limit" + } +] diff --git a/source/json_tables/errors/slashing_errors.json b/source/json_tables/errors/slashing_errors.json new file mode 100644 index 00000000..cfd3d961 --- /dev/null +++ b/source/json_tables/errors/slashing_errors.json @@ -0,0 +1,42 @@ +[ + { + "module_name": "slashing", + "error_code": 2, + "description": "address is not associated with any known validator" + }, + { + "module_name": "slashing", + "error_code": 3, + "description": "validator does not exist for that address" + }, + { + "module_name": "slashing", + "error_code": 4, + "description": "validator still jailed; cannot be unjailed" + }, + { + "module_name": "slashing", + "error_code": 5, + "description": "validator not jailed; cannot be unjailed" + }, + { + "module_name": "slashing", + "error_code": 6, + "description": "validator has no self-delegation; cannot be unjailed" + }, + { + "module_name": "slashing", + "error_code": 7, + "description": "validator's self delegation less than minimum; cannot be unjailed" + }, + { + "module_name": "slashing", + "error_code": 8, + "description": "no validator signing info found" + }, + { + "module_name": "slashing", + "error_code": 9, + "description": "validator already tombstoned" + } +] diff --git a/source/json_tables/errors/staking_errors.json b/source/json_tables/errors/staking_errors.json new file mode 100644 index 00000000..61b8ecea --- /dev/null +++ b/source/json_tables/errors/staking_errors.json @@ -0,0 +1,227 @@ +[ + { + "module_name": "staking", + "error_code": 2, + "description": "empty validator address" + }, + { + "module_name": "staking", + "error_code": 3, + "description": "validator does not exist" + }, + { + "module_name": "staking", + "error_code": 4, + "description": "validator already exist for this operator address; must use new validator operator address" + }, + { + "module_name": "staking", + "error_code": 5, + "description": "validator already exist for this pubkey; must use new validator pubkey" + }, + { + "module_name": "staking", + "error_code": 6, + "description": "validator pubkey type is not supported" + }, + { + "module_name": "staking", + "error_code": 7, + "description": "validator for this address is currently jailed" + }, + { + "module_name": "staking", + "error_code": 8, + "description": "failed to remove validator" + }, + { + "module_name": "staking", + "error_code": 9, + "description": "commission must be positive" + }, + { + "module_name": "staking", + "error_code": 10, + "description": "commission cannot be more than 100%" + }, + { + "module_name": "staking", + "error_code": 11, + "description": "commission cannot be more than the max rate" + }, + { + "module_name": "staking", + "error_code": 12, + "description": "commission cannot be changed more than once in 24h" + }, + { + "module_name": "staking", + "error_code": 13, + "description": "commission change rate must be positive" + }, + { + "module_name": "staking", + "error_code": 14, + "description": "commission change rate cannot be more than the max rate" + }, + { + "module_name": "staking", + "error_code": 15, + "description": "commission cannot be changed more than max change rate" + }, + { + "module_name": "staking", + "error_code": 16, + "description": "validator's self delegation must be greater than their minimum self delegation" + }, + { + "module_name": "staking", + "error_code": 17, + "description": "minimum self delegation cannot be decrease" + }, + { + "module_name": "staking", + "error_code": 18, + "description": "empty delegator address" + }, + { + "module_name": "staking", + "error_code": 19, + "description": "no delegation for (address, validator) tuple" + }, + { + "module_name": "staking", + "error_code": 20, + "description": "delegator does not exist with address" + }, + { + "module_name": "staking", + "error_code": 21, + "description": "delegator does not contain delegation" + }, + { + "module_name": "staking", + "error_code": 22, + "description": "insufficient delegation shares" + }, + { + "module_name": "staking", + "error_code": 23, + "description": "cannot delegate to an empty validator" + }, + { + "module_name": "staking", + "error_code": 24, + "description": "not enough delegation shares" + }, + { + "module_name": "staking", + "error_code": 25, + "description": "entry not mature" + }, + { + "module_name": "staking", + "error_code": 26, + "description": "no unbonding delegation found" + }, + { + "module_name": "staking", + "error_code": 27, + "description": "too many unbonding delegation entries for (delegator, validator) tuple" + }, + { + "module_name": "staking", + "error_code": 28, + "description": "no redelegation found" + }, + { + "module_name": "staking", + "error_code": 29, + "description": "cannot redelegate to the same validator" + }, + { + "module_name": "staking", + "error_code": 30, + "description": "too few tokens to redelegate (truncates to zero tokens)" + }, + { + "module_name": "staking", + "error_code": 31, + "description": "redelegation destination validator not found" + }, + { + "module_name": "staking", + "error_code": 32, + "description": "redelegation to this validator already in progress; first redelegation to this validator must complete before next redelegation" + }, + { + "module_name": "staking", + "error_code": 33, + "description": "too many redelegation entries for (delegator, src-validator, dst-validator) tuple" + }, + { + "module_name": "staking", + "error_code": 34, + "description": "cannot delegate to validators with invalid (zero) ex-rate" + }, + { + "module_name": "staking", + "error_code": 35, + "description": "both shares amount and shares percent provided" + }, + { + "module_name": "staking", + "error_code": 36, + "description": "neither shares amount nor shares percent provided" + }, + { + "module_name": "staking", + "error_code": 37, + "description": "invalid historical info" + }, + { + "module_name": "staking", + "error_code": 38, + "description": "no historical info found" + }, + { + "module_name": "staking", + "error_code": 39, + "description": "empty validator public key" + }, + { + "module_name": "staking", + "error_code": 40, + "description": "commission cannot be less than min rate" + }, + { + "module_name": "staking", + "error_code": 41, + "description": "unbonding operation not found" + }, + { + "module_name": "staking", + "error_code": 42, + "description": "cannot un-hold unbonding operation that is not on hold" + }, + { + "module_name": "staking", + "error_code": 43, + "description": "expected authority account as only signer for proposal message" + }, + { + "module_name": "staking", + "error_code": 44, + "description": "redelegation source validator not found" + }, + { + "module_name": "staking", + "error_code": 45, + "description": "unbonding type not found" + }, + { + "module_name": "staking", + "error_code": 70, + "description": "commission rate too small" + } +] diff --git a/source/json_tables/errors/store_errors.json b/source/json_tables/errors/store_errors.json new file mode 100644 index 00000000..a8c52940 --- /dev/null +++ b/source/json_tables/errors/store_errors.json @@ -0,0 +1,32 @@ +[ + { + "module_name": "store", + "error_code": 2, + "description": "invalid proof" + }, + { + "module_name": "store", + "error_code": 3, + "description": "tx parse error" + }, + { + "module_name": "store", + "error_code": 4, + "description": "unknown request" + }, + { + "module_name": "store", + "error_code": 5, + "description": "internal logic error" + }, + { + "module_name": "store", + "error_code": 6, + "description": "conflict" + }, + { + "module_name": "store", + "error_code": 7, + "description": "invalid request" + } +] diff --git a/source/json_tables/errors/table_testdata_errors.json b/source/json_tables/errors/table_testdata_errors.json new file mode 100644 index 00000000..a1a8906a --- /dev/null +++ b/source/json_tables/errors/table_testdata_errors.json @@ -0,0 +1,7 @@ +[ + { + "module_name": "table_testdata", + "error_code": 2, + "description": "test" + } +] diff --git a/source/json_tables/errors/tokenfactory_errors.json b/source/json_tables/errors/tokenfactory_errors.json new file mode 100644 index 00000000..8a6ef9bf --- /dev/null +++ b/source/json_tables/errors/tokenfactory_errors.json @@ -0,0 +1,62 @@ +[ + { + "module_name": "tokenfactory", + "error_code": 2, + "description": "attempting to create a denom that already exists (has bank metadata)" + }, + { + "module_name": "tokenfactory", + "error_code": 3, + "description": "unauthorized account" + }, + { + "module_name": "tokenfactory", + "error_code": 4, + "description": "invalid denom" + }, + { + "module_name": "tokenfactory", + "error_code": 5, + "description": "invalid creator" + }, + { + "module_name": "tokenfactory", + "error_code": 6, + "description": "invalid authority metadata" + }, + { + "module_name": "tokenfactory", + "error_code": 7, + "description": "invalid genesis" + }, + { + "module_name": "tokenfactory", + "error_code": 8, + "description": "subdenom too long, max length is 44 bytes" + }, + { + "module_name": "tokenfactory", + "error_code": 9, + "description": "subdenom too short, min length is 1 bytes" + }, + { + "module_name": "tokenfactory", + "error_code": 10, + "description": "nested subdenom too short, each one should have at least 1 bytes" + }, + { + "module_name": "tokenfactory", + "error_code": 11, + "description": "creator too long, max length is 75 bytes" + }, + { + "module_name": "tokenfactory", + "error_code": 12, + "description": "denom does not exist" + }, + { + "module_name": "tokenfactory", + "error_code": 13, + "description": "amount has to be positive" + } +] diff --git a/source/json_tables/errors/transfer_errors.json b/source/json_tables/errors/transfer_errors.json new file mode 100644 index 00000000..6830c140 --- /dev/null +++ b/source/json_tables/errors/transfer_errors.json @@ -0,0 +1,52 @@ +[ + { + "module_name": "transfer", + "error_code": 2, + "description": "invalid packet timeout" + }, + { + "module_name": "transfer", + "error_code": 3, + "description": "invalid denomination for cross-chain transfer" + }, + { + "module_name": "transfer", + "error_code": 4, + "description": "invalid ICS20 version" + }, + { + "module_name": "transfer", + "error_code": 5, + "description": "invalid token amount" + }, + { + "module_name": "transfer", + "error_code": 6, + "description": "denomination trace not found" + }, + { + "module_name": "transfer", + "error_code": 7, + "description": "fungible token transfers from this chain are disabled" + }, + { + "module_name": "transfer", + "error_code": 8, + "description": "fungible token transfers to this chain are disabled" + }, + { + "module_name": "transfer", + "error_code": 9, + "description": "max transfer channels" + }, + { + "module_name": "transfer", + "error_code": 10, + "description": "invalid transfer authorization" + }, + { + "module_name": "transfer", + "error_code": 11, + "description": "invalid memo" + } +] diff --git a/source/json_tables/errors/tx_errors.json b/source/json_tables/errors/tx_errors.json new file mode 100644 index 00000000..cc244307 --- /dev/null +++ b/source/json_tables/errors/tx_errors.json @@ -0,0 +1,12 @@ +[ + { + "module_name": "tx", + "error_code": 1, + "description": "tx parse error" + }, + { + "module_name": "tx", + "error_code": 2, + "description": "unknown protobuf field" + } +] diff --git a/source/json_tables/errors/txfees_errors.json b/source/json_tables/errors/txfees_errors.json new file mode 100644 index 00000000..712c05be --- /dev/null +++ b/source/json_tables/errors/txfees_errors.json @@ -0,0 +1,17 @@ +[ + { + "module_name": "txfees", + "error_code": 1, + "description": "invalid fee token" + }, + { + "module_name": "txfees", + "error_code": 2, + "description": "more than one coin in fee" + }, + { + "module_name": "txfees", + "error_code": 3, + "description": "unsupported query param" + } +] diff --git a/source/json_tables/errors/undefined_errors.json b/source/json_tables/errors/undefined_errors.json new file mode 100644 index 00000000..6d2cd9c7 --- /dev/null +++ b/source/json_tables/errors/undefined_errors.json @@ -0,0 +1,17 @@ +[ + { + "module_name": "undefined", + "error_code": 1, + "description": "internal" + }, + { + "module_name": "undefined", + "error_code": 2, + "description": "stop iterating" + }, + { + "module_name": "undefined", + "error_code": 111222, + "description": "panic" + } +] diff --git a/source/json_tables/errors/upgrade_errors.json b/source/json_tables/errors/upgrade_errors.json new file mode 100644 index 00000000..457d205f --- /dev/null +++ b/source/json_tables/errors/upgrade_errors.json @@ -0,0 +1,27 @@ +[ + { + "module_name": "upgrade", + "error_code": 2, + "description": "module version not found" + }, + { + "module_name": "upgrade", + "error_code": 3, + "description": "upgrade plan not found" + }, + { + "module_name": "upgrade", + "error_code": 4, + "description": "upgraded client not found" + }, + { + "module_name": "upgrade", + "error_code": 5, + "description": "upgraded consensus state not found" + }, + { + "module_name": "upgrade", + "error_code": 6, + "description": "expected authority account as only signer for proposal message" + } +] diff --git a/source/json_tables/errors/warp_errors.json b/source/json_tables/errors/warp_errors.json new file mode 100644 index 00000000..5cc340dd --- /dev/null +++ b/source/json_tables/errors/warp_errors.json @@ -0,0 +1,12 @@ +[ + { + "module_name": "warp", + "error_code": 1, + "description": "not enough collateral" + }, + { + "module_name": "warp", + "error_code": 2, + "description": "token not found" + } +] diff --git a/source/json_tables/errors/wasm-hooks_errors.json b/source/json_tables/errors/wasm-hooks_errors.json new file mode 100644 index 00000000..632bbfa7 --- /dev/null +++ b/source/json_tables/errors/wasm-hooks_errors.json @@ -0,0 +1,27 @@ +[ + { + "module_name": "wasm-hooks", + "error_code": 3, + "description": "cannot marshal the ICS20 packet" + }, + { + "module_name": "wasm-hooks", + "error_code": 4, + "description": "invalid packet data" + }, + { + "module_name": "wasm-hooks", + "error_code": 5, + "description": "cannot create response" + }, + { + "module_name": "wasm-hooks", + "error_code": 6, + "description": "wasm error" + }, + { + "module_name": "wasm-hooks", + "error_code": 7, + "description": "bad sender" + } +] diff --git a/source/json_tables/errors/wasm_errors.json b/source/json_tables/errors/wasm_errors.json new file mode 100644 index 00000000..6ae39568 --- /dev/null +++ b/source/json_tables/errors/wasm_errors.json @@ -0,0 +1,127 @@ +[ + { + "module_name": "wasm", + "error_code": 2, + "description": "create wasm contract failed" + }, + { + "module_name": "wasm", + "error_code": 3, + "description": "contract account already exists" + }, + { + "module_name": "wasm", + "error_code": 4, + "description": "instantiate wasm contract failed" + }, + { + "module_name": "wasm", + "error_code": 5, + "description": "execute wasm contract failed" + }, + { + "module_name": "wasm", + "error_code": 6, + "description": "insufficient gas" + }, + { + "module_name": "wasm", + "error_code": 7, + "description": "invalid genesis" + }, + { + "module_name": "wasm", + "error_code": 8, + "description": "not found" + }, + { + "module_name": "wasm", + "error_code": 9, + "description": "query wasm contract failed" + }, + { + "module_name": "wasm", + "error_code": 10, + "description": "invalid CosmosMsg from the contract" + }, + { + "module_name": "wasm", + "error_code": 11, + "description": "migrate wasm contract failed" + }, + { + "module_name": "wasm", + "error_code": 12, + "description": "empty" + }, + { + "module_name": "wasm", + "error_code": 13, + "description": "exceeds limit" + }, + { + "module_name": "wasm", + "error_code": 14, + "description": "invalid" + }, + { + "module_name": "wasm", + "error_code": 15, + "description": "duplicate" + }, + { + "module_name": "wasm", + "error_code": 16, + "description": "max transfer channels" + }, + { + "module_name": "wasm", + "error_code": 17, + "description": "unsupported for this contract" + }, + { + "module_name": "wasm", + "error_code": 18, + "description": "pinning contract failed" + }, + { + "module_name": "wasm", + "error_code": 19, + "description": "unpinning contract failed" + }, + { + "module_name": "wasm", + "error_code": 20, + "description": "unknown message from the contract" + }, + { + "module_name": "wasm", + "error_code": 21, + "description": "invalid event" + }, + { + "module_name": "wasm", + "error_code": 22, + "description": "no such contract" + }, + { + "module_name": "wasm", + "error_code": 27, + "description": "max query stack size exceeded" + }, + { + "module_name": "wasm", + "error_code": 28, + "description": "no such code" + }, + { + "module_name": "wasm", + "error_code": 29, + "description": "wasmvm error" + }, + { + "module_name": "wasm", + "error_code": 30, + "description": "max call depth exceeded" + } +] diff --git a/source/json_tables/errors/xwasm_errors.json b/source/json_tables/errors/xwasm_errors.json new file mode 100644 index 00000000..d8b17f77 --- /dev/null +++ b/source/json_tables/errors/xwasm_errors.json @@ -0,0 +1,57 @@ +[ + { + "module_name": "xwasm", + "error_code": 1, + "description": "invalid gas limit" + }, + { + "module_name": "xwasm", + "error_code": 2, + "description": "invalid gas price" + }, + { + "module_name": "xwasm", + "error_code": 3, + "description": "invalid contract address" + }, + { + "module_name": "xwasm", + "error_code": 4, + "description": "contract already registered" + }, + { + "module_name": "xwasm", + "error_code": 5, + "description": "duplicate contract" + }, + { + "module_name": "xwasm", + "error_code": 6, + "description": "no contract addresses found" + }, + { + "module_name": "xwasm", + "error_code": 7, + "description": "invalid code id" + }, + { + "module_name": "xwasm", + "error_code": 8, + "description": "not possible to deduct gas fees" + }, + { + "module_name": "xwasm", + "error_code": 9, + "description": "missing granter address" + }, + { + "module_name": "xwasm", + "error_code": 10, + "description": "granter address does not exist" + }, + { + "module_name": "xwasm", + "error_code": 11, + "description": "invalid funding mode" + } +] diff --git a/source/json_tables/ibc/applications/interchain_accounts/v1/Type.json b/source/json_tables/ibc/applications/interchain_accounts/v1/Type.json new file mode 100644 index 00000000..b58801d7 --- /dev/null +++ b/source/json_tables/ibc/applications/interchain_accounts/v1/Type.json @@ -0,0 +1,10 @@ +[ + { + "Code": "0", + "Name": "TYPE_UNSPECIFIED" + }, + { + "Code": "1", + "Name": "TYPE_EXECUTE_TX" + } +] 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 new file mode 100644 index 00000000..9fbdeb5e --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgRegisterInterchainAccount.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "owner", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "connection_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "ordering", + "Type": "types.Order", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgRegisterInterchainAccountResponse.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgRegisterInterchainAccountResponse.json new file mode 100644 index 00000000..f4d0bda8 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgRegisterInterchainAccountResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "channel_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "port_id", + "Type": "string", + "Description": "" + } +] 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 new file mode 100644 index 00000000..46a61350 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgSendTx.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "owner", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "connection_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "packet_data", + "Type": "types1.InterchainAccountPacketData", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "relative_timeout", + "Type": "uint64", + "Description": "Relative timeout timestamp provided will be added to the current block time during transaction execution. The timeout timestamp must be non-zero.", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgSendTxResponse.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgSendTxResponse.json new file mode 100644 index 00000000..c5ddbd39 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgSendTxResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgUpdateParams.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgUpdateParams.json new file mode 100644 index 00000000..ff62e892 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/MsgUpdateParams.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the 27-interchain-accounts/controller parameters to update. NOTE: All parameters must be supplied.", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/Params.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/Params.json new file mode 100644 index 00000000..9a80f3e0 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/Params.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "controller_enabled", + "Type": "bool", + "Description": "controller_enabled enables or disables the controller submodule." + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryInterchainAccountRequest.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryInterchainAccountRequest.json new file mode 100644 index 00000000..cbe80801 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryInterchainAccountRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "owner", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "connection_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryInterchainAccountResponse.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryInterchainAccountResponse.json new file mode 100644 index 00000000..dc5c548e --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryInterchainAccountResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryParamsResponse.json b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryParamsResponse.json new file mode 100644 index 00000000..27703560 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/controller/types/QueryParamsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the parameters of the module." + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/ActiveChannel.json b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/ActiveChannel.json new file mode 100644 index 00000000..e364b113 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/ActiveChannel.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "connection_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "port_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "is_middleware_enabled", + "Type": "bool", + "Description": "" + } +] 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 new file mode 100644 index 00000000..672eee21 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/ControllerGenesisState.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "active_channels", + "Type": "ActiveChannel array", + "Description": "" + }, + { + "Parameter": "interchain_accounts", + "Type": "RegisteredInterchainAccount array", + "Description": "" + }, + { + "Parameter": "ports", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "params", + "Type": "types.Params", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/GenesisState.json b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/GenesisState.json new file mode 100644 index 00000000..3b658d90 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/GenesisState.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "controller_genesis_state", + "Type": "ControllerGenesisState", + "Description": "" + }, + { + "Parameter": "host_genesis_state", + "Type": "HostGenesisState", + "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 new file mode 100644 index 00000000..e5386da0 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/HostGenesisState.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "active_channels", + "Type": "ActiveChannel array", + "Description": "" + }, + { + "Parameter": "interchain_accounts", + "Type": "RegisteredInterchainAccount array", + "Description": "" + }, + { + "Parameter": "port", + "Type": "string", + "Description": "" + }, + { + "Parameter": "params", + "Type": "types1.Params", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/RegisteredInterchainAccount.json b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/RegisteredInterchainAccount.json new file mode 100644 index 00000000..d460ccda --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/genesis/types/RegisteredInterchainAccount.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "connection_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "port_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "account_address", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgModuleQuerySafe.json b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgModuleQuerySafe.json new file mode 100644 index 00000000..7c8d6049 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgModuleQuerySafe.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "requests", + "Type": "QueryRequest array", + "Description": "requests defines the module safe queries to execute.", + "Required": "No" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgModuleQuerySafeResponse.json b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgModuleQuerySafeResponse.json new file mode 100644 index 00000000..29f9142f --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgModuleQuerySafeResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "height", + "Type": "uint64", + "Description": "height at which the responses were queried" + }, + { + "Parameter": "responses", + "Type": "][byte array", + "Description": "protobuf encoded responses for each query" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgUpdateParams.json b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgUpdateParams.json new file mode 100644 index 00000000..887ef500 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/MsgUpdateParams.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the 27-interchain-accounts/host parameters to update. NOTE: All parameters must be supplied.", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/host/types/Params.json b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/Params.json new file mode 100644 index 00000000..38e6d838 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/Params.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "host_enabled", + "Type": "bool", + "Description": "host_enabled enables or disables the host submodule." + }, + { + "Parameter": "allow_messages", + "Type": "string array", + "Description": "allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain." + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/host/types/QueryParamsResponse.json b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/QueryParamsResponse.json new file mode 100644 index 00000000..27703560 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/QueryParamsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the parameters of the module." + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/host/types/QueryRequest.json b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/QueryRequest.json new file mode 100644 index 00000000..36d365ac --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/host/types/QueryRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "path", + "Type": "string", + "Description": "path defines the path of the query request as defined by ADR-021. https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing", + "Required": "Yes" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "data defines the payload of the query request as defined by ADR-021. https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing", + "Required": "Yes" + } +] 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 new file mode 100644 index 00000000..84bd08c0 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/types/CosmosTx.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "messages", + "Type": "types.Any array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/types/InterchainAccount.json b/source/json_tables/ibc/apps/27-interchain-accounts/types/InterchainAccount.json new file mode 100644 index 00000000..c7a38fcd --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/types/InterchainAccount.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "account_owner", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/types/InterchainAccountPacketData.json b/source/json_tables/ibc/apps/27-interchain-accounts/types/InterchainAccountPacketData.json new file mode 100644 index 00000000..bce8fbf3 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/types/InterchainAccountPacketData.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "type", + "Type": "Type", + "Description": "" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "memo", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/27-interchain-accounts/types/Metadata.json b/source/json_tables/ibc/apps/27-interchain-accounts/types/Metadata.json new file mode 100644 index 00000000..c890bf71 --- /dev/null +++ b/source/json_tables/ibc/apps/27-interchain-accounts/types/Metadata.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "version", + "Type": "string", + "Description": "version defines the ICS27 protocol version" + }, + { + "Parameter": "controller_connection_id", + "Type": "string", + "Description": "controller_connection_id is the connection identifier associated with the controller chain" + }, + { + "Parameter": "host_connection_id", + "Type": "string", + "Description": "host_connection_id is the connection identifier associated with the host chain" + }, + { + "Parameter": "address", + "Type": "string", + "Description": "address defines the interchain account address to be fulfilled upon the OnChanOpenTry handshake step NOTE: the address field is empty on the OnChanOpenInit handshake step" + }, + { + "Parameter": "encoding", + "Type": "string", + "Description": "encoding defines the supported codec format" + }, + { + "Parameter": "tx_type", + "Type": "string", + "Description": "tx_type defines the type of transactions the interchain account can execute" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/Fee.json b/source/json_tables/ibc/apps/29-fee/types/Fee.json new file mode 100644 index 00000000..72ab2541 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/Fee.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "recv_fee", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "the packet receive fee" + }, + { + "Parameter": "ack_fee", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "the packet acknowledgement fee" + }, + { + "Parameter": "timeout_fee", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "the packet timeout fee" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/FeeEnabledChannel.json b/source/json_tables/ibc/apps/29-fee/types/FeeEnabledChannel.json new file mode 100644 index 00000000..5319efa1 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/FeeEnabledChannel.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "unique port identifier" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/ForwardRelayerAddress.json b/source/json_tables/ibc/apps/29-fee/types/ForwardRelayerAddress.json new file mode 100644 index 00000000..5bf5062e --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/ForwardRelayerAddress.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "the forward relayer address" + }, + { + "Parameter": "packet_id", + "Type": "types.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/GenesisState.json b/source/json_tables/ibc/apps/29-fee/types/GenesisState.json new file mode 100644 index 00000000..ac814cc0 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/GenesisState.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "identified_fees", + "Type": "IdentifiedPacketFees array", + "Description": "list of identified packet fees" + }, + { + "Parameter": "fee_enabled_channels", + "Type": "FeeEnabledChannel array", + "Description": "list of fee enabled channels" + }, + { + "Parameter": "registered_payees", + "Type": "RegisteredPayee array", + "Description": "list of registered payees" + }, + { + "Parameter": "registered_counterparty_payees", + "Type": "RegisteredCounterpartyPayee array", + "Description": "list of registered counterparty payees" + }, + { + "Parameter": "forward_relayers", + "Type": "ForwardRelayerAddress array", + "Description": "list of forward relayer addresses" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/IdentifiedPacketFees.json b/source/json_tables/ibc/apps/29-fee/types/IdentifiedPacketFees.json new file mode 100644 index 00000000..af2d8097 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/IdentifiedPacketFees.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "packet_id", + "Type": "types1.PacketId", + "Description": "unique packet identifier comprised of the channel ID, port ID and sequence" + }, + { + "Parameter": "packet_fees", + "Type": "PacketFee array", + "Description": "list of packet fees" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/IncentivizedAcknowledgement.json b/source/json_tables/ibc/apps/29-fee/types/IncentivizedAcknowledgement.json new file mode 100644 index 00000000..74414c2d --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/IncentivizedAcknowledgement.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "app_acknowledgement", + "Type": "byte array", + "Description": "the underlying app acknowledgement bytes" + }, + { + "Parameter": "forward_relayer_address", + "Type": "string", + "Description": "the relayer address which submits the recv packet message" + }, + { + "Parameter": "underlying_app_success", + "Type": "bool", + "Description": "success flag of the base application callback" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/Metadata.json b/source/json_tables/ibc/apps/29-fee/types/Metadata.json new file mode 100644 index 00000000..6497bc51 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/Metadata.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "fee_version", + "Type": "string", + "Description": "fee_version defines the ICS29 fee version" + }, + { + "Parameter": "app_version", + "Type": "string", + "Description": "app_version defines the underlying application version, which may or may not be a JSON encoded bytestring" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFee.json b/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFee.json new file mode 100644 index 00000000..e4fb46af --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFee.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "fee", + "Type": "Fee", + "Description": "fee encapsulates the recv, ack and timeout fees associated with an IBC packet", + "Required": "Yes" + }, + { + "Parameter": "source_port_id", + "Type": "string", + "Description": "the source port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "source_channel_id", + "Type": "string", + "Description": "the source channel unique identifer", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "account address to refund fee if necessary", + "Required": "Yes" + }, + { + "Parameter": "relayers", + "Type": "string array", + "Description": "optional list of relayers permitted to the receive packet fees", + "Required": "No" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFeeAsync.json b/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFeeAsync.json new file mode 100644 index 00000000..3321b282 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/MsgPayPacketFeeAsync.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "packet_id", + "Type": "types.PacketId", + "Description": "unique packet identifier comprised of the channel ID, port ID and sequence", + "Required": "Yes" + }, + { + "Parameter": "packet_fee", + "Type": "PacketFee", + "Description": "the packet fee associated with a particular IBC packet", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/MsgRegisterCounterpartyPayee.json b/source/json_tables/ibc/apps/29-fee/types/MsgRegisterCounterpartyPayee.json new file mode 100644 index 00000000..99630517 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/MsgRegisterCounterpartyPayee.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "unique port identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier", + "Required": "Yes" + }, + { + "Parameter": "relayer", + "Type": "string", + "Description": "the relayer address", + "Required": "Yes" + }, + { + "Parameter": "counterparty_payee", + "Type": "string", + "Description": "the counterparty payee address", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/MsgRegisterPayee.json b/source/json_tables/ibc/apps/29-fee/types/MsgRegisterPayee.json new file mode 100644 index 00000000..b0ed2c8b --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/MsgRegisterPayee.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "unique port identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier", + "Required": "Yes" + }, + { + "Parameter": "relayer", + "Type": "string", + "Description": "the relayer address", + "Required": "Yes" + }, + { + "Parameter": "payee", + "Type": "string", + "Description": "the payee address", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/PacketFee.json b/source/json_tables/ibc/apps/29-fee/types/PacketFee.json new file mode 100644 index 00000000..cc06d81c --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/PacketFee.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "fee", + "Type": "Fee", + "Description": "fee encapsulates the recv, ack and timeout fees associated with an IBC packet" + }, + { + "Parameter": "refund_address", + "Type": "string", + "Description": "the refund address for unspent fees" + }, + { + "Parameter": "relayers", + "Type": "string array", + "Description": "optional list of relayers permitted to receive fees" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/PacketFees.json b/source/json_tables/ibc/apps/29-fee/types/PacketFees.json new file mode 100644 index 00000000..7c8cc7d9 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/PacketFees.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "packet_fees", + "Type": "PacketFee array", + "Description": "list of packet fees" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryCounterpartyPayeeRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryCounterpartyPayeeRequest.json new file mode 100644 index 00000000..7b51ca4d --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryCounterpartyPayeeRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier", + "Required": "Yes" + }, + { + "Parameter": "relayer", + "Type": "string", + "Description": "the relayer address to which the counterparty is registered", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryCounterpartyPayeeResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryCounterpartyPayeeResponse.json new file mode 100644 index 00000000..1f9a2875 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryCounterpartyPayeeResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "counterparty_payee", + "Type": "string", + "Description": "the counterparty payee address used to compensate forward relaying" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelRequest.json new file mode 100644 index 00000000..de4e7d5a --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "unique port identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelResponse.json new file mode 100644 index 00000000..49b39f67 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "fee_enabled", + "Type": "bool", + "Description": "boolean flag representing the fee enabled channel status" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsRequest.json new file mode 100644 index 00000000..4a1d4be1 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "pagination", + "Type": "query.PageRequest", + "Description": "pagination defines an optional pagination for the request.", + "Required": "No" + }, + { + "Parameter": "query_height", + "Type": "uint64", + "Description": "block height at which to query", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsResponse.json new file mode 100644 index 00000000..5728680c --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryFeeEnabledChannelsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "fee_enabled_channels", + "Type": "FeeEnabledChannel array", + "Description": "list of fee enabled channels" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..e1ac54ca --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "packet_id", + "Type": "types.PacketId", + "Description": "unique packet identifier comprised of channel ID, port ID and sequence", + "Required": "Yes" + }, + { + "Parameter": "query_height", + "Type": "uint64", + "Description": "block height at which to query", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketResponse.json new file mode 100644 index 00000000..c9d2cddf --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "incentivized_packet", + "Type": "IdentifiedPacketFees", + "Description": "the identified fees for the incentivized packet" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelRequest.json new file mode 100644 index 00000000..9755f48f --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "pagination", + "Type": "query.PageRequest", + "Description": "pagination defines an optional pagination for the request.", + "Required": "No" + }, + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "query_height", + "Type": "uint64", + "Description": "Height to query at", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelResponse.json new file mode 100644 index 00000000..02c4051e --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsForChannelResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "incentivized_packets", + "Type": "IdentifiedPacketFees array", + "Description": "Map of all incentivized_packets" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..4a1d4be1 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "pagination", + "Type": "query.PageRequest", + "Description": "pagination defines an optional pagination for the request.", + "Required": "No" + }, + { + "Parameter": "query_height", + "Type": "uint64", + "Description": "block height at which to query", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsResponse.json new file mode 100644 index 00000000..5b88422c --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryIncentivizedPacketsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "incentivized_packets", + "Type": "IdentifiedPacketFees array", + "Description": "list of identified fees for incentivized packets" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryPayeeRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryPayeeRequest.json new file mode 100644 index 00000000..c7d563a8 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryPayeeRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier", + "Required": "Yes" + }, + { + "Parameter": "relayer", + "Type": "string", + "Description": "the relayer address to which the distribution address is registered", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryPayeeResponse.json b/source/json_tables/ibc/apps/29-fee/types/QueryPayeeResponse.json new file mode 100644 index 00000000..56c26d3f --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryPayeeResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "payee_address", + "Type": "string", + "Description": "the payee address to which packet fees are paid out" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesRequest.json b/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesRequest.json new file mode 100644 index 00000000..e203108b --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "packet_id", + "Type": "types.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 new file mode 100644 index 00000000..a97b183c --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalAckFeesResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "ack_fees", + "Type": "github_com_cosmos_cosmos_sdk_types.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 new file mode 100644 index 00000000..e203108b --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "packet_id", + "Type": "types.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 new file mode 100644 index 00000000..c7f00809 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalRecvFeesResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "recv_fees", + "Type": "github_com_cosmos_cosmos_sdk_types.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 new file mode 100644 index 00000000..e203108b --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "packet_id", + "Type": "types.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 new file mode 100644 index 00000000..c10dc2c8 --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/QueryTotalTimeoutFeesResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "timeout_fees", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "the total packet timeout fees" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/RegisteredCounterpartyPayee.json b/source/json_tables/ibc/apps/29-fee/types/RegisteredCounterpartyPayee.json new file mode 100644 index 00000000..25346e8f --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/RegisteredCounterpartyPayee.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier" + }, + { + "Parameter": "relayer", + "Type": "string", + "Description": "the relayer address" + }, + { + "Parameter": "counterparty_payee", + "Type": "string", + "Description": "the counterparty payee address" + } +] diff --git a/source/json_tables/ibc/apps/29-fee/types/RegisteredPayee.json b/source/json_tables/ibc/apps/29-fee/types/RegisteredPayee.json new file mode 100644 index 00000000..a2c9bcda --- /dev/null +++ b/source/json_tables/ibc/apps/29-fee/types/RegisteredPayee.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier" + }, + { + "Parameter": "relayer", + "Type": "string", + "Description": "the relayer address" + }, + { + "Parameter": "payee", + "Type": "string", + "Description": "the payee address" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/Allocation.json b/source/json_tables/ibc/apps/transfer/types/Allocation.json new file mode 100644 index 00000000..f6eef2a9 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/Allocation.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "source_port", + "Type": "string", + "Description": "the port on which the packet will be sent" + }, + { + "Parameter": "source_channel", + "Type": "string", + "Description": "the channel by which the packet will be sent" + }, + { + "Parameter": "spend_limit", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "spend limitation on the channel" + }, + { + "Parameter": "allow_list", + "Type": "string array", + "Description": "allow list of receivers, an empty allow list permits any receiver address" + }, + { + "Parameter": "allowed_packet_data", + "Type": "string array", + "Description": "allow list of memo strings, an empty list prohibits all memo strings; a list only with \"*\" permits any memo string" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/DenomTrace.json b/source/json_tables/ibc/apps/transfer/types/DenomTrace.json new file mode 100644 index 00000000..5785a5f3 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/DenomTrace.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "path", + "Type": "string", + "Description": "path defines the chain of port/channel identifiers used for tracing the source of the fungible token." + }, + { + "Parameter": "base_denom", + "Type": "string", + "Description": "base denomination of the relayed fungible token." + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/FungibleTokenPacketData.json b/source/json_tables/ibc/apps/transfer/types/FungibleTokenPacketData.json new file mode 100644 index 00000000..5159d2e0 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/FungibleTokenPacketData.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "denom", + "Type": "string", + "Description": "the token denomination to be transferred" + }, + { + "Parameter": "amount", + "Type": "string", + "Description": "the token amount to be transferred" + }, + { + "Parameter": "sender", + "Type": "string", + "Description": "the sender address" + }, + { + "Parameter": "receiver", + "Type": "string", + "Description": "the recipient address on the destination chain" + }, + { + "Parameter": "memo", + "Type": "string", + "Description": "optional memo" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/GenesisState.json b/source/json_tables/ibc/apps/transfer/types/GenesisState.json new file mode 100644 index 00000000..d083f6e3 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/GenesisState.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "denom_traces", + "Type": "Traces", + "Description": "" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "" + }, + { + "Parameter": "total_escrowed", + "Type": "github_com_cosmos_cosmos_sdk_types.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 new file mode 100644 index 00000000..e6269d80 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/MsgTransfer.json @@ -0,0 +1,50 @@ +[ + { + "Parameter": "source_port", + "Type": "string", + "Description": "the port on which the packet will be sent", + "Required": "Yes" + }, + { + "Parameter": "source_channel", + "Type": "string", + "Description": "the channel by which the packet will be sent", + "Required": "Yes" + }, + { + "Parameter": "token", + "Type": "types.Coin", + "Description": "the tokens to be transferred", + "Required": "Yes" + }, + { + "Parameter": "sender", + "Type": "string", + "Description": "the sender address", + "Required": "Yes" + }, + { + "Parameter": "receiver", + "Type": "string", + "Description": "the recipient address on the destination chain", + "Required": "Yes" + }, + { + "Parameter": "timeout_height", + "Type": "types1.Height", + "Description": "Timeout height relative to the current block height. The timeout is disabled when set to 0.", + "Required": "Yes" + }, + { + "Parameter": "timeout_timestamp", + "Type": "uint64", + "Description": "Timeout timestamp in absolute nanoseconds since unix epoch. The timeout is disabled when set to 0.", + "Required": "Yes" + }, + { + "Parameter": "memo", + "Type": "string", + "Description": "optional memo", + "Required": "No" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/MsgTransferResponse.json b/source/json_tables/ibc/apps/transfer/types/MsgTransferResponse.json new file mode 100644 index 00000000..7ef291b6 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/MsgTransferResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "sequence number of the transfer packet sent" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/MsgUpdateParams.json b/source/json_tables/ibc/apps/transfer/types/MsgUpdateParams.json new file mode 100644 index 00000000..5ade55f5 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/MsgUpdateParams.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the transfer parameters to update. NOTE: All parameters must be supplied.", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/Params.json b/source/json_tables/ibc/apps/transfer/types/Params.json new file mode 100644 index 00000000..cca8def6 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/Params.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "send_enabled", + "Type": "bool", + "Description": "send_enabled enables or disables all cross-chain token transfers from this chain." + }, + { + "Parameter": "receive_enabled", + "Type": "bool", + "Description": "receive_enabled enables or disables all cross-chain token transfers to this chain." + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/QueryDenomHashRequest.json b/source/json_tables/ibc/apps/transfer/types/QueryDenomHashRequest.json new file mode 100644 index 00000000..e82be369 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryDenomHashRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "trace", + "Type": "string", + "Description": "The denomination trace ([port_id]/[channel_id])+/[denom]", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/QueryDenomHashResponse.json b/source/json_tables/ibc/apps/transfer/types/QueryDenomHashResponse.json new file mode 100644 index 00000000..a9a8e150 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryDenomHashResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "hash", + "Type": "string", + "Description": "hash (in hex format) of the denomination trace information." + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/QueryDenomTraceRequest.json b/source/json_tables/ibc/apps/transfer/types/QueryDenomTraceRequest.json new file mode 100644 index 00000000..65b2a425 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryDenomTraceRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "hash", + "Type": "string", + "Description": "hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information.", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/QueryDenomTraceResponse.json b/source/json_tables/ibc/apps/transfer/types/QueryDenomTraceResponse.json new file mode 100644 index 00000000..47966e24 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryDenomTraceResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "denom_trace", + "Type": "DenomTrace", + "Description": "denom_trace returns the requested denomination trace information." + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesRequest.json b/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesRequest.json new file mode 100644 index 00000000..79346d2c --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..dce74bde --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryDenomTracesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "denom_traces", + "Type": "Traces", + "Description": "denom_traces returns all denominations trace information." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/QueryEscrowAddressRequest.json b/source/json_tables/ibc/apps/transfer/types/QueryEscrowAddressRequest.json new file mode 100644 index 00000000..de4e7d5a --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryEscrowAddressRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "unique port identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "unique channel identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/QueryEscrowAddressResponse.json b/source/json_tables/ibc/apps/transfer/types/QueryEscrowAddressResponse.json new file mode 100644 index 00000000..94901c37 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryEscrowAddressResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "escrow_address", + "Type": "string", + "Description": "the escrow account address" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/QueryParamsResponse.json b/source/json_tables/ibc/apps/transfer/types/QueryParamsResponse.json new file mode 100644 index 00000000..27703560 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryParamsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the parameters of the module." + } +] diff --git a/source/json_tables/injective/exchange/v2/QueryDenomDecimalRequest.json b/source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomRequest.json similarity index 100% rename from source/json_tables/injective/exchange/v2/QueryDenomDecimalRequest.json rename to source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomRequest.json diff --git a/source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomResponse.json b/source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomResponse.json new file mode 100644 index 00000000..043cecec --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/QueryTotalEscrowForDenomResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "amount", + "Type": "types.Coin", + "Description": "" + } +] diff --git a/source/json_tables/ibc/apps/transfer/types/TransferAuthorization.json b/source/json_tables/ibc/apps/transfer/types/TransferAuthorization.json new file mode 100644 index 00000000..10cc58d7 --- /dev/null +++ b/source/json_tables/ibc/apps/transfer/types/TransferAuthorization.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "allocations", + "Type": "Allocation array", + "Description": "port and channel amounts" + } +] diff --git a/source/json_tables/ibc/capability/types/Capability.json b/source/json_tables/ibc/capability/types/Capability.json new file mode 100644 index 00000000..9589c667 --- /dev/null +++ b/source/json_tables/ibc/capability/types/Capability.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "index", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/ibc/capability/types/CapabilityOwners.json b/source/json_tables/ibc/capability/types/CapabilityOwners.json new file mode 100644 index 00000000..d2c628cb --- /dev/null +++ b/source/json_tables/ibc/capability/types/CapabilityOwners.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "owners", + "Type": "Owner array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/capability/types/GenesisOwners.json b/source/json_tables/ibc/capability/types/GenesisOwners.json new file mode 100644 index 00000000..ee1767f1 --- /dev/null +++ b/source/json_tables/ibc/capability/types/GenesisOwners.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "index", + "Type": "uint64", + "Description": "index is the index of the capability owner." + }, + { + "Parameter": "index_owners", + "Type": "CapabilityOwners", + "Description": "index_owners are the owners at the given index." + } +] diff --git a/source/json_tables/ibc/capability/types/GenesisState.json b/source/json_tables/ibc/capability/types/GenesisState.json new file mode 100644 index 00000000..028c5692 --- /dev/null +++ b/source/json_tables/ibc/capability/types/GenesisState.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "index", + "Type": "uint64", + "Description": "index is the capability global index." + }, + { + "Parameter": "owners", + "Type": "GenesisOwners array", + "Description": "owners represents a map from index to owners of the capability index index key is string to allow amino marshalling." + } +] diff --git a/source/json_tables/ibc/capability/types/Owner.json b/source/json_tables/ibc/capability/types/Owner.json new file mode 100644 index 00000000..5b5d2307 --- /dev/null +++ b/source/json_tables/ibc/capability/types/Owner.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "module", + "Type": "string", + "Description": "" + }, + { + "Parameter": "name", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/ClientConsensusStates.json b/source/json_tables/ibc/core/02-client/types/ClientConsensusStates.json new file mode 100644 index 00000000..2fc76c2a --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/ClientConsensusStates.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client identifier" + }, + { + "Parameter": "consensus_states", + "Type": "ConsensusStateWithHeight array", + "Description": "consensus states and their heights associated with the client" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/ClientUpdateProposal.json b/source/json_tables/ibc/core/02-client/types/ClientUpdateProposal.json new file mode 100644 index 00000000..cd7bad10 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/ClientUpdateProposal.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "the title of the update proposal" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "the description of the proposal" + }, + { + "Parameter": "subject_client_id", + "Type": "string", + "Description": "the client identifier for the client to be updated if the proposal passes" + }, + { + "Parameter": "substitute_client_id", + "Type": "string", + "Description": "the substitute client identifier for the client standing in for the subject client" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/ConsensusStateWithHeight.json b/source/json_tables/ibc/core/02-client/types/ConsensusStateWithHeight.json new file mode 100644 index 00000000..0d2dcb21 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/ConsensusStateWithHeight.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "height", + "Type": "Height", + "Description": "consensus state height" + }, + { + "Parameter": "consensus_state", + "Type": "types.Any", + "Description": "consensus state" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/GenesisMetadata.json b/source/json_tables/ibc/core/02-client/types/GenesisMetadata.json new file mode 100644 index 00000000..39cfbad8 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/GenesisMetadata.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "key", + "Type": "byte array", + "Description": "store key of metadata without clientID-prefix" + }, + { + "Parameter": "value", + "Type": "byte array", + "Description": "metadata value" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/GenesisState.json b/source/json_tables/ibc/core/02-client/types/GenesisState.json new file mode 100644 index 00000000..b2f5e193 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/GenesisState.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "clients", + "Type": "IdentifiedClientStates", + "Description": "client states with their corresponding identifiers" + }, + { + "Parameter": "clients_consensus", + "Type": "ClientsConsensusStates", + "Description": "consensus states from each client" + }, + { + "Parameter": "clients_metadata", + "Type": "IdentifiedGenesisMetadata array", + "Description": "metadata from each client" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "" + }, + { + "Parameter": "create_localhost", + "Type": "bool", + "Description": "Deprecated: create_localhost has been deprecated. The localhost client is automatically created at genesis." + }, + { + "Parameter": "next_client_sequence", + "Type": "uint64", + "Description": "the sequence for the next generated client identifier" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/Height.json b/source/json_tables/ibc/core/02-client/types/Height.json new file mode 100644 index 00000000..9c8b205a --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/Height.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "revision_number", + "Type": "uint64", + "Description": "the revision that the client is currently on" + }, + { + "Parameter": "revision_height", + "Type": "uint64", + "Description": "the height within the given revision" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/IdentifiedClientState.json b/source/json_tables/ibc/core/02-client/types/IdentifiedClientState.json new file mode 100644 index 00000000..befe318e --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/IdentifiedClientState.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client identifier" + }, + { + "Parameter": "client_state", + "Type": "types.Any", + "Description": "client state" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/IdentifiedGenesisMetadata.json b/source/json_tables/ibc/core/02-client/types/IdentifiedGenesisMetadata.json new file mode 100644 index 00000000..0565973e --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/IdentifiedGenesisMetadata.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "client_metadata", + "Type": "GenesisMetadata array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/MsgCreateClient.json b/source/json_tables/ibc/core/02-client/types/MsgCreateClient.json new file mode 100644 index 00000000..13136da0 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/MsgCreateClient.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "client_state", + "Type": "types.Any", + "Description": "light client state", + "Required": "No" + }, + { + "Parameter": "consensus_state", + "Type": "types.Any", + "Description": "consensus state associated with the client that corresponds to a given height.", + "Required": "No" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/MsgIBCSoftwareUpgrade.json b/source/json_tables/ibc/core/02-client/types/MsgIBCSoftwareUpgrade.json new file mode 100644 index 00000000..03d41a2b --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/MsgIBCSoftwareUpgrade.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "plan", + "Type": "types1.Plan", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "upgraded_client_state", + "Type": "types.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" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/MsgRecoverClient.json b/source/json_tables/ibc/core/02-client/types/MsgRecoverClient.json new file mode 100644 index 00000000..7e527628 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/MsgRecoverClient.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "subject_client_id", + "Type": "string", + "Description": "the client identifier for the client to be updated if the proposal passes", + "Required": "Yes" + }, + { + "Parameter": "substitute_client_id", + "Type": "string", + "Description": "the substitute client identifier for the client which will replace the subject client", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/MsgSubmitMisbehaviour.json b/source/json_tables/ibc/core/02-client/types/MsgSubmitMisbehaviour.json new file mode 100644 index 00000000..7d1a41ed --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/MsgSubmitMisbehaviour.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client unique identifier", + "Required": "Yes" + }, + { + "Parameter": "misbehaviour", + "Type": "types.Any", + "Description": "misbehaviour used for freezing the light client", + "Required": "No" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/MsgUpdateClient.json b/source/json_tables/ibc/core/02-client/types/MsgUpdateClient.json new file mode 100644 index 00000000..c5b10bfd --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/MsgUpdateClient.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client unique identifier", + "Required": "Yes" + }, + { + "Parameter": "client_message", + "Type": "types.Any", + "Description": "client message to update the light client", + "Required": "No" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/MsgUpdateParams.json b/source/json_tables/ibc/core/02-client/types/MsgUpdateParams.json new file mode 100644 index 00000000..1f8a5d01 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/MsgUpdateParams.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the client parameters to update. NOTE: All parameters must be supplied.", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/MsgUpgradeClient.json b/source/json_tables/ibc/core/02-client/types/MsgUpgradeClient.json new file mode 100644 index 00000000..2a669cf9 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/MsgUpgradeClient.json @@ -0,0 +1,38 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client unique identifier", + "Required": "Yes" + }, + { + "Parameter": "client_state", + "Type": "types.Any", + "Description": "upgraded client state", + "Required": "No" + }, + { + "Parameter": "consensus_state", + "Type": "types.Any", + "Description": "upgraded consensus state, only contains enough information to serve as a basis of trust in update logic", + "Required": "No" + }, + { + "Parameter": "proof_upgrade_client", + "Type": "byte array", + "Description": "proof that old chain committed to new client", + "Required": "Yes" + }, + { + "Parameter": "proof_upgrade_consensus_state", + "Type": "byte array", + "Description": "proof that old chain committed to new consensus state", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/Params.json b/source/json_tables/ibc/core/02-client/types/Params.json new file mode 100644 index 00000000..4d6995e8 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/Params.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "allowed_clients", + "Type": "string array", + "Description": "allowed_clients defines the list of allowed client state types which can be created and interacted with. If a client type is removed from the allowed clients list, usage of this client will be disabled until it is added again to the list." + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientParamsResponse.json b/source/json_tables/ibc/core/02-client/types/QueryClientParamsResponse.json new file mode 100644 index 00000000..27703560 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryClientParamsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the parameters of the module." + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientStateRequest.json b/source/json_tables/ibc/core/02-client/types/QueryClientStateRequest.json new file mode 100644 index 00000000..3dfc5be1 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryClientStateRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client state unique identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientStateResponse.json b/source/json_tables/ibc/core/02-client/types/QueryClientStateResponse.json new file mode 100644 index 00000000..fcc82619 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryClientStateResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "client_state", + "Type": "types.Any", + "Description": "client state associated with the request identifier" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientStatesRequest.json b/source/json_tables/ibc/core/02-client/types/QueryClientStatesRequest.json new file mode 100644 index 00000000..bb7e1a45 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryClientStatesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..089abc89 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryClientStatesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "client_states", + "Type": "IdentifiedClientStates", + "Description": "list of stored ClientStates of the chain." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination response" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientStatusRequest.json b/source/json_tables/ibc/core/02-client/types/QueryClientStatusRequest.json new file mode 100644 index 00000000..7fe641b8 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryClientStatusRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client unique identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryClientStatusResponse.json b/source/json_tables/ibc/core/02-client/types/QueryClientStatusResponse.json new file mode 100644 index 00000000..9818a4ee --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryClientStatusResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "status", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsRequest.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsRequest.json new file mode 100644 index 00000000..9cb28825 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client identifier", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..4a31d4ec --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateHeightsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "consensus_state_heights", + "Type": "Height array", + "Description": "consensus state heights" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination response" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateRequest.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateRequest.json new file mode 100644 index 00000000..371c68fc --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client identifier", + "Required": "Yes" + }, + { + "Parameter": "revision_number", + "Type": "uint64", + "Description": "consensus state revision number", + "Required": "Yes" + }, + { + "Parameter": "revision_height", + "Type": "uint64", + "Description": "consensus state revision height", + "Required": "Yes" + }, + { + "Parameter": "latest_height", + "Type": "bool", + "Description": "latest_height overrrides the height field and queries the latest stored ConsensusState", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStateResponse.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateResponse.json new file mode 100644 index 00000000..186615b3 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStateResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "consensus_state", + "Type": "types.Any", + "Description": "consensus state associated with the client identifier at the given height" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesRequest.json b/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesRequest.json new file mode 100644 index 00000000..9cb28825 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client identifier", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..199a7645 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryConsensusStatesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "consensus_states", + "Type": "ConsensusStateWithHeight array", + "Description": "consensus states associated with the identifier" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..5ed20a4d --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryUpgradedClientStateResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "upgraded_client_state", + "Type": "types.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 new file mode 100644 index 00000000..c53280fb --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryUpgradedConsensusStateResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "upgraded_consensus_state", + "Type": "types.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 new file mode 100644 index 00000000..797ec959 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryVerifyMembershipRequest.json @@ -0,0 +1,44 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client unique identifier.", + "Required": "Yes" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "the proof to be verified by the client.", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "Height", + "Description": "the height of the commitment root at which the proof is verified.", + "Required": "Yes" + }, + { + "Parameter": "merkle_path", + "Type": "types1.MerklePath", + "Description": "the commitment key path.", + "Required": "Yes" + }, + { + "Parameter": "value", + "Type": "byte array", + "Description": "the value which is proven.", + "Required": "Yes" + }, + { + "Parameter": "time_delay", + "Type": "uint64", + "Description": "optional time delay", + "Required": "No" + }, + { + "Parameter": "block_delay", + "Type": "uint64", + "Description": "optional block delay", + "Required": "No" + } +] diff --git a/source/json_tables/ibc/core/02-client/types/QueryVerifyMembershipResponse.json b/source/json_tables/ibc/core/02-client/types/QueryVerifyMembershipResponse.json new file mode 100644 index 00000000..27d59457 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/QueryVerifyMembershipResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "success", + "Type": "bool", + "Description": "boolean indicating success or failure of proof verification." + } +] diff --git a/source/json_tables/ibc/core/02-client/types/UpgradeProposal.json b/source/json_tables/ibc/core/02-client/types/UpgradeProposal.json new file mode 100644 index 00000000..78fdf036 --- /dev/null +++ b/source/json_tables/ibc/core/02-client/types/UpgradeProposal.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "" + }, + { + "Parameter": "plan", + "Type": "types1.Plan", + "Description": "" + }, + { + "Parameter": "upgraded_client_state", + "Type": "types.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/ClientPaths.json b/source/json_tables/ibc/core/03-connection/types/ClientPaths.json new file mode 100644 index 00000000..18575fa3 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/ClientPaths.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "paths", + "Type": "string array", + "Description": "list of connection paths" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/ConnectionEnd.json b/source/json_tables/ibc/core/03-connection/types/ConnectionEnd.json new file mode 100644 index 00000000..e2bc6e6c --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/ConnectionEnd.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client associated with this connection." + }, + { + "Parameter": "versions", + "Type": "Version array", + "Description": "IBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection." + }, + { + "Parameter": "state", + "Type": "State", + "Description": "current state of the connection end." + }, + { + "Parameter": "counterparty", + "Type": "Counterparty", + "Description": "counterparty chain associated with this connection." + }, + { + "Parameter": "delay_period", + "Type": "uint64", + "Description": "delay period that must pass before a consensus state can be used for packet-verification NOTE: delay period logic is only implemented by some clients." + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/ConnectionPaths.json b/source/json_tables/ibc/core/03-connection/types/ConnectionPaths.json new file mode 100644 index 00000000..69a0bf91 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/ConnectionPaths.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client state unique identifier" + }, + { + "Parameter": "paths", + "Type": "string array", + "Description": "list of connection paths" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/Counterparty.json b/source/json_tables/ibc/core/03-connection/types/Counterparty.json new file mode 100644 index 00000000..fc436554 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/Counterparty.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "identifies the client on the counterparty chain associated with a given connection." + }, + { + "Parameter": "connection_id", + "Type": "string", + "Description": "identifies the connection end on the counterparty chain associated with a given connection." + }, + { + "Parameter": "prefix", + "Type": "types.MerklePrefix", + "Description": "commitment merkle prefix of the counterparty chain." + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/GenesisState.json b/source/json_tables/ibc/core/03-connection/types/GenesisState.json new file mode 100644 index 00000000..4c4fd450 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/GenesisState.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "connections", + "Type": "IdentifiedConnection array", + "Description": "" + }, + { + "Parameter": "client_connection_paths", + "Type": "ConnectionPaths array", + "Description": "" + }, + { + "Parameter": "next_connection_sequence", + "Type": "uint64", + "Description": "the sequence for the next generated connection identifier" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/IdentifiedConnection.json b/source/json_tables/ibc/core/03-connection/types/IdentifiedConnection.json new file mode 100644 index 00000000..42b237fc --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/IdentifiedConnection.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "id", + "Type": "string", + "Description": "connection identifier." + }, + { + "Parameter": "client_id", + "Type": "string", + "Description": "client associated with this connection." + }, + { + "Parameter": "versions", + "Type": "Version array", + "Description": "IBC version which can be utilised to determine encodings or protocols for channels or packets utilising this connection" + }, + { + "Parameter": "state", + "Type": "State", + "Description": "current state of the connection end." + }, + { + "Parameter": "counterparty", + "Type": "Counterparty", + "Description": "counterparty chain associated with this connection." + }, + { + "Parameter": "delay_period", + "Type": "uint64", + "Description": "delay period associated with this connection." + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenAck.json b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenAck.json new file mode 100644 index 00000000..15e85f12 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenAck.json @@ -0,0 +1,68 @@ +[ + { + "Parameter": "connection_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_connection_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "version", + "Type": "Version", + "Description": "", + "Required": "No" + }, + { + "Parameter": "client_state", + "Type": "types.Any", + "Description": "", + "Required": "No" + }, + { + "Parameter": "proof_height", + "Type": "types1.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_try", + "Type": "byte array", + "Description": "proof of the initialization the connection on Chain B: `UNITIALIZED -> TRYOPEN`", + "Required": "Yes" + }, + { + "Parameter": "proof_client", + "Type": "byte array", + "Description": "proof of client state included in message", + "Required": "Yes" + }, + { + "Parameter": "proof_consensus", + "Type": "byte array", + "Description": "proof of client consensus state", + "Required": "Yes" + }, + { + "Parameter": "consensus_height", + "Type": "types1.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "host_consensus_state_proof", + "Type": "byte array", + "Description": "optional proof data for host state machines that are unable to introspect their own consensus state", + "Required": "No" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenConfirm.json b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenConfirm.json new file mode 100644 index 00000000..30493520 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenConfirm.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "connection_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_ack", + "Type": "byte array", + "Description": "proof for the change of the connection state on Chain A: `INIT -> OPEN`", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types1.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenInit.json b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenInit.json new file mode 100644 index 00000000..21e72e68 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenInit.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty", + "Type": "Counterparty", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "version", + "Type": "Version", + "Description": "", + "Required": "No" + }, + { + "Parameter": "delay_period", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "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 new file mode 100644 index 00000000..68cce25a --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/MsgConnectionOpenTry.json @@ -0,0 +1,80 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "previous_connection_id", + "Type": "string", + "Description": "Deprecated: this field is unused. Crossing hellos are no longer supported in core IBC.", + "Required": "Yes" + }, + { + "Parameter": "client_state", + "Type": "types.Any", + "Description": "", + "Required": "No" + }, + { + "Parameter": "counterparty", + "Type": "Counterparty", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "delay_period", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_versions", + "Type": "Version array", + "Description": "", + "Required": "No" + }, + { + "Parameter": "proof_height", + "Type": "types1.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_init", + "Type": "byte array", + "Description": "proof of the initialization the connection on Chain A: `UNITIALIZED -> INIT`", + "Required": "Yes" + }, + { + "Parameter": "proof_client", + "Type": "byte array", + "Description": "proof of client state included in message", + "Required": "Yes" + }, + { + "Parameter": "proof_consensus", + "Type": "byte array", + "Description": "proof of client consensus state", + "Required": "Yes" + }, + { + "Parameter": "consensus_height", + "Type": "types1.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "host_consensus_state_proof", + "Type": "byte array", + "Description": "optional proof data for host state machines that are unable to introspect their own consensus state", + "Required": "No" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/MsgUpdateParams.json b/source/json_tables/ibc/core/03-connection/types/MsgUpdateParams.json new file mode 100644 index 00000000..80f29dde --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/MsgUpdateParams.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the connection parameters to update. NOTE: All parameters must be supplied.", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/Params.json b/source/json_tables/ibc/core/03-connection/types/Params.json new file mode 100644 index 00000000..616685dd --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/Params.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "max_expected_time_per_block", + "Type": "uint64", + "Description": "maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the largest amount of time that the chain might reasonably take to produce the next block under normal operating conditions. A safe choice is 3-5x the expected time per block." + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/QueryClientConnectionsRequest.json b/source/json_tables/ibc/core/03-connection/types/QueryClientConnectionsRequest.json new file mode 100644 index 00000000..0f6141ce --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryClientConnectionsRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "client_id", + "Type": "string", + "Description": "client identifier associated with a connection", + "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 new file mode 100644 index 00000000..363b460f --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryClientConnectionsResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "connection_paths", + "Type": "string array", + "Description": "slice of all the connection paths associated with a client." + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was generated" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateRequest.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateRequest.json new file mode 100644 index 00000000..e6494794 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "connection_id", + "Type": "string", + "Description": "connection identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateResponse.json new file mode 100644 index 00000000..29b68ef8 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionClientStateResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "identified_client_state", + "Type": "types.IdentifiedClientState", + "Description": "client state associated with the channel" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateRequest.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateRequest.json new file mode 100644 index 00000000..0a3e4a24 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "connection_id", + "Type": "string", + "Description": "connection identifier", + "Required": "Yes" + }, + { + "Parameter": "revision_number", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "revision_height", + "Type": "uint64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateResponse.json new file mode 100644 index 00000000..e6766981 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionConsensusStateResponse.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "consensus_state", + "Type": "types1.Any", + "Description": "consensus state associated with the channel" + }, + { + "Parameter": "client_id", + "Type": "string", + "Description": "client ID associated with the consensus state" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionParamsResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionParamsResponse.json new file mode 100644 index 00000000..27703560 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionParamsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the parameters of the module." + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionRequest.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionRequest.json new file mode 100644 index 00000000..fd97eb2b --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "connection_id", + "Type": "string", + "Description": "connection unique identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/QueryConnectionResponse.json b/source/json_tables/ibc/core/03-connection/types/QueryConnectionResponse.json new file mode 100644 index 00000000..799db8c7 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "connection", + "Type": "ConnectionEnd", + "Description": "connection associated with the request identifier" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.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 new file mode 100644 index 00000000..5e714e9a --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionsRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..f9c3b300 --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/QueryConnectionsResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "connections", + "Type": "IdentifiedConnection array", + "Description": "list of stored connections of the chain." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination response" + }, + { + "Parameter": "height", + "Type": "types.Height", + "Description": "query block height" + } +] diff --git a/source/json_tables/ibc/core/03-connection/types/Version.json b/source/json_tables/ibc/core/03-connection/types/Version.json new file mode 100644 index 00000000..2c9e750b --- /dev/null +++ b/source/json_tables/ibc/core/03-connection/types/Version.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "identifier", + "Type": "string", + "Description": "unique version identifier" + }, + { + "Parameter": "features", + "Type": "string array", + "Description": "list of features compatible with the specified identifier" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/Acknowledgement_Error.json b/source/json_tables/ibc/core/04-channel/types/Acknowledgement_Error.json new file mode 100644 index 00000000..6371b0db --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/Acknowledgement_Error.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "error", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/Acknowledgement_Result.json b/source/json_tables/ibc/core/04-channel/types/Acknowledgement_Result.json new file mode 100644 index 00000000..8ae86f51 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/Acknowledgement_Result.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/Channel.json b/source/json_tables/ibc/core/04-channel/types/Channel.json new file mode 100644 index 00000000..5ed8033d --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/Channel.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "state", + "Type": "State", + "Description": "current state of the channel end" + }, + { + "Parameter": "ordering", + "Type": "Order", + "Description": "whether the channel is ordered or unordered" + }, + { + "Parameter": "counterparty", + "Type": "Counterparty", + "Description": "counterparty channel end" + }, + { + "Parameter": "connection_hops", + "Type": "string array", + "Description": "list of connection identifiers, in order, along which packets sent on this channel will travel" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "opaque channel version, which is agreed upon during the handshake" + }, + { + "Parameter": "upgrade_sequence", + "Type": "uint64", + "Description": "upgrade sequence indicates the latest upgrade attempt performed by this channel the value of 0 indicates the channel has never been upgraded" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/Counterparty.json b/source/json_tables/ibc/core/04-channel/types/Counterparty.json new file mode 100644 index 00000000..3c5aabd0 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/Counterparty.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port on the counterparty chain which owns the other end of the channel." + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel end on the counterparty chain" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/ErrorReceipt.json b/source/json_tables/ibc/core/04-channel/types/ErrorReceipt.json new file mode 100644 index 00000000..7cfef151 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/ErrorReceipt.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "the channel upgrade sequence" + }, + { + "Parameter": "message", + "Type": "string", + "Description": "the error message detailing the cause of failure" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/GenesisState.json b/source/json_tables/ibc/core/04-channel/types/GenesisState.json new file mode 100644 index 00000000..a3c8adc9 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/GenesisState.json @@ -0,0 +1,47 @@ +[ + { + "Parameter": "channels", + "Type": "IdentifiedChannel array", + "Description": "" + }, + { + "Parameter": "acknowledgements", + "Type": "PacketState array", + "Description": "" + }, + { + "Parameter": "commitments", + "Type": "PacketState array", + "Description": "" + }, + { + "Parameter": "receipts", + "Type": "PacketState array", + "Description": "" + }, + { + "Parameter": "send_sequences", + "Type": "PacketSequence array", + "Description": "" + }, + { + "Parameter": "recv_sequences", + "Type": "PacketSequence array", + "Description": "" + }, + { + "Parameter": "ack_sequences", + "Type": "PacketSequence array", + "Description": "" + }, + { + "Parameter": "next_channel_sequence", + "Type": "uint64", + "Description": "the sequence for the next generated channel identifier" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/IdentifiedChannel.json b/source/json_tables/ibc/core/04-channel/types/IdentifiedChannel.json new file mode 100644 index 00000000..a7bc1552 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/IdentifiedChannel.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "state", + "Type": "State", + "Description": "current state of the channel end" + }, + { + "Parameter": "ordering", + "Type": "Order", + "Description": "whether the channel is ordered or unordered" + }, + { + "Parameter": "counterparty", + "Type": "Counterparty", + "Description": "counterparty channel end" + }, + { + "Parameter": "connection_hops", + "Type": "string array", + "Description": "list of connection identifiers, in order, along which packets sent on this channel will travel" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "opaque channel version, which is agreed upon during the handshake" + }, + { + "Parameter": "port_id", + "Type": "string", + "Description": "port identifier" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel identifier" + }, + { + "Parameter": "upgrade_sequence", + "Type": "uint64", + "Description": "upgrade sequence indicates the latest upgrade attempt performed by this channel the value of 0 indicates the channel has never been upgraded" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgement.json b/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgement.json new file mode 100644 index 00000000..0ec858b0 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgement.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "packet", + "Type": "Packet", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "acknowledgement", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_acked", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgementResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgementResponse.json new file mode 100644 index 00000000..3e8231ce --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgAcknowledgementResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "ResponseResultType", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseConfirm.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseConfirm.json new file mode 100644 index 00000000..61e02544 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseConfirm.json @@ -0,0 +1,38 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_init", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_upgrade_sequence", + "Type": "uint64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseInit.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseInit.json new file mode 100644 index 00000000..ade651fa --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelCloseInit.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "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 new file mode 100644 index 00000000..ac8cfee8 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenAck.json @@ -0,0 +1,44 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_version", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_try", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "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 new file mode 100644 index 00000000..946b04c7 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenConfirm.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_ack", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenInit.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenInit.json new file mode 100644 index 00000000..b4512365 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenInit.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel", + "Type": "Channel", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenInitResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenInitResponse.json new file mode 100644 index 00000000..667b4810 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenInitResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "channel_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTry.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTry.json new file mode 100644 index 00000000..0cbc70aa --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTry.json @@ -0,0 +1,44 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "previous_channel_id", + "Type": "string", + "Description": "Deprecated: this field is unused. Crossing hello's are no longer supported in core IBC.", + "Required": "Yes" + }, + { + "Parameter": "channel", + "Type": "Channel", + "Description": "NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC.", + "Required": "Yes" + }, + { + "Parameter": "counterparty_version", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_init", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTryResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTryResponse.json new file mode 100644 index 00000000..01c43e96 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelOpenTryResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "version", + "Type": "string", + "Description": "" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAck.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAck.json new file mode 100644 index 00000000..28ced091 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAck.json @@ -0,0 +1,44 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_upgrade", + "Type": "Upgrade", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_channel", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_upgrade", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAckResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAckResponse.json new file mode 100644 index 00000000..3e8231ce --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeAckResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "ResponseResultType", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeCancel.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeCancel.json new file mode 100644 index 00000000..d7b0ed81 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeCancel.json @@ -0,0 +1,38 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "error_receipt", + "Type": "ErrorReceipt", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_error_receipt", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "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 new file mode 100644 index 00000000..08c88d9d --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeConfirm.json @@ -0,0 +1,50 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_channel_state", + "Type": "State", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_upgrade", + "Type": "Upgrade", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_channel", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_upgrade", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeConfirmResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeConfirmResponse.json new file mode 100644 index 00000000..3e8231ce --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeConfirmResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "ResponseResultType", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeInit.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeInit.json new file mode 100644 index 00000000..eefb0d89 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeInit.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "fields", + "Type": "UpgradeFields", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeInitResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeInitResponse.json new file mode 100644 index 00000000..23c90830 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeInitResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "upgrade", + "Type": "Upgrade", + "Description": "" + }, + { + "Parameter": "upgrade_sequence", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeOpen.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeOpen.json new file mode 100644 index 00000000..7bda0c06 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeOpen.json @@ -0,0 +1,44 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_channel_state", + "Type": "State", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_upgrade_sequence", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_channel", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "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 new file mode 100644 index 00000000..1869e197 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTimeout.json @@ -0,0 +1,38 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_channel", + "Type": "Channel", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_channel", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "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 new file mode 100644 index 00000000..ca40a899 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTry.json @@ -0,0 +1,56 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proposed_upgrade_connection_hops", + "Type": "string array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_upgrade_fields", + "Type": "UpgradeFields", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_upgrade_sequence", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_channel", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_upgrade", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTryResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTryResponse.json new file mode 100644 index 00000000..7e1964be --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgChannelUpgradeTryResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "upgrade", + "Type": "Upgrade", + "Description": "" + }, + { + "Parameter": "upgrade_sequence", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "result", + "Type": "ResponseResultType", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgPruneAcknowledgements.json b/source/json_tables/ibc/core/04-channel/types/MsgPruneAcknowledgements.json new file mode 100644 index 00000000..440017e8 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgPruneAcknowledgements.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "limit", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgPruneAcknowledgementsResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgPruneAcknowledgementsResponse.json new file mode 100644 index 00000000..c41731a7 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgPruneAcknowledgementsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "total_pruned_sequences", + "Type": "uint64", + "Description": "Number of sequences pruned (includes both packet acknowledgements and packet receipts where appropriate)." + }, + { + "Parameter": "total_remaining_sequences", + "Type": "uint64", + "Description": "Number of sequences left after pruning." + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgRecvPacket.json b/source/json_tables/ibc/core/04-channel/types/MsgRecvPacket.json new file mode 100644 index 00000000..3ba0469a --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgRecvPacket.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "packet", + "Type": "Packet", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_commitment", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgRecvPacketResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgRecvPacketResponse.json new file mode 100644 index 00000000..3e8231ce --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgRecvPacketResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "ResponseResultType", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgTimeout.json b/source/json_tables/ibc/core/04-channel/types/MsgTimeout.json new file mode 100644 index 00000000..3aa12293 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgTimeout.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "packet", + "Type": "Packet", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_unreceived", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "next_sequence_recv", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "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 new file mode 100644 index 00000000..5c71ae15 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgTimeoutOnClose.json @@ -0,0 +1,44 @@ +[ + { + "Parameter": "packet", + "Type": "Packet", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_unreceived", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_close", + "Type": "byte array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "next_sequence_recv", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "signer", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "counterparty_upgrade_sequence", + "Type": "uint64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgTimeoutOnCloseResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgTimeoutOnCloseResponse.json new file mode 100644 index 00000000..3e8231ce --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgTimeoutOnCloseResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "ResponseResultType", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgTimeoutResponse.json b/source/json_tables/ibc/core/04-channel/types/MsgTimeoutResponse.json new file mode 100644 index 00000000..3e8231ce --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgTimeoutResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "result", + "Type": "ResponseResultType", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/MsgUpdateParams.json b/source/json_tables/ibc/core/04-channel/types/MsgUpdateParams.json new file mode 100644 index 00000000..3372e4fd --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/MsgUpdateParams.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "authority is the address that controls the module (defaults to x/gov unless overwritten).", + "Required": "Yes" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the channel parameters to update. NOTE: All parameters must be supplied.", + "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 new file mode 100644 index 00000000..06d5a0c9 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/Packet.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "number corresponds to the order of sends and receives, where a Packet with an earlier sequence number must be sent and received before a Packet with a later sequence number." + }, + { + "Parameter": "source_port", + "Type": "string", + "Description": "identifies the port on the sending chain." + }, + { + "Parameter": "source_channel", + "Type": "string", + "Description": "identifies the channel end on the sending chain." + }, + { + "Parameter": "destination_port", + "Type": "string", + "Description": "identifies the port on the receiving chain." + }, + { + "Parameter": "destination_channel", + "Type": "string", + "Description": "identifies the channel end on the receiving chain." + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "actual opaque bytes transferred directly to the application module" + }, + { + "Parameter": "timeout_height", + "Type": "types.Height", + "Description": "block height after which the packet times out" + }, + { + "Parameter": "timeout_timestamp", + "Type": "uint64", + "Description": "block timestamp (in nanoseconds) after which the packet times out" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/PacketId.json b/source/json_tables/ibc/core/04-channel/types/PacketId.json new file mode 100644 index 00000000..0bf68ad1 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/PacketId.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "channel port identifier" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier" + }, + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "packet sequence" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/PacketSequence.json b/source/json_tables/ibc/core/04-channel/types/PacketSequence.json new file mode 100644 index 00000000..70bf6f92 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/PacketSequence.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/PacketState.json b/source/json_tables/ibc/core/04-channel/types/PacketState.json new file mode 100644 index 00000000..b41e31fb --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/PacketState.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "channel port identifier." + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier." + }, + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "packet sequence." + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "embedded data that represents packet state." + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/Params.json b/source/json_tables/ibc/core/04-channel/types/Params.json new file mode 100644 index 00000000..b2654a85 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/Params.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "upgrade_timeout", + "Type": "Timeout", + "Description": "the relative timeout after which channel upgrades will time out." + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateRequest.json new file mode 100644 index 00000000..26d8f278 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateResponse.json new file mode 100644 index 00000000..29b68ef8 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelClientStateResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "identified_client_state", + "Type": "types.IdentifiedClientState", + "Description": "client state associated with the channel" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateRequest.json new file mode 100644 index 00000000..e6dcbccd --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + }, + { + "Parameter": "revision_number", + "Type": "uint64", + "Description": "revision number of the consensus state", + "Required": "Yes" + }, + { + "Parameter": "revision_height", + "Type": "uint64", + "Description": "revision height of the consensus state", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateResponse.json new file mode 100644 index 00000000..e6766981 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelConsensusStateResponse.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "consensus_state", + "Type": "types1.Any", + "Description": "consensus state associated with the channel" + }, + { + "Parameter": "client_id", + "Type": "string", + "Description": "client ID associated with the consensus state" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelParamsResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelParamsResponse.json new file mode 100644 index 00000000..27703560 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelParamsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the parameters of the module." + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelRequest.json new file mode 100644 index 00000000..26d8f278 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryChannelResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryChannelResponse.json new file mode 100644 index 00000000..627c3644 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "channel", + "Type": "Channel", + "Description": "channel associated with the request identifiers" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.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 new file mode 100644 index 00000000..bb7e1a45 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelsRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..80dafe6b --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryChannelsResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "channels", + "Type": "IdentifiedChannel array", + "Description": "list of stored channels of the chain." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination response" + }, + { + "Parameter": "height", + "Type": "types.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 new file mode 100644 index 00000000..4b270b38 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "connection", + "Type": "string", + "Description": "connection unique identifier", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..615f4bd9 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryConnectionChannelsResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "channels", + "Type": "IdentifiedChannel array", + "Description": "list of channels associated with a connection." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination response" + }, + { + "Parameter": "height", + "Type": "types.Height", + "Description": "query block height" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveRequest.json new file mode 100644 index 00000000..26d8f278 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveResponse.json new file mode 100644 index 00000000..c39d12fc --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceReceiveResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "next_sequence_receive", + "Type": "uint64", + "Description": "next sequence receive number" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendRequest.json new file mode 100644 index 00000000..26d8f278 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendResponse.json new file mode 100644 index 00000000..641a7e9a --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryNextSequenceSendResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "next_sequence_send", + "Type": "uint64", + "Description": "next sequence send number" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementRequest.json new file mode 100644 index 00000000..c6b469ed --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + }, + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "packet sequence", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementResponse.json new file mode 100644 index 00000000..4d432998 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "acknowledgement", + "Type": "byte array", + "Description": "packet associated with the request fields" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.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 new file mode 100644 index 00000000..f64e7a3e --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.PageRequest", + "Description": "pagination request", + "Required": "No" + }, + { + "Parameter": "packet_commitment_sequences", + "Type": "uint64 array", + "Description": "list of packet sequences", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsResponse.json new file mode 100644 index 00000000..5b7ca087 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketAcknowledgementsResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "acknowledgements", + "Type": "PacketState array", + "Description": "" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination response" + }, + { + "Parameter": "height", + "Type": "types.Height", + "Description": "query block height" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentRequest.json new file mode 100644 index 00000000..c6b469ed --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + }, + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "packet sequence", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentResponse.json new file mode 100644 index 00000000..217aa03d --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "commitment", + "Type": "byte array", + "Description": "packet associated with the request fields" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.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 new file mode 100644 index 00000000..a6c5d195 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..1de02ecd --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketCommitmentsResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "commitments", + "Type": "PacketState array", + "Description": "" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination response" + }, + { + "Parameter": "height", + "Type": "types.Height", + "Description": "query block height" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptRequest.json new file mode 100644 index 00000000..c6b469ed --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + }, + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "packet sequence", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptResponse.json new file mode 100644 index 00000000..462e0dd8 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryPacketReceiptResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "received", + "Type": "bool", + "Description": "success flag for if receipt exists" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksRequest.json new file mode 100644 index 00000000..5331b521 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + }, + { + "Parameter": "packet_ack_sequences", + "Type": "uint64 array", + "Description": "list of acknowledgement sequences", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksResponse.json new file mode 100644 index 00000000..ef1a5c70 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedAcksResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "sequences", + "Type": "uint64 array", + "Description": "list of unreceived acknowledgement sequences" + }, + { + "Parameter": "height", + "Type": "types.Height", + "Description": "query block height" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsRequest.json new file mode 100644 index 00000000..64d0524c --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsRequest.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "port unique identifier", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "channel unique identifier", + "Required": "Yes" + }, + { + "Parameter": "packet_commitment_sequences", + "Type": "uint64 array", + "Description": "list of packet sequences", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsResponse.json new file mode 100644 index 00000000..3ba337b4 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryUnreceivedPacketsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "sequences", + "Type": "uint64 array", + "Description": "list of unreceived packet sequences" + }, + { + "Parameter": "height", + "Type": "types.Height", + "Description": "query block height" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorRequest.json new file mode 100644 index 00000000..0663df38 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorResponse.json new file mode 100644 index 00000000..6ae31bd4 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeErrorResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "error_receipt", + "Type": "ErrorReceipt", + "Description": "" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.Height", + "Description": "height at which the proof was retrieved" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUpgradeRequest.json b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeRequest.json new file mode 100644 index 00000000..0663df38 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "port_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "channel_id", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/QueryUpgradeResponse.json b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeResponse.json new file mode 100644 index 00000000..65a0c687 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/QueryUpgradeResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "upgrade", + "Type": "Upgrade", + "Description": "" + }, + { + "Parameter": "proof", + "Type": "byte array", + "Description": "merkle proof of existence" + }, + { + "Parameter": "proof_height", + "Type": "types.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 new file mode 100644 index 00000000..2f60f9c7 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/Timeout.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "height", + "Type": "types.Height", + "Description": "block height after which the packet or upgrade times out" + }, + { + "Parameter": "timestamp", + "Type": "uint64", + "Description": "block timestamp (in nanoseconds) after which the packet or upgrade times out" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/Upgrade.json b/source/json_tables/ibc/core/04-channel/types/Upgrade.json new file mode 100644 index 00000000..5c7da350 --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/Upgrade.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "fields", + "Type": "UpgradeFields", + "Description": "" + }, + { + "Parameter": "timeout", + "Type": "Timeout", + "Description": "" + }, + { + "Parameter": "next_sequence_send", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/04-channel/types/UpgradeFields.json b/source/json_tables/ibc/core/04-channel/types/UpgradeFields.json new file mode 100644 index 00000000..c605b2ec --- /dev/null +++ b/source/json_tables/ibc/core/04-channel/types/UpgradeFields.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "ordering", + "Type": "Order", + "Description": "" + }, + { + "Parameter": "connection_hops", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "version", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/23-commitment/types/MerklePath.json b/source/json_tables/ibc/core/23-commitment/types/MerklePath.json new file mode 100644 index 00000000..c1e56973 --- /dev/null +++ b/source/json_tables/ibc/core/23-commitment/types/MerklePath.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "key_path", + "Type": "string array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/23-commitment/types/MerklePrefix.json b/source/json_tables/ibc/core/23-commitment/types/MerklePrefix.json new file mode 100644 index 00000000..e922b61b --- /dev/null +++ b/source/json_tables/ibc/core/23-commitment/types/MerklePrefix.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "key_prefix", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/23-commitment/types/MerkleProof.json b/source/json_tables/ibc/core/23-commitment/types/MerkleProof.json new file mode 100644 index 00000000..c4cbf9ed --- /dev/null +++ b/source/json_tables/ibc/core/23-commitment/types/MerkleProof.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "proofs", + "Type": "_go.CommitmentProof array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/23-commitment/types/MerkleRoot.json b/source/json_tables/ibc/core/23-commitment/types/MerkleRoot.json new file mode 100644 index 00000000..64bab4df --- /dev/null +++ b/source/json_tables/ibc/core/23-commitment/types/MerkleRoot.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "hash", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/core/channel/v1/Order.json b/source/json_tables/ibc/core/channel/v1/Order.json new file mode 100644 index 00000000..3a2f130a --- /dev/null +++ b/source/json_tables/ibc/core/channel/v1/Order.json @@ -0,0 +1,14 @@ +[ + { + "Code": "0", + "Name": "ORDER_NONE_UNSPECIFIED" + }, + { + "Code": "1", + "Name": "ORDER_UNORDERED" + }, + { + "Code": "2", + "Name": "ORDER_ORDERED" + } +] diff --git a/source/json_tables/ibc/core/channel/v1/ResponseResultType.json b/source/json_tables/ibc/core/channel/v1/ResponseResultType.json new file mode 100644 index 00000000..d56cfffb --- /dev/null +++ b/source/json_tables/ibc/core/channel/v1/ResponseResultType.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "RESPONSE_RESULT_TYPE_UNSPECIFIED" + }, + { + "Code": "1", + "Name": "RESPONSE_RESULT_TYPE_NOOP" + }, + { + "Code": "2", + "Name": "RESPONSE_RESULT_TYPE_SUCCESS" + }, + { + "Code": "3", + "Name": "RESPONSE_RESULT_TYPE_FAILURE" + } +] diff --git a/source/json_tables/ibc/core/channel/v1/State.json b/source/json_tables/ibc/core/channel/v1/State.json new file mode 100644 index 00000000..6858df8d --- /dev/null +++ b/source/json_tables/ibc/core/channel/v1/State.json @@ -0,0 +1,30 @@ +[ + { + "Code": "0", + "Name": "STATE_UNINITIALIZED_UNSPECIFIED" + }, + { + "Code": "1", + "Name": "STATE_INIT" + }, + { + "Code": "2", + "Name": "STATE_TRYOPEN" + }, + { + "Code": "3", + "Name": "STATE_OPEN" + }, + { + "Code": "4", + "Name": "STATE_CLOSED" + }, + { + "Code": "5", + "Name": "STATE_FLUSHING" + }, + { + "Code": "6", + "Name": "STATE_FLUSHCOMPLETE" + } +] diff --git a/source/json_tables/ibc/core/connection/v1/State.json b/source/json_tables/ibc/core/connection/v1/State.json new file mode 100644 index 00000000..d1a65879 --- /dev/null +++ b/source/json_tables/ibc/core/connection/v1/State.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "STATE_UNINITIALIZED_UNSPECIFIED" + }, + { + "Code": "1", + "Name": "STATE_INIT" + }, + { + "Code": "2", + "Name": "STATE_TRYOPEN" + }, + { + "Code": "3", + "Name": "STATE_OPEN" + } +] diff --git a/source/json_tables/ibc/core/types/GenesisState.json b/source/json_tables/ibc/core/types/GenesisState.json new file mode 100644 index 00000000..d2dbc455 --- /dev/null +++ b/source/json_tables/ibc/core/types/GenesisState.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "client_genesis", + "Type": "types.GenesisState", + "Description": "ICS002 - Clients genesis state" + }, + { + "Parameter": "connection_genesis", + "Type": "types1.GenesisState", + "Description": "ICS003 - Connections genesis state" + }, + { + "Parameter": "channel_genesis", + "Type": "types2.GenesisState", + "Description": "ICS004 - Channel genesis state" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/Checksums.json b/source/json_tables/ibc/light-clients/08-wasm/types/Checksums.json new file mode 100644 index 00000000..217e4478 --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/Checksums.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "checksums", + "Type": "][byte array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/ClientMessage.json b/source/json_tables/ibc/light-clients/08-wasm/types/ClientMessage.json new file mode 100644 index 00000000..a71d717b --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/ClientMessage.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + } +] 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 new file mode 100644 index 00000000..537df5fc --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/ClientState.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "bytes encoding the client state of the underlying light client implemented as a Wasm contract." + }, + { + "Parameter": "checksum", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "latest_height", + "Type": "types.Height", + "Description": "" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/ConsensusState.json b/source/json_tables/ibc/light-clients/08-wasm/types/ConsensusState.json new file mode 100644 index 00000000..75375967 --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/ConsensusState.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "bytes encoding the consensus state of the underlying light client implemented as a Wasm contract." + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/Contract.json b/source/json_tables/ibc/light-clients/08-wasm/types/Contract.json new file mode 100644 index 00000000..1416a5be --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/Contract.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "code_bytes", + "Type": "byte array", + "Description": "contract byte code" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/GenesisState.json b/source/json_tables/ibc/light-clients/08-wasm/types/GenesisState.json new file mode 100644 index 00000000..65eed517 --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/GenesisState.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "contracts", + "Type": "Contract array", + "Description": "uploaded light client wasm contracts" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/MsgMigrateContract.json b/source/json_tables/ibc/light-clients/08-wasm/types/MsgMigrateContract.json new file mode 100644 index 00000000..8db85c05 --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/MsgMigrateContract.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "client_id", + "Type": "string", + "Description": "the client id of the contract", + "Required": "Yes" + }, + { + "Parameter": "checksum", + "Type": "byte array", + "Description": "checksum is the sha256 hash of the new wasm byte code for the contract", + "Required": "Yes" + }, + { + "Parameter": "msg", + "Type": "byte array", + "Description": "the json encoded message to be passed to the contract on migration", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/MsgRemoveChecksum.json b/source/json_tables/ibc/light-clients/08-wasm/types/MsgRemoveChecksum.json new file mode 100644 index 00000000..4ed7cec4 --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/MsgRemoveChecksum.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "checksum", + "Type": "byte array", + "Description": "checksum is the sha256 hash to be removed from the store", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/MsgStoreCode.json b/source/json_tables/ibc/light-clients/08-wasm/types/MsgStoreCode.json new file mode 100644 index 00000000..46b46735 --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/MsgStoreCode.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "signer", + "Type": "string", + "Description": "signer address", + "Required": "Yes" + }, + { + "Parameter": "wasm_byte_code", + "Type": "byte array", + "Description": "wasm byte code of light client contract. It can be raw or gzip compressed", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/MsgStoreCodeResponse.json b/source/json_tables/ibc/light-clients/08-wasm/types/MsgStoreCodeResponse.json new file mode 100644 index 00000000..4e0c063d --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/MsgStoreCodeResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "checksum", + "Type": "byte array", + "Description": "checksum is the sha256 hash of the stored code" + } +] 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 new file mode 100644 index 00000000..79346d2c --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..37fdfefb --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/QueryChecksumsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "checksums", + "Type": "string array", + "Description": "checksums is a list of the hex encoded checksums of all wasm codes stored." + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/QueryCodeRequest.json b/source/json_tables/ibc/light-clients/08-wasm/types/QueryCodeRequest.json new file mode 100644 index 00000000..b8da56b9 --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/QueryCodeRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "checksum", + "Type": "string", + "Description": "checksum is a hex encoded string of the code stored.", + "Required": "Yes" + } +] diff --git a/source/json_tables/ibc/light-clients/08-wasm/types/QueryCodeResponse.json b/source/json_tables/ibc/light-clients/08-wasm/types/QueryCodeResponse.json new file mode 100644 index 00000000..a71d717b --- /dev/null +++ b/source/json_tables/ibc/light-clients/08-wasm/types/QueryCodeResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/ibc/lightclients/solomachine/v2/DataType.json b/source/json_tables/ibc/lightclients/solomachine/v2/DataType.json new file mode 100644 index 00000000..7716fdd8 --- /dev/null +++ b/source/json_tables/ibc/lightclients/solomachine/v2/DataType.json @@ -0,0 +1,42 @@ +[ + { + "Code": "0", + "Name": "DATA_TYPE_UNINITIALIZED_UNSPECIFIED" + }, + { + "Code": "1", + "Name": "DATA_TYPE_CLIENT_STATE" + }, + { + "Code": "2", + "Name": "DATA_TYPE_CONSENSUS_STATE" + }, + { + "Code": "3", + "Name": "DATA_TYPE_CONNECTION_STATE" + }, + { + "Code": "4", + "Name": "DATA_TYPE_CHANNEL_STATE" + }, + { + "Code": "5", + "Name": "DATA_TYPE_PACKET_COMMITMENT" + }, + { + "Code": "6", + "Name": "DATA_TYPE_PACKET_ACKNOWLEDGEMENT" + }, + { + "Code": "7", + "Name": "DATA_TYPE_PACKET_RECEIPT_ABSENCE" + }, + { + "Code": "8", + "Name": "DATA_TYPE_NEXT_SEQUENCE_RECV" + }, + { + "Code": "9", + "Name": "DATA_TYPE_HEADER" + } +] diff --git a/source/json_tables/indexer/accounts/accountPortfolio.json b/source/json_tables/indexer/accounts/accountPortfolio.json deleted file mode 100644 index f05d7e09..00000000 --- a/source/json_tables/indexer/accounts/accountPortfolio.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "portfolio_value", "Type": "String", "Description": "The account's portfolio value in USD"}, - {"Parameter": "available_balance", "Type": "String", "Description": "The account's available balance value in USD"}, - {"Parameter": "locked_balance", "Type": "String", "Description": "The account's locked balance value in USD"}, - {"Parameter": "unrealized_pnl", "Type": "String", "Description": "The account's total unrealized PnL value in USD"}, - {"Parameter": "subaccounts", "Type": "SubaccountPortfolio Array", "Description": "List of all subaccounts' portfolio"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/coin.json b/source/json_tables/indexer/accounts/coin.json deleted file mode 100644 index c3c1b092..00000000 --- a/source/json_tables/indexer/accounts/coin.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Token denom"}, - {"Parameter": "amount", "Type": "String", "Description": "Token amount"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/cosmosCoin.json b/source/json_tables/indexer/accounts/cosmosCoin.json deleted file mode 100644 index c3c1b092..00000000 --- a/source/json_tables/indexer/accounts/cosmosCoin.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Token denom"}, - {"Parameter": "amount", "Type": "String", "Description": "Token amount"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/orderStateRecord.json b/source/json_tables/indexer/accounts/orderStateRecord.json deleted file mode 100644 index 2d2fc376..00000000 --- a/source/json_tables/indexer/accounts/orderStateRecord.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - {"Parameter": "order_hash", "Type": "String", "Description": "Hash of the order"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccountId that this order belongs to"}, - {"Parameter": "market_id", "Type": "String", "Description": "The Market ID of the order"}, - {"Parameter": "order_type", "Type": "String", "Description": "The type of the order"}, - {"Parameter": "order_side", "Type": "String", "Description": "The side of the order"}, - {"Parameter": "state", "Type": "String", "Description": "The order state. Should be one of: booked, partial_filled, filled, canceled"}, - {"Parameter": "quantity_filled", "Type": "String", "Description": "The filled quantity of the order"}, - {"Parameter": "quantity_remaining", "Type": "String", "Description": "The unfilled quantity of the order"}, - {"Parameter": "created_at", "Type": "Integer", "Description": "Order committed timestamp in UNIX milliseconds"}, - {"Parameter": "updated_at", "Type": "Integer", "Description": "Order updated timestamp in UNIX milliseconds"}, - {"Parameter": "price", "Type": "String", "Description": "Order price"}, - {"Parameter": "margin", "Type": "String", "Description": "Margin for derivative order"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/orderStatesRequest.json b/source/json_tables/indexer/accounts/orderStatesRequest.json deleted file mode 100644 index d731c601..00000000 --- a/source/json_tables/indexer/accounts/orderStatesRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "spot_order_hashes", "Type": "String Array", "Description": "Array with the order hashes you want to fetch in spot markets", "Required": "No"}, - {"Parameter": "derivative_order_hashes", "Type": "String Array", "Description": "Array with the order hashes you want to fetch in derivative markets", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/orderStatesResponse.json b/source/json_tables/indexer/accounts/orderStatesResponse.json deleted file mode 100644 index f361707e..00000000 --- a/source/json_tables/indexer/accounts/orderStatesResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "spot_order_states", "Type": "OrderStateRecord Array", "Description": "List of the spot order state records"}, - {"Parameter": "derivative_order_states", "Type": "OrderStateRecord Array", "Description": "List of the derivative order state records"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/paging.json b/source/json_tables/indexer/accounts/paging.json deleted file mode 100644 index 77184c5b..00000000 --- a/source/json_tables/indexer/accounts/paging.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "total", "Type": "Integer", "Description": "Total number of available records"}, - {"Parameter": "from", "Type": "Integer", "Description": "Record index start"}, - {"Parameter": "to", "Type": "Integer", "Description": "Record index end"}, - {"Parameter": "count_by_subaccount", "Type": "Integer", "Description": "Count entries by subaccount"}, - {"Parameter": "next", "Type": "String Array", "Description": "List of tokens to navigate to the next pages"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/portfolioRequest.json b/source/json_tables/indexer/accounts/portfolioRequest.json deleted file mode 100644 index 451946df..00000000 --- a/source/json_tables/indexer/accounts/portfolioRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "account_address", "Type": "String", "Description": "The Injective address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/portfolioResponse.json b/source/json_tables/indexer/accounts/portfolioResponse.json deleted file mode 100644 index a7a791b7..00000000 --- a/source/json_tables/indexer/accounts/portfolioResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "portfolio", "Type": "AccountPortfolio", "Description": "Portfolio details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/reward.json b/source/json_tables/indexer/accounts/reward.json deleted file mode 100644 index e5dfb436..00000000 --- a/source/json_tables/indexer/accounts/reward.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "account_address", "Type": "String", "Description": "Account Injective address"}, - {"Parameter": "rewards", "Type": "Coin Array", "Description": "Reward coins distributed"}, - {"Parameter": "distributed_at", "Type": "Integer", "Description": "Rewards distribution timestamp in UNIX milliseconds"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/rewardsRequest.json b/source/json_tables/indexer/accounts/rewardsRequest.json deleted file mode 100644 index dd9497ab..00000000 --- a/source/json_tables/indexer/accounts/rewardsRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "epoch", "Type": "Integer", "Description": "The distribution epoch sequence number. -1 for latest", "Required": "No"}, - {"Parameter": "account_address", "Type": "String", "Description": "Account address for the rewards distribution", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/rewardsResponse.json b/source/json_tables/indexer/accounts/rewardsResponse.json deleted file mode 100644 index da9efa90..00000000 --- a/source/json_tables/indexer/accounts/rewardsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "rewards", "Type": "Reward Array", "Description": "The trading rewards distributed"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/streamSubaccountBalanceRequest.json b/source/json_tables/indexer/accounts/streamSubaccountBalanceRequest.json deleted file mode 100644 index 7b9f3c6e..00000000 --- a/source/json_tables/indexer/accounts/streamSubaccountBalanceRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "ID of the subaccount to get the balances from", "Required": "Yes"}, - {"Parameter": "denoms", "Type": "String Array", "Description": "Filter balances by denoms. If not set, the balances of all the denoms for the subaccount are provided", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/streamSubaccountBalanceResponse.json b/source/json_tables/indexer/accounts/streamSubaccountBalanceResponse.json deleted file mode 100644 index 3411d421..00000000 --- a/source/json_tables/indexer/accounts/streamSubaccountBalanceResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "balance", "Type": "SubaccountBalance", "Description": "Subaccount balance"}, - {"Parameter": "timestamp", "Type": "Integer", "Description": "Operation timestamp in Unix milliseconds"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountBalance.json b/source/json_tables/indexer/accounts/subaccountBalance.json deleted file mode 100644 index d64a9a83..00000000 --- a/source/json_tables/indexer/accounts/subaccountBalance.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "Subaccount ID"}, - {"Parameter": "account_address", "Type": "String", "Description": "Injective address of the account the subaccount belongs to"}, - {"Parameter": "denom", "Type": "String", "Description": "Token denom"}, - {"Parameter": "deposit", "Type": "SubaccountDeposit", "Description": "Deposit details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountBalanceEndpointRequest.json b/source/json_tables/indexer/accounts/subaccountBalanceEndpointRequest.json deleted file mode 100644 index 9c190d72..00000000 --- a/source/json_tables/indexer/accounts/subaccountBalanceEndpointRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "ID of the subaccount to get the balances from", "Required": "Yes"}, - {"Parameter": "denom", "Type": "String", "Description": "Filter by token denom", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountBalanceEndpointResponse.json b/source/json_tables/indexer/accounts/subaccountBalanceEndpointResponse.json deleted file mode 100644 index c7ed4da7..00000000 --- a/source/json_tables/indexer/accounts/subaccountBalanceEndpointResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "balance", "Type": "SubaccountBalance", "Description": "Balance details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountBalanceTransfer.json b/source/json_tables/indexer/accounts/subaccountBalanceTransfer.json deleted file mode 100644 index d9458923..00000000 --- a/source/json_tables/indexer/accounts/subaccountBalanceTransfer.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - {"Parameter": "transfer_type", "Type": "String", "Description": "Type of subaccount balance transfer"}, - {"Parameter": "src_subaccount_id", "Type": "String", "Description": "Subaccount ID of the sending side"}, - {"Parameter": "src_account_address", "Type": "String", "Description": "Account address of the sending side"}, - {"Parameter": "dst_subaccount_id", "Type": "String", "Description": "Subaccount ID of the receiving side"}, - {"Parameter": "dst_account_address", "Type": "String", "Description": "Account address of the receiving side"}, - {"Parameter": "amount", "Type": "CosmosCoin", "Description": "Transfer amount"}, - {"Parameter": "executed_at", "Type": "Integer", "Description": "Transfer timestamp (in milliseconds)"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountBalancesListRequest.json b/source/json_tables/indexer/accounts/subaccountBalancesListRequest.json deleted file mode 100644 index 314b7cf0..00000000 --- a/source/json_tables/indexer/accounts/subaccountBalancesListRequest.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "ID of the subaccount to get the balances from", "Required": "Yes"}, - {"Parameter": "denoms", "Type": "String", "Description": "Filter balances by denoms. If not set, the balances of all the denoms for the subaccount are provided", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountBalancesListResponse.json b/source/json_tables/indexer/accounts/subaccountBalancesListResponse.json deleted file mode 100644 index 72670880..00000000 --- a/source/json_tables/indexer/accounts/subaccountBalancesListResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "balances", "Type": "SubaccountBalance Array", "Description": "List of subaccount balances"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountDeposit.json b/source/json_tables/indexer/accounts/subaccountDeposit.json deleted file mode 100644 index ffd2949a..00000000 --- a/source/json_tables/indexer/accounts/subaccountDeposit.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "total_balance", "Type": "String", "Description": "Total balance"}, - {"Parameter": "available_balance", "Type": "String", "Description": "Available balance"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountHistoryRequest.json b/source/json_tables/indexer/accounts/subaccountHistoryRequest.json deleted file mode 100644 index 257727d9..00000000 --- a/source/json_tables/indexer/accounts/subaccountHistoryRequest.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "ID of the subaccount to get the history from", "Required": "Yes"}, - {"Parameter": "denom", "Type": "String", "Description": "Filter by token denom", "Required": "No"}, - {"Parameter": "transfer_types", "Type": "String Array", "Description": "Filter by transfer types. Valid options: internal, external, withdraw, deposit", "Required": "No"}, - {"Parameter": "skip", "Type": "Integer", "Description": "Skip the first N items from the result", "Required": "No"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Maximum number of items to be returned", "Required": "No"}, - {"Parameter": "end_time", "Type": "Integer", "Description": "Upper bound (inclusive) of account transfer history executed_at unix timestamp", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountHistoryResponse.json b/source/json_tables/indexer/accounts/subaccountHistoryResponse.json deleted file mode 100644 index 5bf086d3..00000000 --- a/source/json_tables/indexer/accounts/subaccountHistoryResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "transfers", "Type": "SubaccountBalanceTransfer Array", "Description": "Transfers list"}, - {"Parameter": "paging", "Type": "Paging", "Description": "Pagination details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountOrderSummaryRequest.json b/source/json_tables/indexer/accounts/subaccountOrderSummaryRequest.json deleted file mode 100644 index 671a6983..00000000 --- a/source/json_tables/indexer/accounts/subaccountOrderSummaryRequest.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "ID of the subaccount to get the summary from", "Required": "Yes"}, - {"Parameter": "market_id", "Type": "String", "Description": "Limit the order summary to a specific market", "Required": "No"}, - {"Parameter": "order_direction", "Type": "String", "Description": "Filter by the direction of the orders. Valid options: buy, sell", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountOrderSummaryResponse.json b/source/json_tables/indexer/accounts/subaccountOrderSummaryResponse.json deleted file mode 100644 index 5a84c7f0..00000000 --- a/source/json_tables/indexer/accounts/subaccountOrderSummaryResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "spot_orders_total", "Type": "Integer", "Description": "Total count of subaccount's spot orders in given market and direction"}, - {"Parameter": "derivative_orders_total", "Type": "Integer", "Description": "Total count of subaccount's derivative orders in given market and direction"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountPortfolio.json b/source/json_tables/indexer/accounts/subaccountPortfolio.json deleted file mode 100644 index d6b14e64..00000000 --- a/source/json_tables/indexer/accounts/subaccountPortfolio.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "subaccount_id", "Type": "String", "Description": "The subaccount ID"}, - {"Parameter": "available_balance", "Type": "String", "Description": "The subaccount's available balance value in USD"}, - {"Parameter": "locked_balance", "Type": "String", "Description": "The subaccount's locked balance value in USD"}, - {"Parameter": "unrealized_pnl", "Type": "String", "Description": "The subaccount's total unrealized PnL value in USD"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountsListRequest.json b/source/json_tables/indexer/accounts/subaccountsListRequest.json deleted file mode 100644 index 42c7d999..00000000 --- a/source/json_tables/indexer/accounts/subaccountsListRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "account_address", "Type": "String", "Description": "Injective address of the account to query for subaccounts", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/accounts/subaccountsListResponse.json b/source/json_tables/indexer/accounts/subaccountsListResponse.json deleted file mode 100644 index 751e7ce6..00000000 --- a/source/json_tables/indexer/accounts/subaccountsListResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "subaccounts", "Type": "String Array", "Description": "Subaccounts list"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/auction/auction.json b/source/json_tables/indexer/auction/auction.json deleted file mode 100644 index 85b66c25..00000000 --- a/source/json_tables/indexer/auction/auction.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "winner", "Type": "String", "Description": "Account Injective address"}, - {"Parameter": "basket", "Type": "Coin Array", "Description": "Coins in the basket"}, - {"Parameter": "winning_bid_amount", "Type": "String", "Description": "Amount of the highest bid (in INJ)"}, - {"Parameter": "round", "Type": "Integer", "Description": "The auction round number"}, - {"Parameter": "end_timestamp", "Type": "Integer", "Description": "Auction end timestamp in UNIX milliseconds"}, - {"Parameter": "updated_at", "Type": "Integer", "Description": "The timestamp of the last update in UNIX milliseconds"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/auction/auctionEndpointRequest.json b/source/json_tables/indexer/auction/auctionEndpointRequest.json deleted file mode 100644 index 87daf76e..00000000 --- a/source/json_tables/indexer/auction/auctionEndpointRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "round", "Type": "Integer", "Description": "The auction round number, -1 for latest", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/auction/auctionEndpointResponse.json b/source/json_tables/indexer/auction/auctionEndpointResponse.json deleted file mode 100644 index 30291f40..00000000 --- a/source/json_tables/indexer/auction/auctionEndpointResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "auction", "Type": "Auction", "Description": "Auction details"}, - {"Parameter": "bids", "Type": "Bid Array", "Description": "Auction's bids"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/auction/auctionsResponse.json b/source/json_tables/indexer/auction/auctionsResponse.json deleted file mode 100644 index 10438b80..00000000 --- a/source/json_tables/indexer/auction/auctionsResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "auctions", "Type": "Auction Array", "Description": "List of auctions"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/auction/bid.json b/source/json_tables/indexer/auction/bid.json deleted file mode 100644 index 66ed371b..00000000 --- a/source/json_tables/indexer/auction/bid.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "bidder", "Type": "String", "Description": "Bidder account Injective address"}, - {"Parameter": "amount", "Type": "String", "Description": "The bid amount"}, - {"Parameter": "timestamp", "Type": "Integer", "Description": "Bid timestamp in UNIX millis"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/auction/coin.json b/source/json_tables/indexer/auction/coin.json deleted file mode 100644 index c3c1b092..00000000 --- a/source/json_tables/indexer/auction/coin.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Token denom"}, - {"Parameter": "amount", "Type": "String", "Description": "Token amount"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/auction/injBurntEndpointResponse.json b/source/json_tables/indexer/auction/injBurntEndpointResponse.json deleted file mode 100644 index 94e53a4e..00000000 --- a/source/json_tables/indexer/auction/injBurntEndpointResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "total_inj_burnt", "Type": "Decimal", "Description": "The total amount of INJ burnt in auctions"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/auction/streamBidsResponse.json b/source/json_tables/indexer/auction/streamBidsResponse.json deleted file mode 100644 index a40dee80..00000000 --- a/source/json_tables/indexer/auction/streamBidsResponse.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "bidder", "Type": "String", "Description": "The bidder Injective address"}, - {"Parameter": "bid_amount", "Type": "String", "Description": "The bid amount (in INJ)"}, - {"Parameter": "round", "Type": "Integer", "Description": "The auction round number"}, - {"Parameter": "timestamp", "Type": "Integer", "Description": "Bid timestamp in UNIX milliseconds"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/derivative/auctionEndpointRequest.json b/source/json_tables/indexer/derivative/auctionEndpointRequest.json deleted file mode 100644 index 39fa9b02..00000000 --- a/source/json_tables/indexer/derivative/auctionEndpointRequest.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "MarketId of the market's trades we want to fetch", "Required": "No"}, - {"Parameter": "execution_side", "Type": "String", "Description": "Either maker or taker", "Required": "No"}, - {"Parameter": "direction", "Type": "String", "Description": "Trade direction", "Required": "No"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "ID of the subaccount the trades belong to", "Required": "No"}, - {"Parameter": "skip", "Type": "Integer", "Description": "Will skipt the first N items from the result", "Required": "No"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Maximum number of items to be returned", "Required": "No"}, - {"Parameter": "start_time", "Type": "Integer", "Description": "The starting timestamp in UNIX milliseconds that the trades must be equal or older than", "Required": "No"}, - {"Parameter": "end_time", "Type": "Integer", "Description": "The ending timestamp in UNIX milliseconds that the trades must be equal or newer than", "Required": "No"}, - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of MarketIDs the trades can belong to", "Required": "No"}, - {"Parameter": "subacount_ids", "Type": "String Array", "Description": "Subaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts", "Required": "No"}, - {"Parameter": "execution_types", "Type": "String Array", "Description": "List of execution types. The execution types are: market, limitFill, limitMatchRestingOrder, limitMatchNewOrder", "Required": "No"}, - {"Parameter": "trade_id", "Type": "String", "Description": "ID of the trade to return", "Required": "No"}, - {"Parameter": "account_address", "Type": "String", "Description": "Injective address the trade belongs to", "Required": "No"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID of the order generating the trade", "Required": "No"}, - {"Parameter": "fee_recipient", "Type": "String", "Description": "Injective address of the fee recipient", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/derivative/streamTradesV2Request.json b/source/json_tables/indexer/derivative/streamTradesV2Request.json deleted file mode 100644 index 39fa9b02..00000000 --- a/source/json_tables/indexer/derivative/streamTradesV2Request.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "MarketId of the market's trades we want to fetch", "Required": "No"}, - {"Parameter": "execution_side", "Type": "String", "Description": "Either maker or taker", "Required": "No"}, - {"Parameter": "direction", "Type": "String", "Description": "Trade direction", "Required": "No"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "ID of the subaccount the trades belong to", "Required": "No"}, - {"Parameter": "skip", "Type": "Integer", "Description": "Will skipt the first N items from the result", "Required": "No"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Maximum number of items to be returned", "Required": "No"}, - {"Parameter": "start_time", "Type": "Integer", "Description": "The starting timestamp in UNIX milliseconds that the trades must be equal or older than", "Required": "No"}, - {"Parameter": "end_time", "Type": "Integer", "Description": "The ending timestamp in UNIX milliseconds that the trades must be equal or newer than", "Required": "No"}, - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of MarketIDs the trades can belong to", "Required": "No"}, - {"Parameter": "subacount_ids", "Type": "String Array", "Description": "Subaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts", "Required": "No"}, - {"Parameter": "execution_types", "Type": "String Array", "Description": "List of execution types. The execution types are: market, limitFill, limitMatchRestingOrder, limitMatchNewOrder", "Required": "No"}, - {"Parameter": "trade_id", "Type": "String", "Description": "ID of the trade to return", "Required": "No"}, - {"Parameter": "account_address", "Type": "String", "Description": "Injective address the trade belongs to", "Required": "No"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID of the order generating the trade", "Required": "No"}, - {"Parameter": "fee_recipient", "Type": "String", "Description": "Injective address of the fee recipient", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/derivative/tradesV2Request.json b/source/json_tables/indexer/derivative/tradesV2Request.json deleted file mode 100644 index 39fa9b02..00000000 --- a/source/json_tables/indexer/derivative/tradesV2Request.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "MarketId of the market's trades we want to fetch", "Required": "No"}, - {"Parameter": "execution_side", "Type": "String", "Description": "Either maker or taker", "Required": "No"}, - {"Parameter": "direction", "Type": "String", "Description": "Trade direction", "Required": "No"}, - {"Parameter": "subaccount_id", "Type": "String", "Description": "ID of the subaccount the trades belong to", "Required": "No"}, - {"Parameter": "skip", "Type": "Integer", "Description": "Will skipt the first N items from the result", "Required": "No"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Maximum number of items to be returned", "Required": "No"}, - {"Parameter": "start_time", "Type": "Integer", "Description": "The starting timestamp in UNIX milliseconds that the trades must be equal or older than", "Required": "No"}, - {"Parameter": "end_time", "Type": "Integer", "Description": "The ending timestamp in UNIX milliseconds that the trades must be equal or newer than", "Required": "No"}, - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of MarketIDs the trades can belong to", "Required": "No"}, - {"Parameter": "subacount_ids", "Type": "String Array", "Description": "Subaccount ids of traders we want to get trades. Use this field for fetching trades from multiple subaccounts", "Required": "No"}, - {"Parameter": "execution_types", "Type": "String Array", "Description": "List of execution types. The execution types are: market, limitFill, limitMatchRestingOrder, limitMatchNewOrder", "Required": "No"}, - {"Parameter": "trade_id", "Type": "String", "Description": "ID of the trade to return", "Required": "No"}, - {"Parameter": "account_address", "Type": "String", "Description": "Injective address the trade belongs to", "Required": "No"}, - {"Parameter": "cid", "Type": "String", "Description": "The client order ID of the order generating the trade", "Required": "No"}, - {"Parameter": "fee_recipient", "Type": "String", "Description": "Injective address of the fee recipient", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/event_provider_api/ABCIAttribute.json b/source/json_tables/indexer/event_provider_api/ABCIAttribute.json new file mode 100644 index 00000000..bb3e93a2 --- /dev/null +++ b/source/json_tables/indexer/event_provider_api/ABCIAttribute.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "key", + "Type": "string", + "Description": "" + }, + { + "Parameter": "value", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/indexer_new/event_provider_api/ABCIEvent.json b/source/json_tables/indexer/event_provider_api/ABCIEvent.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/ABCIEvent.json rename to source/json_tables/indexer/event_provider_api/ABCIEvent.json diff --git a/source/json_tables/indexer_new/event_provider_api/ABCIResponseDeliverTx.json b/source/json_tables/indexer/event_provider_api/ABCIResponseDeliverTx.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/ABCIResponseDeliverTx.json rename to source/json_tables/indexer/event_provider_api/ABCIResponseDeliverTx.json diff --git a/source/json_tables/indexer_new/event_provider_api/BasicBlockInfo.json b/source/json_tables/indexer/event_provider_api/BasicBlockInfo.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/BasicBlockInfo.json rename to source/json_tables/indexer/event_provider_api/BasicBlockInfo.json diff --git a/source/json_tables/indexer_new/event_provider_api/Block.json b/source/json_tables/indexer/event_provider_api/Block.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/Block.json rename to source/json_tables/indexer/event_provider_api/Block.json diff --git a/source/json_tables/indexer_new/event_provider_api/BlockEvent.json b/source/json_tables/indexer/event_provider_api/BlockEvent.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/BlockEvent.json rename to source/json_tables/indexer/event_provider_api/BlockEvent.json diff --git a/source/json_tables/indexer_new/event_provider_api/BlockEventsRPC.json b/source/json_tables/indexer/event_provider_api/BlockEventsRPC.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/BlockEventsRPC.json rename to source/json_tables/indexer/event_provider_api/BlockEventsRPC.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetABCIBlockEventsAtHeightRequest.json b/source/json_tables/indexer/event_provider_api/GetABCIBlockEventsAtHeightRequest.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetABCIBlockEventsAtHeightRequest.json rename to source/json_tables/indexer/event_provider_api/GetABCIBlockEventsAtHeightRequest.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetABCIBlockEventsAtHeightResponse.json b/source/json_tables/indexer/event_provider_api/GetABCIBlockEventsAtHeightResponse.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetABCIBlockEventsAtHeightResponse.json rename to source/json_tables/indexer/event_provider_api/GetABCIBlockEventsAtHeightResponse.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetABCIBlockEventsRequest.json b/source/json_tables/indexer/event_provider_api/GetABCIBlockEventsRequest.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetABCIBlockEventsRequest.json rename to source/json_tables/indexer/event_provider_api/GetABCIBlockEventsRequest.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetABCIBlockEventsResponse.json b/source/json_tables/indexer/event_provider_api/GetABCIBlockEventsResponse.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetABCIBlockEventsResponse.json rename to source/json_tables/indexer/event_provider_api/GetABCIBlockEventsResponse.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetBlockEventsRPCRequest.json b/source/json_tables/indexer/event_provider_api/GetBlockEventsRPCRequest.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetBlockEventsRPCRequest.json rename to source/json_tables/indexer/event_provider_api/GetBlockEventsRPCRequest.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetBlockEventsRPCResponse.json b/source/json_tables/indexer/event_provider_api/GetBlockEventsRPCResponse.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetBlockEventsRPCResponse.json rename to source/json_tables/indexer/event_provider_api/GetBlockEventsRPCResponse.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetCustomEventsRPCRequest.json b/source/json_tables/indexer/event_provider_api/GetCustomEventsRPCRequest.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetCustomEventsRPCRequest.json rename to source/json_tables/indexer/event_provider_api/GetCustomEventsRPCRequest.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetCustomEventsRPCResponse.json b/source/json_tables/indexer/event_provider_api/GetCustomEventsRPCResponse.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetCustomEventsRPCResponse.json rename to source/json_tables/indexer/event_provider_api/GetCustomEventsRPCResponse.json diff --git a/source/json_tables/indexer_new/event_provider_api/GetLatestHeightResponse.json b/source/json_tables/indexer/event_provider_api/GetLatestHeightResponse.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/GetLatestHeightResponse.json rename to source/json_tables/indexer/event_provider_api/GetLatestHeightResponse.json diff --git a/source/json_tables/indexer_new/event_provider_api/LatestBlockHeight.json b/source/json_tables/indexer/event_provider_api/LatestBlockHeight.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/LatestBlockHeight.json rename to source/json_tables/indexer/event_provider_api/LatestBlockHeight.json diff --git a/source/json_tables/indexer_new/event_provider_api/RawBlock.json b/source/json_tables/indexer/event_provider_api/RawBlock.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/RawBlock.json rename to source/json_tables/indexer/event_provider_api/RawBlock.json diff --git a/source/json_tables/indexer_new/event_provider_api/StreamBlockEventsRequest.json b/source/json_tables/indexer/event_provider_api/StreamBlockEventsRequest.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/StreamBlockEventsRequest.json rename to source/json_tables/indexer/event_provider_api/StreamBlockEventsRequest.json diff --git a/source/json_tables/indexer_new/event_provider_api/StreamBlockEventsResponse.json b/source/json_tables/indexer/event_provider_api/StreamBlockEventsResponse.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/StreamBlockEventsResponse.json rename to source/json_tables/indexer/event_provider_api/StreamBlockEventsResponse.json diff --git a/source/json_tables/indexer_new/event_provider_api/StreamLatestHeightResponse.json b/source/json_tables/indexer/event_provider_api/StreamLatestHeightResponse.json similarity index 100% rename from source/json_tables/indexer_new/event_provider_api/StreamLatestHeightResponse.json rename to source/json_tables/indexer/event_provider_api/StreamLatestHeightResponse.json diff --git a/source/json_tables/indexer/explorer/bankTransfer.json b/source/json_tables/indexer/explorer/bankTransfer.json deleted file mode 100644 index 0dce3ed0..00000000 --- a/source/json_tables/indexer/explorer/bankTransfer.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "sender", "Type": "String", "Description": "Transfer sender Injective address"}, - {"Parameter": "recipient", "Type": "String", "Description": "Transfer recipient Injective address"}, - {"Parameter": "amount", "Type": "Coin Array", "Description": "Transfer amounts"}, - {"Parameter": "block_number", "Type": "Integer", "Description": "Number of the block the transfer was included in"}, - {"Parameter": "block_timestamp", "Type": "String", "Description": "Timestamp of the block the transfer was included in"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/coin.json b/source/json_tables/indexer/explorer/coin.json deleted file mode 100644 index ddff55cd..00000000 --- a/source/json_tables/indexer/explorer/coin.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Token denomination"}, - {"Parameter": "amount", "Type": "String", "Description": "Token amount"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/cosmosCoin.json b/source/json_tables/indexer/explorer/cosmosCoin.json deleted file mode 100644 index c3c1b092..00000000 --- a/source/json_tables/indexer/explorer/cosmosCoin.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "denom", "Type": "String", "Description": "Token denom"}, - {"Parameter": "amount", "Type": "String", "Description": "Token amount"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/event.json b/source/json_tables/indexer/explorer/event.json deleted file mode 100644 index b5079f12..00000000 --- a/source/json_tables/indexer/explorer/event.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "type", "Type": "String", "Description": "Event type"}, - {"Parameter": "attributes", "Type": "Map", "Description": "Event details. Attributes are key-value pairs"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/gasFee.json b/source/json_tables/indexer/explorer/gasFee.json deleted file mode 100644 index f6f9444b..00000000 --- a/source/json_tables/indexer/explorer/gasFee.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "amount", "Type": "CosmosCoin", "Description": "Fee amount"}, - {"Parameter": "gas_limit", "Type": "Integer", "Description": "Gas limit"}, - {"Parameter": "payer", "Type": "String", "Description": "Payer's Injective address"}, - {"Parameter": "granter", "Type": "String", "Description": "Granter's Injective address"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getBankTransfersRequest.json b/source/json_tables/indexer/explorer/getBankTransfersRequest.json deleted file mode 100644 index 406d281c..00000000 --- a/source/json_tables/indexer/explorer/getBankTransfersRequest.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - {"Parameter": "senders", "Type": "String Array", "Description": "List of senders' Injective address", "Required": "No"}, - {"Parameter": "recipients", "Type": "String Array", "Description": "List of recipients' Injective address", "Required": "No"}, - {"Parameter": "is_community_pool_related", "Type": "Boolean", "Description": "Returns transfers with the community pool address as either sender or recipient", "Required": "No"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Max number of items to be returned, defaults to 100", "Required": "No"}, - {"Parameter": "skip", "Type": "Integer", "Description": "Skip the first N results. This can be used to fetch all results since the API caps at 100", "Required": "No"}, - {"Parameter": "start_time", "Type": "Integer", "Description": "The starting timestamp in UNIX milliseconds that the transfers must be equal or older than", "Required": "No"}, - {"Parameter": "end_time", "Type": "Integer", "Description": "The ending timestamp in UNIX milliseconds that the transfers must be equal or younger than", "Required": "No"}, - {"Parameter": "address", "Type": "String Array", "Description": "Transfers where either the sender or the recipient is one of the addresses", "Required": "No"}, - {"Parameter": "per_page", "Type": "Integer", "Description": "Number of results to include per page", "Required": "No"}, - {"Parameter": "token", "Type": "String", "Description": "Token specifying the next page of results to get", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getBankTransfersResponse.json b/source/json_tables/indexer/explorer/getBankTransfersResponse.json deleted file mode 100644 index a5f19be5..00000000 --- a/source/json_tables/indexer/explorer/getBankTransfersResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "paging", "Type": "Paging", "Description": "Pagination details of the response's result set"}, - {"Parameter": "data", "Type": "BankTransfer Array", "Description": "List of bank transfers details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getContractTxsRequest.json b/source/json_tables/indexer/explorer/getContractTxsRequest.json deleted file mode 100644 index 3569a4c2..00000000 --- a/source/json_tables/indexer/explorer/getContractTxsRequest.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "address", "Type": "String", "Description": "The contract's Injective address", "Required": "Yes"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Max number of items to be returned, defaults to 100", "Required": "No"}, - {"Parameter": "skip", "Type": "Integer", "Description": "Skip the first N results. This can be used to fetch all results since the API caps at 100", "Required": "No"}, - {"Parameter": "from_number", "Type": "Integer", "Description": "List all contracts whose number is not lower than from_number", "Required": "No"}, - {"Parameter": "to_number", "Type": "Integer", "Description": "List all contracts whose number is not greater than to_number", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getContractTxsResponse.json b/source/json_tables/indexer/explorer/getContractTxsResponse.json deleted file mode 100644 index 38497c80..00000000 --- a/source/json_tables/indexer/explorer/getContractTxsResponse.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "paging", "Type": "Paging", "Description": "Pagination details of the response's result set"}, - {"Parameter": "data", "Type": "TxDetailData", "Description": "Transaction details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getContractTxsV2Request.json b/source/json_tables/indexer/explorer/getContractTxsV2Request.json deleted file mode 100644 index 63be071f..00000000 --- a/source/json_tables/indexer/explorer/getContractTxsV2Request.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "address", "Type": "String", "Description": "The contract's Injective address", "Required": "Yes"}, - {"Parameter": "height", "Type": "Integer", "Description": "Transaction height", "Required": "No"}, - {"Parameter": "from", "Type": "Integer", "Description": "Unix timestamp (UTC) in milliseconds", "Required": "No"}, - {"Parameter": "to", "Type": "Integer", "Description": "Unix timestamp (UTC) in milliseconds", "Required": "No"}, - {"Parameter": "limit", "Type": "Integer", "Description": "Max number of items to be returned, defaults to 100", "Required": "No"}, - {"Parameter": "token", "Type": "String", "Description": "Pagination token", "Required": "No"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getContractTxsV2Response.json b/source/json_tables/indexer/explorer/getContractTxsV2Response.json deleted file mode 100644 index 856bc3a9..00000000 --- a/source/json_tables/indexer/explorer/getContractTxsV2Response.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "next", "Type": "String Array", "Description": "Pagination details of the response's result set"}, - {"Parameter": "data", "Type": "TxDetailData", "Description": "Transaction details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getValidatorRequest.json b/source/json_tables/indexer/explorer/getValidatorRequest.json deleted file mode 100644 index 0765cd06..00000000 --- a/source/json_tables/indexer/explorer/getValidatorRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "address", "Type": "String", "Description": "Validator Injective address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getValidatorResponse.json b/source/json_tables/indexer/explorer/getValidatorResponse.json deleted file mode 100644 index 2c0a6735..00000000 --- a/source/json_tables/indexer/explorer/getValidatorResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "s", "Type": "String", "Description": "Status of the response"}, - {"Parameter": "errmsg", "Type": "String", "Description": "Error message"}, - {"Parameter": "data", "Type": "Validator", "Description": "Validator details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getValidatorUptimeRequest.json b/source/json_tables/indexer/explorer/getValidatorUptimeRequest.json deleted file mode 100644 index 0765cd06..00000000 --- a/source/json_tables/indexer/explorer/getValidatorUptimeRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "address", "Type": "String", "Description": "Validator Injective address", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getValidatorUptimeResponse.json b/source/json_tables/indexer/explorer/getValidatorUptimeResponse.json deleted file mode 100644 index d03ceef5..00000000 --- a/source/json_tables/indexer/explorer/getValidatorUptimeResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "s", "Type": "String", "Description": "Status of the response"}, - {"Parameter": "errmsg", "Type": "String", "Description": "Error message"}, - {"Parameter": "data", "Type": "ValidatorUptime Array", "Description": "Validator uptime details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/getValidatorsResponse.json b/source/json_tables/indexer/explorer/getValidatorsResponse.json deleted file mode 100644 index 2c0a6735..00000000 --- a/source/json_tables/indexer/explorer/getValidatorsResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - {"Parameter": "s", "Type": "String", "Description": "Status of the response"}, - {"Parameter": "errmsg", "Type": "String", "Description": "Error message"}, - {"Parameter": "data", "Type": "Validator", "Description": "Validator details"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/paging.json b/source/json_tables/indexer/explorer/paging.json deleted file mode 100644 index ff199dc0..00000000 --- a/source/json_tables/indexer/explorer/paging.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - {"Parameter": "total", "Type": "Integer", "Description": "Total number of txs saved in database"}, - {"Parameter": "from", "Type": "Integer", "Description": "Can be either block height or index number"}, - {"Parameter": "to", "Type": "Integer", "Description": "Can be either block height or index number"}, - {"Parameter": "count_by_subaccount", "Type": "Integer", "Description": "Count entries by subaccount"}, - {"Parameter": "next", "Type": "String Array", "Description": "List of tokens to navigate to the next pages"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/relayer.json b/source/json_tables/indexer/explorer/relayer.json deleted file mode 100644 index e280ed94..00000000 --- a/source/json_tables/indexer/explorer/relayer.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "name", "Type": "String", "Description": "Relayer's identifier"}, - {"Parameter": "cta", "Type": "String", "Description": "Call to action. A link to the relayer"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/relayerMarkets.json b/source/json_tables/indexer/explorer/relayerMarkets.json deleted file mode 100644 index a4846615..00000000 --- a/source/json_tables/indexer/explorer/relayerMarkets.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "market_id", "Type": "String", "Description": "Market identifier"}, - {"Parameter": "relayers", "Type": "Relayer Array", "Description": "Market relayers list"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/relayersRequest.json b/source/json_tables/indexer/explorer/relayersRequest.json deleted file mode 100644 index 2d8c8a49..00000000 --- a/source/json_tables/indexer/explorer/relayersRequest.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "market_ids", "Type": "String Array", "Description": "List of Market IDs to query the relayers", "Required": "Yes"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/relayersResponse.json b/source/json_tables/indexer/explorer/relayersResponse.json deleted file mode 100644 index 20e9e9c7..00000000 --- a/source/json_tables/indexer/explorer/relayersResponse.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - {"Parameter": "field", "Type": "RelayerMarkets Array", "Description": "Relayers information"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/signature.json b/source/json_tables/indexer/explorer/signature.json deleted file mode 100644 index 02c4a32e..00000000 --- a/source/json_tables/indexer/explorer/signature.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - {"Parameter": "pubkey", "Type": "String", "Description": "Public key"}, - {"Parameter": "address", "Type": "String", "Description": "Injective address"}, - {"Parameter": "sequence", "Type": "Integer", "Description": "Sinature sequence number"}, - {"Parameter": "signature", "Type": "String", "Description": "Signature"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/txDetailData.json b/source/json_tables/indexer/explorer/txDetailData.json deleted file mode 100644 index 6cbc7b45..00000000 --- a/source/json_tables/indexer/explorer/txDetailData.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - {"Parameter": "id", "Type": "String", "Description": "Transaction ID"}, - {"Parameter": "block_number", "Type": "Integer", "Description": "Number of the block that included the transaction"}, - {"Parameter": "block_timestamp", "Type": "String", "Description": "Timestamp of the block that included the transaction"}, - {"Parameter": "hash", "Type": "String", "Description": "Transaction hash"}, - {"Parameter": "code", "Type": "Integer", "Description": "Transaction result code"}, - {"Parameter": "data", "Type": "Byte Array", "Description": "Transaction data"}, - {"Parameter": "info", "Type": "String", "Description": "Transaction information"}, - {"Parameter": "gas_wanted", "Type": "Integer", "Description": "Amount of gas sent by the user to process the transaction"}, - {"Parameter": "gas_used", "Type": "Integer", "Description": "Amount of gas used by the chain to process the transaction"}, - {"Parameter": "gas_fee", "Type": "GasFee", "Description": "Fee paid for the gas consumption"}, - {"Parameter": "codespace", "Type": "String", "Description": "Transaction codespace"}, - {"Parameter": "events", "Type": "Event Array", "Description": "List of events associated with the transaction"}, - {"Parameter": "tx_type", "Type": "String", "Description": "Transaction type"}, - {"Parameter": "messages", "Type": "Byte Array", "Description": "Transaction messages"}, - {"Parameter": "signatures", "Type": "Signature Array", "Description": "Transaction signature"}, - {"Parameter": "memo", "Type": "String", "Description": "Transaction memo"}, - {"Parameter": "tx_number", "Type": "Integer", "Description": "Transaction number"}, - {"Parameter": "block_unix_timestamp", "Type": "Integer", "Description": "Timestamp of the block including the transaction, in Unix format in milliseconds"}, - {"Parameter": "errorLog", "Type": "String", "Description": "Transaction error logs"}, - {"Parameter": "logs", "Type": "Byte Array", "Description": "Transaction log"}, - {"Parameter": "claim_ids", "Type": "Integer Array", "Description": "Peggy bridge claim id, non-zero if tx contains MsgDepositClaim"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/validator.json b/source/json_tables/indexer/explorer/validator.json deleted file mode 100644 index 90bca53e..00000000 --- a/source/json_tables/indexer/explorer/validator.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - {"Parameter": "id", "Type": "String", "Description": "Validator ID"}, - {"Parameter": "moniker", "Type": "String", "Description": "Validator's moniker"}, - {"Parameter": "operator_address", "Type": "String", "Description": "Injective address"}, - {"Parameter": "consensus_address", "Type": "String", "Description": "Consensus Injective address"}, - {"Parameter": "jailed", "Type": "Boolean", "Description": "Validator's jain status"}, - {"Parameter": "status", "Type": "Integer", "Description": "Validator's status"}, - {"Parameter": "tokens", "Type": "String", "Description": "Amount of tokens"}, - {"Parameter": "delegator_shares", "Type": "String", "Description": "Amount of shares"}, - {"Parameter": "description", "Type": "ValidatorDescription", "Description": "Validator's description"}, - {"Parameter": "unbonding_height", "Type": "Integer", "Description": "Unbonding height"}, - {"Parameter": "unbonding_time", "Type": "String", "Description": "Unbonding timestamp"}, - {"Parameter": "commission_rate", "Type": "String", "Description": "The commission rate"}, - {"Parameter": "commission_max_rate", "Type": "String", "Description": "The max commission rate"}, - {"Parameter": "commission_max_change_rate", "Type": "String", "Description": "Max change rate"}, - {"Parameter": "commission_update_time", "Type": "String", "Description": "Commission update timestamp"}, - {"Parameter": "proposed", "Type": "Integer", "Description": "Number of proposed blocks"}, - {"Parameter": "signed", "Type": "Integer", "Description": "Number of blocks signed"}, - {"Parameter": "missed", "Type": "Integer", "Description": "Number of missed blocks"}, - {"Parameter": "timestamp", "Type": "String", "Description": "Timestamp"}, - {"Parameter": "uptimes", "Type": "ValidatorUptime", "Description": "Validator uptime"}, - {"Parameter": "slashing_events", "Type": "SlashingEvent", "Description": "Slashing event details"}, - {"Parameter": "uptime_percentage", "Type": "Float", "Description": "Uptime percentage base on latest 10k block"}, - {"Parameter": "image_url", "Type": "String", "Description": "URL of the validator's logo"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/validatorDescription.json b/source/json_tables/indexer/explorer/validatorDescription.json deleted file mode 100644 index b8bb6e3c..00000000 --- a/source/json_tables/indexer/explorer/validatorDescription.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - {"Parameter": "moniker", "Type": "String", "Description": "Validator's moniker"}, - {"Parameter": "identity", "Type": "String", "Description": "Validator's ID"}, - {"Parameter": "website", "Type": "String", "Description": "Validator's website URL"}, - {"Parameter": "security_contact", "Type": "String", "Description": "Contact data"}, - {"Parameter": "details", "Type": "String", "Description": ""}, - {"Parameter": "image_url", "Type": "String", "Description": "URL of the validator's logo"} -] \ No newline at end of file diff --git a/source/json_tables/indexer/explorer/validatorUptime.json b/source/json_tables/indexer/explorer/validatorUptime.json deleted file mode 100644 index 943c3f03..00000000 --- a/source/json_tables/indexer/explorer/validatorUptime.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - {"Parameter": "blockNumber", "Type": "Integer", "Description": "Block number"}, - {"Parameter": "status", "Type": "String", "Description": "Status"} -] \ No newline at end of file diff --git a/source/json_tables/indexer_new/health/GetStatusResponse.json b/source/json_tables/indexer/health/GetStatusResponse.json similarity index 100% rename from source/json_tables/indexer_new/health/GetStatusResponse.json rename to source/json_tables/indexer/health/GetStatusResponse.json diff --git a/source/json_tables/indexer_new/health/HealthStatus.json b/source/json_tables/indexer/health/HealthStatus.json similarity index 100% rename from source/json_tables/indexer_new/health/HealthStatus.json rename to source/json_tables/indexer/health/HealthStatus.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/AccountPortfolio.json b/source/json_tables/indexer/injective_accounts_rpc/AccountPortfolio.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/AccountPortfolio.json rename to source/json_tables/indexer/injective_accounts_rpc/AccountPortfolio.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/Coin.json b/source/json_tables/indexer/injective_accounts_rpc/Coin.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/Coin.json rename to source/json_tables/indexer/injective_accounts_rpc/Coin.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/CosmosCoin.json b/source/json_tables/indexer/injective_accounts_rpc/CosmosCoin.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/CosmosCoin.json rename to source/json_tables/indexer/injective_accounts_rpc/CosmosCoin.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/DerivativeLimitOrder.json b/source/json_tables/indexer/injective_accounts_rpc/DerivativeLimitOrder.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/DerivativeLimitOrder.json rename to source/json_tables/indexer/injective_accounts_rpc/DerivativeLimitOrder.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/DerivativeOrderHistory.json b/source/json_tables/indexer/injective_accounts_rpc/DerivativeOrderHistory.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/DerivativeOrderHistory.json rename to source/json_tables/indexer/injective_accounts_rpc/DerivativeOrderHistory.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/DerivativeTrade.json b/source/json_tables/indexer/injective_accounts_rpc/DerivativeTrade.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/DerivativeTrade.json rename to source/json_tables/indexer/injective_accounts_rpc/DerivativeTrade.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/FundingPayment.json b/source/json_tables/indexer/injective_accounts_rpc/FundingPayment.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/FundingPayment.json rename to source/json_tables/indexer/injective_accounts_rpc/FundingPayment.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/FundingPaymentResult.json b/source/json_tables/indexer/injective_accounts_rpc/FundingPaymentResult.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/FundingPaymentResult.json rename to source/json_tables/indexer/injective_accounts_rpc/FundingPaymentResult.json diff --git a/source/json_tables/indexer/injective_accounts_rpc/OrderHistoryResult.json b/source/json_tables/indexer/injective_accounts_rpc/OrderHistoryResult.json new file mode 100644 index 00000000..cc792631 --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/OrderHistoryResult.json @@ -0,0 +1,12 @@ +[ + { + "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_accounts_rpc/OrderHistoryResult_DerivativeOrderHistory.json b/source/json_tables/indexer/injective_accounts_rpc/OrderHistoryResult_DerivativeOrderHistory.json new file mode 100644 index 00000000..cad26c5e --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/OrderHistoryResult_DerivativeOrderHistory.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "derivative_order_history", + "Type": "DerivativeOrderHistory", + "Description": "Derivative order history" + } +] diff --git a/source/json_tables/indexer/injective_accounts_rpc/OrderHistoryResult_SpotOrderHistory.json b/source/json_tables/indexer/injective_accounts_rpc/OrderHistoryResult_SpotOrderHistory.json new file mode 100644 index 00000000..d962fbbf --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/OrderHistoryResult_SpotOrderHistory.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "spot_order_history", + "Type": "SpotOrderHistory", + "Description": "Spot order history" + } +] diff --git a/source/json_tables/indexer/injective_accounts_rpc/OrderResult.json b/source/json_tables/indexer/injective_accounts_rpc/OrderResult.json new file mode 100644 index 00000000..1bbc6e1e --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/OrderResult.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "operation_type", + "Type": "string", + "Description": "Executed orders update type" + }, + { + "Parameter": "timestamp", + "Type": "int64", + "Description": "Operation timestamp in UNIX millis." + } +] diff --git a/source/json_tables/indexer/injective_accounts_rpc/OrderResult_DerivativeOrder.json b/source/json_tables/indexer/injective_accounts_rpc/OrderResult_DerivativeOrder.json new file mode 100644 index 00000000..31225cc7 --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/OrderResult_DerivativeOrder.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "derivative_order", + "Type": "DerivativeLimitOrder", + "Description": "Updated derivative market order" + } +] diff --git a/source/json_tables/indexer/injective_accounts_rpc/OrderResult_SpotOrder.json b/source/json_tables/indexer/injective_accounts_rpc/OrderResult_SpotOrder.json new file mode 100644 index 00000000..3e7e8004 --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/OrderResult_SpotOrder.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "spot_order", + "Type": "SpotLimitOrder", + "Description": "Updated spot market order" + } +] diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/OrderStateRecord.json b/source/json_tables/indexer/injective_accounts_rpc/OrderStateRecord.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/OrderStateRecord.json rename to source/json_tables/indexer/injective_accounts_rpc/OrderStateRecord.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/OrderStatesRequest.json b/source/json_tables/indexer/injective_accounts_rpc/OrderStatesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/OrderStatesRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/OrderStatesRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/OrderStatesResponse.json b/source/json_tables/indexer/injective_accounts_rpc/OrderStatesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/OrderStatesResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/OrderStatesResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/Paging.json b/source/json_tables/indexer/injective_accounts_rpc/Paging.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/Paging.json rename to source/json_tables/indexer/injective_accounts_rpc/Paging.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/PortfolioRequest.json b/source/json_tables/indexer/injective_accounts_rpc/PortfolioRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/PortfolioRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/PortfolioRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/PortfolioResponse.json b/source/json_tables/indexer/injective_accounts_rpc/PortfolioResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/PortfolioResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/PortfolioResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/Position.json b/source/json_tables/indexer/injective_accounts_rpc/Position.json similarity index 83% rename from source/json_tables/indexer_new/injective_accounts_rpc/Position.json rename to source/json_tables/indexer/injective_accounts_rpc/Position.json index d24573fe..41eb17d4 100644 --- a/source/json_tables/indexer_new/injective_accounts_rpc/Position.json +++ b/source/json_tables/indexer/injective_accounts_rpc/Position.json @@ -53,5 +53,15 @@ "Parameter": "created_at", "Type": "int64", "Description": "Position created timestamp in UNIX millis." + }, + { + "Parameter": "funding_last", + "Type": "string", + "Description": "Last funding fees since position opened" + }, + { + "Parameter": "funding_sum", + "Type": "string", + "Description": "Net funding fees since position opened" } ] diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/PositionDelta.json b/source/json_tables/indexer/injective_accounts_rpc/PositionDelta.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/PositionDelta.json rename to source/json_tables/indexer/injective_accounts_rpc/PositionDelta.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/PositionsResult.json b/source/json_tables/indexer/injective_accounts_rpc/PositionsResult.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/PositionsResult.json rename to source/json_tables/indexer/injective_accounts_rpc/PositionsResult.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/PriceLevel.json b/source/json_tables/indexer/injective_accounts_rpc/PriceLevel.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/PriceLevel.json rename to source/json_tables/indexer/injective_accounts_rpc/PriceLevel.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/Reward.json b/source/json_tables/indexer/injective_accounts_rpc/Reward.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/Reward.json rename to source/json_tables/indexer/injective_accounts_rpc/Reward.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/RewardsRequest.json b/source/json_tables/indexer/injective_accounts_rpc/RewardsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/RewardsRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/RewardsRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/RewardsResponse.json b/source/json_tables/indexer/injective_accounts_rpc/RewardsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/RewardsResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/RewardsResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SpotLimitOrder.json b/source/json_tables/indexer/injective_accounts_rpc/SpotLimitOrder.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SpotLimitOrder.json rename to source/json_tables/indexer/injective_accounts_rpc/SpotLimitOrder.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SpotOrderHistory.json b/source/json_tables/indexer/injective_accounts_rpc/SpotOrderHistory.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SpotOrderHistory.json rename to source/json_tables/indexer/injective_accounts_rpc/SpotOrderHistory.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SpotTrade.json b/source/json_tables/indexer/injective_accounts_rpc/SpotTrade.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SpotTrade.json rename to source/json_tables/indexer/injective_accounts_rpc/SpotTrade.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/StreamAccountDataRequest.json b/source/json_tables/indexer/injective_accounts_rpc/StreamAccountDataRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/StreamAccountDataRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/StreamAccountDataRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/StreamAccountDataResponse.json b/source/json_tables/indexer/injective_accounts_rpc/StreamAccountDataResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/StreamAccountDataResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/StreamAccountDataResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/StreamSubaccountBalanceRequest.json b/source/json_tables/indexer/injective_accounts_rpc/StreamSubaccountBalanceRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/StreamSubaccountBalanceRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/StreamSubaccountBalanceRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/StreamSubaccountBalanceResponse.json b/source/json_tables/indexer/injective_accounts_rpc/StreamSubaccountBalanceResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/StreamSubaccountBalanceResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/StreamSubaccountBalanceResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalance.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountBalance.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalance.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountBalance.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalanceEndpointRequest.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountBalanceEndpointRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalanceEndpointRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountBalanceEndpointRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalanceEndpointResponse.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountBalanceEndpointResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalanceEndpointResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountBalanceEndpointResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalanceResult.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountBalanceResult.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalanceResult.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountBalanceResult.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalanceTransfer.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountBalanceTransfer.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalanceTransfer.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountBalanceTransfer.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalancesListRequest.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountBalancesListRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalancesListRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountBalancesListRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalancesListResponse.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountBalancesListResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountBalancesListResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountBalancesListResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountDeposit.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountDeposit.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountDeposit.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountDeposit.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountHistoryRequest.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountHistoryRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountHistoryResponse.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountHistoryResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountOrderSummaryRequest.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountOrderSummaryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountOrderSummaryRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountOrderSummaryRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountOrderSummaryResponse.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountOrderSummaryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountOrderSummaryResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountOrderSummaryResponse.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountPortfolio.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountPortfolio.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountPortfolio.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountPortfolio.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountsListRequest.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountsListRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountsListRequest.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountsListRequest.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/SubaccountsListResponse.json b/source/json_tables/indexer/injective_accounts_rpc/SubaccountsListResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_accounts_rpc/SubaccountsListResponse.json rename to source/json_tables/indexer/injective_accounts_rpc/SubaccountsListResponse.json diff --git a/source/json_tables/indexer/injective_accounts_rpc/TradeResult.json b/source/json_tables/indexer/injective_accounts_rpc/TradeResult.json new file mode 100644 index 00000000..54e1b1ef --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/TradeResult.json @@ -0,0 +1,12 @@ +[ + { + "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_accounts_rpc/TradeResult_DerivativeTrade.json b/source/json_tables/indexer/injective_accounts_rpc/TradeResult_DerivativeTrade.json new file mode 100644 index 00000000..d69d4e6a --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/TradeResult_DerivativeTrade.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "derivative_trade", + "Type": "DerivativeTrade", + "Description": "New derivative market trade" + } +] diff --git a/source/json_tables/indexer/injective_accounts_rpc/TradeResult_SpotTrade.json b/source/json_tables/indexer/injective_accounts_rpc/TradeResult_SpotTrade.json new file mode 100644 index 00000000..76382576 --- /dev/null +++ b/source/json_tables/indexer/injective_accounts_rpc/TradeResult_SpotTrade.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "spot_trade", + "Type": "SpotTrade", + "Description": "New spot market trade" + } +] diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/AccountStatsRequest.json b/source/json_tables/indexer/injective_archiver_rpc/AccountStatsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/AccountStatsRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/AccountStatsRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/AccountStatsResponse.json b/source/json_tables/indexer/injective_archiver_rpc/AccountStatsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/AccountStatsResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/AccountStatsResponse.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/BalanceRequest.json b/source/json_tables/indexer/injective_archiver_rpc/BalanceRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/BalanceRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/BalanceRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/BalanceResponse.json b/source/json_tables/indexer/injective_archiver_rpc/BalanceResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/BalanceResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/BalanceResponse.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/DenomHoldersRequest.json b/source/json_tables/indexer/injective_archiver_rpc/DenomHoldersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/DenomHoldersRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/DenomHoldersRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/DenomHoldersResponse.json b/source/json_tables/indexer/injective_archiver_rpc/DenomHoldersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/DenomHoldersResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/DenomHoldersResponse.json diff --git a/source/json_tables/indexer/injective_archiver_rpc/HistoricalBalance.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalBalance.json new file mode 100644 index 00000000..e7f4c614 --- /dev/null +++ b/source/json_tables/indexer/injective_archiver_rpc/HistoricalBalance.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "t", + "Type": "int32 array", + "Description": "Time, Unix timestamp (UTC)" + }, + { + "Parameter": "v", + "Type": "float64 array", + "Description": "Balance value" + }, + { + "Parameter": "dv", + "Type": "HistoricalDetailedBalance array", + "Description": "Detailed Balance value" + } +] diff --git a/source/json_tables/indexer/injective_archiver_rpc/HistoricalDetailedBalance.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalDetailedBalance.json new file mode 100644 index 00000000..69520464 --- /dev/null +++ b/source/json_tables/indexer/injective_archiver_rpc/HistoricalDetailedBalance.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "spot", + "Type": "float64", + "Description": "Spot amount value" + }, + { + "Parameter": "perp", + "Type": "float64", + "Description": "Perpetual amount value" + } +] diff --git a/source/json_tables/indexer/injective_archiver_rpc/HistoricalDetailedPNL.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalDetailedPNL.json new file mode 100644 index 00000000..5da5ba95 --- /dev/null +++ b/source/json_tables/indexer/injective_archiver_rpc/HistoricalDetailedPNL.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "rpnl", + "Type": "float64", + "Description": "Realized Profit and Loss value" + }, + { + "Parameter": "upnl", + "Type": "float64", + "Description": "Unrealized Profit and Loss value" + } +] diff --git a/source/json_tables/indexer/injective_archiver_rpc/HistoricalRPNL.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalRPNL.json new file mode 100644 index 00000000..b365a0c2 --- /dev/null +++ b/source/json_tables/indexer/injective_archiver_rpc/HistoricalRPNL.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "t", + "Type": "int32 array", + "Description": "Time, Unix timestamp (UTC)" + }, + { + "Parameter": "v", + "Type": "float64 array", + "Description": "Realized Profit and Loss value" + }, + { + "Parameter": "dv", + "Type": "HistoricalDetailedPNL array", + "Description": "Detailed Profit and Loss value" + } +] diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalTrade.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalTrade.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/HistoricalTrade.json rename to source/json_tables/indexer/injective_archiver_rpc/HistoricalTrade.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalTradesRequest.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalTradesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/HistoricalTradesRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/HistoricalTradesRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalTradesResponse.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalTradesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/HistoricalTradesResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/HistoricalTradesResponse.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalVolumes.json b/source/json_tables/indexer/injective_archiver_rpc/HistoricalVolumes.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/HistoricalVolumes.json rename to source/json_tables/indexer/injective_archiver_rpc/HistoricalVolumes.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/Holder.json b/source/json_tables/indexer/injective_archiver_rpc/Holder.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/Holder.json rename to source/json_tables/indexer/injective_archiver_rpc/Holder.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/LeaderboardRow.json b/source/json_tables/indexer/injective_archiver_rpc/LeaderboardRow.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/LeaderboardRow.json rename to source/json_tables/indexer/injective_archiver_rpc/LeaderboardRow.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/PnlLeaderboardFixedResolutionRequest.json b/source/json_tables/indexer/injective_archiver_rpc/PnlLeaderboardFixedResolutionRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/PnlLeaderboardFixedResolutionRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/PnlLeaderboardFixedResolutionRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/PnlLeaderboardFixedResolutionResponse.json b/source/json_tables/indexer/injective_archiver_rpc/PnlLeaderboardFixedResolutionResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/PnlLeaderboardFixedResolutionResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/PnlLeaderboardFixedResolutionResponse.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/PnlLeaderboardRequest.json b/source/json_tables/indexer/injective_archiver_rpc/PnlLeaderboardRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/PnlLeaderboardRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/PnlLeaderboardRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/PnlLeaderboardResponse.json b/source/json_tables/indexer/injective_archiver_rpc/PnlLeaderboardResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/PnlLeaderboardResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/PnlLeaderboardResponse.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/PriceLevel.json b/source/json_tables/indexer/injective_archiver_rpc/PriceLevel.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/PriceLevel.json rename to source/json_tables/indexer/injective_archiver_rpc/PriceLevel.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/RpnlRequest.json b/source/json_tables/indexer/injective_archiver_rpc/RpnlRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/RpnlRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/RpnlRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/RpnlResponse.json b/source/json_tables/indexer/injective_archiver_rpc/RpnlResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/RpnlResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/RpnlResponse.json diff --git a/source/json_tables/indexer/injective_archiver_rpc/SpotAverageEntry.json b/source/json_tables/indexer/injective_archiver_rpc/SpotAverageEntry.json new file mode 100644 index 00000000..b1f9cf43 --- /dev/null +++ b/source/json_tables/indexer/injective_archiver_rpc/SpotAverageEntry.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "market_id", + "Type": "string", + "Description": "The ID of the market" + }, + { + "Parameter": "average_entry_price", + "Type": "string", + "Description": "The average entry price for the spot market" + }, + { + "Parameter": "quantity", + "Type": "string", + "Description": "The total quantity held in the spot market" + }, + { + "Parameter": "usd_value", + "Type": "string", + "Description": "The USD value of the total quantity held in the spot market" + } +] diff --git a/source/json_tables/indexer/injective_archiver_rpc/StreamSpotAverageEntriesRequest.json b/source/json_tables/indexer/injective_archiver_rpc/StreamSpotAverageEntriesRequest.json new file mode 100644 index 00000000..3af302c8 --- /dev/null +++ b/source/json_tables/indexer/injective_archiver_rpc/StreamSpotAverageEntriesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "account", + "Type": "string", + "Description": "Account address", + "Required": "Yes" + } +] diff --git a/source/json_tables/indexer/injective_archiver_rpc/StreamSpotAverageEntriesResponse.json b/source/json_tables/indexer/injective_archiver_rpc/StreamSpotAverageEntriesResponse.json new file mode 100644 index 00000000..15ff265a --- /dev/null +++ b/source/json_tables/indexer/injective_archiver_rpc/StreamSpotAverageEntriesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "average_entry", + "Type": "SpotAverageEntry", + "Description": "List of spot average entries" + }, + { + "Parameter": "timestamp", + "Type": "int64", + "Description": "Operation timestamp in UNIX." + } +] diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/VolLeaderboardFixedResolutionRequest.json b/source/json_tables/indexer/injective_archiver_rpc/VolLeaderboardFixedResolutionRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/VolLeaderboardFixedResolutionRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/VolLeaderboardFixedResolutionRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/VolLeaderboardFixedResolutionResponse.json b/source/json_tables/indexer/injective_archiver_rpc/VolLeaderboardFixedResolutionResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/VolLeaderboardFixedResolutionResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/VolLeaderboardFixedResolutionResponse.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/VolLeaderboardRequest.json b/source/json_tables/indexer/injective_archiver_rpc/VolLeaderboardRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/VolLeaderboardRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/VolLeaderboardRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/VolLeaderboardResponse.json b/source/json_tables/indexer/injective_archiver_rpc/VolLeaderboardResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/VolLeaderboardResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/VolLeaderboardResponse.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/VolumesRequest.json b/source/json_tables/indexer/injective_archiver_rpc/VolumesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/VolumesRequest.json rename to source/json_tables/indexer/injective_archiver_rpc/VolumesRequest.json diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/VolumesResponse.json b/source/json_tables/indexer/injective_archiver_rpc/VolumesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_archiver_rpc/VolumesResponse.json rename to source/json_tables/indexer/injective_archiver_rpc/VolumesResponse.json diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionV2.json b/source/json_tables/indexer/injective_auction_rpc/AccountAuctionV2.json similarity index 92% rename from source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionV2.json rename to source/json_tables/indexer/injective_auction_rpc/AccountAuctionV2.json index ae5bd335..2ee3524c 100644 --- a/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionV2.json +++ b/source/json_tables/indexer/injective_auction_rpc/AccountAuctionV2.json @@ -21,7 +21,7 @@ }, { "Parameter": "claimed_assets", - "Type": "ClaimedAssets array", + "Type": "CoinPrices array", "Description": "" } ] diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Request.json b/source/json_tables/indexer/injective_auction_rpc/AccountAuctionsV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Request.json rename to source/json_tables/indexer/injective_auction_rpc/AccountAuctionsV2Request.json diff --git a/source/json_tables/indexer/injective_auction_rpc/AccountAuctionsV2Response.json b/source/json_tables/indexer/injective_auction_rpc/AccountAuctionsV2Response.json new file mode 100644 index 00000000..c3e94400 --- /dev/null +++ b/source/json_tables/indexer/injective_auction_rpc/AccountAuctionsV2Response.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "auctions", + "Type": "AccountAuctionV2 array", + "Description": "The historical auctions" + }, + { + "Parameter": "next", + "Type": "string array", + "Description": "Next tokens for pagination" + }, + { + "Parameter": "total", + "Type": "int64", + "Description": "Total number of auctions" + } +] diff --git a/source/json_tables/indexer_new/injective_auction_rpc/Auction.json b/source/json_tables/indexer/injective_auction_rpc/Auction.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/Auction.json rename to source/json_tables/indexer/injective_auction_rpc/Auction.json diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionContract.json b/source/json_tables/indexer/injective_auction_rpc/AuctionContract.json similarity index 89% rename from source/json_tables/indexer_new/injective_auction_rpc/AuctionContract.json rename to source/json_tables/indexer/injective_auction_rpc/AuctionContract.json index 0c9eb65e..66341099 100644 --- a/source/json_tables/indexer_new/injective_auction_rpc/AuctionContract.json +++ b/source/json_tables/indexer/injective_auction_rpc/AuctionContract.json @@ -43,5 +43,10 @@ "Parameter": "end_timestamp", "Type": "uint64", "Description": "Auction end timestamp in UNIX millis." + }, + { + "Parameter": "max_round_allocation", + "Type": "string", + "Description": "Max round allocation of the auction" } ] diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionEndpointRequest.json b/source/json_tables/indexer/injective_auction_rpc/AuctionEndpointRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/AuctionEndpointRequest.json rename to source/json_tables/indexer/injective_auction_rpc/AuctionEndpointRequest.json diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionEndpointResponse.json b/source/json_tables/indexer/injective_auction_rpc/AuctionEndpointResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/AuctionEndpointResponse.json rename to source/json_tables/indexer/injective_auction_rpc/AuctionEndpointResponse.json diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Request.json b/source/json_tables/indexer/injective_auction_rpc/AuctionV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Request.json rename to source/json_tables/indexer/injective_auction_rpc/AuctionV2Request.json diff --git a/source/json_tables/indexer/injective_auction_rpc/AuctionV2Response.json b/source/json_tables/indexer/injective_auction_rpc/AuctionV2Response.json new file mode 100644 index 00000000..744415cd --- /dev/null +++ b/source/json_tables/indexer/injective_auction_rpc/AuctionV2Response.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "winner", + "Type": "string", + "Description": "Account address of the auction winner" + }, + { + "Parameter": "basket", + "Type": "CoinPrices array", + "Description": "Coins in the basket" + }, + { + "Parameter": "winning_bid_amount", + "Type": "string", + "Description": "" + }, + { + "Parameter": "round", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "end_timestamp", + "Type": "int64", + "Description": "Auction end timestamp in UNIX millis." + }, + { + "Parameter": "updated_at", + "Type": "int64", + "Description": "UpdatedAt timestamp in UNIX millis." + }, + { + "Parameter": "contract", + "Type": "AuctionContract", + "Description": "" + }, + { + "Parameter": "winning_bid_amount_usd", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/indexer/injective_auction_rpc/AuctionV2Result.json b/source/json_tables/indexer/injective_auction_rpc/AuctionV2Result.json new file mode 100644 index 00000000..744415cd --- /dev/null +++ b/source/json_tables/indexer/injective_auction_rpc/AuctionV2Result.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "winner", + "Type": "string", + "Description": "Account address of the auction winner" + }, + { + "Parameter": "basket", + "Type": "CoinPrices array", + "Description": "Coins in the basket" + }, + { + "Parameter": "winning_bid_amount", + "Type": "string", + "Description": "" + }, + { + "Parameter": "round", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "end_timestamp", + "Type": "int64", + "Description": "Auction end timestamp in UNIX millis." + }, + { + "Parameter": "updated_at", + "Type": "int64", + "Description": "UpdatedAt timestamp in UNIX millis." + }, + { + "Parameter": "contract", + "Type": "AuctionContract", + "Description": "" + }, + { + "Parameter": "winning_bid_amount_usd", + "Type": "string", + "Description": "" + } +] diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Request.json b/source/json_tables/indexer/injective_auction_rpc/AuctionsHistoryV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Request.json rename to source/json_tables/indexer/injective_auction_rpc/AuctionsHistoryV2Request.json diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Response.json b/source/json_tables/indexer/injective_auction_rpc/AuctionsHistoryV2Response.json similarity index 84% rename from source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Response.json rename to source/json_tables/indexer/injective_auction_rpc/AuctionsHistoryV2Response.json index d632977e..81206d06 100644 --- a/source/json_tables/indexer_new/injective_auction_rpc/AuctionsHistoryV2Response.json +++ b/source/json_tables/indexer/injective_auction_rpc/AuctionsHistoryV2Response.json @@ -1,7 +1,7 @@ [ { "Parameter": "auctions", - "Type": "Auction array", + "Type": "AuctionV2Result array", "Description": "The historical auctions" }, { diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionsResponse.json b/source/json_tables/indexer/injective_auction_rpc/AuctionsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/AuctionsResponse.json rename to source/json_tables/indexer/injective_auction_rpc/AuctionsResponse.json diff --git a/source/json_tables/indexer/injective_auction_rpc/AuctionsStatsResponse.json b/source/json_tables/indexer/injective_auction_rpc/AuctionsStatsResponse.json new file mode 100644 index 00000000..696da181 --- /dev/null +++ b/source/json_tables/indexer/injective_auction_rpc/AuctionsStatsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "total_burnt", + "Type": "string", + "Description": "Total cumulative amount of INJ burnt in auctions" + }, + { + "Parameter": "total_usd_value", + "Type": "string", + "Description": "Total cumulative historical basket value in USD of all auctions" + } +] diff --git a/source/json_tables/indexer_new/injective_auction_rpc/Bid.json b/source/json_tables/indexer/injective_auction_rpc/Bid.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/Bid.json rename to source/json_tables/indexer/injective_auction_rpc/Bid.json diff --git a/source/json_tables/indexer_new/injective_auction_rpc/ClaimedAssets.json b/source/json_tables/indexer/injective_auction_rpc/ClaimedAssets.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/ClaimedAssets.json rename to source/json_tables/indexer/injective_auction_rpc/ClaimedAssets.json diff --git a/source/json_tables/indexer_new/injective_auction_rpc/Coin.json b/source/json_tables/indexer/injective_auction_rpc/Coin.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/Coin.json rename to source/json_tables/indexer/injective_auction_rpc/Coin.json diff --git a/source/json_tables/indexer/injective_auction_rpc/CoinPrices.json b/source/json_tables/indexer/injective_auction_rpc/CoinPrices.json new file mode 100644 index 00000000..a4fa01a0 --- /dev/null +++ b/source/json_tables/indexer/injective_auction_rpc/CoinPrices.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "denom", + "Type": "string", + "Description": "Denom of the coin" + }, + { + "Parameter": "amount", + "Type": "string", + "Description": "" + }, + { + "Parameter": "prices", + "Type": "map[string]string", + "Description": "Map of historical prices." + } +] diff --git a/source/json_tables/indexer_new/injective_auction_rpc/InjBurntEndpointResponse.json b/source/json_tables/indexer/injective_auction_rpc/InjBurntEndpointResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/InjBurntEndpointResponse.json rename to source/json_tables/indexer/injective_auction_rpc/InjBurntEndpointResponse.json diff --git a/source/json_tables/indexer_new/injective_auction_rpc/StreamBidsResponse.json b/source/json_tables/indexer/injective_auction_rpc/StreamBidsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_auction_rpc/StreamBidsResponse.json rename to source/json_tables/indexer/injective_auction_rpc/StreamBidsResponse.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/Campaign.json b/source/json_tables/indexer/injective_campaign_rpc/Campaign.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/Campaign.json rename to source/json_tables/indexer/injective_campaign_rpc/Campaign.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/CampaignSummary.json b/source/json_tables/indexer/injective_campaign_rpc/CampaignSummary.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/CampaignSummary.json rename to source/json_tables/indexer/injective_campaign_rpc/CampaignSummary.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/CampaignUser.json b/source/json_tables/indexer/injective_campaign_rpc/CampaignUser.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/CampaignUser.json rename to source/json_tables/indexer/injective_campaign_rpc/CampaignUser.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/CampaignV2.json b/source/json_tables/indexer/injective_campaign_rpc/CampaignV2.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/CampaignV2.json rename to source/json_tables/indexer/injective_campaign_rpc/CampaignV2.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/CampaignsRequest.json b/source/json_tables/indexer/injective_campaign_rpc/CampaignsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/CampaignsRequest.json rename to source/json_tables/indexer/injective_campaign_rpc/CampaignsRequest.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/CampaignsResponse.json b/source/json_tables/indexer/injective_campaign_rpc/CampaignsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/CampaignsResponse.json rename to source/json_tables/indexer/injective_campaign_rpc/CampaignsResponse.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/CampaignsV2Request.json b/source/json_tables/indexer/injective_campaign_rpc/CampaignsV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/CampaignsV2Request.json rename to source/json_tables/indexer/injective_campaign_rpc/CampaignsV2Request.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/CampaignsV2Response.json b/source/json_tables/indexer/injective_campaign_rpc/CampaignsV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/CampaignsV2Response.json rename to source/json_tables/indexer/injective_campaign_rpc/CampaignsV2Response.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/Coin.json b/source/json_tables/indexer/injective_campaign_rpc/Coin.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/Coin.json rename to source/json_tables/indexer/injective_campaign_rpc/Coin.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/GetGuildMemberRequest.json b/source/json_tables/indexer/injective_campaign_rpc/GetGuildMemberRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/GetGuildMemberRequest.json rename to source/json_tables/indexer/injective_campaign_rpc/GetGuildMemberRequest.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/GetGuildMemberResponse.json b/source/json_tables/indexer/injective_campaign_rpc/GetGuildMemberResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/GetGuildMemberResponse.json rename to source/json_tables/indexer/injective_campaign_rpc/GetGuildMemberResponse.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/Guild.json b/source/json_tables/indexer/injective_campaign_rpc/Guild.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/Guild.json rename to source/json_tables/indexer/injective_campaign_rpc/Guild.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/GuildMember.json b/source/json_tables/indexer/injective_campaign_rpc/GuildMember.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/GuildMember.json rename to source/json_tables/indexer/injective_campaign_rpc/GuildMember.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/ListGuildMembersRequest.json b/source/json_tables/indexer/injective_campaign_rpc/ListGuildMembersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/ListGuildMembersRequest.json rename to source/json_tables/indexer/injective_campaign_rpc/ListGuildMembersRequest.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/ListGuildMembersResponse.json b/source/json_tables/indexer/injective_campaign_rpc/ListGuildMembersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/ListGuildMembersResponse.json rename to source/json_tables/indexer/injective_campaign_rpc/ListGuildMembersResponse.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/ListGuildsRequest.json b/source/json_tables/indexer/injective_campaign_rpc/ListGuildsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/ListGuildsRequest.json rename to source/json_tables/indexer/injective_campaign_rpc/ListGuildsRequest.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/ListGuildsResponse.json b/source/json_tables/indexer/injective_campaign_rpc/ListGuildsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/ListGuildsResponse.json rename to source/json_tables/indexer/injective_campaign_rpc/ListGuildsResponse.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/Paging.json b/source/json_tables/indexer/injective_campaign_rpc/Paging.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/Paging.json rename to source/json_tables/indexer/injective_campaign_rpc/Paging.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/RankingRequest.json b/source/json_tables/indexer/injective_campaign_rpc/RankingRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/RankingRequest.json rename to source/json_tables/indexer/injective_campaign_rpc/RankingRequest.json diff --git a/source/json_tables/indexer_new/injective_campaign_rpc/RankingResponse.json b/source/json_tables/indexer/injective_campaign_rpc/RankingResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_campaign_rpc/RankingResponse.json rename to source/json_tables/indexer/injective_campaign_rpc/RankingResponse.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/AllDerivativeMarketSummaryRequest.json b/source/json_tables/indexer/injective_chart_rpc/AllDerivativeMarketSummaryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/AllDerivativeMarketSummaryRequest.json rename to source/json_tables/indexer/injective_chart_rpc/AllDerivativeMarketSummaryRequest.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/AllDerivativeMarketSummaryResponse.json b/source/json_tables/indexer/injective_chart_rpc/AllDerivativeMarketSummaryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/AllDerivativeMarketSummaryResponse.json rename to source/json_tables/indexer/injective_chart_rpc/AllDerivativeMarketSummaryResponse.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/AllSpotMarketSummaryRequest.json b/source/json_tables/indexer/injective_chart_rpc/AllSpotMarketSummaryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/AllSpotMarketSummaryRequest.json rename to source/json_tables/indexer/injective_chart_rpc/AllSpotMarketSummaryRequest.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/AllSpotMarketSummaryResponse.json b/source/json_tables/indexer/injective_chart_rpc/AllSpotMarketSummaryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/AllSpotMarketSummaryResponse.json rename to source/json_tables/indexer/injective_chart_rpc/AllSpotMarketSummaryResponse.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/DerivativeMarketHistoryRequest.json b/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/DerivativeMarketHistoryRequest.json rename to source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/DerivativeMarketHistoryResponse.json b/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/DerivativeMarketHistoryResponse.json rename to source/json_tables/indexer/injective_chart_rpc/DerivativeMarketHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/DerivativeMarketSummaryRequest.json b/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketSummaryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/DerivativeMarketSummaryRequest.json rename to source/json_tables/indexer/injective_chart_rpc/DerivativeMarketSummaryRequest.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/DerivativeMarketSummaryResponse.json b/source/json_tables/indexer/injective_chart_rpc/DerivativeMarketSummaryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/DerivativeMarketSummaryResponse.json rename to source/json_tables/indexer/injective_chart_rpc/DerivativeMarketSummaryResponse.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/MarketSnapshotHistoryResponse.json b/source/json_tables/indexer/injective_chart_rpc/MarketSnapshotHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/MarketSnapshotHistoryResponse.json rename to source/json_tables/indexer/injective_chart_rpc/MarketSnapshotHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/MarketSnapshotRequest.json b/source/json_tables/indexer/injective_chart_rpc/MarketSnapshotRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/MarketSnapshotRequest.json rename to source/json_tables/indexer/injective_chart_rpc/MarketSnapshotRequest.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/MarketSnapshotResponse.json b/source/json_tables/indexer/injective_chart_rpc/MarketSnapshotResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/MarketSnapshotResponse.json rename to source/json_tables/indexer/injective_chart_rpc/MarketSnapshotResponse.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/MarketSummaryResp.json b/source/json_tables/indexer/injective_chart_rpc/MarketSummaryResp.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/MarketSummaryResp.json rename to source/json_tables/indexer/injective_chart_rpc/MarketSummaryResp.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/SpotMarketHistoryRequest.json b/source/json_tables/indexer/injective_chart_rpc/SpotMarketHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/SpotMarketHistoryRequest.json rename to source/json_tables/indexer/injective_chart_rpc/SpotMarketHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/SpotMarketHistoryResponse.json b/source/json_tables/indexer/injective_chart_rpc/SpotMarketHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/SpotMarketHistoryResponse.json rename to source/json_tables/indexer/injective_chart_rpc/SpotMarketHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/SpotMarketSummaryRequest.json b/source/json_tables/indexer/injective_chart_rpc/SpotMarketSummaryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/SpotMarketSummaryRequest.json rename to source/json_tables/indexer/injective_chart_rpc/SpotMarketSummaryRequest.json diff --git a/source/json_tables/indexer_new/injective_chart_rpc/SpotMarketSummaryResponse.json b/source/json_tables/indexer/injective_chart_rpc/SpotMarketSummaryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_chart_rpc/SpotMarketSummaryResponse.json rename to source/json_tables/indexer/injective_chart_rpc/SpotMarketSummaryResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketInfo.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketInfo.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketInfo.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketInfo.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketsRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketsRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketsRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketsResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/BinaryOptionsMarketsResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/BinaryOptionsMarketsResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeLimitOrder.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeLimitOrder.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeLimitOrder.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeLimitOrder.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeLimitOrderbookV2.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeLimitOrderbookV2.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeLimitOrderbookV2.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeLimitOrderbookV2.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeMarketInfo.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeMarketInfo.json similarity index 95% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeMarketInfo.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeMarketInfo.json index 9390969d..5b3ac107 100644 --- a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeMarketInfo.json +++ b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeMarketInfo.json @@ -108,5 +108,10 @@ "Parameter": "reduce_margin_ratio", "Type": "string", "Description": "Defines the reduce margin ratio of a derivative market" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "The open notional cap of the market, if any" } ] diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeOrderHistory.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeOrderHistory.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeOrderHistory.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeOrderHistory.json diff --git a/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePosition.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePosition.json new file mode 100644 index 00000000..0433f3f8 --- /dev/null +++ b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePosition.json @@ -0,0 +1,72 @@ +[ + { + "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": "aggregate_reduce_only_quantity", + "Type": "string", + "Description": "Aggregate Quantity of the Reduce Only orders associated with the position" + }, + { + "Parameter": "updated_at", + "Type": "int64", + "Description": "Position updated timestamp in UNIX millis." + }, + { + "Parameter": "created_at", + "Type": "int64", + "Description": "Position created timestamp in UNIX millis." + }, + { + "Parameter": "funding_last", + "Type": "string", + "Description": "Last funding fees since position opened" + }, + { + "Parameter": "funding_sum", + "Type": "string", + "Description": "Net funding fees since position opened" + } +] diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativePositionV2.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json similarity index 83% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativePositionV2.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json index 5c6ff18e..f8dea4b1 100644 --- a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativePositionV2.json +++ b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json @@ -53,5 +53,15 @@ "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" } ] diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeTrade.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeTrade.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativeTrade.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativeTrade.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/ExpiryFuturesMarketInfo.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/ExpiryFuturesMarketInfo.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/ExpiryFuturesMarketInfo.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/ExpiryFuturesMarketInfo.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingPayment.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/FundingPayment.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingPayment.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/FundingPayment.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingPaymentsRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/FundingPaymentsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingPaymentsRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/FundingPaymentsRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingPaymentsResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/FundingPaymentsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingPaymentsResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/FundingPaymentsResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingRate.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/FundingRate.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingRate.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/FundingRate.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingRatesRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/FundingRatesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingRatesRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/FundingRatesRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingRatesResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/FundingRatesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/FundingRatesResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/FundingRatesResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/LiquidablePositionsRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/LiquidablePositionsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/LiquidablePositionsRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/LiquidablePositionsRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/LiquidablePositionsResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/LiquidablePositionsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/LiquidablePositionsResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/LiquidablePositionsResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketOpenInterest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/MarketOpenInterest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketOpenInterest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/MarketOpenInterest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/MarketRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/MarketRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/MarketResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/MarketResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketsRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/MarketsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketsRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/MarketsRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketsResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/MarketsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/MarketsResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/MarketsResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OpenInterestRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OpenInterestRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OpenInterestRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OpenInterestRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OpenInterestResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OpenInterestResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OpenInterestResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OpenInterestResponse.json diff --git a/source/json_tables/indexer/injective_derivative_exchange_rpc/OpenNotionalCap.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OpenNotionalCap.json new file mode 100644 index 00000000..71558fb9 --- /dev/null +++ b/source/json_tables/indexer/injective_derivative_exchange_rpc/OpenNotionalCap.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "cap", + "Type": "string", + "Description": "The open notional cap of the market" + } +] diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbookLevelUpdates.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbookLevelUpdates.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbookLevelUpdates.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbookLevelUpdates.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbookV2Request.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbookV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbookV2Request.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbookV2Request.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbookV2Response.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbookV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbookV2Response.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbookV2Response.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbooksV2Request.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbooksV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbooksV2Request.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbooksV2Request.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbooksV2Response.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbooksV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrderbooksV2Response.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrderbooksV2Response.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrdersHistoryRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrdersHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrdersHistoryRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrdersHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrdersHistoryResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrdersHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrdersHistoryResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrdersHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrdersRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrdersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrdersRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrdersRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrdersResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/OrdersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/OrdersResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/OrdersResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/Paging.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/Paging.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/Paging.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/Paging.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PerpetualMarketFunding.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PerpetualMarketFunding.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PerpetualMarketFunding.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PerpetualMarketFunding.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PerpetualMarketInfo.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PerpetualMarketInfo.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PerpetualMarketInfo.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PerpetualMarketInfo.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionDelta.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PositionDelta.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionDelta.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PositionDelta.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionsRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PositionsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionsRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PositionsRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionsResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PositionsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionsResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PositionsResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionsV2Request.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PositionsV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionsV2Request.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PositionsV2Request.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionsV2Response.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PositionsV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PositionsV2Response.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PositionsV2Response.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PriceLevel.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PriceLevel.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PriceLevel.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PriceLevel.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/PriceLevelUpdate.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/PriceLevelUpdate.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/PriceLevelUpdate.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/PriceLevelUpdate.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/SingleDerivativeLimitOrderbookV2.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/SingleDerivativeLimitOrderbookV2.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/SingleDerivativeLimitOrderbookV2.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/SingleDerivativeLimitOrderbookV2.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamMarketRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamMarketRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamMarketRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamMarketRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamMarketResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamMarketResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamMarketResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamMarketResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrderbookUpdateRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrderbookUpdateRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrderbookUpdateRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrderbookUpdateRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrderbookUpdateResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrderbookUpdateResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrderbookUpdateResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrderbookUpdateResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrderbookV2Request.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrderbookV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrderbookV2Request.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrderbookV2Request.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrderbookV2Response.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrderbookV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrderbookV2Response.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrderbookV2Response.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrdersHistoryRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrdersHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrdersHistoryRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrdersHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrdersHistoryResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrdersHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrdersHistoryResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrdersHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrdersRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrdersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrdersRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrdersRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrdersResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrdersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamOrdersResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamOrdersResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamPositionsRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamPositionsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamPositionsRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamPositionsRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamPositionsResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamPositionsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamPositionsResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamPositionsResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamPositionsV2Request.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamPositionsV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamPositionsV2Request.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamPositionsV2Request.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamPositionsV2Response.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamPositionsV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamPositionsV2Response.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamPositionsV2Response.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamTradesRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamTradesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamTradesRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamTradesRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamTradesResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamTradesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamTradesResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamTradesResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamTradesV2Request.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamTradesV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamTradesV2Request.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamTradesV2Request.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamTradesV2Response.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/StreamTradesV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/StreamTradesV2Response.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/StreamTradesV2Response.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/SubaccountOrdersListRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/SubaccountOrdersListRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/SubaccountOrdersListRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/SubaccountOrdersListRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/SubaccountOrdersListResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/SubaccountOrdersListResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/SubaccountOrdersListResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/SubaccountOrdersListResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/SubaccountTradesListRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/SubaccountTradesListRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/SubaccountTradesListRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/SubaccountTradesListRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/SubaccountTradesListResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/SubaccountTradesListResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/SubaccountTradesListResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/SubaccountTradesListResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/TokenMeta.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/TokenMeta.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/TokenMeta.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/TokenMeta.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/TradesRequest.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/TradesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/TradesRequest.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/TradesRequest.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/TradesResponse.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/TradesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/TradesResponse.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/TradesResponse.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/TradesV2Request.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/TradesV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/TradesV2Request.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/TradesV2Request.json diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/TradesV2Response.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/TradesV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_derivative_exchange_rpc/TradesV2Response.json rename to source/json_tables/indexer/injective_derivative_exchange_rpc/TradesV2Response.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/BroadcastCosmosTxRequest.json b/source/json_tables/indexer/injective_exchange_rpc/BroadcastCosmosTxRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/BroadcastCosmosTxRequest.json rename to source/json_tables/indexer/injective_exchange_rpc/BroadcastCosmosTxRequest.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/BroadcastCosmosTxResponse.json b/source/json_tables/indexer/injective_exchange_rpc/BroadcastCosmosTxResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/BroadcastCosmosTxResponse.json rename to source/json_tables/indexer/injective_exchange_rpc/BroadcastCosmosTxResponse.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/BroadcastTxRequest.json b/source/json_tables/indexer/injective_exchange_rpc/BroadcastTxRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/BroadcastTxRequest.json rename to source/json_tables/indexer/injective_exchange_rpc/BroadcastTxRequest.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/BroadcastTxResponse.json b/source/json_tables/indexer/injective_exchange_rpc/BroadcastTxResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/BroadcastTxResponse.json rename to source/json_tables/indexer/injective_exchange_rpc/BroadcastTxResponse.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/CosmosCoin.json b/source/json_tables/indexer/injective_exchange_rpc/CosmosCoin.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/CosmosCoin.json rename to source/json_tables/indexer/injective_exchange_rpc/CosmosCoin.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/CosmosPubKey.json b/source/json_tables/indexer/injective_exchange_rpc/CosmosPubKey.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/CosmosPubKey.json rename to source/json_tables/indexer/injective_exchange_rpc/CosmosPubKey.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/CosmosTxFee.json b/source/json_tables/indexer/injective_exchange_rpc/CosmosTxFee.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/CosmosTxFee.json rename to source/json_tables/indexer/injective_exchange_rpc/CosmosTxFee.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/GetFeePayerResponse.json b/source/json_tables/indexer/injective_exchange_rpc/GetFeePayerResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/GetFeePayerResponse.json rename to source/json_tables/indexer/injective_exchange_rpc/GetFeePayerResponse.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/GetTxRequest.json b/source/json_tables/indexer/injective_exchange_rpc/GetTxRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/GetTxRequest.json rename to source/json_tables/indexer/injective_exchange_rpc/GetTxRequest.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/GetTxResponse.json b/source/json_tables/indexer/injective_exchange_rpc/GetTxResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/GetTxResponse.json rename to source/json_tables/indexer/injective_exchange_rpc/GetTxResponse.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/PrepareCosmosTxRequest.json b/source/json_tables/indexer/injective_exchange_rpc/PrepareCosmosTxRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/PrepareCosmosTxRequest.json rename to source/json_tables/indexer/injective_exchange_rpc/PrepareCosmosTxRequest.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/PrepareCosmosTxResponse.json b/source/json_tables/indexer/injective_exchange_rpc/PrepareCosmosTxResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/PrepareCosmosTxResponse.json rename to source/json_tables/indexer/injective_exchange_rpc/PrepareCosmosTxResponse.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/PrepareEip712Request.json b/source/json_tables/indexer/injective_exchange_rpc/PrepareEip712Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/PrepareEip712Request.json rename to source/json_tables/indexer/injective_exchange_rpc/PrepareEip712Request.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/PrepareEip712Response.json b/source/json_tables/indexer/injective_exchange_rpc/PrepareEip712Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/PrepareEip712Response.json rename to source/json_tables/indexer/injective_exchange_rpc/PrepareEip712Response.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/PrepareTxRequest.json b/source/json_tables/indexer/injective_exchange_rpc/PrepareTxRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/PrepareTxRequest.json rename to source/json_tables/indexer/injective_exchange_rpc/PrepareTxRequest.json diff --git a/source/json_tables/indexer_new/injective_exchange_rpc/PrepareTxResponse.json b/source/json_tables/indexer/injective_exchange_rpc/PrepareTxResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_exchange_rpc/PrepareTxResponse.json rename to source/json_tables/indexer/injective_exchange_rpc/PrepareTxResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/BankTransfer.json b/source/json_tables/indexer/injective_explorer_rpc/BankTransfer.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/BankTransfer.json rename to source/json_tables/indexer/injective_explorer_rpc/BankTransfer.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/BlockDetailInfo.json b/source/json_tables/indexer/injective_explorer_rpc/BlockDetailInfo.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/BlockDetailInfo.json rename to source/json_tables/indexer/injective_explorer_rpc/BlockDetailInfo.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/BlockInfo.json b/source/json_tables/indexer/injective_explorer_rpc/BlockInfo.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/BlockInfo.json rename to source/json_tables/indexer/injective_explorer_rpc/BlockInfo.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Checksum.json b/source/json_tables/indexer/injective_explorer_rpc/Checksum.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Checksum.json rename to source/json_tables/indexer/injective_explorer_rpc/Checksum.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Coin.json b/source/json_tables/indexer/injective_explorer_rpc/Coin.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Coin.json rename to source/json_tables/indexer/injective_explorer_rpc/Coin.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/ContractFund.json b/source/json_tables/indexer/injective_explorer_rpc/ContractFund.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/ContractFund.json rename to source/json_tables/indexer/injective_explorer_rpc/ContractFund.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/ContractPermission.json b/source/json_tables/indexer/injective_explorer_rpc/ContractPermission.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/ContractPermission.json rename to source/json_tables/indexer/injective_explorer_rpc/ContractPermission.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/CosmosCoin.json b/source/json_tables/indexer/injective_explorer_rpc/CosmosCoin.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/CosmosCoin.json rename to source/json_tables/indexer/injective_explorer_rpc/CosmosCoin.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Cursor.json b/source/json_tables/indexer/injective_explorer_rpc/Cursor.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Cursor.json rename to source/json_tables/indexer/injective_explorer_rpc/Cursor.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Cw20MarketingInfo.json b/source/json_tables/indexer/injective_explorer_rpc/Cw20MarketingInfo.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Cw20MarketingInfo.json rename to source/json_tables/indexer/injective_explorer_rpc/Cw20MarketingInfo.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Cw20Metadata.json b/source/json_tables/indexer/injective_explorer_rpc/Cw20Metadata.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Cw20Metadata.json rename to source/json_tables/indexer/injective_explorer_rpc/Cw20Metadata.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Cw20TokenInfo.json b/source/json_tables/indexer/injective_explorer_rpc/Cw20TokenInfo.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Cw20TokenInfo.json rename to source/json_tables/indexer/injective_explorer_rpc/Cw20TokenInfo.json diff --git a/source/json_tables/indexer/injective_explorer_rpc/Event.json b/source/json_tables/indexer/injective_explorer_rpc/Event.json new file mode 100644 index 00000000..f62ce113 --- /dev/null +++ b/source/json_tables/indexer/injective_explorer_rpc/Event.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "type", + "Type": "string", + "Description": "" + }, + { + "Parameter": "attributes", + "Type": "map[string]string", + "Description": "" + } +] diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GasFee.json b/source/json_tables/indexer/injective_explorer_rpc/GasFee.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GasFee.json rename to source/json_tables/indexer/injective_explorer_rpc/GasFee.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetAccountTxsRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetAccountTxsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetAccountTxsRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetAccountTxsRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetAccountTxsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetAccountTxsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetAccountTxsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetAccountTxsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetAccountTxsV2Request.json b/source/json_tables/indexer/injective_explorer_rpc/GetAccountTxsV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetAccountTxsV2Request.json rename to source/json_tables/indexer/injective_explorer_rpc/GetAccountTxsV2Request.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetAccountTxsV2Response.json b/source/json_tables/indexer/injective_explorer_rpc/GetAccountTxsV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetAccountTxsV2Response.json rename to source/json_tables/indexer/injective_explorer_rpc/GetAccountTxsV2Response.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetBankTransfersRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetBankTransfersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetBankTransfersRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetBankTransfersRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetBankTransfersResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetBankTransfersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetBankTransfersResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetBankTransfersResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetBlockRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetBlockRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetBlockRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetBlockRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetBlockResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetBlockResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetBlockResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetBlockResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetBlocksRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetBlocksRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetBlocksRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetBlocksRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetBlocksResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetBlocksResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetBlocksResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetBlocksResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetBlocksV2Request.json b/source/json_tables/indexer/injective_explorer_rpc/GetBlocksV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetBlocksV2Request.json rename to source/json_tables/indexer/injective_explorer_rpc/GetBlocksV2Request.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetBlocksV2Response.json b/source/json_tables/indexer/injective_explorer_rpc/GetBlocksV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetBlocksV2Response.json rename to source/json_tables/indexer/injective_explorer_rpc/GetBlocksV2Response.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetContractTxsRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetContractTxsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetContractTxsRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetContractTxsRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetContractTxsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetContractTxsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetContractTxsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetContractTxsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetContractTxsV2Request.json b/source/json_tables/indexer/injective_explorer_rpc/GetContractTxsV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetContractTxsV2Request.json rename to source/json_tables/indexer/injective_explorer_rpc/GetContractTxsV2Request.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetContractTxsV2Response.json b/source/json_tables/indexer/injective_explorer_rpc/GetContractTxsV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetContractTxsV2Response.json rename to source/json_tables/indexer/injective_explorer_rpc/GetContractTxsV2Response.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetCw20BalanceRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetCw20BalanceRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetCw20BalanceRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetCw20BalanceRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetCw20BalanceResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetCw20BalanceResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetCw20BalanceResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetCw20BalanceResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetIBCTransferTxsRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetIBCTransferTxsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetIBCTransferTxsRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetIBCTransferTxsRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetIBCTransferTxsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetIBCTransferTxsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetIBCTransferTxsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetIBCTransferTxsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetPeggyDepositTxsRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetPeggyDepositTxsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetPeggyDepositTxsRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetPeggyDepositTxsRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetPeggyDepositTxsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetPeggyDepositTxsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetPeggyDepositTxsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetPeggyDepositTxsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetPeggyWithdrawalTxsRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetPeggyWithdrawalTxsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetPeggyWithdrawalTxsRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetPeggyWithdrawalTxsRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetPeggyWithdrawalTxsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetPeggyWithdrawalTxsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetPeggyWithdrawalTxsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetPeggyWithdrawalTxsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetStatsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetStatsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetStatsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetStatsResponse.json diff --git a/source/json_tables/indexer/injective_explorer_rpc/GetTxByTxHashRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetTxByTxHashRequest.json new file mode 100644 index 00000000..943368d1 --- /dev/null +++ b/source/json_tables/indexer/injective_explorer_rpc/GetTxByTxHashRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "hash", + "Type": "string", + "Description": "transaction hash", + "Required": "Yes" + }, + { + "Parameter": "is_evm_hash", + "Type": "bool", + "Description": "Set to true if the provided hash may be an EVM tx hash", + "Required": "Yes" + } +] diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetTxByTxHashResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetTxByTxHashResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetTxByTxHashResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetTxByTxHashResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetTxsRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetTxsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetTxsRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetTxsRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetTxsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetTxsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetTxsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetTxsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetTxsV2Request.json b/source/json_tables/indexer/injective_explorer_rpc/GetTxsV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetTxsV2Request.json rename to source/json_tables/indexer/injective_explorer_rpc/GetTxsV2Request.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetTxsV2Response.json b/source/json_tables/indexer/injective_explorer_rpc/GetTxsV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetTxsV2Response.json rename to source/json_tables/indexer/injective_explorer_rpc/GetTxsV2Response.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetValidatorRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetValidatorRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetValidatorResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetValidatorResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorUptimeRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetValidatorUptimeRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorUptimeRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetValidatorUptimeRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorUptimeResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetValidatorUptimeResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorUptimeResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetValidatorUptimeResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetValidatorsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetValidatorsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetValidatorsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetWasmCodeByIDRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetWasmCodeByIDRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetWasmCodeByIDRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetWasmCodeByIDRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetWasmCodeByIDResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetWasmCodeByIDResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetWasmCodeByIDResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetWasmCodeByIDResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetWasmCodesRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetWasmCodesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetWasmCodesRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetWasmCodesRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetWasmCodesResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetWasmCodesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetWasmCodesResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetWasmCodesResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetWasmContractByAddressRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetWasmContractByAddressRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetWasmContractByAddressRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetWasmContractByAddressRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetWasmContractByAddressResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetWasmContractByAddressResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetWasmContractByAddressResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetWasmContractByAddressResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetWasmContractsRequest.json b/source/json_tables/indexer/injective_explorer_rpc/GetWasmContractsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetWasmContractsRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/GetWasmContractsRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetWasmContractsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/GetWasmContractsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/GetWasmContractsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/GetWasmContractsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/IBCTransferTx.json b/source/json_tables/indexer/injective_explorer_rpc/IBCTransferTx.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/IBCTransferTx.json rename to source/json_tables/indexer/injective_explorer_rpc/IBCTransferTx.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Paging.json b/source/json_tables/indexer/injective_explorer_rpc/Paging.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Paging.json rename to source/json_tables/indexer/injective_explorer_rpc/Paging.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/PeggyDepositTx.json b/source/json_tables/indexer/injective_explorer_rpc/PeggyDepositTx.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/PeggyDepositTx.json rename to source/json_tables/indexer/injective_explorer_rpc/PeggyDepositTx.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/PeggyWithdrawalTx.json b/source/json_tables/indexer/injective_explorer_rpc/PeggyWithdrawalTx.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/PeggyWithdrawalTx.json rename to source/json_tables/indexer/injective_explorer_rpc/PeggyWithdrawalTx.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Relayer.json b/source/json_tables/indexer/injective_explorer_rpc/Relayer.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Relayer.json rename to source/json_tables/indexer/injective_explorer_rpc/Relayer.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/RelayerMarkets.json b/source/json_tables/indexer/injective_explorer_rpc/RelayerMarkets.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/RelayerMarkets.json rename to source/json_tables/indexer/injective_explorer_rpc/RelayerMarkets.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/RelayersRequest.json b/source/json_tables/indexer/injective_explorer_rpc/RelayersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/RelayersRequest.json rename to source/json_tables/indexer/injective_explorer_rpc/RelayersRequest.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/RelayersResponse.json b/source/json_tables/indexer/injective_explorer_rpc/RelayersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/RelayersResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/RelayersResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Signature.json b/source/json_tables/indexer/injective_explorer_rpc/Signature.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Signature.json rename to source/json_tables/indexer/injective_explorer_rpc/Signature.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/SlashingEvent.json b/source/json_tables/indexer/injective_explorer_rpc/SlashingEvent.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/SlashingEvent.json rename to source/json_tables/indexer/injective_explorer_rpc/SlashingEvent.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/StreamBlocksResponse.json b/source/json_tables/indexer/injective_explorer_rpc/StreamBlocksResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/StreamBlocksResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/StreamBlocksResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/StreamTxsResponse.json b/source/json_tables/indexer/injective_explorer_rpc/StreamTxsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/StreamTxsResponse.json rename to source/json_tables/indexer/injective_explorer_rpc/StreamTxsResponse.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/TxData.json b/source/json_tables/indexer/injective_explorer_rpc/TxData.json similarity index 93% rename from source/json_tables/indexer_new/injective_explorer_rpc/TxData.json rename to source/json_tables/indexer/injective_explorer_rpc/TxData.json index cde5fc47..e8eff497 100644 --- a/source/json_tables/indexer_new/injective_explorer_rpc/TxData.json +++ b/source/json_tables/indexer/injective_explorer_rpc/TxData.json @@ -68,5 +68,10 @@ "Parameter": "block_unix_timestamp", "Type": "uint64", "Description": "Block timestamp in unix milli" + }, + { + "Parameter": "ethereum_tx_hash_hex", + "Type": "string", + "Description": "" } ] diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/TxDataRPC.json b/source/json_tables/indexer/injective_explorer_rpc/TxDataRPC.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/TxDataRPC.json rename to source/json_tables/indexer/injective_explorer_rpc/TxDataRPC.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/TxDetailData.json b/source/json_tables/indexer/injective_explorer_rpc/TxDetailData.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/TxDetailData.json rename to source/json_tables/indexer/injective_explorer_rpc/TxDetailData.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/Validator.json b/source/json_tables/indexer/injective_explorer_rpc/Validator.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/Validator.json rename to source/json_tables/indexer/injective_explorer_rpc/Validator.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/ValidatorDescription.json b/source/json_tables/indexer/injective_explorer_rpc/ValidatorDescription.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/ValidatorDescription.json rename to source/json_tables/indexer/injective_explorer_rpc/ValidatorDescription.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/ValidatorUptime.json b/source/json_tables/indexer/injective_explorer_rpc/ValidatorUptime.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/ValidatorUptime.json rename to source/json_tables/indexer/injective_explorer_rpc/ValidatorUptime.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/WasmCode.json b/source/json_tables/indexer/injective_explorer_rpc/WasmCode.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/WasmCode.json rename to source/json_tables/indexer/injective_explorer_rpc/WasmCode.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/WasmContract.json b/source/json_tables/indexer/injective_explorer_rpc/WasmContract.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/WasmContract.json rename to source/json_tables/indexer/injective_explorer_rpc/WasmContract.json diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/WasmCw20Balance.json b/source/json_tables/indexer/injective_explorer_rpc/WasmCw20Balance.json similarity index 100% rename from source/json_tables/indexer_new/injective_explorer_rpc/WasmCw20Balance.json rename to source/json_tables/indexer/injective_explorer_rpc/WasmCw20Balance.json diff --git a/source/json_tables/indexer_new/injective_insurance_rpc/FundRequest.json b/source/json_tables/indexer/injective_insurance_rpc/FundRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_insurance_rpc/FundRequest.json rename to source/json_tables/indexer/injective_insurance_rpc/FundRequest.json diff --git a/source/json_tables/indexer_new/injective_insurance_rpc/FundResponse.json b/source/json_tables/indexer/injective_insurance_rpc/FundResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_insurance_rpc/FundResponse.json rename to source/json_tables/indexer/injective_insurance_rpc/FundResponse.json diff --git a/source/json_tables/indexer_new/injective_insurance_rpc/FundsResponse.json b/source/json_tables/indexer/injective_insurance_rpc/FundsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_insurance_rpc/FundsResponse.json rename to source/json_tables/indexer/injective_insurance_rpc/FundsResponse.json diff --git a/source/json_tables/indexer_new/injective_insurance_rpc/InsuranceFund.json b/source/json_tables/indexer/injective_insurance_rpc/InsuranceFund.json similarity index 100% rename from source/json_tables/indexer_new/injective_insurance_rpc/InsuranceFund.json rename to source/json_tables/indexer/injective_insurance_rpc/InsuranceFund.json diff --git a/source/json_tables/indexer_new/injective_insurance_rpc/RedemptionSchedule.json b/source/json_tables/indexer/injective_insurance_rpc/RedemptionSchedule.json similarity index 100% rename from source/json_tables/indexer_new/injective_insurance_rpc/RedemptionSchedule.json rename to source/json_tables/indexer/injective_insurance_rpc/RedemptionSchedule.json diff --git a/source/json_tables/indexer_new/injective_insurance_rpc/RedemptionsRequest.json b/source/json_tables/indexer/injective_insurance_rpc/RedemptionsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_insurance_rpc/RedemptionsRequest.json rename to source/json_tables/indexer/injective_insurance_rpc/RedemptionsRequest.json diff --git a/source/json_tables/indexer_new/injective_insurance_rpc/RedemptionsResponse.json b/source/json_tables/indexer/injective_insurance_rpc/RedemptionsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_insurance_rpc/RedemptionsResponse.json rename to source/json_tables/indexer/injective_insurance_rpc/RedemptionsResponse.json diff --git a/source/json_tables/indexer_new/injective_insurance_rpc/TokenMeta.json b/source/json_tables/indexer/injective_insurance_rpc/TokenMeta.json similarity index 100% rename from source/json_tables/indexer_new/injective_insurance_rpc/TokenMeta.json rename to source/json_tables/indexer/injective_insurance_rpc/TokenMeta.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Apr.json b/source/json_tables/indexer/injective_megavault_rpc/Apr.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/Apr.json rename to source/json_tables/indexer/injective_megavault_rpc/Apr.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/AprStats.json b/source/json_tables/indexer/injective_megavault_rpc/AprStats.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/AprStats.json rename to source/json_tables/indexer/injective_megavault_rpc/AprStats.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsRequest.json b/source/json_tables/indexer/injective_megavault_rpc/GetOperatorRedemptionBucketsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsRequest.json rename to source/json_tables/indexer/injective_megavault_rpc/GetOperatorRedemptionBucketsRequest.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsResponse.json b/source/json_tables/indexer/injective_megavault_rpc/GetOperatorRedemptionBucketsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/GetOperatorRedemptionBucketsResponse.json rename to source/json_tables/indexer/injective_megavault_rpc/GetOperatorRedemptionBucketsResponse.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetUserRequest.json b/source/json_tables/indexer/injective_megavault_rpc/GetUserRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/GetUserRequest.json rename to source/json_tables/indexer/injective_megavault_rpc/GetUserRequest.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetUserResponse.json b/source/json_tables/indexer/injective_megavault_rpc/GetUserResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/GetUserResponse.json rename to source/json_tables/indexer/injective_megavault_rpc/GetUserResponse.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetVaultRequest.json b/source/json_tables/indexer/injective_megavault_rpc/GetVaultRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/GetVaultRequest.json rename to source/json_tables/indexer/injective_megavault_rpc/GetVaultRequest.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/GetVaultResponse.json b/source/json_tables/indexer/injective_megavault_rpc/GetVaultResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/GetVaultResponse.json rename to source/json_tables/indexer/injective_megavault_rpc/GetVaultResponse.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/HistoricalPnL.json b/source/json_tables/indexer/injective_megavault_rpc/HistoricalPnL.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/HistoricalPnL.json rename to source/json_tables/indexer/injective_megavault_rpc/HistoricalPnL.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/HistoricalTVL.json b/source/json_tables/indexer/injective_megavault_rpc/HistoricalTVL.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/HistoricalTVL.json rename to source/json_tables/indexer/injective_megavault_rpc/HistoricalTVL.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Incentives.json b/source/json_tables/indexer/injective_megavault_rpc/Incentives.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/Incentives.json rename to source/json_tables/indexer/injective_megavault_rpc/Incentives.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsRequest.json b/source/json_tables/indexer/injective_megavault_rpc/ListRedemptionsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsRequest.json rename to source/json_tables/indexer/injective_megavault_rpc/ListRedemptionsRequest.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsResponse.json b/source/json_tables/indexer/injective_megavault_rpc/ListRedemptionsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/ListRedemptionsResponse.json rename to source/json_tables/indexer/injective_megavault_rpc/ListRedemptionsResponse.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsRequest.json b/source/json_tables/indexer/injective_megavault_rpc/ListSubscriptionsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsRequest.json rename to source/json_tables/indexer/injective_megavault_rpc/ListSubscriptionsRequest.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsResponse.json b/source/json_tables/indexer/injective_megavault_rpc/ListSubscriptionsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/ListSubscriptionsResponse.json rename to source/json_tables/indexer/injective_megavault_rpc/ListSubscriptionsResponse.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/MaxDrawdown.json b/source/json_tables/indexer/injective_megavault_rpc/MaxDrawdown.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/MaxDrawdown.json rename to source/json_tables/indexer/injective_megavault_rpc/MaxDrawdown.json diff --git a/source/json_tables/indexer/injective_megavault_rpc/Operator.json b/source/json_tables/indexer/injective_megavault_rpc/Operator.json new file mode 100644 index 00000000..5178bae6 --- /dev/null +++ b/source/json_tables/indexer/injective_megavault_rpc/Operator.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "Operator address" + }, + { + "Parameter": "total_amount", + "Type": "string", + "Description": "Total amount" + }, + { + "Parameter": "total_liquid_amount", + "Type": "string", + "Description": "Total liquid amount" + }, + { + "Parameter": "updated_height", + "Type": "int64", + "Description": "Block height when the operator was updated." + }, + { + "Parameter": "updated_at", + "Type": "int64", + "Description": "UpdatedAt timestamp in UNIX millis." + }, + { + "Parameter": "percentage", + "Type": "string", + "Description": "Percentage of the operator" + }, + { + "Parameter": "subaccount_id", + "Type": "string", + "Description": "Subaccount ID of the operator" + } +] diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Pnl.json b/source/json_tables/indexer/injective_megavault_rpc/Pnl.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/Pnl.json rename to source/json_tables/indexer/injective_megavault_rpc/Pnl.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryRequest.json b/source/json_tables/indexer/injective_megavault_rpc/PnlHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryRequest.json rename to source/json_tables/indexer/injective_megavault_rpc/PnlHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryResponse.json b/source/json_tables/indexer/injective_megavault_rpc/PnlHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/PnlHistoryResponse.json rename to source/json_tables/indexer/injective_megavault_rpc/PnlHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/PnlStats.json b/source/json_tables/indexer/injective_megavault_rpc/PnlStats.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/PnlStats.json rename to source/json_tables/indexer/injective_megavault_rpc/PnlStats.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Redemption.json b/source/json_tables/indexer/injective_megavault_rpc/Redemption.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/Redemption.json rename to source/json_tables/indexer/injective_megavault_rpc/Redemption.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/RedemptionBucket.json b/source/json_tables/indexer/injective_megavault_rpc/RedemptionBucket.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/RedemptionBucket.json rename to source/json_tables/indexer/injective_megavault_rpc/RedemptionBucket.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Subscription.json b/source/json_tables/indexer/injective_megavault_rpc/Subscription.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/Subscription.json rename to source/json_tables/indexer/injective_megavault_rpc/Subscription.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/TargetApr.json b/source/json_tables/indexer/injective_megavault_rpc/TargetApr.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/TargetApr.json rename to source/json_tables/indexer/injective_megavault_rpc/TargetApr.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryRequest.json b/source/json_tables/indexer/injective_megavault_rpc/TvlHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryRequest.json rename to source/json_tables/indexer/injective_megavault_rpc/TvlHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryResponse.json b/source/json_tables/indexer/injective_megavault_rpc/TvlHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/TvlHistoryResponse.json rename to source/json_tables/indexer/injective_megavault_rpc/TvlHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/UnrealizedPnl.json b/source/json_tables/indexer/injective_megavault_rpc/UnrealizedPnl.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/UnrealizedPnl.json rename to source/json_tables/indexer/injective_megavault_rpc/UnrealizedPnl.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/User.json b/source/json_tables/indexer/injective_megavault_rpc/User.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/User.json rename to source/json_tables/indexer/injective_megavault_rpc/User.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/UserStats.json b/source/json_tables/indexer/injective_megavault_rpc/UserStats.json similarity index 75% rename from source/json_tables/indexer_new/injective_megavault_rpc/UserStats.json rename to source/json_tables/indexer/injective_megavault_rpc/UserStats.json index 1fb8b63c..0ca08da0 100644 --- a/source/json_tables/indexer_new/injective_megavault_rpc/UserStats.json +++ b/source/json_tables/indexer/injective_megavault_rpc/UserStats.json @@ -13,5 +13,10 @@ "Parameter": "pnl", "Type": "PnlStats", "Description": "PnL statistics" + }, + { + "Parameter": "deposited_value", + "Type": "string", + "Description": "Current deposisted value" } ] diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Vault.json b/source/json_tables/indexer/injective_megavault_rpc/Vault.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/Vault.json rename to source/json_tables/indexer/injective_megavault_rpc/Vault.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/VaultStats.json b/source/json_tables/indexer/injective_megavault_rpc/VaultStats.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/VaultStats.json rename to source/json_tables/indexer/injective_megavault_rpc/VaultStats.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Volatility.json b/source/json_tables/indexer/injective_megavault_rpc/Volatility.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/Volatility.json rename to source/json_tables/indexer/injective_megavault_rpc/Volatility.json diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/VolatilityStats.json b/source/json_tables/indexer/injective_megavault_rpc/VolatilityStats.json similarity index 100% rename from source/json_tables/indexer_new/injective_megavault_rpc/VolatilityStats.json rename to source/json_tables/indexer/injective_megavault_rpc/VolatilityStats.json diff --git a/source/json_tables/indexer_new/injective_meta_rpc/InfoRequest.json b/source/json_tables/indexer/injective_meta_rpc/InfoRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_meta_rpc/InfoRequest.json rename to source/json_tables/indexer/injective_meta_rpc/InfoRequest.json diff --git a/source/json_tables/indexer_new/injective_meta_rpc/InfoResponse.json b/source/json_tables/indexer/injective_meta_rpc/InfoResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_meta_rpc/InfoResponse.json rename to source/json_tables/indexer/injective_meta_rpc/InfoResponse.json diff --git a/source/json_tables/indexer_new/injective_meta_rpc/StreamKeepaliveResponse.json b/source/json_tables/indexer/injective_meta_rpc/StreamKeepaliveResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_meta_rpc/StreamKeepaliveResponse.json rename to source/json_tables/indexer/injective_meta_rpc/StreamKeepaliveResponse.json diff --git a/source/json_tables/indexer_new/injective_meta_rpc/TokenMetadataElement.json b/source/json_tables/indexer/injective_meta_rpc/TokenMetadataElement.json similarity index 100% rename from source/json_tables/indexer_new/injective_meta_rpc/TokenMetadataElement.json rename to source/json_tables/indexer/injective_meta_rpc/TokenMetadataElement.json diff --git a/source/json_tables/indexer_new/injective_meta_rpc/TokenMetadataRequest.json b/source/json_tables/indexer/injective_meta_rpc/TokenMetadataRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_meta_rpc/TokenMetadataRequest.json rename to source/json_tables/indexer/injective_meta_rpc/TokenMetadataRequest.json diff --git a/source/json_tables/indexer_new/injective_meta_rpc/TokenMetadataResponse.json b/source/json_tables/indexer/injective_meta_rpc/TokenMetadataResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_meta_rpc/TokenMetadataResponse.json rename to source/json_tables/indexer/injective_meta_rpc/TokenMetadataResponse.json diff --git a/source/json_tables/indexer_new/injective_meta_rpc/VersionResponse.json b/source/json_tables/indexer/injective_meta_rpc/VersionResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_meta_rpc/VersionResponse.json rename to source/json_tables/indexer/injective_meta_rpc/VersionResponse.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/Oracle.json b/source/json_tables/indexer/injective_oracle_rpc/Oracle.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/Oracle.json rename to source/json_tables/indexer/injective_oracle_rpc/Oracle.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/OracleListResponse.json b/source/json_tables/indexer/injective_oracle_rpc/OracleListResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/OracleListResponse.json rename to source/json_tables/indexer/injective_oracle_rpc/OracleListResponse.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/PricePayloadV2.json b/source/json_tables/indexer/injective_oracle_rpc/PricePayloadV2.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/PricePayloadV2.json rename to source/json_tables/indexer/injective_oracle_rpc/PricePayloadV2.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/PriceRequest.json b/source/json_tables/indexer/injective_oracle_rpc/PriceRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/PriceRequest.json rename to source/json_tables/indexer/injective_oracle_rpc/PriceRequest.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/PriceResponse.json b/source/json_tables/indexer/injective_oracle_rpc/PriceResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/PriceResponse.json rename to source/json_tables/indexer/injective_oracle_rpc/PriceResponse.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/PriceV2Request.json b/source/json_tables/indexer/injective_oracle_rpc/PriceV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/PriceV2Request.json rename to source/json_tables/indexer/injective_oracle_rpc/PriceV2Request.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/PriceV2Response.json b/source/json_tables/indexer/injective_oracle_rpc/PriceV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/PriceV2Response.json rename to source/json_tables/indexer/injective_oracle_rpc/PriceV2Response.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/PriceV2Result.json b/source/json_tables/indexer/injective_oracle_rpc/PriceV2Result.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/PriceV2Result.json rename to source/json_tables/indexer/injective_oracle_rpc/PriceV2Result.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/StreamPricesByMarketsRequest.json b/source/json_tables/indexer/injective_oracle_rpc/StreamPricesByMarketsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/StreamPricesByMarketsRequest.json rename to source/json_tables/indexer/injective_oracle_rpc/StreamPricesByMarketsRequest.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/StreamPricesByMarketsResponse.json b/source/json_tables/indexer/injective_oracle_rpc/StreamPricesByMarketsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/StreamPricesByMarketsResponse.json rename to source/json_tables/indexer/injective_oracle_rpc/StreamPricesByMarketsResponse.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/StreamPricesRequest.json b/source/json_tables/indexer/injective_oracle_rpc/StreamPricesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/StreamPricesRequest.json rename to source/json_tables/indexer/injective_oracle_rpc/StreamPricesRequest.json diff --git a/source/json_tables/indexer_new/injective_oracle_rpc/StreamPricesResponse.json b/source/json_tables/indexer/injective_oracle_rpc/StreamPricesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_oracle_rpc/StreamPricesResponse.json rename to source/json_tables/indexer/injective_oracle_rpc/StreamPricesResponse.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/AccountPortfolioBalancesRequest.json b/source/json_tables/indexer/injective_portfolio_rpc/AccountPortfolioBalancesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/AccountPortfolioBalancesRequest.json rename to source/json_tables/indexer/injective_portfolio_rpc/AccountPortfolioBalancesRequest.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/AccountPortfolioBalancesResponse.json b/source/json_tables/indexer/injective_portfolio_rpc/AccountPortfolioBalancesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/AccountPortfolioBalancesResponse.json rename to source/json_tables/indexer/injective_portfolio_rpc/AccountPortfolioBalancesResponse.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/AccountPortfolioRequest.json b/source/json_tables/indexer/injective_portfolio_rpc/AccountPortfolioRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/AccountPortfolioRequest.json rename to source/json_tables/indexer/injective_portfolio_rpc/AccountPortfolioRequest.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/AccountPortfolioResponse.json b/source/json_tables/indexer/injective_portfolio_rpc/AccountPortfolioResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/AccountPortfolioResponse.json rename to source/json_tables/indexer/injective_portfolio_rpc/AccountPortfolioResponse.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/Coin.json b/source/json_tables/indexer/injective_portfolio_rpc/Coin.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/Coin.json rename to source/json_tables/indexer/injective_portfolio_rpc/Coin.json diff --git a/source/json_tables/indexer/injective_portfolio_rpc/DerivativePosition.json b/source/json_tables/indexer/injective_portfolio_rpc/DerivativePosition.json new file mode 100644 index 00000000..0433f3f8 --- /dev/null +++ b/source/json_tables/indexer/injective_portfolio_rpc/DerivativePosition.json @@ -0,0 +1,72 @@ +[ + { + "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": "aggregate_reduce_only_quantity", + "Type": "string", + "Description": "Aggregate Quantity of the Reduce Only orders associated with the position" + }, + { + "Parameter": "updated_at", + "Type": "int64", + "Description": "Position updated timestamp in UNIX millis." + }, + { + "Parameter": "created_at", + "Type": "int64", + "Description": "Position created timestamp in UNIX millis." + }, + { + "Parameter": "funding_last", + "Type": "string", + "Description": "Last funding fees since position opened" + }, + { + "Parameter": "funding_sum", + "Type": "string", + "Description": "Net funding fees since position opened" + } +] diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/Holder.json b/source/json_tables/indexer/injective_portfolio_rpc/Holder.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/Holder.json rename to source/json_tables/indexer/injective_portfolio_rpc/Holder.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/Portfolio.json b/source/json_tables/indexer/injective_portfolio_rpc/Portfolio.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/Portfolio.json rename to source/json_tables/indexer/injective_portfolio_rpc/Portfolio.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/PortfolioBalances.json b/source/json_tables/indexer/injective_portfolio_rpc/PortfolioBalances.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/PortfolioBalances.json rename to source/json_tables/indexer/injective_portfolio_rpc/PortfolioBalances.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/PositionsWithUPNL.json b/source/json_tables/indexer/injective_portfolio_rpc/PositionsWithUPNL.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/PositionsWithUPNL.json rename to source/json_tables/indexer/injective_portfolio_rpc/PositionsWithUPNL.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/StreamAccountPortfolioRequest.json b/source/json_tables/indexer/injective_portfolio_rpc/StreamAccountPortfolioRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/StreamAccountPortfolioRequest.json rename to source/json_tables/indexer/injective_portfolio_rpc/StreamAccountPortfolioRequest.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/StreamAccountPortfolioResponse.json b/source/json_tables/indexer/injective_portfolio_rpc/StreamAccountPortfolioResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/StreamAccountPortfolioResponse.json rename to source/json_tables/indexer/injective_portfolio_rpc/StreamAccountPortfolioResponse.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/SubaccountBalanceV2.json b/source/json_tables/indexer/injective_portfolio_rpc/SubaccountBalanceV2.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/SubaccountBalanceV2.json rename to source/json_tables/indexer/injective_portfolio_rpc/SubaccountBalanceV2.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/SubaccountDeposit.json b/source/json_tables/indexer/injective_portfolio_rpc/SubaccountDeposit.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/SubaccountDeposit.json rename to source/json_tables/indexer/injective_portfolio_rpc/SubaccountDeposit.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/TokenHoldersRequest.json b/source/json_tables/indexer/injective_portfolio_rpc/TokenHoldersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/TokenHoldersRequest.json rename to source/json_tables/indexer/injective_portfolio_rpc/TokenHoldersRequest.json diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/TokenHoldersResponse.json b/source/json_tables/indexer/injective_portfolio_rpc/TokenHoldersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_portfolio_rpc/TokenHoldersResponse.json rename to source/json_tables/indexer/injective_portfolio_rpc/TokenHoldersResponse.json diff --git a/source/json_tables/indexer_new/injective_referral_rpc/GetInviteeDetailsRequest.json b/source/json_tables/indexer/injective_referral_rpc/GetInviteeDetailsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_referral_rpc/GetInviteeDetailsRequest.json rename to source/json_tables/indexer/injective_referral_rpc/GetInviteeDetailsRequest.json diff --git a/source/json_tables/indexer_new/injective_referral_rpc/GetInviteeDetailsResponse.json b/source/json_tables/indexer/injective_referral_rpc/GetInviteeDetailsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_referral_rpc/GetInviteeDetailsResponse.json rename to source/json_tables/indexer/injective_referral_rpc/GetInviteeDetailsResponse.json diff --git a/source/json_tables/indexer_new/injective_referral_rpc/GetReferrerByCodeRequest.json b/source/json_tables/indexer/injective_referral_rpc/GetReferrerByCodeRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_referral_rpc/GetReferrerByCodeRequest.json rename to source/json_tables/indexer/injective_referral_rpc/GetReferrerByCodeRequest.json diff --git a/source/json_tables/indexer_new/injective_referral_rpc/GetReferrerByCodeResponse.json b/source/json_tables/indexer/injective_referral_rpc/GetReferrerByCodeResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_referral_rpc/GetReferrerByCodeResponse.json rename to source/json_tables/indexer/injective_referral_rpc/GetReferrerByCodeResponse.json diff --git a/source/json_tables/indexer_new/injective_referral_rpc/GetReferrerDetailsRequest.json b/source/json_tables/indexer/injective_referral_rpc/GetReferrerDetailsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_referral_rpc/GetReferrerDetailsRequest.json rename to source/json_tables/indexer/injective_referral_rpc/GetReferrerDetailsRequest.json diff --git a/source/json_tables/indexer_new/injective_referral_rpc/GetReferrerDetailsResponse.json b/source/json_tables/indexer/injective_referral_rpc/GetReferrerDetailsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_referral_rpc/GetReferrerDetailsResponse.json rename to source/json_tables/indexer/injective_referral_rpc/GetReferrerDetailsResponse.json diff --git a/source/json_tables/indexer_new/injective_referral_rpc/ReferralInvitee.json b/source/json_tables/indexer/injective_referral_rpc/ReferralInvitee.json similarity index 100% rename from source/json_tables/indexer_new/injective_referral_rpc/ReferralInvitee.json rename to source/json_tables/indexer/injective_referral_rpc/ReferralInvitee.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/AtomicSwap.json b/source/json_tables/indexer/injective_spot_exchange_rpc/AtomicSwap.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/AtomicSwap.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/AtomicSwap.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/AtomicSwapHistoryRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/AtomicSwapHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/AtomicSwapHistoryRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/AtomicSwapHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/AtomicSwapHistoryResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/AtomicSwapHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/AtomicSwapHistoryResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/AtomicSwapHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/Coin.json b/source/json_tables/indexer/injective_spot_exchange_rpc/Coin.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/Coin.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/Coin.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/MarketRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/MarketRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/MarketRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/MarketRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/MarketResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/MarketResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/MarketResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/MarketResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/MarketsRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/MarketsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/MarketsRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/MarketsRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/MarketsResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/MarketsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/MarketsResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/MarketsResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbookLevelUpdates.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrderbookLevelUpdates.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbookLevelUpdates.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrderbookLevelUpdates.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbookV2Request.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrderbookV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbookV2Request.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrderbookV2Request.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbookV2Response.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrderbookV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbookV2Response.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrderbookV2Response.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbooksV2Request.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrderbooksV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbooksV2Request.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrderbooksV2Request.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbooksV2Response.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrderbooksV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrderbooksV2Response.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrderbooksV2Response.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrdersHistoryRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrdersHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrdersHistoryRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrdersHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrdersHistoryResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrdersHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrdersHistoryResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrdersHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrdersRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrdersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrdersRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrdersRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/OrdersResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/OrdersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/OrdersResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/OrdersResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/Paging.json b/source/json_tables/indexer/injective_spot_exchange_rpc/Paging.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/Paging.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/Paging.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/PriceLevel.json b/source/json_tables/indexer/injective_spot_exchange_rpc/PriceLevel.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/PriceLevel.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/PriceLevel.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/PriceLevelUpdate.json b/source/json_tables/indexer/injective_spot_exchange_rpc/PriceLevelUpdate.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/PriceLevelUpdate.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/PriceLevelUpdate.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SingleSpotLimitOrderbookV2.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SingleSpotLimitOrderbookV2.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SingleSpotLimitOrderbookV2.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SingleSpotLimitOrderbookV2.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotLimitOrder.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SpotLimitOrder.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotLimitOrder.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SpotLimitOrder.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotLimitOrderbookV2.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SpotLimitOrderbookV2.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotLimitOrderbookV2.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SpotLimitOrderbookV2.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotMarketInfo.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SpotMarketInfo.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotMarketInfo.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SpotMarketInfo.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotOrderHistory.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SpotOrderHistory.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotOrderHistory.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SpotOrderHistory.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotTrade.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SpotTrade.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SpotTrade.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SpotTrade.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamMarketsRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamMarketsRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamMarketsRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamMarketsRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamMarketsResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamMarketsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamMarketsResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamMarketsResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrderbookUpdateRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrderbookUpdateRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrderbookUpdateRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrderbookUpdateRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrderbookUpdateResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrderbookUpdateResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrderbookUpdateResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrderbookUpdateResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrderbookV2Request.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrderbookV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrderbookV2Request.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrderbookV2Request.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrderbookV2Response.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrderbookV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrderbookV2Response.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrderbookV2Response.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrdersHistoryRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrdersHistoryRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrdersHistoryRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrdersHistoryRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrdersHistoryResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrdersHistoryResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrdersHistoryResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrdersHistoryResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrdersRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrdersRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrdersRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrdersRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrdersResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrdersResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamOrdersResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamOrdersResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamTradesRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamTradesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamTradesRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamTradesRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamTradesResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamTradesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamTradesResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamTradesResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamTradesV2Request.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamTradesV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamTradesV2Request.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamTradesV2Request.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamTradesV2Response.json b/source/json_tables/indexer/injective_spot_exchange_rpc/StreamTradesV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/StreamTradesV2Response.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/StreamTradesV2Response.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SubaccountOrdersListRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SubaccountOrdersListRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SubaccountOrdersListRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SubaccountOrdersListRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SubaccountOrdersListResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SubaccountOrdersListResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SubaccountOrdersListResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SubaccountOrdersListResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SubaccountTradesListRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SubaccountTradesListRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SubaccountTradesListRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SubaccountTradesListRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/SubaccountTradesListResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/SubaccountTradesListResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/SubaccountTradesListResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/SubaccountTradesListResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/TokenMeta.json b/source/json_tables/indexer/injective_spot_exchange_rpc/TokenMeta.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/TokenMeta.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/TokenMeta.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/TradesRequest.json b/source/json_tables/indexer/injective_spot_exchange_rpc/TradesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/TradesRequest.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/TradesRequest.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/TradesResponse.json b/source/json_tables/indexer/injective_spot_exchange_rpc/TradesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/TradesResponse.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/TradesResponse.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/TradesV2Request.json b/source/json_tables/indexer/injective_spot_exchange_rpc/TradesV2Request.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/TradesV2Request.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/TradesV2Request.json diff --git a/source/json_tables/indexer_new/injective_spot_exchange_rpc/TradesV2Response.json b/source/json_tables/indexer/injective_spot_exchange_rpc/TradesV2Response.json similarity index 100% rename from source/json_tables/indexer_new/injective_spot_exchange_rpc/TradesV2Response.json rename to source/json_tables/indexer/injective_spot_exchange_rpc/TradesV2Response.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/ExitConfig.json b/source/json_tables/indexer/injective_trading_rpc/ExitConfig.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/ExitConfig.json rename to source/json_tables/indexer/injective_trading_rpc/ExitConfig.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/GetTradingStatsResponse.json b/source/json_tables/indexer/injective_trading_rpc/GetTradingStatsResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/GetTradingStatsResponse.json rename to source/json_tables/indexer/injective_trading_rpc/GetTradingStatsResponse.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/ListTradingStrategiesRequest.json b/source/json_tables/indexer/injective_trading_rpc/ListTradingStrategiesRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/ListTradingStrategiesRequest.json rename to source/json_tables/indexer/injective_trading_rpc/ListTradingStrategiesRequest.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/ListTradingStrategiesResponse.json b/source/json_tables/indexer/injective_trading_rpc/ListTradingStrategiesResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/ListTradingStrategiesResponse.json rename to source/json_tables/indexer/injective_trading_rpc/ListTradingStrategiesResponse.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/Market.json b/source/json_tables/indexer/injective_trading_rpc/Market.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/Market.json rename to source/json_tables/indexer/injective_trading_rpc/Market.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/Paging.json b/source/json_tables/indexer/injective_trading_rpc/Paging.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/Paging.json rename to source/json_tables/indexer/injective_trading_rpc/Paging.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/StrategyFinalData.json b/source/json_tables/indexer/injective_trading_rpc/StrategyFinalData.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/StrategyFinalData.json rename to source/json_tables/indexer/injective_trading_rpc/StrategyFinalData.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/StreamStrategyRequest.json b/source/json_tables/indexer/injective_trading_rpc/StreamStrategyRequest.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/StreamStrategyRequest.json rename to source/json_tables/indexer/injective_trading_rpc/StreamStrategyRequest.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/StreamStrategyResponse.json b/source/json_tables/indexer/injective_trading_rpc/StreamStrategyResponse.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/StreamStrategyResponse.json rename to source/json_tables/indexer/injective_trading_rpc/StreamStrategyResponse.json diff --git a/source/json_tables/indexer_new/injective_trading_rpc/TradingStrategy.json b/source/json_tables/indexer/injective_trading_rpc/TradingStrategy.json similarity index 100% rename from source/json_tables/indexer_new/injective_trading_rpc/TradingStrategy.json rename to source/json_tables/indexer/injective_trading_rpc/TradingStrategy.json diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/OrderHistoryResult.json b/source/json_tables/indexer_new/injective_accounts_rpc/OrderHistoryResult.json deleted file mode 100644 index 446b7575..00000000 --- a/source/json_tables/indexer_new/injective_accounts_rpc/OrderHistoryResult.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "Parameter": "operation_type", - "Type": "string", - "Description": "Order update type" - }, - { - "Parameter": "timestamp", - "Type": "int64", - "Description": "Operation timestamp in UNIX millis." - }, - { - "Parameter": "spot_order_history", - "Type": "SpotOrderHistory", - "Description": "Spot order history" - }, - { - "Parameter": "derivative_order_history", - "Type": "DerivativeOrderHistory", - "Description": "Derivative order history" - } -] diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/OrderResult.json b/source/json_tables/indexer_new/injective_accounts_rpc/OrderResult.json deleted file mode 100644 index a01382e9..00000000 --- a/source/json_tables/indexer_new/injective_accounts_rpc/OrderResult.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "Parameter": "operation_type", - "Type": "string", - "Description": "Executed orders update type" - }, - { - "Parameter": "timestamp", - "Type": "int64", - "Description": "Operation timestamp in UNIX millis." - }, - { - "Parameter": "spot_order", - "Type": "SpotLimitOrder", - "Description": "Updated spot market order" - }, - { - "Parameter": "derivative_order", - "Type": "DerivativeLimitOrder", - "Description": "Updated derivative market order" - } -] diff --git a/source/json_tables/indexer_new/injective_accounts_rpc/TradeResult.json b/source/json_tables/indexer_new/injective_accounts_rpc/TradeResult.json deleted file mode 100644 index 53152773..00000000 --- a/source/json_tables/indexer_new/injective_accounts_rpc/TradeResult.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "Parameter": "operation_type", - "Type": "string", - "Description": "Executed trades update type" - }, - { - "Parameter": "timestamp", - "Type": "int64", - "Description": "Operation timestamp in UNIX millis." - }, - { - "Parameter": "spot_trade", - "Type": "SpotTrade", - "Description": "New spot market trade" - }, - { - "Parameter": "derivative_trade", - "Type": "DerivativeTrade", - "Description": "New derivative market trade" - } -] diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalBalance.json b/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalBalance.json deleted file mode 100644 index b3abee18..00000000 --- a/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalBalance.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "Parameter": "t", - "Type": "int32 array", - "Description": "Time, Unix timestamp (UTC)" - }, - { - "Parameter": "v", - "Type": "float64 array", - "Description": "Balance value" - } -] diff --git a/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalRPNL.json b/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalRPNL.json deleted file mode 100644 index 2060618a..00000000 --- a/source/json_tables/indexer_new/injective_archiver_rpc/HistoricalRPNL.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "Parameter": "t", - "Type": "int32 array", - "Description": "Time, Unix timestamp (UTC)" - }, - { - "Parameter": "v", - "Type": "float64 array", - "Description": "Realized Profit and Loss value" - } -] diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Response.json b/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Response.json deleted file mode 100644 index aef2caef..00000000 --- a/source/json_tables/indexer_new/injective_auction_rpc/AccountAuctionsV2Response.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "Parameter": "auctions", - "Type": "AccountAuctionV2 array", - "Description": "The historical auctions" - }, - { - "Parameter": "next", - "Type": "string array", - "Description": "Next tokens for pagination" - } -] diff --git a/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Response.json b/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Response.json deleted file mode 100644 index 0d302841..00000000 --- a/source/json_tables/indexer_new/injective_auction_rpc/AuctionV2Response.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "Parameter": "auction", - "Type": "Auction", - "Description": "The auction" - } -] diff --git a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativePosition.json b/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativePosition.json deleted file mode 100644 index d77bf07b..00000000 --- a/source/json_tables/indexer_new/injective_derivative_exchange_rpc/DerivativePosition.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "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": "aggregate_reduce_only_quantity", - "Type": "string", - "Description": "Aggregate Quantity of the Reduce Only orders associated with the position" - }, - { - "Parameter": "updated_at", - "Type": "int64", - "Description": "Position updated timestamp in UNIX millis." - }, - { - "Parameter": "created_at", - "Type": "int64", - "Description": "Position created timestamp in UNIX millis." - } -] diff --git a/source/json_tables/indexer_new/injective_explorer_rpc/GetTxByTxHashRequest.json b/source/json_tables/indexer_new/injective_explorer_rpc/GetTxByTxHashRequest.json deleted file mode 100644 index 54bad2eb..00000000 --- a/source/json_tables/indexer_new/injective_explorer_rpc/GetTxByTxHashRequest.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - { - "Parameter": "hash", - "Type": "string", - "Description": "", - "Required": "Yes" - } -] diff --git a/source/json_tables/indexer_new/injective_megavault_rpc/Operator.json b/source/json_tables/indexer_new/injective_megavault_rpc/Operator.json deleted file mode 100644 index 5f2edeb4..00000000 --- a/source/json_tables/indexer_new/injective_megavault_rpc/Operator.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "Parameter": "address", - "Type": "string", - "Description": "Operator address" - }, - { - "Parameter": "total_amount", - "Type": "string", - "Description": "Total amount" - }, - { - "Parameter": "total_liquid_amount", - "Type": "string", - "Description": "Total liquid amount" - }, - { - "Parameter": "updated_height", - "Type": "int64", - "Description": "Block height when the operator was updated." - }, - { - "Parameter": "updated_at", - "Type": "int64", - "Description": "UpdatedAt timestamp in UNIX millis." - } -] diff --git a/source/json_tables/indexer_new/injective_portfolio_rpc/DerivativePosition.json b/source/json_tables/indexer_new/injective_portfolio_rpc/DerivativePosition.json deleted file mode 100644 index d77bf07b..00000000 --- a/source/json_tables/indexer_new/injective_portfolio_rpc/DerivativePosition.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "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": "aggregate_reduce_only_quantity", - "Type": "string", - "Description": "Aggregate Quantity of the Reduce Only orders associated with the position" - }, - { - "Parameter": "updated_at", - "Type": "int64", - "Description": "Position updated timestamp in UNIX millis." - }, - { - "Parameter": "created_at", - "Type": "int64", - "Description": "Position created timestamp in UNIX millis." - } -] diff --git a/source/json_tables/chain/errors/auction.json b/source/json_tables/injective/errors/auction.json similarity index 100% rename from source/json_tables/chain/errors/auction.json rename to source/json_tables/injective/errors/auction.json diff --git a/source/json_tables/chain/errors/erc20.json b/source/json_tables/injective/errors/erc20.json similarity index 100% rename from source/json_tables/chain/errors/erc20.json rename to source/json_tables/injective/errors/erc20.json diff --git a/source/json_tables/chain/errors/exchange.json b/source/json_tables/injective/errors/exchange.json similarity index 98% rename from source/json_tables/chain/errors/exchange.json rename to source/json_tables/injective/errors/exchange.json index a1ba2790..b11b9f91 100644 --- a/source/json_tables/chain/errors/exchange.json +++ b/source/json_tables/injective/errors/exchange.json @@ -305,7 +305,7 @@ }, { "Error Code": 77, - "Description": "denom decimal cannot be higher than max scale factor" + "Description": "denom decimal should be greater than 0 and not greater than max scale factor" }, { "Error Code": 78, diff --git a/source/json_tables/chain/errors/insurance.json b/source/json_tables/injective/errors/insurance.json similarity index 100% rename from source/json_tables/chain/errors/insurance.json rename to source/json_tables/injective/errors/insurance.json diff --git a/source/json_tables/chain/errors/ocr.json b/source/json_tables/injective/errors/ocr.json similarity index 100% rename from source/json_tables/chain/errors/ocr.json rename to source/json_tables/injective/errors/ocr.json diff --git a/source/json_tables/chain/errors/oracle.json b/source/json_tables/injective/errors/oracle.json similarity index 100% rename from source/json_tables/chain/errors/oracle.json rename to source/json_tables/injective/errors/oracle.json diff --git a/source/json_tables/chain/errors/peggy.json b/source/json_tables/injective/errors/peggy.json similarity index 100% rename from source/json_tables/chain/errors/peggy.json rename to source/json_tables/injective/errors/peggy.json diff --git a/source/json_tables/chain/errors/permissions.json b/source/json_tables/injective/errors/permissions.json similarity index 100% rename from source/json_tables/chain/errors/permissions.json rename to source/json_tables/injective/errors/permissions.json diff --git a/source/json_tables/chain/errors/tokenfactory.json b/source/json_tables/injective/errors/tokenfactory.json similarity index 100% rename from source/json_tables/chain/errors/tokenfactory.json rename to source/json_tables/injective/errors/tokenfactory.json diff --git a/source/json_tables/chain/errors/wasmx.json b/source/json_tables/injective/errors/wasmx.json similarity index 100% rename from source/json_tables/chain/errors/wasmx.json rename to source/json_tables/injective/errors/wasmx.json diff --git a/source/json_tables/injective/exchange/DerivativeMarket.json b/source/json_tables/injective/exchange/DerivativeMarket.json index ceb83e00..843011d9 100644 --- a/source/json_tables/injective/exchange/DerivativeMarket.json +++ b/source/json_tables/injective/exchange/DerivativeMarket.json @@ -103,5 +103,10 @@ "Parameter": "reduce_margin_ratio", "Type": "cosmossdk_io_math.LegacyDec", "Description": "reduce_margin_ratio defines the ratio of the margin that is reduced" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the maximum open notional for the market" } ] diff --git a/source/json_tables/injective/exchange/FullDerivativeMarket.json b/source/json_tables/injective/exchange/FullDerivativeMarket.json index 3a267b47..a7db64c2 100644 --- a/source/json_tables/injective/exchange/FullDerivativeMarket.json +++ b/source/json_tables/injective/exchange/FullDerivativeMarket.json @@ -13,15 +13,5 @@ "Parameter": "mid_price_and_tob", "Type": "MidPriceAndTOB", "Description": "mid_price_and_tob defines the mid price for this market and the best ask and bid orders" - }, - { - "Parameter": "perpetual_info", - "Type": "PerpetualMarketState", - "Description": "" - }, - { - "Parameter": "futures_info", - "Type": "ExpiryFuturesMarketInfo", - "Description": "" } ] diff --git a/source/json_tables/injective/exchange/FullDerivativeMarket_FuturesInfo.json b/source/json_tables/injective/exchange/FullDerivativeMarket_FuturesInfo.json new file mode 100644 index 00000000..ca168da8 --- /dev/null +++ b/source/json_tables/injective/exchange/FullDerivativeMarket_FuturesInfo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "futures_info", + "Type": "ExpiryFuturesMarketInfo", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/FullDerivativeMarket_PerpetualInfo.json b/source/json_tables/injective/exchange/FullDerivativeMarket_PerpetualInfo.json new file mode 100644 index 00000000..ad23e1d6 --- /dev/null +++ b/source/json_tables/injective/exchange/FullDerivativeMarket_PerpetualInfo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "perpetual_info", + "Type": "PerpetualMarketState", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/MsgInstantExpiryFuturesMarketLaunch.json b/source/json_tables/injective/exchange/MsgInstantExpiryFuturesMarketLaunch.json new file mode 100644 index 00000000..e91dda2d --- /dev/null +++ b/source/json_tables/injective/exchange/MsgInstantExpiryFuturesMarketLaunch.json @@ -0,0 +1,92 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "ticker", + "Type": "string", + "Description": "Ticker for the derivative market.", + "Required": "Yes" + }, + { + "Parameter": "quote_denom", + "Type": "string", + "Description": "type of coin to use as the quote currency", + "Required": "Yes" + }, + { + "Parameter": "oracle_base", + "Type": "string", + "Description": "Oracle base currency", + "Required": "Yes" + }, + { + "Parameter": "oracle_quote", + "Type": "string", + "Description": "Oracle quote currency", + "Required": "Yes" + }, + { + "Parameter": "oracle_type", + "Type": "types1.OracleType", + "Description": "Oracle type", + "Required": "Yes" + }, + { + "Parameter": "oracle_scale_factor", + "Type": "uint32", + "Description": "Scale factor for oracle prices.", + "Required": "Yes" + }, + { + "Parameter": "expiry", + "Type": "int64", + "Description": "Expiration time of the market", + "Required": "Yes" + }, + { + "Parameter": "maker_fee_rate", + "Type": "cosmossdk_io_math.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", + "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", + "Description": "initial_margin_ratio defines the initial margin ratio for the derivative market", + "Required": "Yes" + }, + { + "Parameter": "maintenance_margin_ratio", + "Type": "cosmossdk_io_math.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", + "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", + "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", + "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 new file mode 100644 index 00000000..29b8a518 --- /dev/null +++ b/source/json_tables/injective/exchange/MsgInstantPerpetualMarketLaunch.json @@ -0,0 +1,86 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "ticker", + "Type": "string", + "Description": "Ticker for the derivative market.", + "Required": "Yes" + }, + { + "Parameter": "quote_denom", + "Type": "string", + "Description": "type of coin to use as the base currency", + "Required": "Yes" + }, + { + "Parameter": "oracle_base", + "Type": "string", + "Description": "Oracle base currency", + "Required": "Yes" + }, + { + "Parameter": "oracle_quote", + "Type": "string", + "Description": "Oracle quote currency", + "Required": "Yes" + }, + { + "Parameter": "oracle_scale_factor", + "Type": "uint32", + "Description": "Scale factor for oracle prices.", + "Required": "Yes" + }, + { + "Parameter": "oracle_type", + "Type": "types1.OracleType", + "Description": "Oracle type", + "Required": "Yes" + }, + { + "Parameter": "maker_fee_rate", + "Type": "cosmossdk_io_math.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", + "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", + "Description": "initial_margin_ratio defines the initial margin ratio for the perpetual market", + "Required": "Yes" + }, + { + "Parameter": "maintenance_margin_ratio", + "Type": "cosmossdk_io_math.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", + "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", + "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", + "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/OpenNotionalCapCapped.json b/source/json_tables/injective/exchange/OpenNotionalCapCapped.json new file mode 100644 index 00000000..c5c99c03 --- /dev/null +++ b/source/json_tables/injective/exchange/OpenNotionalCapCapped.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "value", + "Type": "cosmossdk_io_math.LegacyDec", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/OpenNotionalCap_Capped.json b/source/json_tables/injective/exchange/OpenNotionalCap_Capped.json new file mode 100644 index 00000000..9951f962 --- /dev/null +++ b/source/json_tables/injective/exchange/OpenNotionalCap_Capped.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "capped", + "Type": "OpenNotionalCapCapped", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/OpenNotionalCap_Uncapped.json b/source/json_tables/injective/exchange/OpenNotionalCap_Uncapped.json new file mode 100644 index 00000000..00e7e305 --- /dev/null +++ b/source/json_tables/injective/exchange/OpenNotionalCap_Uncapped.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "uncapped", + "Type": "OpenNotionalCapUncapped", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/v2/BatchExchangeModificationProposal.json b/source/json_tables/injective/exchange/v2/BatchExchangeModificationProposal.json index 2d4e09cd..d8f4396b 100644 --- a/source/json_tables/injective/exchange/v2/BatchExchangeModificationProposal.json +++ b/source/json_tables/injective/exchange/v2/BatchExchangeModificationProposal.json @@ -50,8 +50,8 @@ "Description": "" }, { - "Parameter": "denom_decimals_update_proposal", - "Type": "UpdateDenomDecimalsProposal", + "Parameter": "auction_exchange_transfer_denom_decimals_update_proposal", + "Type": "UpdateAuctionExchangeTransferDenomDecimalsProposal", "Description": "" }, { diff --git a/source/json_tables/injective/exchange/v2/BinaryOptionsMarket.json b/source/json_tables/injective/exchange/v2/BinaryOptionsMarket.json index cbda1453..1a33d873 100644 --- a/source/json_tables/injective/exchange/v2/BinaryOptionsMarket.json +++ b/source/json_tables/injective/exchange/v2/BinaryOptionsMarket.json @@ -98,5 +98,10 @@ "Parameter": "quote_decimals", "Type": "uint32", "Description": "quote token decimals" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the maximum open notional for the market" } ] diff --git a/source/json_tables/injective/exchange/v2/BinaryOptionsMarketLaunchProposal.json b/source/json_tables/injective/exchange/v2/BinaryOptionsMarketLaunchProposal.json index d4e35f87..e7bd6e91 100644 --- a/source/json_tables/injective/exchange/v2/BinaryOptionsMarketLaunchProposal.json +++ b/source/json_tables/injective/exchange/v2/BinaryOptionsMarketLaunchProposal.json @@ -83,5 +83,10 @@ "Parameter": "admin_permissions", "Type": "uint32", "Description": "" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the maximum open notional for the market" } ] diff --git a/source/json_tables/injective/exchange/v2/BinaryOptionsMarketParamUpdateProposal.json b/source/json_tables/injective/exchange/v2/BinaryOptionsMarketParamUpdateProposal.json index c94745ad..428aed18 100644 --- a/source/json_tables/injective/exchange/v2/BinaryOptionsMarketParamUpdateProposal.json +++ b/source/json_tables/injective/exchange/v2/BinaryOptionsMarketParamUpdateProposal.json @@ -78,5 +78,10 @@ "Parameter": "min_notional", "Type": "cosmossdk_io_math.LegacyDec", "Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the maximum open notional for the market" } ] diff --git a/source/json_tables/injective/exchange/v2/DerivativeMarket.json b/source/json_tables/injective/exchange/v2/DerivativeMarket.json index f023a9b6..4faac92f 100644 --- a/source/json_tables/injective/exchange/v2/DerivativeMarket.json +++ b/source/json_tables/injective/exchange/v2/DerivativeMarket.json @@ -103,5 +103,10 @@ "Parameter": "reduce_margin_ratio", "Type": "cosmossdk_io_math.LegacyDec", "Description": "reduce_margin_ratio defines the ratio of the margin that is reduced" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the maximum open notional for the market" } ] diff --git a/source/json_tables/injective/exchange/v2/DerivativeMarketParamUpdateProposal.json b/source/json_tables/injective/exchange/v2/DerivativeMarketParamUpdateProposal.json index e445795d..384a7a21 100644 --- a/source/json_tables/injective/exchange/v2/DerivativeMarketParamUpdateProposal.json +++ b/source/json_tables/injective/exchange/v2/DerivativeMarketParamUpdateProposal.json @@ -88,5 +88,10 @@ "Parameter": "reduce_margin_ratio", "Type": "cosmossdk_io_math.LegacyDec", "Description": "reduce_margin_ratio defines the ratio of the margin that is reduced" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the maximum open notional for the market" } ] diff --git a/source/json_tables/injective/exchange/v2/ExecutionType.json b/source/json_tables/injective/exchange/v2/ExecutionType.json index 59644573..2bbae26f 100644 --- a/source/json_tables/injective/exchange/v2/ExecutionType.json +++ b/source/json_tables/injective/exchange/v2/ExecutionType.json @@ -26,5 +26,9 @@ { "Code": "6", "Name": "ExpiryMarketSettlement" + }, + { + "Code": "7", + "Name": "OffsettingPosition" } ] diff --git a/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketLaunchProposal.json b/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketLaunchProposal.json index 0b8beafa..41f06cf0 100644 --- a/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketLaunchProposal.json +++ b/source/json_tables/injective/exchange/v2/ExpiryFuturesMarketLaunchProposal.json @@ -88,5 +88,10 @@ "Parameter": "reduce_margin_ratio", "Type": "cosmossdk_io_math.LegacyDec", "Description": "reduce_margin_ratio defines the ratio of the margin that is reduced" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the maximum open notional for the market" } ] diff --git a/source/json_tables/injective/exchange/v2/FullDerivativeMarket.json b/source/json_tables/injective/exchange/v2/FullDerivativeMarket.json index 45987520..f469a2a5 100644 --- a/source/json_tables/injective/exchange/v2/FullDerivativeMarket.json +++ b/source/json_tables/injective/exchange/v2/FullDerivativeMarket.json @@ -13,15 +13,5 @@ "Parameter": "mid_price_and_tob", "Type": "MidPriceAndTOB", "Description": "mid_price_and_tob defines the mid price for this market and the best ask and bid orders" - }, - { - "Parameter": "perpetual_info", - "Type": "PerpetualMarketState", - "Description": "" - }, - { - "Parameter": "futures_info", - "Type": "ExpiryFuturesMarketInfo", - "Description": "" } ] diff --git a/source/json_tables/injective/exchange/v2/FullDerivativeMarket_FuturesInfo.json b/source/json_tables/injective/exchange/v2/FullDerivativeMarket_FuturesInfo.json new file mode 100644 index 00000000..ca168da8 --- /dev/null +++ b/source/json_tables/injective/exchange/v2/FullDerivativeMarket_FuturesInfo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "futures_info", + "Type": "ExpiryFuturesMarketInfo", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/v2/FullDerivativeMarket_PerpetualInfo.json b/source/json_tables/injective/exchange/v2/FullDerivativeMarket_PerpetualInfo.json new file mode 100644 index 00000000..ad23e1d6 --- /dev/null +++ b/source/json_tables/injective/exchange/v2/FullDerivativeMarket_PerpetualInfo.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "perpetual_info", + "Type": "PerpetualMarketState", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/v2/GenesisState.json b/source/json_tables/injective/exchange/v2/GenesisState.json index c7e3201c..75123da7 100644 --- a/source/json_tables/injective/exchange/v2/GenesisState.json +++ b/source/json_tables/injective/exchange/v2/GenesisState.json @@ -140,9 +140,9 @@ "Description": "spot_market_ids_scheduled_to_force_close defines the scheduled markets for forced closings at genesis" }, { - "Parameter": "denom_decimals", + "Parameter": "auction_exchange_transfer_denom_decimals", "Type": "DenomDecimals array", - "Description": "denom_decimals defines the denom decimals for the exchange." + "Description": "auction_exchange_transfer_denom_decimals defines the denom decimals for the exchange." }, { "Parameter": "conditional_derivative_orderbooks", diff --git a/source/json_tables/injective/exchange/v2/MsgBatchUpdateOrders.json b/source/json_tables/injective/exchange/v2/MsgBatchUpdateOrders.json index 4f85c6ff..6d58e5d6 100644 --- a/source/json_tables/injective/exchange/v2/MsgBatchUpdateOrders.json +++ b/source/json_tables/injective/exchange/v2/MsgBatchUpdateOrders.json @@ -64,5 +64,23 @@ "Type": "DerivativeOrder array", "Description": "the binary options orders to create", "Required": "No" + }, + { + "Parameter": "spot_market_orders_to_create", + "Type": "SpotOrder array", + "Description": "the spot market orders to create", + "Required": "No" + }, + { + "Parameter": "derivative_market_orders_to_create", + "Type": "DerivativeOrder array", + "Description": "the derivative market orders to create", + "Required": "No" + }, + { + "Parameter": "binary_options_market_orders_to_create", + "Type": "DerivativeOrder array", + "Description": "the binary options market orders to create", + "Required": "No" } ] diff --git a/source/json_tables/injective/exchange/v2/MsgBatchUpdateOrdersResponse.json b/source/json_tables/injective/exchange/v2/MsgBatchUpdateOrdersResponse.json index 51f2b585..9cb39958 100644 --- a/source/json_tables/injective/exchange/v2/MsgBatchUpdateOrdersResponse.json +++ b/source/json_tables/injective/exchange/v2/MsgBatchUpdateOrdersResponse.json @@ -58,5 +58,50 @@ "Parameter": "failed_binary_options_orders_cids", "Type": "string array", "Description": "" + }, + { + "Parameter": "spot_market_order_hashes", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "created_spot_market_orders_cids", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "failed_spot_market_orders_cids", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "derivative_market_order_hashes", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "created_derivative_market_orders_cids", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "failed_derivative_market_orders_cids", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "binary_options_market_order_hashes", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "created_binary_options_market_orders_cids", + "Type": "string array", + "Description": "" + }, + { + "Parameter": "failed_binary_options_market_orders_cids", + "Type": "string array", + "Description": "" } ] diff --git a/source/json_tables/injective/exchange/v2/MsgInstantBinaryOptionsMarketLaunch.json b/source/json_tables/injective/exchange/v2/MsgInstantBinaryOptionsMarketLaunch.json index f5b95331..d6064d51 100644 --- a/source/json_tables/injective/exchange/v2/MsgInstantBinaryOptionsMarketLaunch.json +++ b/source/json_tables/injective/exchange/v2/MsgInstantBinaryOptionsMarketLaunch.json @@ -88,5 +88,11 @@ "Type": "cosmossdk_io_math.LegacyDec", "Description": "min_notional defines the minimum notional (in quote asset) required for orders in the market (in human readable format)", "Required": "Yes" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the cap on the open notional", + "Required": "Yes" } ] diff --git a/source/json_tables/injective/exchange/v2/MsgInstantExpiryFuturesMarketLaunch.json b/source/json_tables/injective/exchange/v2/MsgInstantExpiryFuturesMarketLaunch.json index 4b43f5e3..aefdced2 100644 --- a/source/json_tables/injective/exchange/v2/MsgInstantExpiryFuturesMarketLaunch.json +++ b/source/json_tables/injective/exchange/v2/MsgInstantExpiryFuturesMarketLaunch.json @@ -94,5 +94,11 @@ "Type": "cosmossdk_io_math.LegacyDec", "Description": "reduce_margin_ratio defines the ratio of the margin that is reduced", "Required": "Yes" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the cap on the open notional", + "Required": "Yes" } ] diff --git a/source/json_tables/injective/exchange/v2/MsgInstantPerpetualMarketLaunch.json b/source/json_tables/injective/exchange/v2/MsgInstantPerpetualMarketLaunch.json index 7e131d77..c2b3a78c 100644 --- a/source/json_tables/injective/exchange/v2/MsgInstantPerpetualMarketLaunch.json +++ b/source/json_tables/injective/exchange/v2/MsgInstantPerpetualMarketLaunch.json @@ -88,5 +88,11 @@ "Type": "cosmossdk_io_math.LegacyDec", "Description": "reduce_margin_ratio defines the ratio of the margin that is reduced", "Required": "Yes" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the cap on the open notional", + "Required": "Yes" } ] diff --git a/source/json_tables/injective/exchange/v2/MsgOffsetPosition.json b/source/json_tables/injective/exchange/v2/MsgOffsetPosition.json new file mode 100644 index 00000000..8b2d13eb --- /dev/null +++ b/source/json_tables/injective/exchange/v2/MsgOffsetPosition.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "subaccount_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "market_id", + "Type": "string", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "offsetting_subaccount_ids", + "Type": "string array", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/injective/exchange/v2/MsgSetDelegationTransferReceivers.json b/source/json_tables/injective/exchange/v2/MsgSetDelegationTransferReceivers.json deleted file mode 100644 index 07b19b59..00000000 --- a/source/json_tables/injective/exchange/v2/MsgSetDelegationTransferReceivers.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "Parameter": "sender", - "Type": "string", - "Description": "the sender's Injective address (must be exchange admin)", - "Required": "Yes" - }, - { - "Parameter": "receivers", - "Type": "string array", - "Description": "list of receiver addresses to set as delegation transfer receivers", - "Required": "Yes" - } -] diff --git a/source/json_tables/injective/exchange/v2/MsgUpdateDerivativeMarket.json b/source/json_tables/injective/exchange/v2/MsgUpdateDerivativeMarket.json index cf4f6245..624f14e2 100644 --- a/source/json_tables/injective/exchange/v2/MsgUpdateDerivativeMarket.json +++ b/source/json_tables/injective/exchange/v2/MsgUpdateDerivativeMarket.json @@ -52,5 +52,11 @@ "Type": "cosmossdk_io_math.LegacyDec", "Description": "(optional) updated value for reduce_margin_ratio", "Required": "No" + }, + { + "Parameter": "new_open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "(optional) updated value for open_notional_cap", + "Required": "No" } ] diff --git a/source/json_tables/injective/exchange/v2/OpenInterest.json b/source/json_tables/injective/exchange/v2/OpenInterest.json new file mode 100644 index 00000000..1fb23993 --- /dev/null +++ b/source/json_tables/injective/exchange/v2/OpenInterest.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "market_id", + "Type": "string", + "Description": "the market ID" + }, + { + "Parameter": "balance", + "Type": "cosmossdk_io_math.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 new file mode 100644 index 00000000..c5c99c03 --- /dev/null +++ b/source/json_tables/injective/exchange/v2/OpenNotionalCapCapped.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "value", + "Type": "cosmossdk_io_math.LegacyDec", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/v2/OpenNotionalCap_Capped.json b/source/json_tables/injective/exchange/v2/OpenNotionalCap_Capped.json new file mode 100644 index 00000000..9951f962 --- /dev/null +++ b/source/json_tables/injective/exchange/v2/OpenNotionalCap_Capped.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "capped", + "Type": "OpenNotionalCapCapped", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/v2/OpenNotionalCap_Uncapped.json b/source/json_tables/injective/exchange/v2/OpenNotionalCap_Uncapped.json new file mode 100644 index 00000000..00e7e305 --- /dev/null +++ b/source/json_tables/injective/exchange/v2/OpenNotionalCap_Uncapped.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "uncapped", + "Type": "OpenNotionalCapUncapped", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/v2/Params.json b/source/json_tables/injective/exchange/v2/Params.json index 717209c3..3337b16e 100644 --- a/source/json_tables/injective/exchange/v2/Params.json +++ b/source/json_tables/injective/exchange/v2/Params.json @@ -154,19 +154,19 @@ "Type": "cosmossdk_io_math.LegacyDec", "Description": "default_reduce_margin_ratio defines the default reduce margin ratio on a new derivative market" }, - { - "Parameter": "human_readable_upgrade_block_height", - "Type": "int64", - "Description": "DO NOT USE THIS FIELD. It was introduced for a temporary bug fix." - }, { "Parameter": "post_only_mode_blocks_amount", "Type": "uint64", - "Description": "post_only_mode_blocks_amount defines the amount of blocks the post only mode will be enabled" + "Description": "post_only_mode_blocks_amount defines the amount of blocks the post only mode will be enabled after a chain upgrade" }, { "Parameter": "min_post_only_mode_downtime_duration", "Type": "string", "Description": "min_post_only_mode_downtime_duration defines the minimum downtime duration that must pass before the post only mode is automatically enabled. The accepted values are the Downtime enum values from the downtime_duration module" + }, + { + "Parameter": "post_only_mode_blocks_amount_after_downtime", + "Type": "uint64", + "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" } ] diff --git a/source/json_tables/injective/exchange/v2/PerpetualMarketLaunchProposal.json b/source/json_tables/injective/exchange/v2/PerpetualMarketLaunchProposal.json index acae45a8..2f90257b 100644 --- a/source/json_tables/injective/exchange/v2/PerpetualMarketLaunchProposal.json +++ b/source/json_tables/injective/exchange/v2/PerpetualMarketLaunchProposal.json @@ -83,5 +83,10 @@ "Parameter": "reduce_margin_ratio", "Type": "cosmossdk_io_math.LegacyDec", "Description": "reduce_margin_ratio defines the ratio of the margin that is reduced" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "open_notional_cap defines the maximum open notional for the market" } ] diff --git a/source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalRequest.json b/source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalRequest.json new file mode 100644 index 00000000..2f418605 --- /dev/null +++ b/source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "denom", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/injective/exchange/v2/QueryDenomDecimalResponse.json b/source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalResponse.json similarity index 100% rename from source/json_tables/injective/exchange/v2/QueryDenomDecimalResponse.json rename to source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalResponse.json diff --git a/source/json_tables/injective/exchange/v2/QueryDenomDecimalsRequest.json b/source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalsRequest.json similarity index 100% rename from source/json_tables/injective/exchange/v2/QueryDenomDecimalsRequest.json rename to source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalsRequest.json diff --git a/source/json_tables/injective/exchange/v2/QueryDenomDecimalsResponse.json b/source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalsResponse.json similarity index 100% rename from source/json_tables/injective/exchange/v2/QueryDenomDecimalsResponse.json rename to source/json_tables/injective/exchange/v2/QueryAuctionExchangeTransferDenomDecimalsResponse.json diff --git a/source/json_tables/injective/exchange/v2/QueryDerivativeOrderbookResponse.json b/source/json_tables/injective/exchange/v2/QueryDerivativeOrderbookResponse.json index 74f73ed8..5c7c23f9 100644 --- a/source/json_tables/injective/exchange/v2/QueryDerivativeOrderbookResponse.json +++ b/source/json_tables/injective/exchange/v2/QueryDerivativeOrderbookResponse.json @@ -8,5 +8,10 @@ "Parameter": "sells_price_level", "Type": "Level array", "Description": "" + }, + { + "Parameter": "seq", + "Type": "uint64", + "Description": "the current orderbook sequence number" } ] diff --git a/source/json_tables/injective/exchange/v2/QueryFullDerivativeOrderbookResponse.json b/source/json_tables/injective/exchange/v2/QueryFullDerivativeOrderbookResponse.json index d658e038..bdb74899 100644 --- a/source/json_tables/injective/exchange/v2/QueryFullDerivativeOrderbookResponse.json +++ b/source/json_tables/injective/exchange/v2/QueryFullDerivativeOrderbookResponse.json @@ -8,5 +8,10 @@ "Parameter": "Asks", "Type": "TrimmedLimitOrder array", "Description": "" + }, + { + "Parameter": "seq", + "Type": "uint64", + "Description": "the current orderbook sequence number" } ] diff --git a/source/json_tables/injective/exchange/v2/QueryFullSpotOrderbookResponse.json b/source/json_tables/injective/exchange/v2/QueryFullSpotOrderbookResponse.json index d658e038..bdb74899 100644 --- a/source/json_tables/injective/exchange/v2/QueryFullSpotOrderbookResponse.json +++ b/source/json_tables/injective/exchange/v2/QueryFullSpotOrderbookResponse.json @@ -8,5 +8,10 @@ "Parameter": "Asks", "Type": "TrimmedLimitOrder array", "Description": "" + }, + { + "Parameter": "seq", + "Type": "uint64", + "Description": "the current orderbook sequence number" } ] diff --git a/source/json_tables/injective/exchange/v2/QueryOpenInterestRequest.json b/source/json_tables/injective/exchange/v2/QueryOpenInterestRequest.json new file mode 100644 index 00000000..409e8e83 --- /dev/null +++ b/source/json_tables/injective/exchange/v2/QueryOpenInterestRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "market_id", + "Type": "string", + "Description": "market id", + "Required": "Yes" + } +] diff --git a/source/json_tables/injective/exchange/v2/QueryOpenInterestResponse.json b/source/json_tables/injective/exchange/v2/QueryOpenInterestResponse.json new file mode 100644 index 00000000..41f956de --- /dev/null +++ b/source/json_tables/injective/exchange/v2/QueryOpenInterestResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "amount", + "Type": "OpenInterest", + "Description": "" + } +] diff --git a/source/json_tables/injective/exchange/v2/QuerySpotOrderbookResponse.json b/source/json_tables/injective/exchange/v2/QuerySpotOrderbookResponse.json index 74f73ed8..5c7c23f9 100644 --- a/source/json_tables/injective/exchange/v2/QuerySpotOrderbookResponse.json +++ b/source/json_tables/injective/exchange/v2/QuerySpotOrderbookResponse.json @@ -8,5 +8,10 @@ "Parameter": "sells_price_level", "Type": "Level array", "Description": "" + }, + { + "Parameter": "seq", + "Type": "uint64", + "Description": "the current orderbook sequence number" } ] diff --git a/source/json_tables/injective/exchange/v2/UpdateDenomDecimalsProposal.json b/source/json_tables/injective/exchange/v2/UpdateAuctionExchangeTransferDenomDecimalsProposal.json similarity index 100% rename from source/json_tables/injective/exchange/v2/UpdateDenomDecimalsProposal.json rename to source/json_tables/injective/exchange/v2/UpdateAuctionExchangeTransferDenomDecimalsProposal.json diff --git a/source/json_tables/injective/peggy/BridgeTransfer.json b/source/json_tables/injective/peggy/BridgeTransfer.json new file mode 100644 index 00000000..2697c7bd --- /dev/null +++ b/source/json_tables/injective/peggy/BridgeTransfer.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "amount", + "Type": "cosmossdk_io_math.Int", + "Description": "quantity that was bridged (chain format)" + }, + { + "Parameter": "block_number", + "Type": "uint64", + "Description": "the Injective block at which this amount was bridged" + }, + { + "Parameter": "is_deposit", + "Type": "bool", + "Description": "type of transfer (withdrawal/deposit)" + } +] diff --git a/source/json_tables/injective/peggy/GenesisState.json b/source/json_tables/injective/peggy/GenesisState.json index 3aa678e5..94848829 100644 --- a/source/json_tables/injective/peggy/GenesisState.json +++ b/source/json_tables/injective/peggy/GenesisState.json @@ -73,5 +73,10 @@ "Parameter": "ethereum_blacklist", "Type": "string array", "Description": "" + }, + { + "Parameter": "rate_limits", + "Type": "RateLimit array", + "Description": "" } ] diff --git a/source/json_tables/injective/peggy/MsgCreateRateLimit.json b/source/json_tables/injective/peggy/MsgCreateRateLimit.json new file mode 100644 index 00000000..6142c0e6 --- /dev/null +++ b/source/json_tables/injective/peggy/MsgCreateRateLimit.json @@ -0,0 +1,44 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "address of peggy admin or governance account", + "Required": "Yes" + }, + { + "Parameter": "token_address", + "Type": "string", + "Description": "address of the ERC20 token", + "Required": "Yes" + }, + { + "Parameter": "token_decimals", + "Type": "uint32", + "Description": "decimals of the ERC20 token", + "Required": "Yes" + }, + { + "Parameter": "token_price_id", + "Type": "string", + "Description": "a Pyth-specific ID used to obtain USD price of the ERC20 token", + "Required": "Yes" + }, + { + "Parameter": "rate_limit_usd", + "Type": "cosmossdk_io_math.LegacyDec", + "Description": "the notional USD limit imposed on all outgoing traffic (per token)", + "Required": "Yes" + }, + { + "Parameter": "absolute_mint_limit", + "Type": "cosmossdk_io_math.Int", + "Description": "the absolute amount of tokens that can be minted on Injective", + "Required": "Yes" + }, + { + "Parameter": "rate_limit_window", + "Type": "uint64", + "Description": "length of the sliding window in which inbound (outbound) traffic is measured", + "Required": "Yes" + } +] diff --git a/source/json_tables/injective/peggy/MsgRemoveRateLimit.json b/source/json_tables/injective/peggy/MsgRemoveRateLimit.json new file mode 100644 index 00000000..b495b15d --- /dev/null +++ b/source/json_tables/injective/peggy/MsgRemoveRateLimit.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "authority is the address of peggy admin or governance account", + "Required": "Yes" + }, + { + "Parameter": "token_address", + "Type": "string", + "Description": "token_address is the address of rate limited token", + "Required": "Yes" + } +] diff --git a/source/json_tables/injective/peggy/MsgSendToEth.json b/source/json_tables/injective/peggy/MsgSendToEth.json index 20c4f19c..7250d735 100644 --- a/source/json_tables/injective/peggy/MsgSendToEth.json +++ b/source/json_tables/injective/peggy/MsgSendToEth.json @@ -2,25 +2,25 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "eth_dest", "Type": "string", - "Description": "", + "Description": "The Ethereum address to send the tokens to", "Required": "Yes" }, { "Parameter": "amount", "Type": "types.Coin", - "Description": "", + "Description": "The amount of tokens to send", "Required": "Yes" }, { "Parameter": "bridge_fee", "Type": "types.Coin", - "Description": "", + "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/MsgUpdateRateLimit.json b/source/json_tables/injective/peggy/MsgUpdateRateLimit.json new file mode 100644 index 00000000..4b425a10 --- /dev/null +++ b/source/json_tables/injective/peggy/MsgUpdateRateLimit.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "authority is the address of peggy admin or governance account", + "Required": "Yes" + }, + { + "Parameter": "token_address", + "Type": "string", + "Description": "token_address is the address of rate limited token", + "Required": "Yes" + }, + { + "Parameter": "new_token_price_id", + "Type": "string", + "Description": "new_token_price_id is the new Pyth price ID of the rate limited token", + "Required": "Yes" + }, + { + "Parameter": "new_rate_limit_usd", + "Type": "cosmossdk_io_math.LegacyDec", + "Description": "new_rate_limit_usd is the new notional limit (on withdrawals) in USD", + "Required": "Yes" + }, + { + "Parameter": "new_rate_limit_window", + "Type": "uint64", + "Description": "new_rate_limit_window is the new length of the sliding window", + "Required": "Yes" + } +] diff --git a/source/json_tables/injective/peggy/RateLimit.json b/source/json_tables/injective/peggy/RateLimit.json new file mode 100644 index 00000000..b5b7be41 --- /dev/null +++ b/source/json_tables/injective/peggy/RateLimit.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "token_address", + "Type": "string", + "Description": "address of the ERC20 token" + }, + { + "Parameter": "token_decimals", + "Type": "uint32", + "Description": "decimals of the ERC20 token" + }, + { + "Parameter": "token_price_id", + "Type": "string", + "Description": "a Pyth-specific ID used to obtain USD price of the ERC20 token" + }, + { + "Parameter": "rate_limit_window", + "Type": "uint64", + "Description": "length of the sliding window in which inbound (outbound) traffic is measured" + }, + { + "Parameter": "rate_limit_usd", + "Type": "cosmossdk_io_math.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" + }, + { + "Parameter": "transfers", + "Type": "BridgeTransfer array", + "Description": "transfers that occurred within the sliding window" + } +] diff --git a/source/json_tables/injective/peggy/v1/JailReason.json b/source/json_tables/injective/peggy/v1/JailReason.json new file mode 100644 index 00000000..2eea6b0e --- /dev/null +++ b/source/json_tables/injective/peggy/v1/JailReason.json @@ -0,0 +1,10 @@ +[ + { + "Code": "0", + "Name": "MissingValsetConfirm" + }, + { + "Code": "1", + "Name": "MissingBatchConfirm" + } +] diff --git a/source/json_tables/injective/permissions/ActorRoles.json b/source/json_tables/injective/permissions/ActorRoles.json index b30332d2..a3d5a843 100644 --- a/source/json_tables/injective/permissions/ActorRoles.json +++ b/source/json_tables/injective/permissions/ActorRoles.json @@ -2,11 +2,11 @@ { "Parameter": "actor", "Type": "string", - "Description": "" + "Description": "The actor name" }, { "Parameter": "roles", "Type": "string array", - "Description": "" + "Description": "The roles for the actor" } ] diff --git a/source/json_tables/injective/permissions/AddressVoucher.json b/source/json_tables/injective/permissions/AddressVoucher.json index c8234883..9cc734c2 100644 --- a/source/json_tables/injective/permissions/AddressVoucher.json +++ b/source/json_tables/injective/permissions/AddressVoucher.json @@ -2,11 +2,11 @@ { "Parameter": "address", "Type": "string", - "Description": "" + "Description": "The Injective address that the voucher is for" }, { "Parameter": "voucher", "Type": "github_com_cosmos_cosmos_sdk_types.Coin", - "Description": "" + "Description": "The voucher amount" } ] diff --git a/source/json_tables/injective/permissions/GenesisState.json b/source/json_tables/injective/permissions/GenesisState.json index d425ae22..e715d137 100644 --- a/source/json_tables/injective/permissions/GenesisState.json +++ b/source/json_tables/injective/permissions/GenesisState.json @@ -2,16 +2,16 @@ { "Parameter": "params", "Type": "Params", - "Description": "params defines the parameters of the module." + "Description": "params defines the parameters of the module" }, { "Parameter": "namespaces", "Type": "Namespace array", - "Description": "" + "Description": "namespaces defines the namespaces of the module" }, { "Parameter": "vouchers", "Type": "AddressVoucher array", - "Description": "" + "Description": "vouchers defines the vouchers of the module" } ] diff --git a/source/json_tables/injective/permissions/MsgClaimVoucher.json b/source/json_tables/injective/permissions/MsgClaimVoucher.json index 15a84d2e..0ab15eb9 100644 --- a/source/json_tables/injective/permissions/MsgClaimVoucher.json +++ b/source/json_tables/injective/permissions/MsgClaimVoucher.json @@ -2,13 +2,13 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom of the voucher to claim", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/MsgCreateNamespace.json b/source/json_tables/injective/permissions/MsgCreateNamespace.json index a075f258..06899e6b 100644 --- a/source/json_tables/injective/permissions/MsgCreateNamespace.json +++ b/source/json_tables/injective/permissions/MsgCreateNamespace.json @@ -2,13 +2,13 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "namespace", "Type": "Namespace", - "Description": "", + "Description": "The namespace information", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/MsgUpdateActorRoles.json b/source/json_tables/injective/permissions/MsgUpdateActorRoles.json index 1db58137..6aa50429 100644 --- a/source/json_tables/injective/permissions/MsgUpdateActorRoles.json +++ b/source/json_tables/injective/permissions/MsgUpdateActorRoles.json @@ -2,25 +2,25 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The namespace denom to which this updates are applied", "Required": "Yes" }, { "Parameter": "role_actors_to_add", "Type": "RoleActors array", - "Description": "", + "Description": "The roles to add for given actors", "Required": "No" }, { "Parameter": "role_actors_to_revoke", "Type": "RoleActors array", - "Description": "", + "Description": "The roles to revoke from given actors", "Required": "No" } ] diff --git a/source/json_tables/injective/permissions/MsgUpdateNamespace.json b/source/json_tables/injective/permissions/MsgUpdateNamespace.json index 6eaeb979..d7fc72d5 100644 --- a/source/json_tables/injective/permissions/MsgUpdateNamespace.json +++ b/source/json_tables/injective/permissions/MsgUpdateNamespace.json @@ -2,49 +2,43 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "denom whose namespace updates are to be applied", "Required": "Yes" }, { "Parameter": "contract_hook", "Type": "MsgUpdateNamespace_SetContractHook", - "Description": "", + "Description": "address of smart contract to apply code-based restrictions", "Required": "No" }, { "Parameter": "role_permissions", "Type": "Role array", - "Description": "", + "Description": "role permissions to update", "Required": "No" }, { "Parameter": "role_managers", "Type": "RoleManager array", - "Description": "", + "Description": "role managers to update", "Required": "No" }, { "Parameter": "policy_statuses", "Type": "PolicyStatus array", - "Description": "", + "Description": "policy statuses to update", "Required": "No" }, { "Parameter": "policy_manager_capabilities", "Type": "PolicyManagerCapability array", - "Description": "", + "Description": "policy manager capabilities to update", "Required": "No" - }, - { - "Parameter": "new_value", - "Type": "string", - "Description": "", - "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/MsgUpdateNamespace_SetContractHook.json b/source/json_tables/injective/permissions/MsgUpdateNamespace_SetContractHook.json new file mode 100644 index 00000000..33a8611d --- /dev/null +++ b/source/json_tables/injective/permissions/MsgUpdateNamespace_SetContractHook.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "new_value", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/injective/permissions/Namespace.json b/source/json_tables/injective/permissions/Namespace.json index 6b24430a..e4d91f84 100644 --- a/source/json_tables/injective/permissions/Namespace.json +++ b/source/json_tables/injective/permissions/Namespace.json @@ -2,36 +2,36 @@ { "Parameter": "denom", "Type": "string", - "Description": "" + "Description": "The tokenfactory denom to which this namespace applies to" }, { "Parameter": "contract_hook", "Type": "string", - "Description": "" + "Description": "The address of smart contract to apply code-based restrictions" }, { "Parameter": "role_permissions", "Type": "Role array", - "Description": "" + "Description": "permissions for each role" }, { "Parameter": "actor_roles", "Type": "ActorRoles array", - "Description": "" + "Description": "roles for each actor" }, { "Parameter": "role_managers", "Type": "RoleManager array", - "Description": "" + "Description": "managers for each role" }, { "Parameter": "policy_statuses", "Type": "PolicyStatus array", - "Description": "" + "Description": "status for each policy" }, { "Parameter": "policy_manager_capabilities", "Type": "PolicyManagerCapability array", - "Description": "" + "Description": "capabilities for each manager for each policy" } ] diff --git a/source/json_tables/injective/permissions/Params.json b/source/json_tables/injective/permissions/Params.json index f636e989..0d871bfd 100644 --- a/source/json_tables/injective/permissions/Params.json +++ b/source/json_tables/injective/permissions/Params.json @@ -2,6 +2,6 @@ { "Parameter": "wasm_hook_query_max_gas", "Type": "uint64", - "Description": "" + "Description": "Max amount of gas allowed for wasm hook queries" } ] diff --git a/source/json_tables/injective/permissions/PolicyManagerCapability.json b/source/json_tables/injective/permissions/PolicyManagerCapability.json index cc6edc66..b7456238 100644 --- a/source/json_tables/injective/permissions/PolicyManagerCapability.json +++ b/source/json_tables/injective/permissions/PolicyManagerCapability.json @@ -2,21 +2,21 @@ { "Parameter": "manager", "Type": "string", - "Description": "" + "Description": "The manager name" }, { "Parameter": "action", "Type": "Action", - "Description": "" + "Description": "The action code number" }, { "Parameter": "can_disable", "Type": "bool", - "Description": "" + "Description": "Whether the manager can disable the policy" }, { "Parameter": "can_seal", "Type": "bool", - "Description": "" + "Description": "Whether the manager can seal the policy" } ] diff --git a/source/json_tables/injective/permissions/PolicyStatus.json b/source/json_tables/injective/permissions/PolicyStatus.json index ceff9d31..9dda9dce 100644 --- a/source/json_tables/injective/permissions/PolicyStatus.json +++ b/source/json_tables/injective/permissions/PolicyStatus.json @@ -2,16 +2,16 @@ { "Parameter": "action", "Type": "Action", - "Description": "" + "Description": "The action code number" }, { "Parameter": "is_disabled", "Type": "bool", - "Description": "" + "Description": "Whether the policy is disabled" }, { "Parameter": "is_sealed", "Type": "bool", - "Description": "" + "Description": "Whether the policy is sealed" } ] diff --git a/source/json_tables/injective/permissions/QueryActorsByRoleRequest.json b/source/json_tables/injective/permissions/QueryActorsByRoleRequest.json index d505879c..87ac41dc 100644 --- a/source/json_tables/injective/permissions/QueryActorsByRoleRequest.json +++ b/source/json_tables/injective/permissions/QueryActorsByRoleRequest.json @@ -2,13 +2,13 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" }, { "Parameter": "role", "Type": "string", - "Description": "", + "Description": "The role to query actors for", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryActorsByRoleResponse.json b/source/json_tables/injective/permissions/QueryActorsByRoleResponse.json index 82ff32fe..4a0f9e90 100644 --- a/source/json_tables/injective/permissions/QueryActorsByRoleResponse.json +++ b/source/json_tables/injective/permissions/QueryActorsByRoleResponse.json @@ -2,6 +2,6 @@ { "Parameter": "actors", "Type": "string array", - "Description": "" + "Description": "List of actors' Injective addresses" } ] diff --git a/source/json_tables/injective/permissions/QueryModuleStateResponse.json b/source/json_tables/injective/permissions/QueryModuleStateResponse.json index 5b5e4fd1..11981174 100644 --- a/source/json_tables/injective/permissions/QueryModuleStateResponse.json +++ b/source/json_tables/injective/permissions/QueryModuleStateResponse.json @@ -2,6 +2,6 @@ { "Parameter": "state", "Type": "GenesisState", - "Description": "" + "Description": "The module state" } ] diff --git a/source/json_tables/injective/permissions/QueryNamespaceDenomsResponse.json b/source/json_tables/injective/permissions/QueryNamespaceDenomsResponse.json index ad26b14d..20a70562 100644 --- a/source/json_tables/injective/permissions/QueryNamespaceDenomsResponse.json +++ b/source/json_tables/injective/permissions/QueryNamespaceDenomsResponse.json @@ -2,6 +2,6 @@ { "Parameter": "denoms", "Type": "string array", - "Description": "" + "Description": "List of denoms" } ] diff --git a/source/json_tables/injective/permissions/QueryNamespaceRequest.json b/source/json_tables/injective/permissions/QueryNamespaceRequest.json index 2f418605..890eec72 100644 --- a/source/json_tables/injective/permissions/QueryNamespaceRequest.json +++ b/source/json_tables/injective/permissions/QueryNamespaceRequest.json @@ -2,7 +2,7 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryNamespaceResponse.json b/source/json_tables/injective/permissions/QueryNamespaceResponse.json index cca0298a..188f790a 100644 --- a/source/json_tables/injective/permissions/QueryNamespaceResponse.json +++ b/source/json_tables/injective/permissions/QueryNamespaceResponse.json @@ -2,6 +2,6 @@ { "Parameter": "namespace", "Type": "Namespace", - "Description": "" + "Description": "The namespace details" } ] diff --git a/source/json_tables/injective/permissions/QueryNamespacesResponse.json b/source/json_tables/injective/permissions/QueryNamespacesResponse.json index 83f7710c..97f2becd 100644 --- a/source/json_tables/injective/permissions/QueryNamespacesResponse.json +++ b/source/json_tables/injective/permissions/QueryNamespacesResponse.json @@ -2,6 +2,6 @@ { "Parameter": "namespaces", "Type": "Namespace array", - "Description": "" + "Description": "List of namespaces" } ] diff --git a/source/json_tables/injective/permissions/QueryPolicyManagerCapabilitiesRequest.json b/source/json_tables/injective/permissions/QueryPolicyManagerCapabilitiesRequest.json index 2f418605..890eec72 100644 --- a/source/json_tables/injective/permissions/QueryPolicyManagerCapabilitiesRequest.json +++ b/source/json_tables/injective/permissions/QueryPolicyManagerCapabilitiesRequest.json @@ -2,7 +2,7 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryPolicyManagerCapabilitiesResponse.json b/source/json_tables/injective/permissions/QueryPolicyManagerCapabilitiesResponse.json index 2436b9a4..5848a8c4 100644 --- a/source/json_tables/injective/permissions/QueryPolicyManagerCapabilitiesResponse.json +++ b/source/json_tables/injective/permissions/QueryPolicyManagerCapabilitiesResponse.json @@ -2,6 +2,6 @@ { "Parameter": "policy_manager_capabilities", "Type": "PolicyManagerCapability array", - "Description": "" + "Description": "List of policy manager capabilities" } ] diff --git a/source/json_tables/injective/permissions/QueryPolicyStatusesRequest.json b/source/json_tables/injective/permissions/QueryPolicyStatusesRequest.json index 2f418605..890eec72 100644 --- a/source/json_tables/injective/permissions/QueryPolicyStatusesRequest.json +++ b/source/json_tables/injective/permissions/QueryPolicyStatusesRequest.json @@ -2,7 +2,7 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryPolicyStatusesResponse.json b/source/json_tables/injective/permissions/QueryPolicyStatusesResponse.json index 515c28fe..b91e1aed 100644 --- a/source/json_tables/injective/permissions/QueryPolicyStatusesResponse.json +++ b/source/json_tables/injective/permissions/QueryPolicyStatusesResponse.json @@ -2,6 +2,6 @@ { "Parameter": "policy_statuses", "Type": "PolicyStatus array", - "Description": "" + "Description": "List of policy statuses" } ] diff --git a/source/json_tables/injective/permissions/QueryRoleManagerRequest.json b/source/json_tables/injective/permissions/QueryRoleManagerRequest.json index cc6f9fe3..6190f885 100644 --- a/source/json_tables/injective/permissions/QueryRoleManagerRequest.json +++ b/source/json_tables/injective/permissions/QueryRoleManagerRequest.json @@ -2,13 +2,13 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" }, { "Parameter": "manager", "Type": "string", - "Description": "", + "Description": "The manager Injective address", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryRoleManagerResponse.json b/source/json_tables/injective/permissions/QueryRoleManagerResponse.json index 6b005e1e..6918e9ee 100644 --- a/source/json_tables/injective/permissions/QueryRoleManagerResponse.json +++ b/source/json_tables/injective/permissions/QueryRoleManagerResponse.json @@ -2,6 +2,6 @@ { "Parameter": "role_manager", "Type": "RoleManager", - "Description": "" + "Description": "The role manager details" } ] diff --git a/source/json_tables/injective/permissions/QueryRoleManagersRequest.json b/source/json_tables/injective/permissions/QueryRoleManagersRequest.json index 2f418605..890eec72 100644 --- a/source/json_tables/injective/permissions/QueryRoleManagersRequest.json +++ b/source/json_tables/injective/permissions/QueryRoleManagersRequest.json @@ -2,7 +2,7 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryRoleManagersResponse.json b/source/json_tables/injective/permissions/QueryRoleManagersResponse.json index 382ac109..ff0baf72 100644 --- a/source/json_tables/injective/permissions/QueryRoleManagersResponse.json +++ b/source/json_tables/injective/permissions/QueryRoleManagersResponse.json @@ -2,6 +2,6 @@ { "Parameter": "role_managers", "Type": "RoleManager array", - "Description": "" + "Description": "List of role managers" } ] diff --git a/source/json_tables/injective/permissions/QueryRolesByActorRequest.json b/source/json_tables/injective/permissions/QueryRolesByActorRequest.json index f984000e..cefd2b81 100644 --- a/source/json_tables/injective/permissions/QueryRolesByActorRequest.json +++ b/source/json_tables/injective/permissions/QueryRolesByActorRequest.json @@ -2,13 +2,13 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" }, { "Parameter": "actor", "Type": "string", - "Description": "", + "Description": "The actor's Injective address", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryRolesByActorResponse.json b/source/json_tables/injective/permissions/QueryRolesByActorResponse.json index c60b6fc0..99108260 100644 --- a/source/json_tables/injective/permissions/QueryRolesByActorResponse.json +++ b/source/json_tables/injective/permissions/QueryRolesByActorResponse.json @@ -2,6 +2,6 @@ { "Parameter": "roles", "Type": "string array", - "Description": "" + "Description": "List of roles" } ] diff --git a/source/json_tables/injective/permissions/QueryVoucherRequest.json b/source/json_tables/injective/permissions/QueryVoucherRequest.json index f96b137e..d688ba85 100644 --- a/source/json_tables/injective/permissions/QueryVoucherRequest.json +++ b/source/json_tables/injective/permissions/QueryVoucherRequest.json @@ -2,13 +2,13 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" }, { "Parameter": "address", "Type": "string", - "Description": "", + "Description": "The Injective address of the receiver", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryVoucherResponse.json b/source/json_tables/injective/permissions/QueryVoucherResponse.json index 1c182cc5..f1719ab6 100644 --- a/source/json_tables/injective/permissions/QueryVoucherResponse.json +++ b/source/json_tables/injective/permissions/QueryVoucherResponse.json @@ -2,6 +2,6 @@ { "Parameter": "voucher", "Type": "github_com_cosmos_cosmos_sdk_types.Coin", - "Description": "" + "Description": "The voucher amount" } ] diff --git a/source/json_tables/injective/permissions/QueryVouchersRequest.json b/source/json_tables/injective/permissions/QueryVouchersRequest.json index 2f418605..890eec72 100644 --- a/source/json_tables/injective/permissions/QueryVouchersRequest.json +++ b/source/json_tables/injective/permissions/QueryVouchersRequest.json @@ -2,7 +2,7 @@ { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The token denom", "Required": "Yes" } ] diff --git a/source/json_tables/injective/permissions/QueryVouchersResponse.json b/source/json_tables/injective/permissions/QueryVouchersResponse.json index 96241c6c..2868aa71 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": "" + "Description": "List of vouchers" } ] diff --git a/source/json_tables/injective/permissions/Role.json b/source/json_tables/injective/permissions/Role.json index b97125d7..1a89af71 100644 --- a/source/json_tables/injective/permissions/Role.json +++ b/source/json_tables/injective/permissions/Role.json @@ -2,16 +2,16 @@ { "Parameter": "name", "Type": "string", - "Description": "" + "Description": "The role name" }, { "Parameter": "role_id", "Type": "uint32", - "Description": "" + "Description": "The role ID" }, { "Parameter": "permissions", "Type": "uint32", - "Description": "" + "Description": "Integer representing the bitwise combination of all actions assigned to the role" } ] diff --git a/source/json_tables/injective/permissions/RoleActors.json b/source/json_tables/injective/permissions/RoleActors.json index ae9b3e61..db7f33b7 100644 --- a/source/json_tables/injective/permissions/RoleActors.json +++ b/source/json_tables/injective/permissions/RoleActors.json @@ -2,11 +2,11 @@ { "Parameter": "role", "Type": "string", - "Description": "" + "Description": "The role name" }, { "Parameter": "actors", "Type": "string array", - "Description": "" + "Description": "List of actor names associated with the role" } ] diff --git a/source/json_tables/injective/permissions/RoleManager.json b/source/json_tables/injective/permissions/RoleManager.json index 6772ec84..da645289 100644 --- a/source/json_tables/injective/permissions/RoleManager.json +++ b/source/json_tables/injective/permissions/RoleManager.json @@ -2,11 +2,11 @@ { "Parameter": "manager", "Type": "string", - "Description": "" + "Description": "The manager name" }, { "Parameter": "roles", "Type": "string array", - "Description": "" + "Description": "List of roles associated with the manager" } ] diff --git a/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailureUpdate.json b/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailureUpdate.json new file mode 100644 index 00000000..e5934ec0 --- /dev/null +++ b/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailureUpdate.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "market_id", + "Type": "string", + "Description": "the market ID" + }, + { + "Parameter": "subaccount_id", + "Type": "string", + "Description": "the subaccount ID" + }, + { + "Parameter": "mark_price", + "Type": "cosmossdk_io_math.LegacyDec", + "Description": "the mark price" + }, + { + "Parameter": "order_hash", + "Type": "string", + "Description": "the order hash" + }, + { + "Parameter": "cid", + "Type": "string", + "Description": "the client order ID" + }, + { + "Parameter": "error_description", + "Type": "string", + "Description": "the error code" + } +] diff --git a/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailuresFilter.json b/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailuresFilter.json new file mode 100644 index 00000000..25380deb --- /dev/null +++ b/source/json_tables/injective/stream/v2/ConditionalOrderTriggerFailuresFilter.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "subaccount_ids", + "Type": "string array", + "Description": "list of subaccount IDs to filter by" + }, + { + "Parameter": "market_ids", + "Type": "string array", + "Description": "list of market IDs to filter by" + } +] diff --git a/source/json_tables/injective/stream/v2/OraclePriceFilter.json b/source/json_tables/injective/stream/v2/OraclePriceFilter.json index a6e264ab..63351a84 100644 --- a/source/json_tables/injective/stream/v2/OraclePriceFilter.json +++ b/source/json_tables/injective/stream/v2/OraclePriceFilter.json @@ -2,6 +2,6 @@ { "Parameter": "symbol", "Type": "string array", - "Description": "list of symbol to filter by" + "Description": "list of symbols to filter by" } ] diff --git a/source/json_tables/injective/stream/v2/OrderFailureUpdate.json b/source/json_tables/injective/stream/v2/OrderFailureUpdate.json new file mode 100644 index 00000000..a692e4c6 --- /dev/null +++ b/source/json_tables/injective/stream/v2/OrderFailureUpdate.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "account", + "Type": "string", + "Description": "the account address" + }, + { + "Parameter": "order_hash", + "Type": "string", + "Description": "the order hash" + }, + { + "Parameter": "cid", + "Type": "string", + "Description": "the client order ID" + }, + { + "Parameter": "error_code", + "Type": "uint32", + "Description": "the error code" + } +] diff --git a/source/json_tables/injective/stream/v2/OrderFailuresFilter.json b/source/json_tables/injective/stream/v2/OrderFailuresFilter.json new file mode 100644 index 00000000..9d0342b4 --- /dev/null +++ b/source/json_tables/injective/stream/v2/OrderFailuresFilter.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "accounts", + "Type": "string array", + "Description": "list of account addresses to filter by" + } +] diff --git a/source/json_tables/injective/stream/v2/StreamRequest.json b/source/json_tables/injective/stream/v2/StreamRequest.json index 460f2698..757e5cd0 100644 --- a/source/json_tables/injective/stream/v2/StreamRequest.json +++ b/source/json_tables/injective/stream/v2/StreamRequest.json @@ -58,5 +58,17 @@ "Type": "OraclePriceFilter", "Description": "filter for oracle prices events", "Required": "No" + }, + { + "Parameter": "order_failures_filter", + "Type": "OrderFailuresFilter", + "Description": "filter for order failures events", + "Required": "No" + }, + { + "Parameter": "conditional_order_trigger_failures_filter", + "Type": "ConditionalOrderTriggerFailuresFilter", + "Description": "filter for conditional order trigger failures events", + "Required": "No" } ] diff --git a/source/json_tables/injective/stream/v2/StreamResponse.json b/source/json_tables/injective/stream/v2/StreamResponse.json index 1ae567b6..cc51748f 100644 --- a/source/json_tables/injective/stream/v2/StreamResponse.json +++ b/source/json_tables/injective/stream/v2/StreamResponse.json @@ -63,5 +63,15 @@ "Parameter": "gas_price", "Type": "string", "Description": "the current gas price when the block was processed (in chain format)" + }, + { + "Parameter": "order_failures", + "Type": "OrderFailureUpdate array", + "Description": "list of order failures updates" + }, + { + "Parameter": "conditional_order_trigger_failures", + "Type": "ConditionalOrderTriggerFailureUpdate array", + "Description": "list of conditional order trigger failures updates" } ] diff --git a/source/json_tables/injective/tokenfactory/GenesisDenom.json b/source/json_tables/injective/tokenfactory/GenesisDenom.json index f5e3f980..98f694bc 100644 --- a/source/json_tables/injective/tokenfactory/GenesisDenom.json +++ b/source/json_tables/injective/tokenfactory/GenesisDenom.json @@ -2,26 +2,26 @@ { "Parameter": "denom", "Type": "string", - "Description": "" + "Description": "The denom" }, { "Parameter": "authority_metadata", "Type": "DenomAuthorityMetadata", - "Description": "" + "Description": "The authority metadata" }, { "Parameter": "name", "Type": "string", - "Description": "" + "Description": "The name" }, { "Parameter": "symbol", "Type": "string", - "Description": "" + "Description": "The symbol" }, { "Parameter": "decimals", "Type": "uint32", - "Description": "" + "Description": "The number of decimals" } ] diff --git a/source/json_tables/injective/tokenfactory/MsgBurn.json b/source/json_tables/injective/tokenfactory/MsgBurn.json index 3d85de42..c5a0da53 100644 --- a/source/json_tables/injective/tokenfactory/MsgBurn.json +++ b/source/json_tables/injective/tokenfactory/MsgBurn.json @@ -2,19 +2,19 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "amount", "Type": "types.Coin", - "Description": "", + "Description": "The amount of tokens to burn", "Required": "Yes" }, { "Parameter": "burnFromAddress", "Type": "string", - "Description": "", + "Description": "The Injective address to burn the tokens from", "Required": "Yes" } ] diff --git a/source/json_tables/injective/tokenfactory/MsgChangeAdmin.json b/source/json_tables/injective/tokenfactory/MsgChangeAdmin.json index cbef9bb7..0ded2f35 100644 --- a/source/json_tables/injective/tokenfactory/MsgChangeAdmin.json +++ b/source/json_tables/injective/tokenfactory/MsgChangeAdmin.json @@ -2,19 +2,19 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "denom", "Type": "string", - "Description": "", + "Description": "The denom", "Required": "Yes" }, { "Parameter": "new_admin", "Type": "string", - "Description": "", + "Description": "The new admin's Injective address", "Required": "Yes" } ] diff --git a/source/json_tables/injective/tokenfactory/MsgCreateDenom.json b/source/json_tables/injective/tokenfactory/MsgCreateDenom.json index 980b488e..3cc991c3 100644 --- a/source/json_tables/injective/tokenfactory/MsgCreateDenom.json +++ b/source/json_tables/injective/tokenfactory/MsgCreateDenom.json @@ -2,7 +2,7 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { @@ -14,19 +14,19 @@ { "Parameter": "name", "Type": "string", - "Description": "", + "Description": "The name", "Required": "Yes" }, { "Parameter": "symbol", "Type": "string", - "Description": "", + "Description": "The symbol", "Required": "Yes" }, { "Parameter": "decimals", "Type": "uint32", - "Description": "", + "Description": "The number of decimals", "Required": "Yes" }, { diff --git a/source/json_tables/injective/tokenfactory/MsgMint.json b/source/json_tables/injective/tokenfactory/MsgMint.json index 9a591d49..5d0496e9 100644 --- a/source/json_tables/injective/tokenfactory/MsgMint.json +++ b/source/json_tables/injective/tokenfactory/MsgMint.json @@ -2,19 +2,19 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "amount", "Type": "types.Coin", - "Description": "", + "Description": "The amount of tokens to mint", "Required": "Yes" }, { "Parameter": "receiver", "Type": "string", - "Description": "", + "Description": "The Injective address to receive the tokens", "Required": "Yes" } ] diff --git a/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata.json b/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata.json index eba531e8..97eb1759 100644 --- a/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata.json +++ b/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata.json @@ -2,13 +2,13 @@ { "Parameter": "sender", "Type": "string", - "Description": "", + "Description": "The sender's Injective address", "Required": "Yes" }, { "Parameter": "metadata", "Type": "types1.Metadata", - "Description": "", + "Description": "The metadata", "Required": "Yes" }, { @@ -16,11 +16,5 @@ "Type": "MsgSetDenomMetadata_AdminBurnDisabled", "Description": "", "Required": "No" - }, - { - "Parameter": "should_disable", - "Type": "bool", - "Description": "true if the admin burn capability should be disabled", - "Required": "Yes" } ] diff --git a/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata_AdminBurnDisabled.json b/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata_AdminBurnDisabled.json new file mode 100644 index 00000000..d9a6d2a8 --- /dev/null +++ b/source/json_tables/injective/tokenfactory/MsgSetDenomMetadata_AdminBurnDisabled.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "should_disable", + "Type": "bool", + "Description": "true if the admin burn capability should be disabled", + "Required": "Yes" + } +] diff --git a/source/json_tables/injective/tokenfactory/Params.json b/source/json_tables/injective/tokenfactory/Params.json index f67c0825..59a5e2f4 100644 --- a/source/json_tables/injective/tokenfactory/Params.json +++ b/source/json_tables/injective/tokenfactory/Params.json @@ -2,6 +2,6 @@ { "Parameter": "denom_creation_fee", "Type": "github_com_cosmos_cosmos_sdk_types.Coins", - "Description": "" + "Description": "The denom creation fee" } ] diff --git a/source/json_tables/injective/tokenfactory/QueryDenomAuthorityMetadataRequest.json b/source/json_tables/injective/tokenfactory/QueryDenomAuthorityMetadataRequest.json index 00e694ff..58d808ac 100644 --- a/source/json_tables/injective/tokenfactory/QueryDenomAuthorityMetadataRequest.json +++ b/source/json_tables/injective/tokenfactory/QueryDenomAuthorityMetadataRequest.json @@ -2,13 +2,13 @@ { "Parameter": "creator", "Type": "string", - "Description": "", + "Description": "The creator's Injective address", "Required": "Yes" }, { "Parameter": "sub_denom", "Type": "string", - "Description": "", + "Description": "The sub-denom", "Required": "Yes" } ] diff --git a/source/json_tables/injective/tokenfactory/QueryDenomAuthorityMetadataResponse.json b/source/json_tables/injective/tokenfactory/QueryDenomAuthorityMetadataResponse.json index 66299871..8757309a 100644 --- a/source/json_tables/injective/tokenfactory/QueryDenomAuthorityMetadataResponse.json +++ b/source/json_tables/injective/tokenfactory/QueryDenomAuthorityMetadataResponse.json @@ -2,6 +2,6 @@ { "Parameter": "authority_metadata", "Type": "DenomAuthorityMetadata", - "Description": "" + "Description": "The authority metadata" } ] diff --git a/source/json_tables/injective/tokenfactory/QueryDenomsFromCreatorRequest.json b/source/json_tables/injective/tokenfactory/QueryDenomsFromCreatorRequest.json index ab113ce6..697fc798 100644 --- a/source/json_tables/injective/tokenfactory/QueryDenomsFromCreatorRequest.json +++ b/source/json_tables/injective/tokenfactory/QueryDenomsFromCreatorRequest.json @@ -2,7 +2,7 @@ { "Parameter": "creator", "Type": "string", - "Description": "", + "Description": "The creator's Injective address", "Required": "Yes" } ] diff --git a/source/json_tables/injective/tokenfactory/QueryDenomsFromCreatorResponse.json b/source/json_tables/injective/tokenfactory/QueryDenomsFromCreatorResponse.json index ad26b14d..ea0c6eb6 100644 --- a/source/json_tables/injective/tokenfactory/QueryDenomsFromCreatorResponse.json +++ b/source/json_tables/injective/tokenfactory/QueryDenomsFromCreatorResponse.json @@ -2,6 +2,6 @@ { "Parameter": "denoms", "Type": "string array", - "Description": "" + "Description": "The list of denoms" } ] diff --git a/source/json_tables/injective/tokenfactory/QueryModuleStateResponse.json b/source/json_tables/injective/tokenfactory/QueryModuleStateResponse.json index 5b5e4fd1..11981174 100644 --- a/source/json_tables/injective/tokenfactory/QueryModuleStateResponse.json +++ b/source/json_tables/injective/tokenfactory/QueryModuleStateResponse.json @@ -2,6 +2,6 @@ { "Parameter": "state", "Type": "GenesisState", - "Description": "" + "Description": "The module state" } ] diff --git a/source/json_tables/injective/txfees/EipBaseFee.json b/source/json_tables/injective/txfees/EipBaseFee.json index f4de56cf..f4bfdfd3 100644 --- a/source/json_tables/injective/txfees/EipBaseFee.json +++ b/source/json_tables/injective/txfees/EipBaseFee.json @@ -2,6 +2,6 @@ { "Parameter": "base_fee", "Type": "cosmossdk_io_math.LegacyDec", - "Description": "" + "Description": "The current chain gas price" } ] diff --git a/source/json_tables/wasmd/cosmwasm/wasm/v1/AccessType.json b/source/json_tables/wasmd/cosmwasm/wasm/v1/AccessType.json new file mode 100644 index 00000000..33ff630d --- /dev/null +++ b/source/json_tables/wasmd/cosmwasm/wasm/v1/AccessType.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "ACCESS_TYPE_UNSPECIFIED" + }, + { + "Code": "1", + "Name": "ACCESS_TYPE_NOBODY" + }, + { + "Code": "3", + "Name": "ACCESS_TYPE_EVERYBODY" + }, + { + "Code": "4", + "Name": "ACCESS_TYPE_ANY_OF_ADDRESSES" + } +] diff --git a/source/json_tables/wasmd/cosmwasm/wasm/v1/ContractCodeHistoryOperationType.json b/source/json_tables/wasmd/cosmwasm/wasm/v1/ContractCodeHistoryOperationType.json new file mode 100644 index 00000000..f0502111 --- /dev/null +++ b/source/json_tables/wasmd/cosmwasm/wasm/v1/ContractCodeHistoryOperationType.json @@ -0,0 +1,18 @@ +[ + { + "Code": "0", + "Name": "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED" + }, + { + "Code": "1", + "Name": "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT" + }, + { + "Code": "2", + "Name": "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE" + }, + { + "Code": "3", + "Name": "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS" + } +] diff --git a/source/json_tables/wasmd/wasm/AbsoluteTxPosition.json b/source/json_tables/wasmd/wasm/AbsoluteTxPosition.json new file mode 100644 index 00000000..883030e3 --- /dev/null +++ b/source/json_tables/wasmd/wasm/AbsoluteTxPosition.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "block_height", + "Type": "uint64", + "Description": "BlockHeight is the block the contract was created at" + }, + { + "Parameter": "tx_index", + "Type": "uint64", + "Description": "TxIndex is a monotonic counter within the block (actual transaction index, or gas consumed)" + } +] diff --git a/source/json_tables/wasmd/wasm/AcceptedMessageKeysFilter.json b/source/json_tables/wasmd/wasm/AcceptedMessageKeysFilter.json new file mode 100644 index 00000000..d3963d63 --- /dev/null +++ b/source/json_tables/wasmd/wasm/AcceptedMessageKeysFilter.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "keys", + "Type": "string array", + "Description": "Messages is the list of unique keys" + } +] diff --git a/source/json_tables/wasmd/wasm/AcceptedMessagesFilter.json b/source/json_tables/wasmd/wasm/AcceptedMessagesFilter.json new file mode 100644 index 00000000..368e3782 --- /dev/null +++ b/source/json_tables/wasmd/wasm/AcceptedMessagesFilter.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "messages", + "Type": "RawContractMessage array", + "Description": "Messages is the list of raw contract messages" + } +] diff --git a/source/json_tables/wasmd/wasm/AccessConfig.json b/source/json_tables/wasmd/wasm/AccessConfig.json new file mode 100644 index 00000000..c21692fc --- /dev/null +++ b/source/json_tables/wasmd/wasm/AccessConfig.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "permission", + "Type": "AccessType", + "Description": "" + }, + { + "Parameter": "addresses", + "Type": "string array", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/AccessConfigUpdate.json b/source/json_tables/wasmd/wasm/AccessConfigUpdate.json new file mode 100644 index 00000000..2a2f9634 --- /dev/null +++ b/source/json_tables/wasmd/wasm/AccessConfigUpdate.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored WASM code to be updated" + }, + { + "Parameter": "instantiate_permission", + "Type": "AccessConfig", + "Description": "InstantiatePermission to apply to the set of code ids" + } +] diff --git a/source/json_tables/wasmd/wasm/AccessTypeParam.json b/source/json_tables/wasmd/wasm/AccessTypeParam.json new file mode 100644 index 00000000..c227cb24 --- /dev/null +++ b/source/json_tables/wasmd/wasm/AccessTypeParam.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "value", + "Type": "AccessType", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/ClearAdminProposal.json b/source/json_tables/wasmd/wasm/ClearAdminProposal.json new file mode 100644 index 00000000..75aa8930 --- /dev/null +++ b/source/json_tables/wasmd/wasm/ClearAdminProposal.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract" + } +] diff --git a/source/json_tables/wasmd/wasm/Code.json b/source/json_tables/wasmd/wasm/Code.json new file mode 100644 index 00000000..988adf70 --- /dev/null +++ b/source/json_tables/wasmd/wasm/Code.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "code_info", + "Type": "CodeInfo", + "Description": "" + }, + { + "Parameter": "code_bytes", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "pinned", + "Type": "bool", + "Description": "Pinned to wasmvm cache" + } +] diff --git a/source/json_tables/wasmd/wasm/CodeGrant.json b/source/json_tables/wasmd/wasm/CodeGrant.json new file mode 100644 index 00000000..a734b75c --- /dev/null +++ b/source/json_tables/wasmd/wasm/CodeGrant.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code_hash", + "Type": "byte array", + "Description": "CodeHash is the unique identifier created by wasmvm Wildcard \"*\" is used to specify any kind of grant." + }, + { + "Parameter": "instantiate_permission", + "Type": "AccessConfig", + "Description": "InstantiatePermission is the superset access control to apply on contract creation. Optional" + } +] diff --git a/source/json_tables/wasmd/wasm/CodeInfo.json b/source/json_tables/wasmd/wasm/CodeInfo.json new file mode 100644 index 00000000..3a17c06f --- /dev/null +++ b/source/json_tables/wasmd/wasm/CodeInfo.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "code_hash", + "Type": "byte array", + "Description": "CodeHash is the unique identifier created by wasmvm" + }, + { + "Parameter": "creator", + "Type": "string", + "Description": "Creator address who initially stored the code" + }, + { + "Parameter": "instantiate_config", + "Type": "AccessConfig", + "Description": "InstantiateConfig access control to apply on contract creation, optional" + } +] diff --git a/source/json_tables/wasmd/wasm/CodeInfoResponse.json b/source/json_tables/wasmd/wasm/CodeInfoResponse.json new file mode 100644 index 00000000..64979a73 --- /dev/null +++ b/source/json_tables/wasmd/wasm/CodeInfoResponse.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "" + }, + { + "Parameter": "creator", + "Type": "string", + "Description": "" + }, + { + "Parameter": "data_hash", + "Type": "github_com_cometbft_cometbft_libs_bytes.HexBytes", + "Description": "" + }, + { + "Parameter": "instantiate_permission", + "Type": "AccessConfig", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/CombinedLimit.json b/source/json_tables/wasmd/wasm/CombinedLimit.json new file mode 100644 index 00000000..5969e7b1 --- /dev/null +++ b/source/json_tables/wasmd/wasm/CombinedLimit.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "calls_remaining", + "Type": "uint64", + "Description": "Remaining number that is decremented on each execution" + }, + { + "Parameter": "amounts", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Amounts is the maximal amount of tokens transferable to the contract." + } +] diff --git a/source/json_tables/wasmd/wasm/Contract.json b/source/json_tables/wasmd/wasm/Contract.json new file mode 100644 index 00000000..1853b367 --- /dev/null +++ b/source/json_tables/wasmd/wasm/Contract.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "contract_address", + "Type": "string", + "Description": "" + }, + { + "Parameter": "contract_info", + "Type": "ContractInfo", + "Description": "" + }, + { + "Parameter": "contract_state", + "Type": "Model array", + "Description": "" + }, + { + "Parameter": "contract_code_history", + "Type": "ContractCodeHistoryEntry array", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/ContractCodeHistoryEntry.json b/source/json_tables/wasmd/wasm/ContractCodeHistoryEntry.json new file mode 100644 index 00000000..554a40fd --- /dev/null +++ b/source/json_tables/wasmd/wasm/ContractCodeHistoryEntry.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "operation", + "Type": "ContractCodeHistoryOperationType", + "Description": "" + }, + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored WASM code" + }, + { + "Parameter": "updated", + "Type": "AbsoluteTxPosition", + "Description": "Updated Tx position when the operation was executed." + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/ContractExecutionAuthorization.json b/source/json_tables/wasmd/wasm/ContractExecutionAuthorization.json new file mode 100644 index 00000000..20e9e309 --- /dev/null +++ b/source/json_tables/wasmd/wasm/ContractExecutionAuthorization.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "grants", + "Type": "ContractGrant array", + "Description": "Grants for contract executions" + } +] diff --git a/source/json_tables/wasmd/wasm/ContractGrant.json b/source/json_tables/wasmd/wasm/ContractGrant.json new file mode 100644 index 00000000..d7509db2 --- /dev/null +++ b/source/json_tables/wasmd/wasm/ContractGrant.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the bech32 address of the smart contract" + }, + { + "Parameter": "limit", + "Type": "types.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", + "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 new file mode 100644 index 00000000..0dd25afc --- /dev/null +++ b/source/json_tables/wasmd/wasm/ContractInfo.json @@ -0,0 +1,37 @@ +[ + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored Wasm code" + }, + { + "Parameter": "creator", + "Type": "string", + "Description": "Creator address who initially instantiated the contract" + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "Admin is an optional address that can execute migrations" + }, + { + "Parameter": "label", + "Type": "string", + "Description": "Label is optional metadata to be stored with a contract instance." + }, + { + "Parameter": "created", + "Type": "AbsoluteTxPosition", + "Description": "Created Tx position when the contract was instantiated." + }, + { + "Parameter": "ibc_port_id", + "Type": "string", + "Description": "" + }, + { + "Parameter": "extension", + "Type": "types.Any", + "Description": "Extension is an extension point to store custom metadata within the persistence model." + } +] diff --git a/source/json_tables/wasmd/wasm/ContractMigrationAuthorization.json b/source/json_tables/wasmd/wasm/ContractMigrationAuthorization.json new file mode 100644 index 00000000..e151eb19 --- /dev/null +++ b/source/json_tables/wasmd/wasm/ContractMigrationAuthorization.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "grants", + "Type": "ContractGrant array", + "Description": "Grants for contract migrations" + } +] diff --git a/source/json_tables/wasmd/wasm/ExecuteContractProposal.json b/source/json_tables/wasmd/wasm/ExecuteContractProposal.json new file mode 100644 index 00000000..b4069aec --- /dev/null +++ b/source/json_tables/wasmd/wasm/ExecuteContractProposal.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "run_as", + "Type": "string", + "Description": "RunAs is the address that is passed to the contract's environment as sender" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract as execute" + }, + { + "Parameter": "funds", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Funds coins that are transferred to the contract on instantiation" + } +] diff --git a/source/json_tables/wasmd/wasm/GenesisState.json b/source/json_tables/wasmd/wasm/GenesisState.json new file mode 100644 index 00000000..a5358595 --- /dev/null +++ b/source/json_tables/wasmd/wasm/GenesisState.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "params", + "Type": "Params", + "Description": "" + }, + { + "Parameter": "codes", + "Type": "Code array", + "Description": "" + }, + { + "Parameter": "contracts", + "Type": "Contract array", + "Description": "" + }, + { + "Parameter": "sequences", + "Type": "Sequence array", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/InstantiateContract2Proposal.json b/source/json_tables/wasmd/wasm/InstantiateContract2Proposal.json new file mode 100644 index 00000000..5c622e45 --- /dev/null +++ b/source/json_tables/wasmd/wasm/InstantiateContract2Proposal.json @@ -0,0 +1,52 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "run_as", + "Type": "string", + "Description": "RunAs is the address that is passed to the contract's enviroment as sender" + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "Admin is an optional address that can execute migrations" + }, + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored WASM code" + }, + { + "Parameter": "label", + "Type": "string", + "Description": "Label is optional metadata to be stored with a constract instance." + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encode message to be passed to the contract on instantiation" + }, + { + "Parameter": "funds", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Funds coins that are transferred to the contract on instantiation" + }, + { + "Parameter": "salt", + "Type": "byte array", + "Description": "Salt is an arbitrary value provided by the sender. Size can be 1 to 64." + }, + { + "Parameter": "fix_msg", + "Type": "bool", + "Description": "FixMsg include the msg value into the hash for the predictable address. Default is false" + } +] diff --git a/source/json_tables/wasmd/wasm/InstantiateContractProposal.json b/source/json_tables/wasmd/wasm/InstantiateContractProposal.json new file mode 100644 index 00000000..b7204186 --- /dev/null +++ b/source/json_tables/wasmd/wasm/InstantiateContractProposal.json @@ -0,0 +1,42 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "run_as", + "Type": "string", + "Description": "RunAs is the address that is passed to the contract's environment as sender" + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "Admin is an optional address that can execute migrations" + }, + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored WASM code" + }, + { + "Parameter": "label", + "Type": "string", + "Description": "Label is optional metadata to be stored with a constract instance." + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract on instantiation" + }, + { + "Parameter": "funds", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Funds coins that are transferred to the contract on instantiation" + } +] diff --git a/source/json_tables/wasmd/wasm/MaxCallsLimit.json b/source/json_tables/wasmd/wasm/MaxCallsLimit.json new file mode 100644 index 00000000..accc5f04 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MaxCallsLimit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "remaining", + "Type": "uint64", + "Description": "Remaining number that is decremented on each execution" + } +] diff --git a/source/json_tables/wasmd/wasm/MaxFundsLimit.json b/source/json_tables/wasmd/wasm/MaxFundsLimit.json new file mode 100644 index 00000000..ccc22f0c --- /dev/null +++ b/source/json_tables/wasmd/wasm/MaxFundsLimit.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "amounts", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Amounts is the maximal amount of tokens transferable to the contract." + } +] diff --git a/source/json_tables/wasmd/wasm/MigrateContractProposal.json b/source/json_tables/wasmd/wasm/MigrateContractProposal.json new file mode 100644 index 00000000..2c2fba07 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MigrateContractProposal.json @@ -0,0 +1,27 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract" + }, + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID references the new WASM code" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract on migration" + } +] diff --git a/source/json_tables/wasmd/wasm/Model.json b/source/json_tables/wasmd/wasm/Model.json new file mode 100644 index 00000000..e5a954c6 --- /dev/null +++ b/source/json_tables/wasmd/wasm/Model.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "key", + "Type": "github_com_cometbft_cometbft_libs_bytes.HexBytes", + "Description": "hex-encode key to read it better (this is often ascii)" + }, + { + "Parameter": "value", + "Type": "byte array", + "Description": "base64-encode raw value" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgAddCodeUploadParamsAddresses.json b/source/json_tables/wasmd/wasm/MsgAddCodeUploadParamsAddresses.json new file mode 100644 index 00000000..aa490658 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgAddCodeUploadParamsAddresses.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "Authority is the address of the governance account.", + "Required": "Yes" + }, + { + "Parameter": "addresses", + "Type": "string array", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgClearAdmin.json b/source/json_tables/wasmd/wasm/MsgClearAdmin.json new file mode 100644 index 00000000..9aed7f8f --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgClearAdmin.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgExecuteContract.json b/source/json_tables/wasmd/wasm/MsgExecuteContract.json new file mode 100644 index 00000000..16b53f0f --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgExecuteContract.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the that actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract", + "Required": "Yes" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract", + "Required": "Yes" + }, + { + "Parameter": "funds", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Funds coins that are transferred to the contract on execution", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgExecuteContractResponse.json b/source/json_tables/wasmd/wasm/MsgExecuteContractResponse.json new file mode 100644 index 00000000..da10c817 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgExecuteContractResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data contains bytes to returned from the contract" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgIBCCloseChannel.json b/source/json_tables/wasmd/wasm/MsgIBCCloseChannel.json new file mode 100644 index 00000000..0ba52955 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgIBCCloseChannel.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "channel", + "Type": "string", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgIBCSend.json b/source/json_tables/wasmd/wasm/MsgIBCSend.json new file mode 100644 index 00000000..5e2c359b --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgIBCSend.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "channel", + "Type": "string", + "Description": "the channel by which the packet will be sent", + "Required": "Yes" + }, + { + "Parameter": "timeout_height", + "Type": "uint64", + "Description": "Timeout height relative to the current block height. The timeout is disabled when set to 0.", + "Required": "Yes" + }, + { + "Parameter": "timeout_timestamp", + "Type": "uint64", + "Description": "Timeout timestamp (in nanoseconds) relative to the current block timestamp. The timeout is disabled when set to 0.", + "Required": "Yes" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data is the payload to transfer. We must not make assumption what format or content is in here.", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgIBCSendResponse.json b/source/json_tables/wasmd/wasm/MsgIBCSendResponse.json new file mode 100644 index 00000000..05e33f6d --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgIBCSendResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "sequence", + "Type": "uint64", + "Description": "Sequence number of the IBC packet sent" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgInstantiateContract.json b/source/json_tables/wasmd/wasm/MsgInstantiateContract.json new file mode 100644 index 00000000..4fc3ead0 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgInstantiateContract.json @@ -0,0 +1,38 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the that actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "Admin is an optional address that can execute migrations", + "Required": "No" + }, + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored WASM code", + "Required": "Yes" + }, + { + "Parameter": "label", + "Type": "string", + "Description": "Label is optional metadata to be stored with a contract instance.", + "Required": "No" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract on instantiation", + "Required": "Yes" + }, + { + "Parameter": "funds", + "Type": "github_com_cosmos_cosmos_sdk_types.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 new file mode 100644 index 00000000..cb8a1cce --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgInstantiateContract2.json @@ -0,0 +1,50 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the that actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "Admin is an optional address that can execute migrations", + "Required": "No" + }, + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored WASM code", + "Required": "Yes" + }, + { + "Parameter": "label", + "Type": "string", + "Description": "Label is optional metadata to be stored with a contract instance.", + "Required": "No" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract on instantiation", + "Required": "Yes" + }, + { + "Parameter": "funds", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Funds coins that are transferred to the contract on instantiation", + "Required": "Yes" + }, + { + "Parameter": "salt", + "Type": "byte array", + "Description": "Salt is an arbitrary value provided by the sender. Size can be 1 to 64.", + "Required": "Yes" + }, + { + "Parameter": "fix_msg", + "Type": "bool", + "Description": "FixMsg include the msg value into the hash for the predictable address. Default is false", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgInstantiateContract2Response.json b/source/json_tables/wasmd/wasm/MsgInstantiateContract2Response.json new file mode 100644 index 00000000..74526757 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgInstantiateContract2Response.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "Address is the bech32 address of the new contract instance." + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data contains bytes to returned from the contract" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgInstantiateContractResponse.json b/source/json_tables/wasmd/wasm/MsgInstantiateContractResponse.json new file mode 100644 index 00000000..74526757 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgInstantiateContractResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "Address is the bech32 address of the new contract instance." + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data contains bytes to returned from the contract" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgMigrateContract.json b/source/json_tables/wasmd/wasm/MsgMigrateContract.json new file mode 100644 index 00000000..d107192a --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgMigrateContract.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the that actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract", + "Required": "Yes" + }, + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID references the new WASM code", + "Required": "Yes" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract on migration", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgMigrateContractResponse.json b/source/json_tables/wasmd/wasm/MsgMigrateContractResponse.json new file mode 100644 index 00000000..f5d895de --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgMigrateContractResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data contains same raw bytes returned as data from the wasm contract. (May be empty)" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgPinCodes.json b/source/json_tables/wasmd/wasm/MsgPinCodes.json new file mode 100644 index 00000000..76ce5120 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgPinCodes.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "Authority is the address of the governance account.", + "Required": "Yes" + }, + { + "Parameter": "code_ids", + "Type": "uint64 array", + "Description": "CodeIDs references the new WASM codes", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgRemoveCodeUploadParamsAddresses.json b/source/json_tables/wasmd/wasm/MsgRemoveCodeUploadParamsAddresses.json new file mode 100644 index 00000000..aa490658 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgRemoveCodeUploadParamsAddresses.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "Authority is the address of the governance account.", + "Required": "Yes" + }, + { + "Parameter": "addresses", + "Type": "string array", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContract.json b/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContract.json new file mode 100644 index 00000000..b7fe404e --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContract.json @@ -0,0 +1,68 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "Authority is the address of the governance account.", + "Required": "Yes" + }, + { + "Parameter": "wasm_byte_code", + "Type": "byte array", + "Description": "WASMByteCode can be raw or gzip compressed", + "Required": "Yes" + }, + { + "Parameter": "instantiate_permission", + "Type": "AccessConfig", + "Description": "InstantiatePermission to apply on contract creation, optional", + "Required": "No" + }, + { + "Parameter": "unpin_code", + "Type": "bool", + "Description": "UnpinCode code on upload, optional. As default the uploaded contract is pinned to cache.", + "Required": "No" + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "Admin is an optional address that can execute migrations", + "Required": "No" + }, + { + "Parameter": "label", + "Type": "string", + "Description": "Label is optional metadata to be stored with a constract instance.", + "Required": "No" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract on instantiation", + "Required": "Yes" + }, + { + "Parameter": "funds", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Funds coins that are transferred from the authority account to the contract on instantiation", + "Required": "Yes" + }, + { + "Parameter": "source", + "Type": "string", + "Description": "Source is the URL where the code is hosted", + "Required": "Yes" + }, + { + "Parameter": "builder", + "Type": "string", + "Description": "Builder is the docker image used to build the code deterministically, used for smart contract verification", + "Required": "Yes" + }, + { + "Parameter": "code_hash", + "Type": "byte array", + "Description": "CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContractResponse.json b/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContractResponse.json new file mode 100644 index 00000000..74526757 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgStoreAndInstantiateContractResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "Address is the bech32 address of the new contract instance." + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data contains bytes to returned from the contract" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgStoreAndMigrateContract.json b/source/json_tables/wasmd/wasm/MsgStoreAndMigrateContract.json new file mode 100644 index 00000000..a21a9119 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgStoreAndMigrateContract.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "Authority is the address of the governance account.", + "Required": "Yes" + }, + { + "Parameter": "wasm_byte_code", + "Type": "byte array", + "Description": "WASMByteCode can be raw or gzip compressed", + "Required": "Yes" + }, + { + "Parameter": "instantiate_permission", + "Type": "AccessConfig", + "Description": "InstantiatePermission to apply on contract creation, optional", + "Required": "No" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract", + "Required": "Yes" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract on migration", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgStoreAndMigrateContractResponse.json b/source/json_tables/wasmd/wasm/MsgStoreAndMigrateContractResponse.json new file mode 100644 index 00000000..d0dc4da4 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgStoreAndMigrateContractResponse.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored WASM code" + }, + { + "Parameter": "checksum", + "Type": "byte array", + "Description": "Checksum is the sha256 hash of the stored code" + }, + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data contains bytes to returned from the contract" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgStoreCode.json b/source/json_tables/wasmd/wasm/MsgStoreCode.json new file mode 100644 index 00000000..3ef6336d --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgStoreCode.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "wasm_byte_code", + "Type": "byte array", + "Description": "WASMByteCode can be raw or gzip compressed", + "Required": "Yes" + }, + { + "Parameter": "instantiate_permission", + "Type": "AccessConfig", + "Description": "InstantiatePermission access control to apply on contract creation, optional", + "Required": "No" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgStoreCodeResponse.json b/source/json_tables/wasmd/wasm/MsgStoreCodeResponse.json new file mode 100644 index 00000000..648e5b0d --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgStoreCodeResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID is the reference to the stored WASM code" + }, + { + "Parameter": "checksum", + "Type": "byte array", + "Description": "Checksum is the sha256 hash of the stored code" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgSudoContract.json b/source/json_tables/wasmd/wasm/MsgSudoContract.json new file mode 100644 index 00000000..f267b7d5 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgSudoContract.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "Authority is the address of the governance account.", + "Required": "Yes" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract", + "Required": "Yes" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract as sudo", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgSudoContractResponse.json b/source/json_tables/wasmd/wasm/MsgSudoContractResponse.json new file mode 100644 index 00000000..da10c817 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgSudoContractResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data contains bytes to returned from the contract" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgUnpinCodes.json b/source/json_tables/wasmd/wasm/MsgUnpinCodes.json new file mode 100644 index 00000000..aee32fc0 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgUnpinCodes.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "Authority is the address of the governance account.", + "Required": "Yes" + }, + { + "Parameter": "code_ids", + "Type": "uint64 array", + "Description": "CodeIDs references the WASM codes", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgUpdateAdmin.json b/source/json_tables/wasmd/wasm/MsgUpdateAdmin.json new file mode 100644 index 00000000..9ac1413a --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgUpdateAdmin.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the that actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "new_admin", + "Type": "string", + "Description": "NewAdmin address to be set", + "Required": "Yes" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgUpdateContractLabel.json b/source/json_tables/wasmd/wasm/MsgUpdateContractLabel.json new file mode 100644 index 00000000..863bb43c --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgUpdateContractLabel.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the that actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "new_label", + "Type": "string", + "Description": "NewLabel string to be set", + "Required": "Yes" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgUpdateInstantiateConfig.json b/source/json_tables/wasmd/wasm/MsgUpdateInstantiateConfig.json new file mode 100644 index 00000000..bc4901e2 --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgUpdateInstantiateConfig.json @@ -0,0 +1,20 @@ +[ + { + "Parameter": "sender", + "Type": "string", + "Description": "Sender is the that actor that signed the messages", + "Required": "Yes" + }, + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "CodeID references the stored WASM code", + "Required": "Yes" + }, + { + "Parameter": "new_instantiate_permission", + "Type": "AccessConfig", + "Description": "NewInstantiatePermission is the new access control", + "Required": "No" + } +] diff --git a/source/json_tables/wasmd/wasm/MsgUpdateParams.json b/source/json_tables/wasmd/wasm/MsgUpdateParams.json new file mode 100644 index 00000000..875d17ca --- /dev/null +++ b/source/json_tables/wasmd/wasm/MsgUpdateParams.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "authority", + "Type": "string", + "Description": "Authority is the address of the governance account.", + "Required": "Yes" + }, + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the x/wasm parameters to update. NOTE: All parameters must be supplied.", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/Params.json b/source/json_tables/wasmd/wasm/Params.json new file mode 100644 index 00000000..47db9896 --- /dev/null +++ b/source/json_tables/wasmd/wasm/Params.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code_upload_access", + "Type": "AccessConfig", + "Description": "" + }, + { + "Parameter": "instantiate_default_permission", + "Type": "AccessType", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/PinCodesProposal.json b/source/json_tables/wasmd/wasm/PinCodesProposal.json new file mode 100644 index 00000000..02261fb8 --- /dev/null +++ b/source/json_tables/wasmd/wasm/PinCodesProposal.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "code_ids", + "Type": "uint64 array", + "Description": "CodeIDs references the new WASM codes" + } +] diff --git a/source/json_tables/wasmd/wasm/QueryAllContractStateRequest.json b/source/json_tables/wasmd/wasm/QueryAllContractStateRequest.json new file mode 100644 index 00000000..6c965b69 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryAllContractStateRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the address of the contract", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..56bfbb54 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryAllContractStateResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "models", + "Type": "Model array", + "Description": "" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/wasmd/wasm/QueryBuildAddressRequest.json b/source/json_tables/wasmd/wasm/QueryBuildAddressRequest.json new file mode 100644 index 00000000..bbba64a9 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryBuildAddressRequest.json @@ -0,0 +1,26 @@ +[ + { + "Parameter": "code_hash", + "Type": "string", + "Description": "CodeHash is the hash of the code", + "Required": "Yes" + }, + { + "Parameter": "creator_address", + "Type": "string", + "Description": "CreatorAddress is the address of the contract instantiator", + "Required": "Yes" + }, + { + "Parameter": "salt", + "Type": "string", + "Description": "Salt is a hex encoded salt", + "Required": "Yes" + }, + { + "Parameter": "init_args", + "Type": "byte array", + "Description": "InitArgs are optional json encoded init args to be used in contract address building if provided", + "Required": "No" + } +] diff --git a/source/json_tables/wasmd/wasm/QueryBuildAddressResponse.json b/source/json_tables/wasmd/wasm/QueryBuildAddressResponse.json new file mode 100644 index 00000000..73cb2a7a --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryBuildAddressResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "Address is the contract address" + } +] diff --git a/source/json_tables/wasmd/wasm/QueryCodeRequest.json b/source/json_tables/wasmd/wasm/QueryCodeRequest.json new file mode 100644 index 00000000..15bff776 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryCodeRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/QueryCodeResponse.json b/source/json_tables/wasmd/wasm/QueryCodeResponse.json new file mode 100644 index 00000000..a71d717b --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryCodeResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/QueryCodesRequest.json b/source/json_tables/wasmd/wasm/QueryCodesRequest.json new file mode 100644 index 00000000..79346d2c --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryCodesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..3b647e47 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryCodesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code_infos", + "Type": "CodeInfoResponse array", + "Description": "" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..39fefb39 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryContractHistoryRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the address of the contract to query", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..fdf3f0d7 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryContractHistoryResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "entries", + "Type": "ContractCodeHistoryEntry array", + "Description": "" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/wasmd/wasm/QueryContractInfoRequest.json b/source/json_tables/wasmd/wasm/QueryContractInfoRequest.json new file mode 100644 index 00000000..d5428e7f --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryContractInfoRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the address of the contract to query", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/QueryContractInfoResponse.json b/source/json_tables/wasmd/wasm/QueryContractInfoResponse.json new file mode 100644 index 00000000..5fb0a611 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryContractInfoResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the address of the contract" + }, + { + "Parameter": "contract_info", + "Type": "ContractInfo", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/QueryContractsByCodeRequest.json b/source/json_tables/wasmd/wasm/QueryContractsByCodeRequest.json new file mode 100644 index 00000000..e2027c95 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryContractsByCodeRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "code_id", + "Type": "uint64", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..6b372a1a --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryContractsByCodeResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "contracts", + "Type": "string array", + "Description": "contracts are a set of contract addresses" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..2d387931 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryContractsByCreatorRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "creator_address", + "Type": "string", + "Description": "CreatorAddress is the address of contract creator", + "Required": "Yes" + }, + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..74d9415b --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryContractsByCreatorResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "contract_addresses", + "Type": "string array", + "Description": "ContractAddresses result set" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "Pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/wasmd/wasm/QueryParamsResponse.json b/source/json_tables/wasmd/wasm/QueryParamsResponse.json new file mode 100644 index 00000000..27703560 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryParamsResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "params", + "Type": "Params", + "Description": "params defines the parameters of the module." + } +] diff --git a/source/json_tables/wasmd/wasm/QueryPinnedCodesRequest.json b/source/json_tables/wasmd/wasm/QueryPinnedCodesRequest.json new file mode 100644 index 00000000..79346d2c --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryPinnedCodesRequest.json @@ -0,0 +1,8 @@ +[ + { + "Parameter": "pagination", + "Type": "query.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 new file mode 100644 index 00000000..7757337b --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryPinnedCodesResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "code_ids", + "Type": "uint64 array", + "Description": "" + }, + { + "Parameter": "pagination", + "Type": "query.PageResponse", + "Description": "pagination defines the pagination in the response." + } +] diff --git a/source/json_tables/wasmd/wasm/QueryRawContractStateRequest.json b/source/json_tables/wasmd/wasm/QueryRawContractStateRequest.json new file mode 100644 index 00000000..62d790b8 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryRawContractStateRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the address of the contract", + "Required": "Yes" + }, + { + "Parameter": "query_data", + "Type": "byte array", + "Description": "", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/QueryRawContractStateResponse.json b/source/json_tables/wasmd/wasm/QueryRawContractStateResponse.json new file mode 100644 index 00000000..21fde74f --- /dev/null +++ b/source/json_tables/wasmd/wasm/QueryRawContractStateResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "byte array", + "Description": "Data contains the raw store data" + } +] diff --git a/source/json_tables/wasmd/wasm/QuerySmartContractStateRequest.json b/source/json_tables/wasmd/wasm/QuerySmartContractStateRequest.json new file mode 100644 index 00000000..06146a72 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QuerySmartContractStateRequest.json @@ -0,0 +1,14 @@ +[ + { + "Parameter": "address", + "Type": "string", + "Description": "address is the address of the contract", + "Required": "Yes" + }, + { + "Parameter": "query_data", + "Type": "RawContractMessage", + "Description": "QueryData contains the query data passed to the contract", + "Required": "Yes" + } +] diff --git a/source/json_tables/wasmd/wasm/QuerySmartContractStateResponse.json b/source/json_tables/wasmd/wasm/QuerySmartContractStateResponse.json new file mode 100644 index 00000000..b4680050 --- /dev/null +++ b/source/json_tables/wasmd/wasm/QuerySmartContractStateResponse.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "data", + "Type": "RawContractMessage", + "Description": "Data contains the json data returned from the smart contract" + } +] diff --git a/source/json_tables/wasmd/wasm/Sequence.json b/source/json_tables/wasmd/wasm/Sequence.json new file mode 100644 index 00000000..11258708 --- /dev/null +++ b/source/json_tables/wasmd/wasm/Sequence.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "id_key", + "Type": "byte array", + "Description": "" + }, + { + "Parameter": "value", + "Type": "uint64", + "Description": "" + } +] diff --git a/source/json_tables/wasmd/wasm/StoreAndInstantiateContractProposal.json b/source/json_tables/wasmd/wasm/StoreAndInstantiateContractProposal.json new file mode 100644 index 00000000..75fecde7 --- /dev/null +++ b/source/json_tables/wasmd/wasm/StoreAndInstantiateContractProposal.json @@ -0,0 +1,67 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "run_as", + "Type": "string", + "Description": "RunAs is the address that is passed to the contract's environment as sender" + }, + { + "Parameter": "wasm_byte_code", + "Type": "byte array", + "Description": "WASMByteCode can be raw or gzip compressed" + }, + { + "Parameter": "instantiate_permission", + "Type": "AccessConfig", + "Description": "InstantiatePermission to apply on contract creation, optional" + }, + { + "Parameter": "unpin_code", + "Type": "bool", + "Description": "UnpinCode code on upload, optional" + }, + { + "Parameter": "admin", + "Type": "string", + "Description": "Admin is an optional address that can execute migrations" + }, + { + "Parameter": "label", + "Type": "string", + "Description": "Label is optional metadata to be stored with a constract instance." + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract on instantiation" + }, + { + "Parameter": "funds", + "Type": "github_com_cosmos_cosmos_sdk_types.Coins", + "Description": "Funds coins that are transferred to the contract on instantiation" + }, + { + "Parameter": "source", + "Type": "string", + "Description": "Source is the URL where the code is hosted" + }, + { + "Parameter": "builder", + "Type": "string", + "Description": "Builder is the docker image used to build the code deterministically, used for smart contract verification" + }, + { + "Parameter": "code_hash", + "Type": "byte array", + "Description": "CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification" + } +] diff --git a/source/json_tables/wasmd/wasm/StoreCodeAuthorization.json b/source/json_tables/wasmd/wasm/StoreCodeAuthorization.json new file mode 100644 index 00000000..deeb3230 --- /dev/null +++ b/source/json_tables/wasmd/wasm/StoreCodeAuthorization.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "grants", + "Type": "CodeGrant array", + "Description": "Grants for code upload" + } +] diff --git a/source/json_tables/wasmd/wasm/StoreCodeProposal.json b/source/json_tables/wasmd/wasm/StoreCodeProposal.json new file mode 100644 index 00000000..5d5dbdc2 --- /dev/null +++ b/source/json_tables/wasmd/wasm/StoreCodeProposal.json @@ -0,0 +1,47 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "run_as", + "Type": "string", + "Description": "RunAs is the address that is passed to the contract's environment as sender" + }, + { + "Parameter": "wasm_byte_code", + "Type": "byte array", + "Description": "WASMByteCode can be raw or gzip compressed" + }, + { + "Parameter": "instantiate_permission", + "Type": "AccessConfig", + "Description": "InstantiatePermission to apply on contract creation, optional" + }, + { + "Parameter": "unpin_code", + "Type": "bool", + "Description": "UnpinCode code on upload, optional" + }, + { + "Parameter": "source", + "Type": "string", + "Description": "Source is the URL where the code is hosted" + }, + { + "Parameter": "builder", + "Type": "string", + "Description": "Builder is the docker image used to build the code deterministically, used for smart contract verification" + }, + { + "Parameter": "code_hash", + "Type": "byte array", + "Description": "CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification" + } +] diff --git a/source/json_tables/wasmd/wasm/SudoContractProposal.json b/source/json_tables/wasmd/wasm/SudoContractProposal.json new file mode 100644 index 00000000..f6b0b4a6 --- /dev/null +++ b/source/json_tables/wasmd/wasm/SudoContractProposal.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract" + }, + { + "Parameter": "msg", + "Type": "RawContractMessage", + "Description": "Msg json encoded message to be passed to the contract as sudo" + } +] diff --git a/source/json_tables/wasmd/wasm/UnpinCodesProposal.json b/source/json_tables/wasmd/wasm/UnpinCodesProposal.json new file mode 100644 index 00000000..23d2fb61 --- /dev/null +++ b/source/json_tables/wasmd/wasm/UnpinCodesProposal.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "code_ids", + "Type": "uint64 array", + "Description": "CodeIDs references the WASM codes" + } +] diff --git a/source/json_tables/wasmd/wasm/UpdateAdminProposal.json b/source/json_tables/wasmd/wasm/UpdateAdminProposal.json new file mode 100644 index 00000000..3ccbb851 --- /dev/null +++ b/source/json_tables/wasmd/wasm/UpdateAdminProposal.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "new_admin", + "Type": "string", + "Description": "NewAdmin address to be set" + }, + { + "Parameter": "contract", + "Type": "string", + "Description": "Contract is the address of the smart contract" + } +] diff --git a/source/json_tables/wasmd/wasm/UpdateInstantiateConfigProposal.json b/source/json_tables/wasmd/wasm/UpdateInstantiateConfigProposal.json new file mode 100644 index 00000000..aea73e44 --- /dev/null +++ b/source/json_tables/wasmd/wasm/UpdateInstantiateConfigProposal.json @@ -0,0 +1,17 @@ +[ + { + "Parameter": "title", + "Type": "string", + "Description": "Title is a short summary" + }, + { + "Parameter": "description", + "Type": "string", + "Description": "Description is a human readable text" + }, + { + "Parameter": "access_config_updates", + "Type": "AccessConfigUpdate array", + "Description": "AccessConfigUpdate contains the list of code ids and the access config to be applied." + } +]