From fdcb25c8ced073a7b853ee05a7c2e1858d9e72bd Mon Sep 17 00:00:00 2001 From: Richard Watts <108257153+rrw-zilliqa@users.noreply.github.com> Date: Wed, 29 May 2024 16:48:47 +0100 Subject: [PATCH] #2 - first chunk of adding zq2 documentation. (#8) * (feat) Start of autogeneration of the Zilliqa 2 API docs. * (fix) Add a .gitkeep to the cache directory * (feat) Start of generating index files. * (feat) More moves towards generating docs. * (fix) Write files to the correct locations. (feat) Dockerised build synthesises zq2 documentation * (feat) A bit more styling. (feat) Preprocess mkdocs.in.yaml so that we can maintain static pages more easily. (feat) Log subprocesses run by docgen (feat) Fix invalid keys in parent.yaml * (fix) Remove mkdocs.yaml - it's (now) autogenerated * (fix) Make trunk happy * (fix) Keep clippy happy * (fix) Container now builds again. (feat) Update zq2 version (fix) Remove spurious z.yaml * (fix) Remove reference to zilliqa 2 documentation from front page. * (feat) Makefile: can now use alternate ports. (fix) Remove old page index * (fix) Add a .gitkeep to keep trunk fmt happy * (fix) make trunk happy, using absolutely all the time I have left today :-( * (fix) Use mainline zq-base --------- Co-authored-by: Richard Watts --- .gitignore | 7 + Dockerfile | 10 +- Makefile | 12 +- cache/.gitkeep | 0 docgen/Cargo.lock | 4368 +++++++++++++++++ docgen/Cargo.toml | 13 + docgen/osv-scanner.toml | 4 + docgen/rust-toolchain.toml | 4 + docgen/src/main.rs | 130 + z.yaml | 15 - zq1/overrides/frontpage.html | 1 - zq2/.gitignore | 3 + zq2/docs/api/.gitkeep | 0 zq2/docs/api/erigon/get-header-by-number.md | 57 - zq2/docs/api/ethereum/eth-rpc.md | 15 - zq2/docs/api/index.md | 18 - zq2/docs/api/otterscan/get-api-level.md | 35 - .../otterscan/get-block-details-by-hash.md | 65 - zq2/docs/api/otterscan/get-block-details.md | 65 - .../api/otterscan/get-block-transactions.md | 59 - zq2/docs/api/otterscan/has-code.md | 38 - .../api/zilliqa/api-account-get-balance.md | 88 - .../api-blockchain-ds-block-listing.md | 129 - .../api-blockchain-get-blockchain-info.md | 106 - .../api-blockchain-get-current-ds-comm.md | 655 --- .../api-blockchain-get-current-ds-epoch.md | 88 - .../api-blockchain-get-current-mini-epoch.md | 78 - .../api-blockchain-get-ds-block-rate.md | 87 - .../zilliqa/api-blockchain-get-ds-block.md | 219 - .../api-blockchain-get-latest-ds-block.md | 109 - .../api-blockchain-get-latest-tx-block.md | 123 - .../zilliqa/api-blockchain-get-miner-info.md | 94 - .../zilliqa/api-blockchain-get-network-id.md | 91 - .../zilliqa/api-blockchain-get-node-type.md | 49 - .../api-blockchain-get-num-ds-blocks.md | 87 - .../zilliqa/api-blockchain-get-num-peers.md | 45 - .../api-blockchain-get-num-tx-blocks.md | 87 - .../api/zilliqa/api-blockchain-get-num-tx.md | 87 - .../api-blockchain-get-prev-difficulty.md | 87 - .../api-blockchain-get-prev-ds-difficulty.md | 87 - .../api-blockchain-get-sharding-structure.md | 45 - .../api-blockchain-get-software-version.md | 43 - .../api-blockchain-get-total-coin-supply.md | 130 - .../api-blockchain-get-tx-block-rate.md | 87 - .../zilliqa/api-blockchain-get-tx-block.md | 249 - .../api/zilliqa/api-blockchain-get-tx-rate.md | 87 - .../api-blockchain-tx-block-listing.md | 131 - ...-contract-get-contractaddress-from-txid.md | 94 - .../api-contract-get-smartcontract-code.md | 91 - .../api-contract-get-smartcontract-init.md | 110 - .../api-contract-get-smartcontract-state.md | 86 - ...api-contract-get-smartcontract-substate.md | 115 - .../api-contract-get-smartcontracts.md | 85 - .../zilliqa/api-contract-get-state-proof.md | 90 - .../api/zilliqa/api-transaction-create-tx.md | 184 - .../api-transaction-get-minimum-gas-price.md | 78 - .../api-transaction-get-num-txns-dsepoch.md | 87 - .../api-transaction-get-num-txns-txepoch.md | 87 - .../zilliqa/api-transaction-get-recent-txs.md | 111 - .../api-transaction-get-soft-confirmed-tx.md | 63 - .../api-transaction-get-transaction-status.md | 121 - .../api/zilliqa/api-transaction-get-tx.md | 211 - ...transaction-get-txbodies-for-txblock-ex.md | 105 - ...pi-transaction-get-txbodies-for-txblock.md | 120 - .../api-transaction-get-txs-for-txblock-ex.md | 88 - .../api-transaction-get-txs-for-txblock.md | 116 - zq2/docs/stylesheets/extra.css | 9 +- zq2/mkdocs.in.yaml | 55 + zq2/{mkdocs.yaml => parent.yaml} | 84 +- zq2_spec.yaml | 3 + 70 files changed, 4615 insertions(+), 5665 deletions(-) create mode 100644 cache/.gitkeep create mode 100644 docgen/Cargo.lock create mode 100644 docgen/Cargo.toml create mode 100644 docgen/osv-scanner.toml create mode 100644 docgen/rust-toolchain.toml create mode 100644 docgen/src/main.rs delete mode 100644 z.yaml create mode 100644 zq2/docs/api/.gitkeep delete mode 100644 zq2/docs/api/erigon/get-header-by-number.md delete mode 100644 zq2/docs/api/ethereum/eth-rpc.md delete mode 100644 zq2/docs/api/index.md delete mode 100644 zq2/docs/api/otterscan/get-api-level.md delete mode 100644 zq2/docs/api/otterscan/get-block-details-by-hash.md delete mode 100644 zq2/docs/api/otterscan/get-block-details.md delete mode 100644 zq2/docs/api/otterscan/get-block-transactions.md delete mode 100644 zq2/docs/api/otterscan/has-code.md delete mode 100644 zq2/docs/api/zilliqa/api-account-get-balance.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-ds-block-listing.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-blockchain-info.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-current-ds-comm.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-current-ds-epoch.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-current-mini-epoch.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-ds-block-rate.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-ds-block.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-latest-ds-block.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-latest-tx-block.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-miner-info.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-network-id.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-node-type.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-num-ds-blocks.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-num-peers.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-num-tx-blocks.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-num-tx.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-prev-difficulty.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-prev-ds-difficulty.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-sharding-structure.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-software-version.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-total-coin-supply.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-tx-block-rate.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-tx-block.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-get-tx-rate.md delete mode 100644 zq2/docs/api/zilliqa/api-blockchain-tx-block-listing.md delete mode 100644 zq2/docs/api/zilliqa/api-contract-get-contractaddress-from-txid.md delete mode 100644 zq2/docs/api/zilliqa/api-contract-get-smartcontract-code.md delete mode 100644 zq2/docs/api/zilliqa/api-contract-get-smartcontract-init.md delete mode 100644 zq2/docs/api/zilliqa/api-contract-get-smartcontract-state.md delete mode 100644 zq2/docs/api/zilliqa/api-contract-get-smartcontract-substate.md delete mode 100644 zq2/docs/api/zilliqa/api-contract-get-smartcontracts.md delete mode 100644 zq2/docs/api/zilliqa/api-contract-get-state-proof.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-create-tx.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-minimum-gas-price.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-num-txns-dsepoch.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-num-txns-txepoch.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-recent-txs.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-soft-confirmed-tx.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-transaction-status.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-tx.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-txbodies-for-txblock-ex.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-txbodies-for-txblock.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-txs-for-txblock-ex.md delete mode 100644 zq2/docs/api/zilliqa/api-transaction-get-txs-for-txblock.md create mode 100644 zq2/mkdocs.in.yaml rename zq2/{mkdocs.yaml => parent.yaml} (50%) create mode 100644 zq2_spec.yaml diff --git a/.gitignore b/.gitignore index ecaad59..e2b1da4 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,10 @@ secret/* target/ **/target/ + +# Used for checking out versions of zq2 +cache/** +!cache/.gitkeep +# Used for rendering API docs. +zq2/docs/versions/** +docgen/target diff --git a/Dockerfile b/Dockerfile index 152466d..b346a42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,23 @@ -FROM ubuntu:22.04 AS builder +# Same as zq2 uses, or the z2 build fails :-( +FROM rust:1.78.0-slim-bullseye as builder ENV DEBIAN_FRONTEND=noninteractive ENV NEEDRESTART_MODE=a RUN apt-get update && apt-get dist-upgrade -y -RUN apt-get install -y python3 python3-pip --no-install-recommends +RUN apt-get install -y python3 python3-pip python3-setuptools --no-install-recommends +RUN apt-get install -y protobuf-compiler build-essential libssl-dev pkg-config git cmake +RUN apt autoremove COPY . /build RUN pip3 install --no-cache-dir -r /build/requirements.txt + ENV DOC_SOURCE=docs WORKDIR /build/zq1 RUN mkdocs build +WORKDIR /build/docgen +RUN cargo run /build WORKDIR /build/zq2 ARG VERSION ENV VERSION=$VERSION diff --git a/Makefile b/Makefile index 083ed77..5e2c8cb 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,8 @@ SHELL := /bin/bash ENVIRONMENT ?= dev VALID_ENVIRONMENTS := dev stg prd +# Set SERVEOPTS="-a 0.0.0.0:3001" or somesuch to serve at port 3001 on all interfaces. + # Check if the ENVIRONMENT variable is in the list of valid environments ifeq ($(filter $(ENVIRONMENT),$(VALID_ENVIRONMENTS)),) $(error Invalid value for ENVIRONMENT. Valid values are dev, stg, or prd.) @@ -19,11 +21,15 @@ HERE=$(shell pwd) VERSION=$(shell cat $(HERE)/VERSION) export VERSION +.PHONY: autogen dev1 dev2 assemble build run-image push-dev-image image/build-and-push +zq2/docs/mkdocs.yml autogen: + (cd $(HERE)/docgen && cargo run $(HERE)) + dev1: - (cd zq1 && DOC_SOURCE=$(HERE)/zq1/docs mkdocs serve) + (cd zq1 && DOC_SOURCE=$(HERE)/zq1/docs mkdocs serve $(SERVEOPTS)) -dev2: - (cd zq2 && DOC_SOURCE=$(HERE)/zq2/docs mkdocs serve) +dev2: zq2/docs/mkdocs.yml + (cd zq2 && DOC_SOURCE=$(HERE)/zq2/docs mkdocs serve $(SERVEOPTS)) BINDIR=$(HERE)/obj HERE_FILES=Dockerfile requirements.txt diff --git a/cache/.gitkeep b/cache/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/docgen/Cargo.lock b/docgen/Cargo.lock new file mode 100644 index 0000000..a837f47 --- /dev/null +++ b/docgen/Cargo.lock @@ -0,0 +1,4368 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "Inflector" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" +dependencies = [ + "lazy_static", + "regex", +] + +[[package]] +name = "addr2line" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "aho-corasick" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +dependencies = [ + "memchr", +] + +[[package]] +name = "anstream" +version = "0.6.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" + +[[package]] +name = "anstyle-parse" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + +[[package]] +name = "anyhow" +version = "1.0.86" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" + +[[package]] +name = "arrayvec" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + +[[package]] +name = "ascii-canvas" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6" +dependencies = [ + "term", +] + +[[package]] +name = "async-stream" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +dependencies = [ + "async-stream-impl", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "async-trait" +version = "0.1.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "async_io_stream" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" +dependencies = [ + "futures", + "pharos", + "rustc_version", +] + +[[package]] +name = "auto_impl" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "autocfg" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" + +[[package]] +name = "backtrace" +version = "0.3.72" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17c6a35df3749d2e8bb1b7b21a976d82b15548788d2735b9d82f329268f71a11" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[package]] +name = "base64" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64ct" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + +[[package]] +name = "bech32" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445" + +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" + +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "sha2", + "tinyvec", +] + +[[package]] +name = "bumpalo" +version = "3.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" + +[[package]] +name = "byte-slice-cast" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" +dependencies = [ + "serde", +] + +[[package]] +name = "bzip2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +dependencies = [ + "bzip2-sys", + "libc", +] + +[[package]] +name = "bzip2-sys" +version = "0.1.11+1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +dependencies = [ + "cc", + "libc", + "pkg-config", +] + +[[package]] +name = "camino" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-platform" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "cc" +version = "1.0.98" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +dependencies = [ + "jobserver", + "libc", + "once_cell", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +dependencies = [ + "num-traits", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", +] + +[[package]] +name = "clap" +version = "4.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "clap_lex" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" + +[[package]] +name = "coins-bip32" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b6be4a5df2098cd811f3194f64ddb96c267606bffd9689ac7b0160097b01ad3" +dependencies = [ + "bs58", + "coins-core", + "digest", + "hmac", + "k256", + "serde", + "sha2", + "thiserror", +] + +[[package]] +name = "coins-bip39" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3db8fba409ce3dc04f7d804074039eb68b960b0829161f8e06c95fea3f122528" +dependencies = [ + "bitvec", + "coins-bip32", + "hmac", + "once_cell", + "pbkdf2 0.12.2", + "rand", + "sha2", + "thiserror", +] + +[[package]] +name = "coins-core" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5286a0843c21f8367f7be734f89df9b822e0321d8bcce8d6e735aadff7d74979" +dependencies = [ + "base64 0.21.7", + "bech32", + "bs58", + "digest", + "generic-array", + "hex", + "ripemd", + "serde", + "serde_derive", + "sha2", + "sha3", + "thiserror", +] + +[[package]] +name = "colorchoice" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" + +[[package]] +name = "colored" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" +dependencies = [ + "lazy_static", + "windows-sys 0.48.0", +] + +[[package]] +name = "const-hex" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94fb8a24a26d37e1ffd45343323dc9fe6654ceea44c12f2fcb3d7ac29e610bc6" +dependencies = [ + "cfg-if", + "cpufeatures", + "hex", + "proptest", + "serde", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "constant_time_eq" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" + +[[package]] +name = "cpufeatures" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" + +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "data-encoding" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" + +[[package]] +name = "der" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", + "serde", +] + +[[package]] +name = "derive_more" +version = "0.99.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "const-oid", + "crypto-common", + "subtle", +] + +[[package]] +name = "dirs" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "dirs-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" +dependencies = [ + "cfg-if", + "dirs-sys-next", +] + +[[package]] +name = "dirs-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.48.0", +] + +[[package]] +name = "dirs-sys-next" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" +dependencies = [ + "libc", + "redox_users", + "winapi", +] + +[[package]] +name = "docgen" +version = "0.1.0" +dependencies = [ + "anyhow", + "serde", + "serde_yaml", + "tokio", + "zqutils", +] + +[[package]] +name = "dunce" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" + +[[package]] +name = "dyn-clone" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" + +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der", + "digest", + "elliptic-curve", + "rfc6979", + "signature", + "spki", +] + +[[package]] +name = "either" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest", + "ff", + "generic-array", + "group", + "pkcs8", + "rand_core", + "sec1", + "subtle", + "zeroize", +] + +[[package]] +name = "ena" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d248bdd43ce613d87415282f69b9bb99d947d290b10962dd6c56233312c2ad5" +dependencies = [ + "log", +] + +[[package]] +name = "encoding_rs" +version = "0.8.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "enr" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a3d8dc56e02f954cac8eb489772c552c473346fc34f67412bb6244fd647f7e4" +dependencies = [ + "base64 0.21.7", + "bytes", + "hex", + "k256", + "log", + "rand", + "rlp", + "serde", + "sha3", + "zeroize", +] + +[[package]] +name = "enum-as-inner" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[package]] +name = "errno" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "eth-keystore" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fda3bf123be441da5260717e0661c25a2fd9cb2b2c1d20bf2e05580047158ab" +dependencies = [ + "aes", + "ctr", + "digest", + "hex", + "hmac", + "pbkdf2 0.11.0", + "rand", + "scrypt", + "serde", + "serde_json", + "sha2", + "sha3", + "thiserror", + "uuid", +] + +[[package]] +name = "ethabi" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898" +dependencies = [ + "ethereum-types", + "hex", + "once_cell", + "regex", + "serde", + "serde_json", + "sha3", + "thiserror", + "uint", +] + +[[package]] +name = "ethbloom" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" +dependencies = [ + "crunchy", + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "tiny-keccak", +] + +[[package]] +name = "ethereum-types" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" +dependencies = [ + "ethbloom", + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "primitive-types", + "scale-info", + "uint", +] + +[[package]] +name = "ethers" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "816841ea989f0c69e459af1cf23a6b0033b19a55424a1ea3a30099becdb8dec0" +dependencies = [ + "ethers-addressbook", + "ethers-contract", + "ethers-core", + "ethers-etherscan", + "ethers-middleware", + "ethers-providers", + "ethers-signers", + "ethers-solc", +] + +[[package]] +name = "ethers-addressbook" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5495afd16b4faa556c3bba1f21b98b4983e53c1755022377051a975c3b021759" +dependencies = [ + "ethers-core", + "once_cell", + "serde", + "serde_json", +] + +[[package]] +name = "ethers-contract" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fceafa3578c836eeb874af87abacfb041f92b4da0a78a5edd042564b8ecdaaa" +dependencies = [ + "const-hex", + "ethers-contract-abigen", + "ethers-contract-derive", + "ethers-core", + "ethers-providers", + "futures-util", + "once_cell", + "pin-project", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "ethers-contract-abigen" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04ba01fbc2331a38c429eb95d4a570166781f14290ef9fdb144278a90b5a739b" +dependencies = [ + "Inflector", + "const-hex", + "dunce", + "ethers-core", + "ethers-etherscan", + "eyre", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "reqwest 0.11.27", + "serde", + "serde_json", + "syn 2.0.66", + "toml", + "walkdir", +] + +[[package]] +name = "ethers-contract-derive" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87689dcabc0051cde10caaade298f9e9093d65f6125c14575db3fd8c669a168f" +dependencies = [ + "Inflector", + "const-hex", + "ethers-contract-abigen", + "ethers-core", + "proc-macro2", + "quote", + "serde_json", + "syn 2.0.66", +] + +[[package]] +name = "ethers-core" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82d80cc6ad30b14a48ab786523af33b37f28a8623fc06afd55324816ef18fb1f" +dependencies = [ + "arrayvec", + "bytes", + "cargo_metadata", + "chrono", + "const-hex", + "elliptic-curve", + "ethabi", + "generic-array", + "k256", + "num_enum", + "once_cell", + "open-fastrlp", + "rand", + "rlp", + "serde", + "serde_json", + "strum", + "syn 2.0.66", + "tempfile", + "thiserror", + "tiny-keccak", + "unicode-xid", +] + +[[package]] +name = "ethers-etherscan" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e79e5973c26d4baf0ce55520bd732314328cabe53193286671b47144145b9649" +dependencies = [ + "chrono", + "ethers-core", + "reqwest 0.11.27", + "semver", + "serde", + "serde_json", + "thiserror", + "tracing", +] + +[[package]] +name = "ethers-middleware" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48f9fdf09aec667c099909d91908d5eaf9be1bd0e2500ba4172c1d28bfaa43de" +dependencies = [ + "async-trait", + "auto_impl", + "ethers-contract", + "ethers-core", + "ethers-etherscan", + "ethers-providers", + "ethers-signers", + "futures-channel", + "futures-locks", + "futures-util", + "instant", + "reqwest 0.11.27", + "serde", + "serde_json", + "thiserror", + "tokio", + "tracing", + "tracing-futures", + "url", +] + +[[package]] +name = "ethers-providers" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6434c9a33891f1effc9c75472e12666db2fa5a0fec4b29af6221680a6fe83ab2" +dependencies = [ + "async-trait", + "auto_impl", + "base64 0.21.7", + "bytes", + "const-hex", + "enr", + "ethers-core", + "futures-core", + "futures-timer", + "futures-util", + "hashers", + "http 0.2.12", + "instant", + "jsonwebtoken", + "once_cell", + "pin-project", + "reqwest 0.11.27", + "serde", + "serde_json", + "thiserror", + "tokio", + "tokio-tungstenite", + "tracing", + "tracing-futures", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "ws_stream_wasm", +] + +[[package]] +name = "ethers-signers" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "228875491c782ad851773b652dd8ecac62cda8571d3bc32a5853644dd26766c2" +dependencies = [ + "async-trait", + "coins-bip32", + "coins-bip39", + "const-hex", + "elliptic-curve", + "eth-keystore", + "ethers-core", + "rand", + "sha2", + "thiserror", + "tracing", +] + +[[package]] +name = "ethers-solc" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66244a771d9163282646dbeffe0e6eca4dda4146b6498644e678ac6089b11edd" +dependencies = [ + "cfg-if", + "const-hex", + "dirs", + "dunce", + "ethers-core", + "glob", + "home", + "md-5", + "num_cpus", + "once_cell", + "path-slash", + "rayon", + "regex", + "semver", + "serde", + "serde_json", + "solang-parser", + "svm-rs", + "thiserror", + "tiny-keccak", + "tokio", + "tracing", + "walkdir", + "yansi", +] + +[[package]] +name = "eyre" +version = "0.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" +dependencies = [ + "indenter", + "once_cell", +] + +[[package]] +name = "fastrand" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" + +[[package]] +name = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core", + "subtle", +] + +[[package]] +name = "fixed-hash" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" +dependencies = [ + "byteorder", + "rand", + "rustc-hex", + "static_assertions", +] + +[[package]] +name = "fixedbitset" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" + +[[package]] +name = "flate2" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +dependencies = [ + "crc32fast", + "miniz_oxide", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "fs2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" + +[[package]] +name = "futures-executor" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + +[[package]] +name = "futures-locks" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45ec6fe3675af967e67c5536c0b9d44e34e6c52f86bedc4ea49c5317b8e94d06" +dependencies = [ + "futures-channel", + "futures-task", +] + +[[package]] +name = "futures-macro" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "futures-sink" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" + +[[package]] +name = "futures-task" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" + +[[package]] +name = "futures-timer" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" +dependencies = [ + "gloo-timers", + "send_wrapper 0.4.0", +] + +[[package]] +name = "futures-util" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[package]] +name = "fxhash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" +dependencies = [ + "byteorder", +] + +[[package]] +name = "gcp-bigquery-client" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc3e5c4b8a072ca074ab0d4f53dc6b04f45eb9bc0cc046a4a1428c8498af71e" +dependencies = [ + "async-stream", + "async-trait", + "dyn-clone", + "hyper 1.3.1", + "log", + "reqwest 0.12.4", + "serde", + "serde_json", + "thiserror", + "time", + "tokio", + "tokio-stream", + "url", + "yup-oauth2", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "getrandom" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "gimli" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" + +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff", + "rand_core", + "subtle", +] + +[[package]] +name = "h2" +version = "0.3.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http 0.2.12", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashers" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2bca93b15ea5a746f220e56587f71e73c6165eab783df9e26590069953e3c30" +dependencies = [ + "fxhash", +] + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + +[[package]] +name = "home" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "http" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +dependencies = [ + "bytes", + "http 0.2.12", + "pin-project-lite", +] + +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes", + "http 1.1.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +dependencies = [ + "bytes", + "futures-core", + "http 1.1.0", + "http-body 1.0.0", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hyper" +version = "0.14.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http 0.2.12", + "http-body 0.4.6", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe575dd17d0862a9a33781c8c4696a55c320909004a67a00fb286ba8b1bc496d" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "httparse", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.24.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" +dependencies = [ + "futures-util", + "http 0.2.12", + "hyper 0.14.28", + "rustls 0.21.12", + "tokio", + "tokio-rustls 0.24.1", +] + +[[package]] +name = "hyper-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "399c78f9338483cb7e630c8474b07268983c6bd5acee012e4211f9f7bb21b070" +dependencies = [ + "futures-util", + "http 0.2.12", + "hyper 0.14.28", + "log", + "rustls 0.22.4", + "rustls-native-certs", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.25.0", +] + +[[package]] +name = "hyper-rustls" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0bea761b46ae2b24eb4aef630d8d1c398157b6fc29e6350ecf090a0b70c952c" +dependencies = [ + "futures-util", + "http 1.1.0", + "hyper 1.3.1", + "hyper-util", + "rustls 0.22.4", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.25.0", + "tower-service", +] + +[[package]] +name = "hyper-tls" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +dependencies = [ + "bytes", + "hyper 0.14.28", + "native-tls", + "tokio", + "tokio-native-tls", +] + +[[package]] +name = "hyper-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b875924a60b96e5d7b9ae7b066540b1dd1cbd90d1828f54c92e02a283351c56" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "hyper 1.3.1", + "pin-project-lite", + "socket2", + "tokio", + "tower", + "tower-service", + "tracing", +] + +[[package]] +name = "idna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "impl-codec" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" +dependencies = [ + "parity-scale-codec", +] + +[[package]] +name = "impl-rlp" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +dependencies = [ + "rlp", +] + +[[package]] +name = "impl-serde" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" +dependencies = [ + "serde", +] + +[[package]] +name = "impl-trait-for-tuples" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "indenter" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" + +[[package]] +name = "indexmap" +version = "2.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array", +] + +[[package]] +name = "instant" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "ipnet" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" + +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" + +[[package]] +name = "jobserver" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" +dependencies = [ + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "jsonwebtoken" +version = "8.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" +dependencies = [ + "base64 0.21.7", + "pem", + "ring 0.16.20", + "serde", + "serde_json", + "simple_asn1", +] + +[[package]] +name = "k256" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +dependencies = [ + "cfg-if", + "ecdsa", + "elliptic-curve", + "once_cell", + "sha2", + "signature", +] + +[[package]] +name = "keccak" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" +dependencies = [ + "cpufeatures", +] + +[[package]] +name = "lalrpop" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca" +dependencies = [ + "ascii-canvas", + "bit-set", + "ena", + "itertools 0.11.0", + "lalrpop-util", + "petgraph", + "regex", + "regex-syntax", + "string_cache", + "term", + "tiny-keccak", + "unicode-xid", + "walkdir", +] + +[[package]] +name = "lalrpop-util" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.155" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" + +[[package]] +name = "libm" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + +[[package]] +name = "libredox" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +dependencies = [ + "bitflags 2.5.0", + "libc", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" + +[[package]] +name = "lock_api" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +dependencies = [ + "autocfg", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" + +[[package]] +name = "md-5" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" +dependencies = [ + "cfg-if", + "digest", +] + +[[package]] +name = "memchr" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" + +[[package]] +name = "mime" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" + +[[package]] +name = "miniz_oxide" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" +dependencies = [ + "adler", +] + +[[package]] +name = "mio" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.48.0", +] + +[[package]] +name = "native-tls" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" +dependencies = [ + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", +] + +[[package]] +name = "new_debug_unreachable" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" + +[[package]] +name = "ntapi" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" +dependencies = [ + "winapi", +] + +[[package]] +name = "num-bigint" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "num_enum" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" +dependencies = [ + "num_enum_derive", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "num_threads" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] + +[[package]] +name = "object" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[package]] +name = "open-fastrlp" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "786393f80485445794f6043fd3138854dd109cc6c4bd1a6383db304c9ce9b9ce" +dependencies = [ + "arrayvec", + "auto_impl", + "bytes", + "ethereum-types", + "open-fastrlp-derive", +] + +[[package]] +name = "open-fastrlp-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "003b2be5c6c53c1cfeb0a238b8a1c3915cd410feb684457a36c10038f764bb1c" +dependencies = [ + "bytes", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "openssl" +version = "0.10.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" +dependencies = [ + "bitflags 2.5.0", + "cfg-if", + "foreign-types", + "libc", + "once_cell", + "openssl-macros", + "openssl-sys", +] + +[[package]] +name = "openssl-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + +[[package]] +name = "openssl-sys" +version = "0.9.102" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + +[[package]] +name = "parity-scale-codec" +version = "3.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +dependencies = [ + "arrayvec", + "bitvec", + "byte-slice-cast", + "impl-trait-for-tuples", + "parity-scale-codec-derive", + "serde", +] + +[[package]] +name = "parity-scale-codec-derive" +version = "3.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "parking_lot" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-targets 0.52.5", +] + +[[package]] +name = "password-hash" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" +dependencies = [ + "base64ct", + "rand_core", + "subtle", +] + +[[package]] +name = "path-slash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42" + +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest", + "hmac", + "password-hash", + "sha2", +] + +[[package]] +name = "pbkdf2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest", + "hmac", +] + +[[package]] +name = "pem" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +dependencies = [ + "base64 0.13.1", +] + +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "petgraph" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" +dependencies = [ + "fixedbitset", + "indexmap", +] + +[[package]] +name = "pharos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" +dependencies = [ + "futures", + "rustc_version", +] + +[[package]] +name = "phf" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" +dependencies = [ + "phf_macros", + "phf_shared 0.11.2", +] + +[[package]] +name = "phf_generator" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" +dependencies = [ + "phf_shared 0.11.2", + "rand", +] + +[[package]] +name = "phf_macros" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" +dependencies = [ + "phf_generator", + "phf_shared 0.11.2", + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "phf_shared" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" +dependencies = [ + "siphasher", +] + +[[package]] +name = "phf_shared" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pin-project" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + +[[package]] +name = "prettyplease" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +dependencies = [ + "proc-macro2", + "syn 2.0.66", +] + +[[package]] +name = "primitive-types" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" +dependencies = [ + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "uint", +] + +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.1", +] + +[[package]] +name = "proc-macro2" +version = "1.0.84" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "proptest" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" +dependencies = [ + "bitflags 2.5.0", + "lazy_static", + "num-traits", + "rand", + "rand_chacha", + "rand_xorshift", + "regex-syntax", + "unarray", +] + +[[package]] +name = "quote" +version = "1.0.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom", +] + +[[package]] +name = "rand_xorshift" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rayon" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "redox_syscall" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +dependencies = [ + "bitflags 2.5.0", +] + +[[package]] +name = "redox_users" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" +dependencies = [ + "getrandom", + "libredox", + "thiserror", +] + +[[package]] +name = "regex" +version = "1.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" + +[[package]] +name = "reqwest" +version = "0.11.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" +dependencies = [ + "base64 0.21.7", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "h2", + "http 0.2.12", + "http-body 0.4.6", + "hyper 0.14.28", + "hyper-rustls 0.24.2", + "hyper-tls", + "ipnet", + "js-sys", + "log", + "mime", + "native-tls", + "once_cell", + "percent-encoding", + "pin-project-lite", + "rustls 0.21.12", + "rustls-pemfile 1.0.4", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "system-configuration", + "tokio", + "tokio-native-tls", + "tokio-rustls 0.24.1", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "webpki-roots 0.25.4", + "winreg 0.50.0", +] + +[[package]] +name = "reqwest" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.3.1", + "hyper-rustls 0.26.0", + "hyper-util", + "ipnet", + "js-sys", + "log", + "mime", + "once_cell", + "percent-encoding", + "pin-project-lite", + "rustls 0.22.4", + "rustls-pemfile 2.1.2", + "rustls-pki-types", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-rustls 0.25.0", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "webpki-roots 0.26.1", + "winreg 0.52.0", +] + +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac", + "subtle", +] + +[[package]] +name = "ring" +version = "0.16.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" +dependencies = [ + "cc", + "libc", + "once_cell", + "spin 0.5.2", + "untrusted 0.7.1", + "web-sys", + "winapi", +] + +[[package]] +name = "ring" +version = "0.17.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +dependencies = [ + "cc", + "cfg-if", + "getrandom", + "libc", + "spin 0.9.8", + "untrusted 0.9.0", + "windows-sys 0.52.0", +] + +[[package]] +name = "ripemd" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" +dependencies = [ + "digest", +] + +[[package]] +name = "rlp" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +dependencies = [ + "bytes", + "rlp-derive", + "rustc-hex", +] + +[[package]] +name = "rlp-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" + +[[package]] +name = "rustc-hex" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" + +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver", +] + +[[package]] +name = "rustix" +version = "0.38.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +dependencies = [ + "bitflags 2.5.0", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustls" +version = "0.21.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" +dependencies = [ + "log", + "ring 0.17.8", + "rustls-webpki 0.101.7", + "sct", +] + +[[package]] +name = "rustls" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +dependencies = [ + "log", + "ring 0.17.8", + "rustls-pki-types", + "rustls-webpki 0.102.4", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.1.2", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +dependencies = [ + "base64 0.21.7", +] + +[[package]] +name = "rustls-pemfile" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +dependencies = [ + "base64 0.22.1", + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" + +[[package]] +name = "rustls-webpki" +version = "0.101.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +dependencies = [ + "ring 0.17.8", + "untrusted 0.9.0", +] + +[[package]] +name = "rustls-webpki" +version = "0.102.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e" +dependencies = [ + "ring 0.17.8", + "rustls-pki-types", + "untrusted 0.9.0", +] + +[[package]] +name = "rustversion" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" + +[[package]] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" + +[[package]] +name = "salsa20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" +dependencies = [ + "cipher", +] + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scale-info" +version = "2.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" +dependencies = [ + "cfg-if", + "derive_more", + "parity-scale-codec", + "scale-info-derive", +] + +[[package]] +name = "scale-info-derive" +version = "2.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "schannel" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "scrypt" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f9e24d2b632954ded8ab2ef9fea0a0c769ea56ea98bddbafbad22caeeadf45d" +dependencies = [ + "hmac", + "pbkdf2 0.11.0", + "salsa20", + "sha2", +] + +[[package]] +name = "sct" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +dependencies = [ + "ring 0.17.8", + "untrusted 0.9.0", +] + +[[package]] +name = "seahash" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "pkcs8", + "subtle", + "zeroize", +] + +[[package]] +name = "security-framework" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" +dependencies = [ + "bitflags 2.5.0", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +dependencies = [ + "serde", +] + +[[package]] +name = "send_wrapper" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + +[[package]] +name = "serde" +version = "1.0.203" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.203" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "serde_json" +version = "1.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_spanned" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_yaml" +version = "0.9.34+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" +dependencies = [ + "indexmap", + "itoa", + "ryu", + "serde", + "unsafe-libyaml", +] + +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sha3" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" +dependencies = [ + "digest", + "keccak", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +dependencies = [ + "libc", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest", + "rand_core", +] + +[[package]] +name = "simple_asn1" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" +dependencies = [ + "num-bigint", + "num-traits", + "thiserror", + "time", +] + +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + +[[package]] +name = "slab" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +dependencies = [ + "autocfg", +] + +[[package]] +name = "smallvec" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" + +[[package]] +name = "socket2" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "solang-parser" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c425ce1c59f4b154717592f0bdf4715c3a1d55058883622d3157e1f0908a5b26" +dependencies = [ + "itertools 0.11.0", + "lalrpop", + "lalrpop-util", + "phf", + "thiserror", + "unicode-xid", +] + +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "string_cache" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" +dependencies = [ + "new_debug_unreachable", + "once_cell", + "parking_lot", + "phf_shared 0.10.0", + "precomputed-hash", +] + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.66", +] + +[[package]] +name = "subtle" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "svm-rs" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11297baafe5fa0c99d5722458eac6a5e25c01eb1b8e5cd137f54079093daa7a4" +dependencies = [ + "dirs", + "fs2", + "hex", + "once_cell", + "reqwest 0.11.27", + "semver", + "serde", + "serde_json", + "sha2", + "thiserror", + "url", + "zip", +] + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" + +[[package]] +name = "sysctl" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec7dddc5f0fee506baf8b9fdb989e242f17e4b11c61dfbb0635b705217199eea" +dependencies = [ + "bitflags 2.5.0", + "byteorder", + "enum-as-inner", + "libc", + "thiserror", + "walkdir", +] + +[[package]] +name = "sysinfo" +version = "0.30.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "732ffa00f53e6b2af46208fba5718d9662a421049204e156328b66791ffa15ae" +dependencies = [ + "cfg-if", + "core-foundation-sys", + "libc", + "ntapi", + "once_cell", + "rayon", + "windows", +] + +[[package]] +name = "system-configuration" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + +[[package]] +name = "tempfile" +version = "3.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +dependencies = [ + "cfg-if", + "fastrand", + "rustix", + "windows-sys 0.52.0", +] + +[[package]] +name = "term" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" +dependencies = [ + "dirs-next", + "rustversion", + "winapi", +] + +[[package]] +name = "thiserror" +version = "1.0.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "time" +version = "0.3.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +dependencies = [ + "deranged", + "itoa", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" + +[[package]] +name = "time-macros" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +dependencies = [ + "backtrace", + "bytes", + "libc", + "mio", + "num_cpus", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.48.0", +] + +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "tokio-native-tls" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" +dependencies = [ + "native-tls", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.12", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.4", + "rustls-pki-types", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" +dependencies = [ + "futures-util", + "log", + "rustls 0.21.12", + "tokio", + "tokio-rustls 0.24.1", + "tungstenite", + "webpki-roots 0.25.4", +] + +[[package]] +name = "tokio-util" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.8.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.22.13", +] + +[[package]] +name = "toml_datetime" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.22.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" +dependencies = [ + "indexmap", + "serde", + "serde_spanned", + "toml_datetime", + "winnow 0.6.8", +] + +[[package]] +name = "tower" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" + +[[package]] +name = "tower-service" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" + +[[package]] +name = "tracing" +version = "0.1.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + +[[package]] +name = "tracing-core" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +dependencies = [ + "once_cell", +] + +[[package]] +name = "tracing-futures" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" +dependencies = [ + "pin-project", + "tracing", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 0.2.12", + "httparse", + "log", + "rand", + "rustls 0.21.12", + "sha1", + "thiserror", + "url", + "utf-8", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[package]] +name = "uint" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + +[[package]] +name = "unicode-bidi" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unicode-normalization" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + +[[package]] +name = "unsafe-libyaml" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" + +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", +] + +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + +[[package]] +name = "uuid" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" +dependencies = [ + "getrandom", + "serde", +] + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasm-bindgen" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.66", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" + +[[package]] +name = "web-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-roots" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + +[[package]] +name = "webpki-roots" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3de34ae270483955a94f4b21bdaaeb83d508bb84a01435f393818edb0012009" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +dependencies = [ + "windows-core", + "windows-targets 0.52.5", +] + +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.5", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.5", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +dependencies = [ + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" + +[[package]] +name = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +dependencies = [ + "memchr", +] + +[[package]] +name = "winreg" +version = "0.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + +[[package]] +name = "winreg" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + +[[package]] +name = "ws_stream_wasm" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7999f5f4217fe3818726b66257a4475f71e74ffd190776ad053fa159e50737f5" +dependencies = [ + "async_io_stream", + "futures", + "js-sys", + "log", + "pharos", + "rustc_version", + "send_wrapper 0.6.0", + "thiserror", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + +[[package]] +name = "yansi" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" + +[[package]] +name = "yup-oauth2" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75463c432f5d4ca9c75047514df3d768f8ac3276ac22c9a6531af6d0a3da7ee" +dependencies = [ + "anyhow", + "async-trait", + "base64 0.21.7", + "futures", + "http 0.2.12", + "hyper 0.14.28", + "hyper-rustls 0.25.0", + "itertools 0.12.1", + "log", + "percent-encoding", + "rustls 0.22.4", + "rustls-pemfile 1.0.4", + "seahash", + "serde", + "serde_json", + "time", + "tokio", + "tower-service", + "url", +] + +[[package]] +name = "zeroize" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" + +[[package]] +name = "zip" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" +dependencies = [ + "aes", + "byteorder", + "bzip2", + "constant_time_eq", + "crc32fast", + "crossbeam-utils", + "flate2", + "hmac", + "pbkdf2 0.11.0", + "sha1", + "time", + "zstd", +] + +[[package]] +name = "zqutils" +version = "0.2.0" +source = "git+https://github.com/zilliqa/zq-base#80a9b3570ebeb80e34bdc0d84edf567fb087e618" +dependencies = [ + "anyhow", + "base64 0.21.7", + "clap", + "colored", + "ethers", + "gcp-bigquery-client", + "home", + "libc", + "log", + "rand", + "rand_chacha", + "regex", + "reqwest 0.11.27", + "semver", + "serde", + "serde_json", + "serde_yaml", + "sysctl", + "sysinfo", + "tokio", + "url", +] + +[[package]] +name = "zstd" +version = "0.11.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "5.0.2+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +dependencies = [ + "libc", + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.0.10+zstd.1.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +dependencies = [ + "cc", + "pkg-config", +] diff --git a/docgen/Cargo.toml b/docgen/Cargo.toml new file mode 100644 index 0000000..9c73dad --- /dev/null +++ b/docgen/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "docgen" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +anyhow = "1.0.83" +serde = { version = "1.0.201", features = ["derive"] } +serde_yaml = "0.9.34" +tokio = "1.37.0" +zqutils = { git = "https://github.com/zilliqa/zq-base" } diff --git a/docgen/osv-scanner.toml b/docgen/osv-scanner.toml new file mode 100644 index 0000000..cd0b77a --- /dev/null +++ b/docgen/osv-scanner.toml @@ -0,0 +1,4 @@ +[[IgnoredVulns]] +id = "GHSA-4grx-2x9w-596c" +ignoreUntil = "2024-08-01T00:00:00Z" +reason = "Don't care when running docgen and no fix yet" diff --git a/docgen/rust-toolchain.toml b/docgen/rust-toolchain.toml new file mode 100644 index 0000000..936613c --- /dev/null +++ b/docgen/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "1.78.0" +components = ["rustfmt", "clippy"] +profile = "minimal" diff --git a/docgen/src/main.rs b/docgen/src/main.rs new file mode 100644 index 0000000..4fd2c8d --- /dev/null +++ b/docgen/src/main.rs @@ -0,0 +1,130 @@ +use anyhow::{anyhow, Result}; +use serde::Deserialize; +use std::path::PathBuf; +use std::{env, fs}; +use zqutils::commands::CommandBuilder; + +const API_URL: &str = "https://api.zq2-devnet.zilliqa.com"; + +#[derive(Clone, Deserialize)] +struct Version { + refspec: String, + name: Option, +} + +#[derive(Clone, Deserialize)] +struct Zq2Spec { + versions: Vec, +} + +#[tokio::main] +async fn main() -> Result<()> { + let args: Vec = env::args().collect(); + let here = String::from(&args[1]); + + // Set NO_CHECKOUT to skip the checkout steps - this allows you to do debugging with symlinks or similar. + let checkout = std::env::var("NO_CHECKOUT").is_err(); + + // Find the zq2 versions that we need to collect. + + println!("here = {here}"); + + let root_path = PathBuf::from(&here); + let versions: Zq2Spec = + serde_yaml::from_str(&fs::read_to_string(format!("{}/zq2_spec.yaml", here))?)?; + for vrec in &versions.versions { + let refspec = &vrec.refspec; + let name: String = match vrec.name { + None => { + if refspec.len() > 8 { + refspec[..7].to_string() + } else { + refspec.to_string() + } + } + Some(ref val) => val.to_string(), + }; + println!("Compiling zq2 version {name}"); + let cache_dir: PathBuf = root_path.clone().join("cache"); + let zq2_checkout_dir: PathBuf = cache_dir.clone().join("zq2"); + let id_prefix = format!("Versions/{name}"); + let target_dir = root_path.clone().join("zq2").join("docs"); + let target_dir_str = target_dir + .as_os_str() + .to_str() + .ok_or(anyhow!("unprintable path"))? + .to_string(); + if checkout { + // Check out the zq2 version + println!(" Check out zq2 into {zq2_checkout_dir:?}"); + // Does it exist? + // Use https so that those (me!) with yubikeys don't need to keep touching them. + if fs::metadata(zq2_checkout_dir.clone().join(".git")).is_ok() { + // Update. + CommandBuilder::new() + .cmd("git", &["fetch", "https://github.com/zilliqa/zq2", refspec]) + .current_dir(&zq2_checkout_dir.clone())? + .run_logged() + .await? + .success_or("Cannot run git fetch")? + } else { + // Clone + CommandBuilder::new() + .cmd("git", &["clone", "https://github.com/zilliqa/zq2"]) + .current_dir(&cache_dir.clone())? + .run_logged() + .await? + .success_or("Cannot run git clone")? + }; + // Check out + CommandBuilder::new() + .cmd("git", &["checkout", refspec]) + .current_dir(&zq2_checkout_dir.clone())? + .run_logged() + .await? + .success_or("Cannot run git checkout")?; + } + // First, zap the target + let doc_dir = format!("{target_dir_str}/versions/{name}"); + println!(" Removing {doc_dir} ... "); + if fs::metadata(&doc_dir).is_ok() { + fs::remove_dir_all(&doc_dir)?; + } + + let index_file_path = root_path.clone().join("zq2").join("mkdocs.yaml"); + let index_file_template_path = root_path.clone().join("zq2").join("mkdocs.in.yaml"); + // Now copy the mkdocs file .. + tokio::fs::copy(&index_file_template_path, &index_file_path).await?; + let index_file_name = index_file_path + .as_os_str() + .to_str() + .ok_or(anyhow!("unprintable index file path"))? + .to_string(); + let key_prefix = "nav".to_string(); + println!(" Generating documentation from {refspec} into {target_dir_str}..."); + let z2_dir = zq2_checkout_dir.clone(); + println!(" Running {z2_dir:?}/z2 .. "); + // Now we can run the docgen + CommandBuilder::new() + .cmd( + "scripts/z2", + &[ + "doc-gen", + &target_dir_str, + "--id-prefix", + &id_prefix, + "--index-file", + &index_file_name, + "--key-prefix", + &key_prefix, + "--api-url", + API_URL, + ], + ) + .current_dir(&z2_dir.clone())? + .run_logged() + .await? + .success_or("Couldn't run z2")?; + } + Ok(()) +} diff --git a/z.yaml b/z.yaml deleted file mode 100644 index d29dced..0000000 --- a/z.yaml +++ /dev/null @@ -1,15 +0,0 @@ -backend: kind - -clusters: - localdev: - manifests: - nginx-ingress: - from: "https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml" - options: "-f" - region: asia-southeast1 - name: local-cluster - apps: - developer-portal-dev: - path: products/developer-portal/cd/base - track: development - type: kustomize diff --git a/zq1/overrides/frontpage.html b/zq1/overrides/frontpage.html index 9a0750b..32dc768 100644 --- a/zq1/overrides/frontpage.html +++ b/zq1/overrides/frontpage.html @@ -446,7 +446,6 @@

Zilliqa Developer Portal

Technical documentation for participating in the Zilliqa network. - Zilliqa 2 documentation is also available.

diff --git a/zq2/.gitignore b/zq2/.gitignore index 22804e0..487348e 100644 --- a/zq2/.gitignore +++ b/zq2/.gitignore @@ -1,2 +1,5 @@ # Object files obj/** +# Annoyingly, you can't merge nav lists (see https://www.mkdocs.org/user-guide/configuration/) +# So we gitignore mkdocs.yaml and have it sourced in from mkdocs.in.yaml before adding to it. +mkdocs.yaml \ No newline at end of file diff --git a/zq2/docs/api/.gitkeep b/zq2/docs/api/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/zq2/docs/api/erigon/get-header-by-number.md b/zq2/docs/api/erigon/get-header-by-number.md deleted file mode 100644 index b395cd3..0000000 --- a/zq2/docs/api/erigon/get-header-by-number.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -id: api/erigon/erigon_getHeaderByNumber -title: erigon_getHeaderByNumber ---- - ---- - -- Returns the erigon headers for a given block number - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "erigon_getHeaderByNumber", - "params": [ 1000 ] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -### Example Response - -```json -{ - "jsonrpc": "2.0", - "result": { - "number": "0x3e8", - "hash": "0x7dbeae485c26511423301be854c6cdec6b07170427f3270ac1748782f4fe4a8f", - "parentHash": "0x71d2d959e0eb73b429686c0c1107e4183f04c0a54752d4fe519a1f0c54ab7cdb", - "nonce": "0x0000000000000000", - "sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000", - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", - "stateRoot": "0xd639a448087e7d087fb2d0fef4a1bd95237a965277dcbf7ee33344384491d409", - "receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", - "miner": "0x768af8c0b4792ed2948186857f1122f3cd6a695d", - "difficulty": "0x0", - "totalDifficulty": "0x0", - "extraData": "0x", - "size": "0x0", - "gasLimit": "0x501bd00", - "gasUsed": "0x0", - "timestamp": "0x6602d4bc", - "transactions": [], - "uncles": [] - }, - "id": "1" -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------- | -| `block` | number | Required | The block number to query | diff --git a/zq2/docs/api/ethereum/eth-rpc.md b/zq2/docs/api/ethereum/eth-rpc.md deleted file mode 100644 index 472e553..0000000 --- a/zq2/docs/api/ethereum/eth-rpc.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -id: api/ethereum/index -title: Supported ETH API calls ---- - ---- - -# Ethereum API - -We aim to support a useful subset of the available Ethereum Node methods. Useful references include -[Ethereum JSON-RPC API methods](https://ethereum.org/en/developers/docs/apis/json-rpc/) and [the Geth RPC docs](https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-debug). - -The exact set of API methods we intend to support will be published in a future [ZIP](https://github.com/zilliqa/zip). - -See [endpoints](/endpoints.md) for details of which RPC endpoints are supported by each deployed version of Zilliqa 2.0 (TBD: this information will eventually be extracted here for convenience). diff --git a/zq2/docs/api/index.md b/zq2/docs/api/index.md deleted file mode 100644 index 3f5f356..0000000 --- a/zq2/docs/api/index.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -id: api -title: API Methods -keywords: - - api - - introduction -description: Zilliqa API Methods ---- - ---- - -Zilliqa 2.0 supports several APIs; the support status of each API call can be found in the repository [README.md](https://github.com/Zilliqa/zq2/blob/main/README.md), a copy of which is linked for each Zilliqa 2.0 installation from the [endpoints](/endpoints) page. - -- erigon API endpoints -- Ethereum RPC API endpoints (note: we do not support the Ethereum node API) -- Otterscan RPC API endpoints -- Web3 RPC API endpoints -- Zilliqa RPC API endpoints diff --git a/zq2/docs/api/otterscan/get-api-level.md b/zq2/docs/api/otterscan/get-api-level.md deleted file mode 100644 index 80411d4..0000000 --- a/zq2/docs/api/otterscan/get-api-level.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -id: api/ots/ots_getApiLevel -title: ots_getApiLevel ---- - ---- - -Returns the Otterscan API level - -### Example request - -=== "cURL" - -```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "ots_getApiLevel", - "params": [ ] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" -``` - -### Example Response - -```json -{ - "jsonrpc": "2.0", - "result": 8, - "id": "1" -} -``` - -### Arguments - -None diff --git a/zq2/docs/api/otterscan/get-block-details-by-hash.md b/zq2/docs/api/otterscan/get-block-details-by-hash.md deleted file mode 100644 index c1d9f77..0000000 --- a/zq2/docs/api/otterscan/get-block-details-by-hash.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -id: api/ots/ots_getBlockDetailsByHash -title: ots_getBlockDetailsByHash ---- - ---- - -Returns details of a block for otterscan by hash - -### Example request - -=== "cURL" - -```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "ots_getBlockDetailsByHash", - "params": [ "0x7dbeae485c26511423301be854c6cdec6b07170427f3270ac1748782f4fe4a8f" ] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" -``` - -### Example Response - -```json -{ - "jsonrpc": "2.0", - "result": { - "block": { - "number": "0x3e8", - "hash": "0x7dbeae485c26511423301be854c6cdec6b07170427f3270ac1748782f4fe4a8f", - "parentHash": "0x71d2d959e0eb73b429686c0c1107e4183f04c0a54752d4fe519a1f0c54ab7cdb", - "nonce": "0x0", - "sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", - "stateRoot": "0xd639a448087e7d087fb2d0fef4a1bd95237a965277dcbf7ee33344384491d409", - "receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", - "miner": "0x768af8c0b4792ed2948186857f1122f3cd6a695d", - "difficulty": "0x0", - "totalDifficulty": "0x0", - "extraData": "0x", - "size": "0x0", - "gasLimit": "0x1", - "gasUsed": "0x0", - "timestamp": "0x6602d4bc", - "transactionCount": 0, - "uncles": [], - "baseFeePerGas": "0x0" - }, - "issuance": { - "blockReward": "0x0", - "uncleReward": "0x0", - "issuance": "0x0" - }, - "totalFees": "0x0" - }, - "id": "1" -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ----------------------- | -| `hash` | string | Required | The block hash to query | diff --git a/zq2/docs/api/otterscan/get-block-details.md b/zq2/docs/api/otterscan/get-block-details.md deleted file mode 100644 index 43199f2..0000000 --- a/zq2/docs/api/otterscan/get-block-details.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -id: api/ots/ots_getBlockDetails -title: ots_getBlockDetails ---- - ---- - -Returns details of a numbered block for otterscan - -### Example request - -=== "cURL" - -```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "ots_getBlockDetails", - "params": [ 1000 ] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" -``` - -### Example Response - -```json -{ - "jsonrpc": "2.0", - "result": { - "block": { - "number": "0x3e8", - "hash": "0x7dbeae485c26511423301be854c6cdec6b07170427f3270ac1748782f4fe4a8f", - "parentHash": "0x71d2d959e0eb73b429686c0c1107e4183f04c0a54752d4fe519a1f0c54ab7cdb", - "nonce": "0x0", - "sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", - "stateRoot": "0xd639a448087e7d087fb2d0fef4a1bd95237a965277dcbf7ee33344384491d409", - "receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", - "miner": "0x768af8c0b4792ed2948186857f1122f3cd6a695d", - "difficulty": "0x0", - "totalDifficulty": "0x0", - "extraData": "0x", - "size": "0x0", - "gasLimit": "0x1", - "gasUsed": "0x0", - "timestamp": "0x6602d4bc", - "transactionCount": 0, - "uncles": [], - "baseFeePerGas": "0x0" - }, - "issuance": { - "blockReward": "0x0", - "uncleReward": "0x0", - "issuance": "0x0" - }, - "totalFees": "0x0" - }, - "id": "1" -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------- | -| `block` | number | Required | The block number to query | diff --git a/zq2/docs/api/otterscan/get-block-transactions.md b/zq2/docs/api/otterscan/get-block-transactions.md deleted file mode 100644 index b95a4d9..0000000 --- a/zq2/docs/api/otterscan/get-block-transactions.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -id: api/ots/ots_getBlockTransactions -title: ots_getBlockTransactions ---- - ---- - -Returns transaction details for a page of transactions in a block - -### Example request - -=== "cURL" - -```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "ots_getBlockTransactions", - "params": [ 1000, 0, 10 ] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" -``` - -### Example Response - -```json -{ - "jsonrpc": "2.0", - "result": { - "number": "0x3e8", - "hash": "0x7dbeae485c26511423301be854c6cdec6b07170427f3270ac1748782f4fe4a8f", - "parentHash": "0x71d2d959e0eb73b429686c0c1107e4183f04c0a54752d4fe519a1f0c54ab7cdb", - "nonce": "0x0000000000000000", - "sha3Uncles": "0x0000000000000000000000000000000000000000000000000000000000000000", - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", - "stateRoot": "0xd639a448087e7d087fb2d0fef4a1bd95237a965277dcbf7ee33344384491d409", - "receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", - "miner": "0x768af8c0b4792ed2948186857f1122f3cd6a695d", - "difficulty": "0x0", - "totalDifficulty": "0x0", - "extraData": "0x", - "size": "0x0", - "gasLimit": "0x501bd00", - "gasUsed": "0x0", - "timestamp": "0x6602d4bc", - "transactions": [], - "uncles": [] - }, - "id": "1" -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| ------------- | ------ | -------- | ----------------------------------------------- | -| `block` | number | Required | The block number to query | -| `page_number` | number | Required | The page of transactions to query in that block | -| `page_size` | number | Required | The size of each page of transactions | diff --git a/zq2/docs/api/otterscan/has-code.md b/zq2/docs/api/otterscan/has-code.md deleted file mode 100644 index 2ae47d8..0000000 --- a/zq2/docs/api/otterscan/has-code.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -id: api/ots/ots_hasCode -title: ots_hasCode ---- - ---- - -Indicates whether an address has code associated with it at a particular block. - -### Example request - -=== "cURL" - -```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "ots_hasCode", - "params": [ "0xB85fF091342e2e7a7461238796d5224fA81ca556", 1000 ] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" -``` - -### Example Response - -```json -{ - "jsonrpc": "2.0", - "result": false, - "id": "1" -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------- | -------- | ------------------------- | -| `address` | address | Required | The address to query | -| `block` | number | Required | The block number to query | diff --git a/zq2/docs/api/zilliqa/api-account-get-balance.md b/zq2/docs/api/zilliqa/api-account-get-balance.md deleted file mode 100644 index 175d810..0000000 --- a/zq2/docs/api/zilliqa/api-account-get-balance.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -id: api-account-get-balance -title: GetBalance ---- - ---- - -- Returns the current `balance` of an account, measured in the smallest - accounting unit **Qa** (or 10^-12 **Zil**). This is represented as a - `String`. - -- Returns the current `nonce` of an account. This is represented as a - `Number`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetBalance", - "params": ["1eefc4f453539e5ee732b49eb4792b268c2f3908"] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -=== "node.js" - - ```js - const balance = await zilliqa.blockchain.getBalance( - "1eefc4f453539e5ee732b49eb4792b268c2f3908" - ); - console.log(balance.result); - ``` - -=== "java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zq2-devnet.zilliqa.com"); - Rep balance = client.getBalance("1eefc4f453539e5ee732b49eb4792b268c2f3908"); - System.out.println(new Gson().toJson(balance)); - } - } - ``` - -=== "python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetBalance("1eefc4f453539e5ee732b49eb4792b268c2f3908")) - ``` - -=== "go" - - ```go - func TestGetBalance() { - provider := NewProvider("https://api.zq2-devnet.zilliqa.com/") - response := provider.GetBalance("9bfec715a6bd658fcb62b0f8cc9bfa2ade71434a") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "balance": "18446744073637511711", - "nonce": 16 - } -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetBalance"` | -| `params` | string | Required | An User's account address of 20 bytes.
Example: `"1eefc4f453539e5ee732b49eb4792b268c2f3908"`

Also supports Bech32 address
Example: `"zil1rmhufazn2w09aeejkj0tg7fty6xz7wggup2tsh"` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-ds-block-listing.md b/zq2/docs/api/zilliqa/api-blockchain-ds-block-listing.md deleted file mode 100644 index 7d35b21..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-ds-block-listing.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -id: api-blockchain-ds-block-listing -title: DSBlockListing ---- - -Returns a paginated list of up to **10** Directory Service (DS) blocks and their -block hashes for a specified page. The `maxPages` variable that specifies the -maximum number of pages available is also returned. - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "DSBlockListing", - "params": [1] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "node.js" - - ```js - const dsBlockListing = await zilliqa.blockchain.getDSBlockListing(1); - console.log(dsBlockListing.result); - ``` - -=== "java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep blockListing = client.getDSBlockListing(1); - System.out.println(new Gson().toJson(blockListing)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.DSBlockListing(1)) - ``` - -=== "Go" - - ```go - func DSBlockListing() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.DSBlockListing(1) - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "data": [ - { - "BlockNum": 5898, - "Hash": "4DEED80AFDCC89D5B691DCB54CCB846AD9D823D448A56ACAC4DBE5E1213244C7" - }, - { - "BlockNum": 5897, - "Hash": "968E2E7820A3795DE8C8A7A2E94379CC10F50ADA5EA6F90C03C4E61E22EE83B5" - }, - { - "BlockNum": 5896, - "Hash": "A52D113357910ADECEFA713D89A667030F521FFB153EEFA97A0D9E7E4AA5230B" - }, - { - "BlockNum": 5895, - "Hash": "8d49d4b18b441dc0da6ca580f468c9e83278c47f0f54fe342e1fe1425c39044f" - }, - { - "BlockNum": 5894, - "Hash": "b966c36557480a35a36a0d1c33723fd9bac8538588dea6716b4dfb2a05815458" - }, - { - "BlockNum": 5893, - "Hash": "fc20118eec0f14fdc089fcfee528276337dcf403a308153485f24f2856998613" - }, - { - "BlockNum": 5892, - "Hash": "4ed593d66b1ea5fa9a77cc1bb119baf90029c249bf5507b01079bc2fbf45aec7" - }, - { - "BlockNum": 5891, - "Hash": "1385bf48e584ebb82cf11a9064d99b5e0b4ae560866a92efe9b78604e08fc821" - }, - { - "BlockNum": 5890, - "Hash": "05d6d24a8f5411ff70fe58a09f38fd4b49ec4122b7c26817964a4a8b8a089c1f" - }, - { - "BlockNum": 5889, - "Hash": "137e56be8966eba0c04138d79faa1515997fc790ccf5213c00bb13a3550cca39" - } - ], - "maxPages": 590 - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"DSBlockListing"` | -| `params` | number | Required | Specifed page of DS blocks listing to return. Example: `1` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-blockchain-info.md b/zq2/docs/api/zilliqa/api-blockchain-get-blockchain-info.md deleted file mode 100644 index a8b7e3a..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-blockchain-info.md +++ /dev/null @@ -1,106 +0,0 @@ ---- -id: api-blockchain-get-blockchain-info -title: GetBlockchainInfo ---- - ---- - -Returns the current network statistics for the specified network. - -!!! note - - `CHAIN_ID` from `2` to `9` are reserved for Zilliqa Core use. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetBlockchainInfo", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "node.js" - - ```js - const blockChainInfo = await zilliqa.blockchain.getBlockChainInfo(); - console.log(blockChainInfo.result); - ``` - -=== "java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep blockchainInfo = client.getBlockchainInfo(); - System.out.println(new Gson().toJson(blockchainInfo)); - } - } - ``` - -=== "python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetBlockchainInfo()) - ``` - -=== "go" - - ```go - func GetBlockchainInfo() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetBlockchainInfo() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "CurrentDSEpoch": "5898", - "CurrentMiniEpoch": "589778", - "DSBlockRate": 0.00014142137245459714, - "NumDSBlocks": "5899", - "NumPeers": 2400, - "NumTransactions": "4350627", - "NumTxBlocks": "589778", - "NumTxnsDSEpoch": "748", - "NumTxnsTxEpoch": "4", - "ShardingStructure": { - "NumPeers": [600, 600, 600] - }, - "TransactionRate": 0.09401852277720939, - "TxBlockRate": 0.014137955733170903 - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | --------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetBlockchainInfo"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-current-ds-comm.md b/zq2/docs/api/zilliqa/api-blockchain-get-current-ds-comm.md deleted file mode 100644 index 7f28ab6..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-current-ds-comm.md +++ /dev/null @@ -1,655 +0,0 @@ ---- -id: api-blockchain-get-current-ds-comm -title: GetCurrentDSComm ---- - ---- - -Gives information on the public keys of DS committee members. Also, returns a parameter indicating the number of dsguards in the network. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetCurrentDSComm", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "CurrentDSEpoch": "35342", - "CurrentTxEpoch": "3534154", - "NumOfDSGuard": 420, - "dscomm": [ - "0x020035B739426374C5327A1224B986005297102E01C29656B8B086BF4B352C6CA9", - "0x0200834D709AD621785A90673F6011BC36ECF4CB13475237EAA2D4DEDAE7E9E554", - "0x02009A7997753BED9CC17435CBBEEAC52FACF575152FA738E98579FD22780A98B7", - "0x02011852D914FAE2B5FD0B58AFA90F2490AF374C661958A6376F0C20CE0E08F05B", - "0x02013D6697F5BEF5F65FB9A222AB58080DD2F471DAB9BF7A17664510512BFF8ED1", - "0x020177703339FDD3C56E3A5E4BAEDB253299C53BFC7A213679F9AD81ABA5BAB024", - "0x02017CACA3FCD088FAE478D3BDCDA443E4BE6B062F910CCD22D2937B35B6EBCDC7", - "0x02025543E056C090F74393C4B2E3655BB05931F63EE30623669051D96059BEF446", - "0x02028DAEA3E423C4DCBCAF42BCE5B6519B12B3B3229F62FCCB9C20495B69E6983E", - "0x0202D970B251DAE5FC44AE34F9A01269A1B2C96202693BE1809C3D7CCCDB653589", - "0x0202EE9193CDECEE54323EA75930A364C25E979B5806098255BC5142281379AFD4", - "0x020364471DFA532F0FD19CAC3932532D706515F4FCEC1B34DF524D65F39D0C5C3C", - "0x0203A26D667E94CF88C39EE1FBF697DBEC9CFB183DAE6180492070EE5E85CBA027", - "0x0204343FFEF98D8960AEDA600CAB2226221160F7E27E7882E3861AFC7A3BA744E1", - "0x0204376EDEB85BFB2D6C9F9C52C246958305846E3848C55B44CCA9531F5B411B47", - "0x02043E6A63CA1048E39BC113D38D0EA37BEB2BFD7EB0E92560556C7A7EFBD17003", - "0x02045A2256A82B10C29C16B8EF5CEF00AEE571E71F023AFD437BA766AC14F94030", - "0x02046141C396CEA62E9D1CE33BADF51A90FE418EC5EB1DC26F4DA26A36B1D7AE25", - "0x02048B330A32AA420A547442F80FD8C6CCFBEFCC1A6EC784C0B9E80372085DDD14", - "0x0204D5A9E32D12412DCAC740C11CBFE85555C3A22591BF733AF6E65C2A3E69F06D", - "0x02051A2EF65DC19363BE90595DDF76AC342ECACF82B95C8C00F67487F916A46789", - "0x020666F7885E5D75EB053BA4FC22726DA855C99B02EB377FAC6B260921F8FB63C4", - "0x02067DED254EEFCAD1ECEB12B35533856178CC6EC48AEDB5ABD7278103BBB49B20", - "0x0206B9C9B1DEBD139B1AC084C85823C81A33C03AE1BC22082B01E6D02042ACA132", - "0x0206E060B2DF64136051EC33CA582AB6C9CDD8D37A460BB696FA0905B7C11AC74C", - "0x0206E061A187F25C4AFDBE5821BCF240888A254B701253B20040CAEA511410AE5D", - "0x02076A832AB4D03BB3E8EB80D77C63F9181AF3BC20A6623EE124E36633497D6862", - "0x0207FF35CFA9F3D8336430BBD09BBF9B36C283358E8CA91FAB551ACB5FE1E38B68", - "0x020897163A6C54922EA6B3409A2222E1830666AAC43EC09009A549FDC799D53DDB", - "0x020917CD5BA6BFEBF1B08D3FA151E00D5519D250812C8C64AACD9371AD735A6884", - "0x0209289EC3EBC6AA8B52930C4767F21758D2F716FC1F4BBFE88A194E8371EDA79A", - "0x0209406A5A5B17BE0F3A19B7916FD588B14DDA3A8E8C225024C899FEB3E8E89C79", - "0x0209AC145F273A966521282DFAD1D03048B6FA8D6EAABDC05AB5633D98AEC4D0BC", - "0x0209FCBB20862B49B0283C54A9111BFC82DF327883088C4B7D4FFA24D532CA8573", - "0x020A15004E1A02DD3293A2D5AE8FCCEA3423DA0891146F008BFA18AA21F9382E41", - "0x020A647A0FBD7C869F205C4198851BDED6633A5143C4FB280AAB0D652710E65E63", - "0x020A740AC4186ECBE94DC664D19DDF1272459ADF5ADB7AB85FD347D96CC1104E58", - "0x020A7523DDF265475232770928FBB57D9B96040DA8A3E22CA93026BF19443D1356", - "0x020AAB905DD3CA869440DA76BABC897002CC940B804C2468197781141927488E47", - "0x020B6E4541A54AD123CB6D279F8719C19C36AC8638888678A83CE9326F45125437", - "0x020B77F87178D33CCDFF4DEE2DF866100C5975C644C4844402078A832752EA6552", - "0x020BA4B5F28C25494A23FCA05A9A867AB697775DA5827B5F8A4D29D8915D537806", - "0x020BB1B552E74D4E9B096F23994E37AA0E0E6A5A5DCC00BF7582AB69420565A7E9", - "0x020BE9F8C02132EF1AC5C759B7D17B53AC182EBF2D395438263CA27A11182BE700", - "0x020BF216B79DEDF6CE5AC414ACA71530C61FA06A966E0BCFB603AE8795E5E7E701", - "0x020C3C5415B450A3DACCAEAA8A9E45A8ED0A0DCF1E537155FD592DB09A67C89C12", - "0x020C76F15CCF356AC507416CEA8CC87ACA035250FEC49D396781E2F92BC7C48056", - "0x020CE7CF69397509048B8E1A2D7790374D69E4211386D6DCC1D14B161B7E5CE7A2", - "0x020DEF01F990010C432F61FC0C5B858B3F2E7685A7E660AA930783CCD476691BD5", - "0x020E0B6681FF22778B80B997CD8D9460B83785549F22D020F926B7FACCAF0C1C54", - "0x020E352980AC19E2F923582A52B091909DD0EDFAFBAD165485A8E74F9D7D804614", - "0x020E7E7DF1CF0E3DA6B4879CA0E1527EC09621711243536EC497AA43BBF8362DC5", - "0x020EF8E362E456EC4565AD0A00C43F1FBDE1DAF523FC66EDA68818BAD6782EB7F0", - "0x020F0BCC5A7597CF3962C3A8207B7C0AA31DD801F43E37C77BA24363E23946E46A", - "0x020F172817A4632A5F98D63E8828D8034D2D7D51A84B03A696F93DC12F491285F2", - "0x020F6A6B86C35C2FC9EF0E088E3BDB25B18638CCA1F50FE95DFCC9CCE8042C52D7", - "0x020FAA7260FF3D6E8EC2DD57E3E1C9284EAB686AAA57ED2E96376EEA6DB8411161", - "0x0210295D0955BBF700D7F863CE06A05D8D8CE7D53F0AB8E3D142C7A18F29185CCC", - "0x0210BCD6F0084D7018C40D007909FA01713DC61CF352FE09A7F684363321B9F5FE", - "0x0211CDC4EE0AC1D3EFBD9597C970A32F9B618E530DE24D0E3EA93D90F66712EB80", - "0x0211D4B543261321206DADEBC45840DC9D56C928918E644FD7ADA4B2F5A5541BD9", - "0x0211DB48707AEBF5BE67E0BDF74A22F605230EF084E2A20EBA073CE5CF2CB6CB3D", - "0x02121162B2769EE2C9B0C5E89F0DB3811EE6A1EF30CFC965F7BB20FFC4C3D11FA9", - "0x02127253E0BE43CD9F7ED948FDC52CC9F5761AEF266BB4A1983C729EAB5AD2B3EC", - "0x021273DDB6F647877955968EBE5EEE07F213AFA2418249086E475EBF41EDCE34AD", - "0x02129FAA327E8222AF53FB72951C77DC2C35AB97A00A6A00ABCDF6D261B745488E", - "0x0212C8309A2CE63C75F3099730A0FF851F8442EA94E48CBD100CC919BA7FD2AF1C", - "0x021305BB22D263DA9A3E76C325651F206CEE88CC7706226ADD6FDAC957F27DE998", - "0x02131F2BBD310407CE4DCE95FB2E71E88F6C9550FF940CD03FDBA99499C59862A8", - "0x02134CC19B594B1571916AABBA4475026D1B2021C19045CB2065E0D3B12706768E", - "0x021432AE4BFDCBC0B27FACEFEC3C8DDCA2C6ECC14DEB773ACB298C67DD5703EEA0", - "0x021496337EAD57A3EB03BD984333FE891BB09C9C8885B5D4EDD1E6B35DC980DCF8", - "0x0214A011B100371C45AF9EC47C842031B672142E800BC9EA8A85A16B2619D79520", - "0x0214A04F71C96E6014D32CEECC2FAD98662E6AB50664F0B13837857C2299A3DB46", - "0x0214CB94D01CCB01C33744CBAE00B42C606D09DE620D3A5F45C42FC6B2979490D1", - "0x021540B8DD756F612D07E6829498F4CD584743F03657B0F19B06B3D30FB6E4EA11", - "0x021557750D8A78CAF97B25CF9D1692CB23C2A6B12C61181EF65A6DD8893196329D", - "0x02165697894199614A2ADDA487417B202E7E7BDF6C7623D130FD1358866C91BDED", - "0x02167E9A1F7EB8A7B93A266C2BD08406E4F0BF911EB2AA3F81BCD20B80B3F32929", - "0x0216D19383BCFAAE54D13146431E1DEA20263D48C9300480A8A0E178A32F13D1D4", - "0x021740FE9FBB9B6CA3CA6C04C552D951B0C1EBF07DE7EA9F94D9D1270488D3D1FD", - "0x021794E902540F93B8EAEC46765BC8B981FCF2023CE472284EB1CCB25029EDD5BE", - "0x0217B3DCCEE0EBE9E84B59C5E0268238BA83C0BD4CF0705341FC6D45823373231C", - "0x0217C35FE119EB40CCBD0C0E6D83A849364803CC4EAC3C168D7723F436196EBD70", - "0x02183E7A1245CF7190A7E91F1C3C7545D3B077767A1D6062B35B3FA2D7292D4409", - "0x02184D5A1DAD376EB166406A9A4EE1AAE95C5C5E6A985EBC7B2667DD5A40B1FD70", - "0x02186651B9BA32FA4151ABB4F65F2824663620AC3A267D63B34E767163D79FF460", - "0x02193172419668F3A281BDA4F2AA72D2C198C2E68CED482655107E399C64858060", - "0x0219426E244A1CA0E24F9640282294702753A80CB5350DB09CC71E886944EF2CBB", - "0x0219A0209081BB1ECCD0D0B6636B214898129B6AE0D6E2A481B6769457E6D09EC7", - "0x0219B84F1F12E5235BF1CDA37D540255DB8037845C7010650550C14F9015321687", - "0x021A1AF75EAAFDA2BDAF5630317413402D65D4D6F9CB2CA9A7A941191453974DB1", - "0x021A1C6464CC0D68992518CEEA879886279B14FA0013525F4E93CB45F0E02F445B", - "0x021A6312D810BF060A945320DBFDAF758411EE4334FF98A4B15233580AD3A853F0", - "0x021AA136073E8898E9A30BD0DD101840E134B5A506A85181DAB27BDB5F9E9D9B47", - "0x021AE60ED7955AF111F430CAE35F7B413ECCB7901601957C635FC82B91A478D7A4", - "0x021AF7FCC4D8268540985C2154616BFCD511E02612742E7EB7F2AB23A9C4CE7EC6", - "0x021AFF1103DE463E34AAF6D2E0CBBE5F4C30E6D6D6FF72439B2142BF7651097744", - "0x021B0C1EEA157A95BD16F1B48E8B53D18FFCC232966C79F06A82BDDC5BBB7DC629", - "0x021B4372D109DF2EED24F26853103CCE25D55352A8804A3CDA1470BA102C38C2E8", - "0x021BE9B282F7C6BB149B0C5EE5FFE99997A6C6BD9F7AD8606D93EF66AF86012F4B", - "0x021BF2F79E1CC67AD75B138B132C47677FC034B5A2F181482C92EC2E055D348F5E", - "0x021C03378FD496346FC297453FFB795CAEED687ED9EA34985FDFA9ABF5C6A7AE25", - "0x021C42AE2F56C7795B8AB9BA74FFA60708336BE5DC052CA6B1AB3DF08DE9D0F4F6", - "0x021C88F444FE09ADDB34717598A51597394BA3A2A87FD8DF2E99347ED715544823", - "0x021CD0817974B70014091001A40770694EEFA559171D7DDA3E684D5365E792F89A", - "0x021CD65352B4A3DB0ECAB52DDF1A27060D07118DC5B447C4538E07B490B1D153AF", - "0x021D26C18589C50CF297AF2F3F52BB95DCA7F6746C87909485FFAE9E94829D389B", - "0x021D415000DCE558465BA560757170A220BCCD55FFD167DFA6FBD3B67090618F75", - "0x021DF8C61DEBCEEFF80BB6F4CEB53065EB569325055E4D002B9B0F5D9D15E0948D", - "0x021DFA1672FB671881F7F4760629A7A21D226256094332F490EC98526B839CE9AF", - "0x021E16BD746C74A824622202CB08C9F322E27E45BFD4ACD9888B1E4D0EA1CEA7A4", - "0x021E206C6C57545AE92002405D83C21192B3D4F30113663DC221D1FA4C3FA31F05", - "0x021E871CC759ABE82B1A1A4BC1ED8C9AE439F06B71EBEC2685A5A8DBD1AA5DADEF", - "0x021EE3299BB7262DB4CA451009167D700DF7D39C715FDCF26DCF5CA430C62D9D07", - "0x021F05DE8E8197EB2378C997998EB8B032F791DDC5E0900F77CD94F9902631FBE8", - "0x021F412F69C8481E46A80285CEFCEEAB90D84E1F051ECF22EE4EE7CB4904BDACB7", - "0x021F85F2113F493C05B0ABD208EFF24D9A79311D9364E7C11E15E21B12F9F25C38", - "0x02200110534969817A2A7EF6CB506800CAFCBEE89389190115C1A9363F04F4978B", - "0x022025B08AA8D2DA052D3E58F1FA362CAA8354E886D852E4FDCFB86FA720C6C97A", - "0x02204A1B77B9570A73191B5D711C3DD16941C585BE03BD8FCB5A3513E4B1F427A8", - "0x02205FB5CB5CBEFB73E3CC58448DE2A5AC2BE8F26A184627B73C0DB83AB7BAA317", - "0x0220A02324910C53F42F596DC59E6B2959DC1A7360A18BD95FB0F59B26F8C8E71A", - "0x0220C0FCB42F957108EB9138B45E0DEE44911AD246A041CF427EB714194A6E5EF8", - "0x0220D31E50B30ED49AAFFAB8800294D4531E24443C4317BCDE50DF1E9B57AB499E", - "0x0220F9600CA338ADE62D16EA51CD43042E72C90F008702091D0E67B4CDF435889A", - "0x02214E5CE6E9540D964CD842E53B527BDD719683D2083514339927C04F811B3F40", - "0x02218695384A1DC0F9B020C6E6B16E7775C0F0FC490F7BF42E5749583FDDE94C7C", - "0x0221C6F96E9837A3DBAB707A5F7A5188E45CBCDBCB1718F9DD182A61C7D6E450D8", - "0x0222175E3DFBD2AB68D464ECB0E342560DDF9DD94631937451F94114789322CBA3", - "0x02222064FC1A80BD9D228D411EBF48FE1B5703822846BB07C0FA9ECB65A4294A6A", - "0x022226B1DDC140954C69FF2BDC6CF6F02FE08DBD5FADFE80DC2F57406EF79F0640", - "0x02224778929DB45C88B1BE8D0AE080CA0E8400EECD2136F05579555DCA9BF90D62", - "0x02225D25504F0BF70AD27EFC9E10A1149D38B2F84BD73E634AD48621F571BE3D02", - "0x0223CAF179F5CA946BFAFD170721630CE970A7187D3C9F4AE492EE544A627CD113", - "0x0223DE56FBCFAB6B306E4D8775DCB50A6B7EB09AFF88072EBDE6E5141E90AE042D", - "0x0223E276FFF18295630C6C41BE9565DDC8E41B3B3E6E79CA1A6699616AD2C756AF", - "0x0224AFEC66426898ADF200C754898B2643C716770B26926497C48614EDC414B5F7", - "0x0225467CABD782C9CC2A5847891CB9D58F66DAD724F4BA4FA701E98FF9C5B2E680", - "0x02255246AA8D72AF6C4323B4F6AA75B4C6F9C51CAE5E1F68361C8A800DF8871EEA", - "0x02258008B85E0F64F5971FC75B69B0297FE02A5010EBB3A43F8B64FEAAC29C56AE", - "0x02262800246052BE04297B07871A5E34D72ECEB38AD1575517FC6F42736A4898FD", - "0x02267BCF354D13FAF99397542E806CC207231AAEF0437E5C66272EA2D5B289452C", - "0x022699248C7DD0E438196E46830103A4216E159E10C38BDE87E62959908D5EA083", - "0x0226B4395E1619D096FDDBE7F7EC0B295869C460BB2733DF8F5B0AF929BEA015FD", - "0x0226B8130B46C07EA73902930C7C22B7DCB3BFF6D80BA565102B35B3DE8E29292B", - "0x0226DDB0165A50CF0357B19FCE71BFF0029D8BC39E513851F00A084E57166C691C", - "0x0227909FCC701F9390A8C0888C98D14697E4901A7FAC395B0D6DDE6C5BBE47CBC1", - "0x0227939F72067FE1AC79276CE779A27C560391A660D42FDE0102229964F1C2C511", - "0x0227C63653018A3F22397819D6E2EECDC84DE50967AC6B84E6C365A996028CF56C", - "0x0227CECBB7A3FA69AF673599F6034D1A3580C70725C62CF828510D695A0E6A3595", - "0x0227EC27AAD4028124F1D92CA0274BB3C2E52357EC06323E0F1C067B04E2838B7D", - "0x02282F48BAC96F04A9CCC81BFD2B7AE8B180F0255DB7483876290FBB643D7B38C3", - "0x0228E92D39A82F912A36A598133FE41862ED7FAD5F23F54BCFEEDDCE8686BA15A3", - "0x022962570E2E763CECF1EC49A8C8C83E3513AB8EC0B08BCF0088B3240459D58271", - "0x022A749304BDDC9C7B6303D498006728C271B4DE7A02EC97CACB4F28BF4CFA3D06", - "0x022AEDD9963B4CD41C2024023DF70419B62A1B3108E4FA80A408B23B298076C0C2", - "0x022B609F5E8386BA8AFD0FC63F4732C0031D6395665CE60D3A8DA0748DAB6537F1", - "0x022BB400E23FB4EA7652E0AA93A09E179CCD3C84831B4FDC16E948502AAEB4A140", - "0x022BE3926543EF5D3E4C19EDDA60B629B36E79017C8B25F9045E2A545D9CB9212A", - "0x022C13CA7F4C16C7A96EFA543990DA7694E5AF093D580AC66D18B927C476F68F36", - "0x022C1F6D02B186A3BE66516049140A8621BEC8860638A72527849627276D6C7859", - "0x022C7AEA187B40A551C5F542438A857CB57C10DE1BA6144775F6ED474C4712B4EE", - "0x022CF7B077D28BE8808976E74164E2357E197056846A5051A689BE0E9FF6146F46", - "0x022D0EB26683484B2C1679FF73BE1A0CBA78E099EB96F0E3942298F21129330778", - "0x022D3DC0596915C4746D7706A6BB24F4F07D06CCCA5BAF278C0122D90376928F6F", - "0x022D6586AAA7770D6ABC4DB4FC98324982DA01810D3E0FA346BEAC83B62AC2C4E3", - "0x022D915BCD93019D7D7B97F205939784FA2DA54DFB0975542B33063E2100E0E8D4", - "0x022DCF24D4D34F19895D54C42EBAE0B86F81AF586A599CA85CC8067BD5ABA9141E", - "0x022E9DC04E261C5AACB30A8E3A6BF4C2E64EB8E40E454788FAB6CC86AD4897842F", - "0x022F1BABF72A1C22C197880685E51F4750015B118D1196EB37E33B31AF34A3677F", - "0x022F689FDBAE20449FF7716587A508597EB8C312AE336970733AD006AB77BCBD2D", - "0x022F8B765CA84033F3881DEEBFF6A2F862704CA67282ACA705EFAB492D00A84262", - "0x022FBD0D66CD14E4EC099436DF290CBEDDBB5BBF8B8FD76E89870C5BCD16991091", - "0x02304ABF1E43F64B6AB36FF047FFCA3195575122D4239998FF84CEC2379A83AD74", - "0x0230972802890E35DB4B7EB43FD4F3E1A09D856E1D63B4B2D3CD1DC92D8C2E0505", - "0x02309E626EC4BCF004078E60C4114D892BF29BF833C98027372C5B437D8067456E", - "0x023110CF5B8DF70652A3E97F370E35184FC2147736B6187FB409FAC6BB7FF20CDD", - "0x02312A58E603F121F08358EEDF55CAD235E52F4CF43175A43DC277F837EE1F2F4D", - "0x0231BA2C9A053A1B740AE9FAB49362D41928CAD9D4136C7E3E050B4E135B836F0D", - "0x0231F045306B5543EC124F0B1AF1BBA08ADEFA5C193583A8F7B189041FE0372BF7", - "0x02321FFFF22B18F92E9E18C58C5EFEA50198DF0062E41180B8201C46903A5F6DB2", - "0x023241CE9BD397AFA97ED9B46DB60F3F4D3F39B6816098AA91B16D4374CAF0DB9E", - "0x0232554823B6D75A5F00426273913AD55B0D042454D5103AB11CDC3C5C50EA4E8A", - "0x02328A6B6096BDAFC9572DF8D97059D00AB54E3760BDA0DA6A6F1C3958363DB1FF", - "0x0232AA0673A0EDF1E02EB02D982CF0B13EF0CFB4585CFC3C3DA3D59CB3A1B8E9D6", - "0x0232D6055FF1E76F571DD5A03BABBBBE2DCE01D3795674EAA67604EE98555D8D17", - "0x0232DDAF647E6D314073C7652D09609927E0A661525DA1B2BAA4F563F7CCC2D9DB", - "0x023304B4BF1BFB91CC416B161EE9EF0AB2549CBED9BECBFC1CBA576805051481C1", - "0x0233CECC9B2A5CBEA9DC189A1C532F1A548602151E01926CC3A832D6B4F75699B8", - "0x0233D6CD4E609918A9966284627675D0752F75EFA2A922540ACAB2936637006347", - "0x02340097AD16007784C8BE83E41E002BF0C94F523CCD1323230C2D4DE48186FDBD", - "0x0234911461938D461358746009FD13CD757A25FF151F23F39FF5BA3222812A34C8", - "0x0234B496BECF2A3F2EB4B6C23FB96A945B775D2006F5D67EEC6BD3579450837D93", - "0x0235090783D4DBDD4F7A4F283396F8C14FFCD4EE62BCA2A61055DDBEDFC597F1E3", - "0x02363477F424F03DA5EC5D04392D79FF0A20D895E9830B78055843E1313236B7BB", - "0x02364A8D8D9B19E51B13FD03BF90046B9B0659B74E5939222B4AD647E888487FFD", - "0x02364F25C7BE4C37D6FE20C0A6F31150007A1B6059E68E474BADE19E9251206C7B", - "0x02364FF0397B5F835C7CED689598A8C5BC9967085806839A5AAF9199D10D6DD707", - "0x0236E1040AADD29E56E5ABC14510BD880D7A29B941B69E2648C2BEF331AD60C2EA", - "0x0237893C019ABA84C26BE01CA14D3128FDBA4C61C57C40BA2F7BA198B21CE4DB58", - "0x023790FC7E8BBD7FFA897D20918CC1839372DD073F978CE62092B3653BE43202FF", - "0x02382624966FCFDB95CDD244B9863CDDB992F9E825FB41F3AC5EB6649A6928B8D7", - "0x02384A636AC52D03A5E2C6A75D9397084BEB7D72222CF89AC0DA4BF2164A3ACA10", - "0x0238615626987E28D8BFD203F17FEE1BB00999C966F97FF23F2207D470817BCE5A", - "0x023867868E084A578AFE9406AC6E3490EE6B0B18F035803EF7095335AA1C8F4588", - "0x02388BBA2C194AE107211A6540D372B499292C04865A5C8E4F009191D3C7933501", - "0x0238A98ADB44255DC26DBA3BD2BE49E2BAC34F051D6A180B7B54DF6672335DD9F4", - "0x0238F1986C4DFECED72847B15906443CBF56BC7EA43E9B9D1BC75962FE2696C2D4", - "0x02391D8F389FC2AFFA7387131D7A59818E6C710F436DDCDB8F8B257A7C5B03845B", - "0x02393D38E48D95B55B31FB8EF6FC736067CAB1E95AF4AC88B6521E4E95EBEF47EA", - "0x0239CC96A568DC91F00A0EDD97DFCB839D5BFE507859DBB8B6393044CBFF56B45E", - "0x023A36C6CD725FC25A87329CE675BB3169024454EC55425D3586F631BEFF6150BD", - "0x023A3799936B5EF6BB446D949A4831DA1663973BB2CCE6597D0F8F89E9B67A0CD5", - "0x023A549CDE37B2FF5CAB3021958ACA90358BE2760DDA25034E8AFF36E4155623C9", - "0x023A83CFED1E3C5D6CFA8A49CF3C978E5BE2AC26E7B83EC5034B1FDB59FD6A0CFB", - "0x023ABEC6465F5F41B1F4B6461A44C062E7C89A250505A442C9AE1C898CAA94A596", - "0x023ADA3D691154E002FC323445064223596D5AED2A1E53BFDE239CBE23C1F6FB89", - "0x023AFD151C2A4705D8461FCBB8BDBE191F2F440FA242BD1E850A88B9AF64E4902C", - "0x023B00E013273D613201DB5D0132BF91091D80D01085237BF70D38AC76A1CB7B98", - "0x023BBE50EA0AA13B39F82C687C78CB2AEC6D614DCE8BA0633075BB222EC0324ACA", - "0x023BBFD9C3A3EA1A21344FEBF49B7FC92EDB67DD2E93CAFE9CA448E0707D6C0723", - "0x023C42754F04732DD26351B45B9A0E3A700DC673DD2D615E5910AD711F4B4E52E3", - "0x023C6D72A764A43A86555D4E9E79134AE054971D0C4D21B846B96615299A5030F8", - "0x023CA040E3E4C753E34FB67D23FF92152ED988D58C4BB63BC4C70EFD8397201237", - "0x023D027AF794B7F8690C91E101988DA6C81CDFFB7D9BFA314542ABA76D2124AFF5", - "0x023D0BE6BE75A14BDE13A120D8F55F47F7BAB7C6B9BB990936FF58A5121EF5BF80", - "0x023D4D0DFF8EE0749717685163DB6F929D911F29A674E01ECFEF201F225D16BB0A", - "0x023E3F78820F0B68B7B6AD9DE5B1F92909F6380FF02F885917D96583BBB47CD4D0", - "0x023E8852F2157E976EA1B98D5BD528FF4E31EE6A41FF1352470D29D24C7BCE2E6E", - "0x023EB2779736A01E1313403BAF2FFC871BC03100D4270032C8A62FA39174352413", - "0x023ED92651C91B27AE8CC04AE87B6345CD7669404F4EEA23D57155F08EB013C248", - "0x023EFDD68B573C9DA92A5F795C8DC9B771DE1A24DC075503803A15822E79AC8C76", - "0x023F94E6283889C1FB383D9F673DA8772DA2CDA386812B84290C181003A70A0436", - "0x023FC07C0BBACCF186C9DBD328FE2A364AD826ACA3CD3DF597DC0AA8F7FFBF1A77", - "0x024000682EBF777F0C6A5B23C026A539282DD6F7D7756652D3745C817567410945", - "0x02400267E100EE572E28A1BF2DDBBE797219513595263B4851D95BB8D0E973C133", - "0x02407D36744829E8286F11D2AE93943F5A49DB54E2C06B64C92F1A35333CAF74F2", - "0x0240B64C7B937ED5DDFAA18663A7785065DCBCF17A501D2EE7906352F323A0D0A0", - "0x0240F43C59EA0A449BC08AF352A8AE91C69AB7850DA9F6FD67EF23E5D6B83DEF70", - "0x024156F620F62C22FABF2EF76D3B07A6EE0DEFC8C75544C08DAE194825A6665F2E", - "0x0241663BCA573AC37C0722587FACF3E2ED745C9BA5BAD36401BDF35951256FF0CF", - "0x0241C3C7676A001196C952F10FE51B4F3344E8495FC94E920B9CE27564E583DCC6", - "0x0241C839A5C219F7B03C1521456C124F1524B35E901E10B2CA92482307B06A9876", - "0x0241FD5ED053830F7B847C733CC03F8C3626253E6DE3DAB7718A5C5F5961524030", - "0x02425F73EDB1F529272DD6C3BB5CD25CCBC9C693AAF49759CD8FDB4CD04F4CAA4D", - "0x02426EC8956CD7A248760F635C00F879D77623C0778A32E7546A8050A81419BABE", - "0x02428404FE62BCC144AEE915E75AEBCEDB553E39D8FF4CF93BB0B7E6822296300A", - "0x024289C586E3D43250A7D3F53CDA16A940748F10C8FD419A214C2BF673DD1F0927", - "0x0243725BE27D735DC9FF74CE7BCBF82E357C0EAF7ED719B0383A365E7BE45C8DA2", - "0x02438F260717701BAE57C6297E9FAF9B2340A47A390D783A0D8EE41B6C5157BDE9", - "0x0243A35EA6458110CA7933505E3512883E416384EB1E19CA72667EFC130B14EF2D", - "0x0243EE8A2F24B0D8FE434D4F19376EC8C4E1EFFAAA850275691866581F727BC1F5", - "0x02447B927A1EE2987E1B17A63D20F8DBC17571D7A7EF37D185B941863C07D1BD2D", - "0x0244C8AF54F62D0A3BA5CCF4D38A8080CE74F9A20B30DF2B765EEB69F4FB15A5AD", - "0x024534AD065636C71DB7C7B95FEF1480F79B52123120BC6D7BE23B86C4B595066F", - "0x0245A6BFCEAFFD9C2FF79A89105819EA9CCC134FFBAD4357B64DC680EEAD2A9FB1", - "0x0246012289D96781C8EA77E9B498962D8DA85CCE672A7E279AEFCB91F522C3EE68", - "0x02466DFBF7444392D583E360E253935961245ACBF0D10744BC1F1F44CB0DBD080F", - "0x02470658E71A09E59031C8CB48117332FAD4DF2896E3E3DC799F6933AB458E7B02", - "0x024733E74BF855D0E0A50F2F599601DCF0BBA97FD622FDC42F0F08E93D523BB978", - "0x02477174B5A4356134F2D03553E383A1BA0D3D7B832437CEB18FE3BC2BFA467CC4", - "0x0247A6A97FCB9036916D49F42CA3FD2DE9FA01348D70F41A4B2809091948B75B52", - "0x0247D4283FB2304C397EF6E8DF6ABB047BAEAC8F195A6091D5424F07538B61D8F7", - "0x0248982A97314ADDA4B541A9DD2225CCDFC8B32002D207D355D77E3EB12AD9C581", - "0x0248A4975599D9CB3847BE46C99215E5FD9CCEB8FD81492D678C2071482AD11A21", - "0x0248AED6C9339F65FD6B361C4CB60473D97BDCFDF02AF1357908D8AEF7970E36C2", - "0x0248DFBB052B171F4BB96E86F1F567E1F7EC39A909286A570E20E6A09AF21A920B", - "0x024928D5768A33CF25A06FD40AB879D72A8021F9F1C811E4678F6CFA522A1D4318", - "0x02493616EF5B1176D799F732A5C067540BEAC0F195FBE25C97C841C3E14D6E9103", - "0x0249503872903EE4AD429940690BEF49547358E276E90BD46CD7BD15DFF4D306D2", - "0x024976B195BDD60E311641FD6024C3E4B64C5DD67B763765144D98ED8686627984", - "0x0249D827AA8227AE3C4D971365A1FD97F7E6770243DA77D964BE029E3BD97896F8", - "0x024A26BC7A0DCF8136E3A30A5DD68FB1A81C77C128AF25B9C29B1E67BF94F94787", - "0x024B91CD405ADBA2A376363D55728B6F39D90D6E15D0EF62682692802921983339", - "0x024BEA73D8AD09546FED116E21B481A9C7FE84637CAB8DEB377D0134A546F14047", - "0x024C066EBDAA57F6C43E55693B0BB2805147B7FD91C71CF85E0CD7ABC2FA6D0047", - "0x024C06B5CC80833018AB7034B0AA7D09409FE2C56BFE5E42F6BF0323A7AB3BE1E6", - "0x024C159862D2648AB66508DFE82A439EDDABFA65046004B2E93C0FF93B4C7FA80D", - "0x024C7DB29EDBE31B5CECC97C1F08470F1D0443543F14E9028C0C3DD9468ADFEEDA", - "0x024CC3275D499F904B6D6783FE92CB35C7CF4ADC94E6B087AB276267F03AA64290", - "0x024CDF3F29049076056C3784026F6D24F5173F4E1AF6C6F28CCCB7846844338C83", - "0x024D0A878905C6A84FEFDED89D8267019B9EE019172DE37BAF24F5EBEE43F5D5E8", - "0x024D3CA95C9F6B392287C421DF511B16E64E366769B96725B6F3FBAB5A2D6043D9", - "0x024D53A12EBDDE85AE5039A39596E1FBBD5BD944A3F9D43FD6308009BD268061EF", - "0x024DA00A0D82223FF98CD237E2D9BAA2C53504D0F21C740C4270A2359AA89BAFAB", - "0x024DC93610EE5298D5F2905A85E3773F5CD77F2415C7219A6661932803516A5D44", - "0x024DF05B15F189AB00DC70D962969D175543A0BD6EE3FF2949BE15C190A8C4893B", - "0x024E02E4571E6FAEBEC79B79B6ADC82B52C5D1961D84A2CF9ECFEF219AD24E8875", - "0x024E5147233EF7640E46740907537B1639B9D27C0647277314B0179E8549EA6326", - "0x024F444F96DE7CEED8D0BE7964AEE371BB42EC0704CE0BBFF8ABA222D1E4C9A329", - "0x024F5B39161611AB61ABE4E6287AA5C1FBD0EFBAB0C7F67B15AF3334A330EB3012", - "0x02500A9C191AE25724D4C5C9BDC68FE84F7C2614A9186B41713F377321312035EF", - "0x025013E5D12A0597CBBCF4A2F1FD911F38FB35E4B4F83A84702A326EA96097E4B5", - "0x02508B09C6D155BD03E56AACA46C3D10591284A0A38726942E434D9E43EA2679FA", - "0x0250CE859D5702BB57FA05C928BEF5345195034EDED01F10D23E269B3BEA0A1F41", - "0x0251431BA8A396CED2953856198B577CBBB339B9491532CC5A94630E1EE7E9EEE3", - "0x02518F0AAB1A1FCBB907152B55F6F39E7969CF3362B9B7E1F3636F8A8B5ACB48B9", - "0x0251EB33CB42B516C7EEA1391FB8394855A545D098E9D474BC964F69658F420BFA", - "0x02520FD0AE55D2ECFB9CDD5C8BF19788A7700EBC14510C3396F731DB5ABDD6BF22", - "0x02527A20154AF9267D481D83404ECA7303F87F7FB94666A4EADE6DFC04B7F72167", - "0x025283CD1C2B3CE3905CE15BC4A992E20A1587CE4AA145E9D89EBF56B9E1C4DD55", - "0x0252FFAA00AD8A3C91F40C4EA3AF2CFEA05E6C9FBF0296F7140F62F088BA5570F5", - "0x0253C627AF4B438C951B8B5D142CB56AAAB83FD3BEE21940C1F5A11A8A84AE7945", - "0x0253E6227C6975F16261D2C5AAC127E7F33A6FA9A22E7FB04EE823499BD7715432", - "0x025401717256A32BC21264DAF9288ECC3F5125063ECD41413894FDD736B1661F81", - "0x02541D7DCDF5C43C465A9FC3C039E3BE9A46FF14E60CC68BF980FA87FE8D842CE0", - "0x02545402B1D5BCADDAEF278FAEF5FD926C6917A5CB3E17FC838F863ED041B88F5A", - "0x02545D0B3E09842345F7DB0CCC8E46EA13DECD2FDE3908F1AB0B4FC31FE3162C29", - "0x0255164E412E0657F21A8766A9C7FACBC60565857F7625A506CC26D5F3BD33EEB2", - "0x02552F187A5827D6123BEEF75D1F6DAC9A86794FE4BCAC82897FE21938644D6741", - "0x0255463B570805507982056AAD3A3AFF82C67C30177147586CB89C84132082B667", - "0x0255D1855278F124921A7BB05CAC59CE3124BFA93D68854B2DB8E698439EAA90AC", - "0x0256014439E5F4A25A85616BF5167F6C9F769F62FF8CABD373FA95532EB354A556", - "0x0256402270E76D23AEDAE0497CFEE9EAD5E6828347E4D3DF0CC755AEF33874E43E", - "0x0256C0A8EBC8F3BFFBDA92C7A0B7ABA6E82DEB7200548161FB516DA305AF045D00", - "0x0256F7AB23ADC4858153EC6109D34E73458431CC808894414279741DC069CCA0DF", - "0x025754B920612474972F621747D23A54079DA31D0DCC041E0DEAEA44E050EE601F", - "0x02575A73999251B6DBD25FBCADDC1B9409E11CFA36325F866CFC0089FA74D1872D", - "0x025772842246AB82BC0F7C00B708EE2CCEA074A0DFBC8720402CA12FA864381FE7", - "0x0257A05BA525AA1D94D31CB17918F2452AF10514E753DD857A6A91547CDB70D1B6", - "0x025841E5EA673E2A6C6C3A93D79B063FBD14E0FC5BDAD57CEC3EFA2DA21E4923DF", - "0x0258480FD1B8D28F9605555202006CAD0A38B9E0DDBE4D301F86B0CC29B2B3F1B1", - "0x02586A3A1B917CE20EAD0FEBE69DB5E5D938361E2B329CC3CB250609945129606B", - "0x0258E259E506A9D5CC43124DD41AF882845663B7CE84A63E73FE1D284438FD6C76", - "0x02591DA7B93955B623C9478E5322FA489C267EA711FD07CDCEA61F5575973EBB89", - "0x02592097AD37F5B470525B55A33594266F18633BE4179E968629C06EF6C1DBF7AE", - "0x0259984570186C10E349682FBF0B5B0F6E5D3C17B63B3206F609B565D0876115EF", - "0x0259A3A0C03FF7ECACAB8300D2DD931547ECC3008A9C257BB54B8B4DC278368767", - "0x0259BFA8E68A79E0651F5A01100502AADDCFE471446435680C189F78BD3B5C6C9F", - "0x0259F0A8AE5CB0214DC16E2E485119F4AF99347176C14C1028B973EAD1C9CA4B4E", - "0x025A2E15C4C0F14EAB091AE471CEE9DDA9A1F3321623217802587AD48950C93F4F", - "0x025A4C504F7C4C9665C4F21B03F3D4EF6D33BA8D46D72A4725B883E159ABDB3C47", - "0x025A5D90641E09B20554CFA3CB1513894DBFBBA17729A122EA1CD4E4438D29D14D", - "0x025A69D6528C039EDD3680654982F08E5E640D5CD29610B84CEFFBA9DCDEF236DE", - "0x025B8FD2BA9C2C741F67950D61C406E13443E5B5AE11A22D7ACA92CAC806118E8C", - "0x025B9DAD8BF897F20F02E6116CCB722D15B8037994FF048CEA095C363732F80D57", - "0x025BBC3243615E17CD30D7EF21A4362DE5600740BF6FF7815BAA04C905C7FB176C", - "0x025BC214117EFC10918AB103AFCB4E063EB9A94B6B838BE58D8F606EE1D95DBE9B", - "0x025C6FEC457F4FDA89D7980745B1FCBC1E488C7FE735696571B2F1718FE8D66197", - "0x025CA4D4D18AE9A3676D320D3DC4589F49A6416E440B6ACACFA613F4B9EEC5BB47", - "0x025CB0B1F2121745D386F14733B03B59F27E09DB157F24131E687F9FF5E6A013AF", - "0x025D2930EE68E3EAF6F4948ADF005CFDA5A3D1D2D466577013A618511CAD268C61", - "0x025D3BCF72C89D55586DA2A45D1658A9634B5079910B09F07B1455054BD691D27A", - "0x025D4CA259460DCF3A4D857F9886161B5D1997047DFA85447ECB6574C9B6C100E8", - "0x025D88B2990723907D61558FE057A52C3BDF6EBA15BB782947AC849B2B5A38914E", - "0x025D94578FB7882EBC3EC669886CED7A56C3C1884FBC950BC0863909D83DAC1708", - "0x025D96D6F76A7C7003EACEF9ED52CDC002B657B95D944A653006EBBB8BA599857F", - "0x025DD38448621065BB5FDF56287DE9AA04876B19CED611F0325331104515101A87", - "0x025E3D8F94CAE6E9A28F7935C449AA013462C223D1EE43C15E41BAB91FE3AFED64", - "0x025E8A901F6A1B7ED8CDDB869DCE9733A7823581BDEF0D99C357D5AE147D23237A", - "0x025F402FF4FB09E5529678C5698B518C7BC1F150E7D0CC081A8374982B90834DDA", - "0x026100807AA1CD6A09B8EFEC2E9D1469D7CF8A5E66714D6CADE3798585514CBD82", - "0x02612E34015ACE7E493E26E800D5AE3399AF31DC1F0A55B2B0352543ED0478703A", - "0x026167C10F133A92F2E5A4D65EBB4881C3BD49B2F9E11F1C1AB847D347BC3C4905", - "0x02617E0C363CCD275B32ED5FC7EA14C586E7212FB75F6F17D5B101CE1650E75378", - "0x02617F9DF67672A6E56869C36FA89A6396F7293BFFA66ADFB794B3F1763BACE949", - "0x0261991E5D2FF8385AC5264B8698983ADCD3DC2CF6F33670B637DA74FA172754F2", - "0x02629CB28378EBD6B546B402113643C087A24DAC2C694637E248CBD0DF6BAE1276", - "0x0262B38989113EAA0163932D4A5AC068C1EEA624BF95D801ADC05C0A7FD5BEB42A", - "0x02631C794CFE2660600B5C2BD6D7A5F462AD798429606CA0880595A26142E8BF81", - "0x0263C2F7C0CB3B8389660B96780860386E08C29E106A8762B43618C77DF443805D", - "0x0263DBE43C70EEF95F0914648F96A8EA13631D9923587EC19E7A4816D9D89F1582", - "0x02641DCE94EFD43CB8EA790FA3D4472901BE7E09E4C1437C3CCB76C0E00CDB092F", - "0x026420EE27EF7CF385BD18AD72C39EBA94B7F84D20247A17E4D4722D5CA248CC39", - "0x02644CD85EB416B7BB87C21C8185B3B23751B26623D1CA763C4C2C06ACB05B9993", - "0x0264B4D47410867482CE8B7428208742FAA0268648534B081AFE57415201E9AA6F", - "0x0264D867B7B8C7B148BB0DF705E6BA1B1A4BD258AA5BE87E6E4FB4A4F61D91DDB5", - "0x02651D5BF0167BD64DB0E74A88FE1FBA863E9F17947A839E5455F48C8A7739C652", - "0x02652486117E65582E070BCB4C387A4B290169EC70B6D67DE8E0FC72306203E7DB", - "0x02668DDE70AE81C16398249BA3E1C09B94534AA027590877EBFF99FE153A15C2CE", - "0x0266A43756FD4A5C1032D210658F5E6A16F00F682164A1AB3EAA6786D6978FD6B4", - "0x0266AF10F44900A4E658ACEF93E5ACBED69A1AB000DD0E0C36BB877C1C219533E6", - "0x0266D7E112763CE656A674CAF592B8BECDDD034BBFB4E6800FF4E653842FF6C5ED", - "0x0266DDB552F5DD3B46755BC8D1DCB6000083F65184553F2FF7E00C819BBE56EC3D", - "0x0266DF17D643B33D9D928E75762D1DC831221598925CEAA6D68217850DF84331B9", - "0x0266FF24950957FD1989E48B19DC1DBB8E05B626AC5F18E85B35A7AC79D48D9DEA", - "0x02671A83E1B0723DE734BFA024A4DD7ED3EBA6102CDAE7005BEE9A73C788A3B720", - "0x026722455B3350C8613121B9931BCF04C5383CB31E2B7D0B0D6F9BEBB15C18B4C9", - "0x0267B965B28ADAE29D88A46E152609DD292A57A93939B7DB89B7D7DEBFC7E7D88D", - "0x0268144B29D522F98890A905816A983977C1DAC57FA26A556615EA62D1FAA532A8", - "0x026819D3B0D8552675AB58E44DD8DE8092F8EDE036A1BFD1CF106C106C391E55DA", - "0x02682FA84DAF9FFFD8F01D9235A5DB70073BCFAAA8BFC4AFB2277A83B19EA1BD57", - "0x026911BE11DA456558DF8CA9F99AE9A47491D706380960BA49471A50098834DFA1", - "0x026964CBF00EE542F5CBE80395FFEA747227BC3EFCC21D04956380180A9BE21546", - "0x026A0D779E58B25405DCCA2870A7A7BC87BAA0671572336C0C61FA182CAFB4EB0D", - "0x026A3B36EA4F4BA43F5B453A81F5A3D9C64053F9937BB1A2EDCBB770361B784038", - "0x026A50311692FB21F821D9B085AC657D5B3931DE134787EE6EB65BBFF0B50767C0", - "0x026AA08C40D121C1A8BC4760C4E92F7D607185CAF5260F8462DD71B1D9B91E6290", - "0x026ADBD0620B62366107EC7FA2D0714C9417D87091B0643DAD80804CFB24F25068", - "0x026B34B4D9B8873EB1348C4264E53C21A19E3BC2ADE52DF11F2659D786A8AD7F44", - "0x026B7DA40EB72ADB8F07BEA185CBE96AEC924F552B74B452EE01207488906DF40B", - "0x026BFB2B7E276AD142403B159FA1DF1576ED5598122FC443EEA682C8E2532E11E4", - "0x026C2AD01AD26B0D3E49005CA47013EC8C485E5D9DA3033B902B19F39F08306BBE", - "0x026CF60766ABF5D01F260B28BA62AA5BCFD842414413C057DF99EB04C5268B49AD", - "0x026D0E61493A6B3CE16F87A5348309414633B386F530DF1B5A8F4F5D56348BDAB6", - "0x026D7B4AF9935BBD5F3ABEB95B95140F7ED05EE9FF24B6E204CC654B5FC4DF994A", - "0x026DB19E7F069FD5227319C69CEB2B221E3EC53530170611A0D3F0C9CC9229D581", - "0x026DB775B3DEFE32A95E5F289AD54EEBB262FC99B77963FDC9A4B009759707C338", - "0x026DF34FEEABA8799C484D190DBC68B1F361C3AC1B48A05000F03A8C2B84B2ED0A", - "0x026F338E4F1477F106CCFAEC812EBCC90A2647B3C4E89291CF4AF5BD4655614BFC", - "0x026F5CA22F25EC7471B7FF2A9105F4D4E841C4AE5E461DFC109A45AE85FD5CC95A", - "0x026FB7BEF2A2023BAF5B3EDE96F902BC9B562C8669D8E93F17A5B36B260652527D", - "0x026FBC2532F00F7A534F2CDAE43C7B8DCB7D8BCC5D6C9E2D8FB1773C4855248384", - "0x026FE4AC7D0C7FE12678CF67FD539CF2D54DC58E8E0A7976C7DC7396DC48689FDA", - "0x027061F160678934BFB91569E9990D7F3FCAF0F2866ADE132E7B1EC7721431AA56", - "0x027078A7FCA7BA223EAA54C32E4F67C20507F838CE7F5CC9E9E2EE24965A8F8619", - "0x0270961855D01D0CEEEFF937661C2B27759A1252EC8AA1C99881F278ECCE3A600D", - "0x027097E0EBD1F500F14DD8B645F07B368BD7EFC7FB335F42548A128A60229B426A", - "0x0270B2DDE3F665BCC6655FEBFEDB5F6214D54343E7C8212A786098356D201C9D2B", - "0x027128BA39A73A0E6D68E9EFA64795E3C9A0C64CCE181465C8DB4AE729933203C1", - "0x0271685ADA238E7037C2C92F33BEDB43680E933EB2B224B419136E68DEA523359F", - "0x0271C9DA2ADA1335474F634628662949ED2D09364E1418CE7BD0348F2658F5B2F6", - "0x0271E16681A5EAC672394808EB92C5CC0BC76F0E61CE50B5DCB1F9D1D087A63F86", - "0x0271FD2F820E6F605F2C4FBDF60A7570AB0CC9265CA48FE8144EAF53609118DD5E", - "0x027246953A42101A4E9E742F37F344045128454A7C46130F61D27407AECA2C75FA", - "0x027379DD7997341D775D330F63AAB2BE02D9F695665126D7313741D6D0937CE910", - "0x0273C4032B2F4880A14A446E7288DD7E4BD7CB937F048BC31C5A036E0F6D69FA48", - "0x02741E6AC672B5EF3F347618D900D4762E3A4CE51B324F5A23C6996F31E67F7DD4", - "0x027454687AF99FF90BD13884FE7B2C126357BEF9502D6625E87EAE4F6147C45B6F", - "0x03A472EC5C4281D11B28C30B8519AF1119E223BBD34F63986680FB8BD493AC12B5", - "0x0390F60BC469E2DAA9B2FD2D2DF315B4F1D3436C96CD580ED1523A79CF12822755", - "0x0344D05BE4852875DD8B767600B1C5C8AD0A74EDA5E99A5EA7A2A199C7F10D19DD", - "0x032ED223FD99431FBA9F2378B3526AB1A858EE97D53E157278BAF7427E8424C141", - "0x031BF2C25DAB4A70A9AE135EF71FD736B12033C03E531A44BD3FDCAFAE4032F8FD", - "0x0304FF7BA4E765918ACA89FFEECC4458CFC7A8395F94EC090C42C19DD7C85D4AAF", - "0x02F94AE5F62754FF23E4608F479FDA62B7FEA0EED9DA4D037DB21A94C5726AFC64", - "0x02CD21DC4C8DB17A377219E2DDC7CFCB3DF21D44A413889D5E4F463D792C6DBE17", - "0x02660D960D145E80EB37534986A6A83A573B0E61080D2FD5496D51EA781F9CC7B6", - "0x025224ADDBA205C828657BFBF715F0273058C9EF4179625435827EBB4B4D71AFCB", - "0x024D7FB3FD2639D70295954CF06382262CB4A23522CD9DA22409C885F241EABE22", - "0x024370E939824B0DE419B722E9C463534B70B667F43B6FBC9F2D14E86A0D8A1B09", - "0x0239EF20C364DFD14BF95DDBB1ED5E88CE651D4C8BA7E074BCD42E562AA9741293", - "0x022619E63A45BB859736645AFEA76E6587B0DB7AD93BED3615490F7FD87AEB5FBA", - "0x03FF1EEEEE7E69CF494E719E9F4909F9AD478F194A176DF7D00BB2057A8C4B2897", - "0x0344A9C8FB3CC716F2E997C2D47F729E1B47E3AC4B1298AA1EDC90605EBC923626", - "0x025C3364210AA1E8811494C6F30C37C8CDC3A7A361E5945CFA8EE6857ADBB6AAEE", - "0x021FFD1E266ED6AD34A74A9FA7EC10C32C199DD4096BCA2B6945521169CEA47B79", - "0x0219A3EFE96E25C0708BEAB6AE0F344536698A5E65330BD06A304494613C4856C6", - "0x03E27DABCD844005D872CB0C8C4F67EEBA6C2CA5E865BF47D3E1AC79A13043A486", - "0x03906D48FB06EFAF97E43EC518DBB28CB33E086771A2287F9BDF34199DA0DE0D6C", - "0x03674F3C5ED0F0C0E34B830CC2D340D6A407C3FA20B220A3624BC9F88E8A7A11ED", - "0x03477A560CEC9A01AD7CDDFE29EAB717B5136BF91CF040EB6FAB500E8AC12B6476", - "0x03058E069ADCC4BCA3235CE2AFFC7A67AFC28C77F480EA82F807DECCE8F1D65265", - "0x02FAD96FFAD213DB8D8D1308781D41964AE416A699D322D40E1D1CBE2C3D712D4E", - "0x02F4B879B4562555DA47427EEC071FE73B4ED3D24D4B0CFADD2BEC04F43D6F0F54", - "0x02BB7E57A162E0684AC1D4F4BAB96A83CD8EE697C096BDBE21EDA16B7EC3403765", - "0x02B9FFF31AE35EE8E3959C69A432FF64A8B8D0DA2DF9FB32575BA0B42F24A86D31", - "0x0293EEE3FF8A9703BEA25D3B7DDD1C6CFE34F2663E3C3D7405518CD017BC080E67", - "0x0289B0089D39A4B49B8A8C21525877831A6111AED5B09A60675BCCA434BE238B59", - "0x02577A35CCFDCF3DF8449BCBD56CAD4519A7152DDCFCBFDE1548490B62316FCC40", - "0x0245ECE5512A7A501B0498F7924345C762C5C51DA9098A8A87446A00464D6AC6EC", - "0x0229AA74868BA000D3EA3F7B975C5DF14D5FF36E2511D2D99F61A92214A9A3E144", - "0x0208DF7B986167063ED3FE94EB662C82BDBC00C4F1FFE19CFA440723251120F5EC", - "0x03036C45CF9855237CD1B3F19B598D34200328B9C19F282A025056D90AF82B3D9F", - "0x02FD117FBEF969DAA86EC4AA03D58866D92F2BAA36199B4449DE28D86FE66DE703", - "0x02FC507BA8625E674B960151A867251AB409D13924EC5C8C957CD63146A45BD984", - "0x02ED3A8D19E0C164ECF312CC00751E0FED1D39AFCF9801C790DF6215FA75CDD61E", - "0x0291FC7DF67C3F05CEC2BE879A9EC010F7739E30BFF65B54F78CE753A69FC67BAC", - "0x024A1B598C654FCBFA577AAA77444D763AC67950DA4D0C142679D2FB479A160818", - "0x03D9B2484725D5FCD8D58EEFBA067D7ED11EEE9F67D0B21822B4F027BCBC52DA3C", - "0x03CAF8D80B93EAB04F5B670DEE2BC4FBB4BADDCEE636BB3B22C1E509E2EB6E09A6", - "0x034F8682C72A2429029A38F1FB42CBB9ADE2F9390ECA8C6AD2FBF846CFA971DD29", - "0x034E251868A15C84C62E2DEF853B5B13729FFE3444D273F6B3E33D369797BEA247", - "0x032611607071BFBB9610C60FAA487D110ED5DAC8351BF6FCC5D5D08888C9F8594A", - "0x02B5C6750548D929D3D1B145852E72F8952AF21C858C4484B5F9C0D794440544EB", - "0x0266C8FDC8602DC88465BE8AE347D125020229E0556FF623B72181EC1EF916E2E1", - "0x03FE181F5505330314B27F0D013A26A558A05B57859E7B84663AF2DB3D2B24DD5B", - "0x030E8E163229C24D5A090CC65102215CCF308D032D7A2A37BE95548F8CAB48868C", - "0x02C4256AB85D7123CFB24B783CF84C687B3CBE8E9B33E92B21CA12129E0E3ADA83", - "0x02B813C32820715BB8F2395952376BCD6A7281F0BE8A9DFE738D0A9EC2DA9FCB82", - "0x029681C64F31DF6C04AE99E207B9DA3AE52B266C5347E4654F48C6542A67BC9035", - "0x0295FA3C370F3398BE12945E4FD33400289A7606FAF7A9D5EA546BDCB24140DD87", - "0x0289540EBEE3170000F89EB5EE714D86B3343166AC80C23F7B13C6B66AAEFA13E1", - "0x024A3517630D481AEFAD2F3A6F47BCFD1BF41F38F96BB9B09BA7650CD3DB68D6D5", - "0x02449A59953D590419BBF6B11898A62D96602B7A44C3AAE84C9ED916B393D180E9", - "0x03F2F3DC5C34EF12164ED3303F20CEB0805E853A5FD23A13AF9B5892CD1AC6B70B", - "0x03F1D4971DC610BEE90539DC7E4D7011E05E3AF4890ECD8B4A946E7F630FB33120", - "0x03EF488CA97DD0B5F997CB63AF898A92DEB3AC34308366103604DBE5593BA10CF2", - "0x03CF94E3A23A8A78CA777BFE4695C960E3699A8D95B8CF130B8F5AFD4737C81045", - "0x03C68BCE487A9605B6510F9FE76C130D7E250990377E2FC06AED9DD2BB790AE7E5", - "0x0394FB22205E1191075B67A5DC00342AD4865BF256E7E7DE26476078CD6B397309", - "0x030B6A6A48B2DEF4F0BFF9235682498FC9D0636A187F66AE6147F6BEA8AF7F65A4", - "0x02F74DE11315EB6A53C8C7F179D2B44A851D64593A99BEE614582942E6F4B8925D", - "0x02E8E82D36070825944E65211260214707E75588026B94CAB96E4C5FC0702C5B81", - "0x02B1C6E5B77E81F3DDE2C891892CD9E1927ADC4794C309BFC059A0459A22DC536C", - "0x02AD1620FDC4DBEAABA2AE3A3F7219E2902B2BC3F6E14A34C89D2CF85B9C07210E", - "0x0268792A50F1C30D5E42072830F046A0D1A89EB70E27E01B72555E1A71BDF8F0CF", - "0x026047C501A725767B3AC0C8ECD74AF10EB423D09E399C2A3DB4F678EBAC782013", - "0x024DC7ABB01895F7AB8FDFB2EABDDEFC8ECE1C959C338079C63411C4722AB38857", - "0x024C10262EC87606034CE2C6E5256710FC7C71FD4C89200137DFBB5D3A4A7A5526", - "0x02229C45C6101BE54C78F20FA5908FE9F4309FE0538331D375189623311C984316", - "0x02198699CEE2A0BFDA62171A4A4E6A5AD897CE3BFD7CD8474E28CCA6F8E251633D", - "0x03D94BF7C34437B2DF2C44E87A0C568BF1331EED9FC1E0779163D75F2B83B20A52", - "0x0383205BDE352B680546AC00EA8B5E9C1759AD495567B18861A617129973CAC930", - "0x028E177BB5946100106EED12A0AF09D089C85791EF38F017F154A0677701928DB4", - "0x02704AEF65CBB77D9E4F83AD828BB61E1C074625CF44C94D8C2BAAE83C84982BBF", - "0x025C2E14D5164614FC3369E832AED8B9802508D6FDEB0EF072D147C8448F2C243A", - "0x0224D53990E35E176BEED6BB7AEBECDD2E5BCF5B6B8292F7FDDDDF8446A67330B3", - "0x02143D156A1FD1D4170681A7DB7BEFFCE1EEA39CC4F991AE86D56036A0C89B658E", - "0x020700AEA7DF2B9C56626717D1957A3325C7E38E7689AC090A2D2C2079F42E303D", - "0x03FE388021E3FE9BE8CC0777E22361EA1B54297D6105E89778E31903A0D8EE1856", - "0x03F3AD7480E35E04A7655BA9AF1C0A6E785894471437667DE934834B8C4B941104", - "0x03A1727EFB99CB7EF84EC6E336AB33EBB32E866D55BA9FB3E9298793439D9825F0", - "0x0385E1191724842AA8959AFA7295F8F46D27D872B882181EC9EDC42F6CC658225B", - "0x0338B76ED250D6D8ED730FE15EB2BDBEAF958AA1DC63025E11B06E0FB8B7DA7AC8", - "0x03257CBF000749D854BC5C92C59FF1888EA0D1374356152087D65C29B2FE0152CF", - "0x0322C63173E117FBD288E8D79C01B479F725A611A627E71D20D48DF831C9A4E73C", - "0x02D7985D19784C7B1462CD51B9F465437AA59B437E75F7092DC67EFC7884077561", - "0x02D3A02AE0B41DA32DDAB48B8F1AF023D0B8BBA0F0F3506926F19C94A79C13ADA0", - "0x02CB1922AC50C6C976CCAFF7E17702CD18BC498EE4572E013DAC3C8D9837743B49", - "0x028A0ED87B73A7216B31512534525DCE8CF1F435C6493651E780493CB6D797C1DA", - "0x025D91AF5B9D041BF686806E1B00F2A88B348F0F3303918B56F8CF602E07A6CB8A", - "0x02442D38DFD763680BF3FFEA38C9AE7440E4B52BE0E40F21B088EFCDD967CA6AB9", - "0x0204BF6C4E3A394FB3F4B8BAC8BC289DFAAE5E578DA939D68D7681F0ACAE745465", - "0x03C551BC0E75F84CCF5DA6FFF9E728B6F5573B1AC1B25CFA1378962B009A30F10E", - "0x03C03036213CB0F856F514E2CCE33A45F6CF9E9E9A5BA0D63CFB66736B0F4FA343", - "0x03278FEDBCB03E6A5723BAB911DBD763CC654309C88F32521F3B94463C5A75F241", - "0x031DA4EE952C5C42E74DDAF4155E422CBE87C20EF84CFA2FD37D77263AB4C991C0", - "0x031B1D2F87BEEA3B0192C4145E5504DA27B62FCCCC0432EC4577C491DF16125F78", - "0x031799644DF0103E810DF91DF4F0DA7B38C5176CF2E6C13980ED901AACD52F9EBB", - "0x02EDC0C44D5106C6D52F11D50802EFCF14F62A2A30B66F5685F8575C9C2480F841", - "0x02E15AC53B62CC12B98F2361C8A2B0B3039DFB182287B745A9562DED3C27294F4A", - "0x02C2FCF6D32D70B0CA2AE9C88A922669CA8982CA2FABD4BA3C987E4B990C6DCE19", - "0x0273834F712CA118A52F7FADE13599039DF726F0C4E7D7D830696ED4ED093CFBA2", - "0x02540E758C3DE8BB24589732644EAE5CED3A512AEA387C32B098C40BB111C0128B", - "0x0241A5AD818E0D8A6BFE2998A986C8D194BDC7631717101B811EF7AFD2824264CC", - "0x0235D112F1BF36C047E757E4D0A16AFF248D1203172A507CA06A2422D736CC7481", - "0x020E5B630D99D1D2FE7597620AF35F10710058B5A6A41BA08A3B2CAACD5AC31D5A", - "0x03F9A4A7FA44F593AFA960A7ED677518C19C7AFAECD223B0DC9B868C22DF1C9DE8", - "0x03E1065A452DF8233050BD25B031D671D74F1C7F7710C837FEA349CF64D77D2331", - "0x03C8762E8C7AEB7CC2138F4EC6F88F26C8E247DEE82E0D429A42257487BFC09662", - "0x0377521AFA2B30149D2D0269EFEB7988C6D94F732636B66686F5E2E1779D4BCE5A", - "0x03492D16D394C4A448E92D304B46376E4B57C9E6AA3A3020E4DC9BC2387527B243", - "0x031D4CB92DA25707A4D00CAC7DCF99C87A0D93154D26FF0165860B36E2CE61200E", - "0x030F5CA8A8AA815AED21B27503F368E46082C5E960F71DE91C11E769514EBBAF11", - "0x02E09A14BBB50BFCE8C123930716A7FE17297944DCABFBB9D0692A157CB468BD2E", - "0x02CD100BE867AD6D1EF3381C23D2A07900058CE156DB69A9863C02D2A036F48A3F", - "0x02A67D4F5703CBCEE2CF3FABAFB12BAE0802BC60466392B45CCF11E23F68E9790C", - "0x03FB2FC203021911C6F1991A06C74DB43AC0E9E94F3F8635AEF0ED95D2383EEEE8", - "0x035B0B1A82CA36841D04AEA05AA56963671A8FEA295EF61EA875B6F75AF34B11DA", - "0x0316378E159E5937850452B9008C9385DE6A5D4C65D4167E47FDB8C351D76184B0", - "0x02F6860CED06E1241263F3C4FA1A27ECDEE4D7E4E6F08CDA9B8507F1EF2F5AD3FE", - "0x02F34C10080DC01A276666BA5852E2A60F2D950D4A415FA25442A0B2A610DF24A2", - "0x02EE268D0D3F11ECA1B89015977B1F90C5CFA9272AFF67F80E20C2830B73C9319D", - "0x027A436E147FA81E0753C99C47E2C0CB52DC607F517DA45A3663E26009C1D405F9", - "0x026685CD55A7409E895B6B21E26CA4B1D8DF904399E03522FA3B2897407AABAA24", - "0x03F447D5360599AABBA05FD81AC32194695072075124F079A6AB304C58A5DC86C4", - "0x03CCB5DDAAC38F74CA08F787197D0682DD7341DAF3EA31D3BF2FA618ED7D029B0F", - "0x03C83FDDC83D7ACB8E87C5F98A5D962389E10C3A3C15C0EFE82471E6F48C04235B", - "0x031E61F3AD7308EA53223CD160606905CC98839098222016D0C69CF8AF147619ED", - "0x02F2D41F4D25BBEC67FFA24800C6FC7F2BDEA02791178D345BEBB9B3E48CA1235D", - "0x02CD61198B816EC3370C2846C3F272177BFC5223BDBA743BBA8CC65C086D2B3244", - "0x028716D2AE4137C44C18451F551F65C438D1B61585AAE18CB6CA2CA890EA288623", - "0x02838ACE2242D795AE5CD6429663365C322A50361D7CD29FEEE14405AE7F62E290", - "0x0243DD133B49D6FEE6418D57F7590F6C9D871EDDB00C26F2531837A83BB14A1959", - "0x0201DCDBBD56EB6E0C3FF415E804AA6FD97EBA5986BE8CDE1F581F03FA63E085FF", - "0x03F1AEAC79E4679933593CB0C824C731B8A22CFB6E9376C8A0271303E530FB5B08", - "0x03EB2C6006DC56410DB3168B038A22CCFBA89DC997ED8C48979957742F632B9CEB", - "0x03BE43C37ECD4328593531FAE5620DC1AA579CB885E9730FE00FDD281B21CF4F9F", - "0x038CA3C21669712BD6A2EBC6BAE5F85132E35E45B44CC41B866AF6C6B3301A7B30", - "0x034D4577232E01F64613D7065EA85526FC1C82188668758EAEE2777AB13FFC4A85", - "0x03346165311FD99E665C5C403A94BE843019B8DF58F2B94EA0EB59BFCC44F29D5C", - "0x0315F383F1716F03CDE811F0B521F247638D48CE7B96ACA6345250C9B7ABD7D74A", - "0x0307FFB1D43ECC7DA67CB9C88BDD8C8C96600FC1D96B20224714297E9F114B7414", - "0x02F4337FFE6591F1610EE4E77A20FD4C2DDB96351CA3D1D29AF18DEB72428B328C", - "0x029D1C25BD8BCA4B19DA191D176BD5B66828349EBA1F759EB4FDCB9EAC312A156E", - "0x026D011A32B4DD6120FA60F4197CB9D73C15C18D4F1EF9DCD67F848947BD9CD4C9", - "0x026AB53271B7C5690C955846419E5F8E981E2FD4581AE1A585B0FCE73C33C34B17", - "0x02440DE92EFA62BAC90023A9B91A773445B65355639A0A0C77DC36BE4F25730565", - "0x02015B544DFA85A34F66BDAF440DBF843D2DF8757430033BBBE13FC8D5B8FD5CD3", - "0x03BC4C5F0DA938C30D2687B85A31930397D00C385F3575E1D3184B3EAEDB19EC0D", - "0x033EC8DB415F58C225892F910FDED0384DD356FE51C7614BD9B73E56759089249D", - "0x02C1A453AC19D4C2678DF70B530D184F207F925FC3B21249CCE95ADF1F12D063BC", - "0x0295E02E34001508FCF38E615AD6C1E5FE6F791E5EB9EA8C3025A0F64CE3157740", - "0x03C32488973AB5B9AE88322B0BF4D43C785B8A7EB4B190D10877D815E2B2CAF8E8", - "0x033C81D524539DFC2B5BA9F340B4487B52B9CE90FDE030F59107E6B77CF38AEAEB", - "0x03039B9EF899339153360A677E56F1489CC660FD440EB30A812CF0BC05A352D245", - "0x02D4100FC99A5B6D4372A9C1A7D352BBDE8055146CB26E0C697CBC46645853235E", - "0x029A6E3EBD77F64B4CF3C3EDBF154A7722D7DB7E673F5208C33564A6491B9E7933", - "0x0268A650713168930D4C8CD807A475EEE8FC8C8E9ED0A4CCE69AB68633F1B22408", - "0x026598F052642F439419597E60B5913DFEF943AD2EA4EE9C926E3DE5B64EEC548E", - "0x0238289484641172D58F029847CA94A5513895C2262512A24079F1E485EE497530", - "0x022C9394AE30594C1A99A45C5B050EE62673FD5367DC9A71052D7306AF49409610", - "0x020FD8E4C71589CF65F0D594C00478BEEEB09806DCC9A146280C1C6049A58751C9", - "0x03F4151171F4984BE22415D05AA2C612CA2B3228E2B00C21519B632195A2F2DA83", - "0x03C48C1C64A583BEF263CD813999508A0984FD0A8F3439F399ED5753A723957BF4", - "0x03C1EF5B58EB2ADC9DD29F7172929EA8CB5DAB8091E2923A4A3FE6F1BA127253BA", - "0x03870CB9C79E37120EE442BAE36B156A18B30627F7B27CBCCFC1F3B2870BB4A721", - "0x036784618DDA168FD9D5A94BFF32DCE2849565DC032B7AF3031400F13B5ABE82F7", - "0x02F3EADB8F5DF480C1B495AB75B1985FA5587A9B5C0817F7A335FC6838C0399489", - "0x02BAE62FB0FDB8A678CC29B9590051545E1AC3481211FFAEA780AF79085E390F27", - "0x028C75DDC80F1D81EA78F2ED8FC21E2CBB19908A4C36C71A590C2631FC6685926B", - "0x02746F3D1D64F6E60BC4E883D9EDDE41BF723949C1F0263DCF4C0B9E8E3C334AD6", - "0x025A80A72494A92B2318C5E8D00780B20D39AEC9247E74EA49F25F537220B72D0C", - "0x024F5796CB7DD848A65FFCE88636E1447C4F2ED9691303B4E9D9A095C8BFEDCE17", - "0x0214E6DA12860E8BB608ABB46D9E6BDD2D32C53E8175063FC0B4F2895A8C27B38F", - "0x03E64697B2E93D2B805050BCE597D1B7081E53E8B2AF3AAB5F60772A550F8650A5", - "0x03CB07D1C3A2D51E0775DA905E43AEC9A5BA5B3EC979A43EF2D534063F8E8BECA5", - "0x03ACA33B508266A7FF17A6F766BAE831DFE5AF21B591897E201C7E99CF92136FF8" - ] - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetCurrentDSComm"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-current-ds-epoch.md b/zq2/docs/api/zilliqa/api-blockchain-get-current-ds-epoch.md deleted file mode 100644 index 96c574d..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-current-ds-epoch.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -id: api-blockchain-get-current-ds-epoch -title: GetCurrentDSEpoch ---- - ---- - -Returns the current number of DS blocks in the network. This is represented as a -`String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetCurrentDSEpoch", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "node.js" - - ```js - const currentDSEpoch = await zilliqa.blockchain.getCurrentDSEpoch(); - console.log(currentDSEpoch.result); - ``` - -=== "java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep currentDSEpoch = client.getCurrentDSEpoch(); - System.out.println(new Gson().toJson(currentDSEpoch)); - } - } - ``` - -=== "python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetCurrentDSEpoch()) - ``` - -=== "go" - - ```go - func GetCurrentDSEpoch() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetCurrentDSEpoch() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "5898" -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | --------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetCurrentDSEpoch"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-current-mini-epoch.md b/zq2/docs/api/zilliqa/api-blockchain-get-current-mini-epoch.md deleted file mode 100644 index 202d8b8..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-current-mini-epoch.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -id: api-blockchain-get-current-mini-epoch -title: GetCurrentMiniEpoch ---- - ---- - -Returns the current TX block number of the network. This is represented as a `String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetCurrentMiniEpoch", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const currentMiniEpoch = await zilliqa.blockchain.getCurrentMiniEpoch(); - console.log(currentMiniEpoch.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zq2-devnet.zilliqa.com/"); - Rep currentMiniEpoch = client.getCurrentMiniEpoch(); - System.out.println(new Gson().toJson(currentMiniEpoch)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetCurrentMiniEpoch()) - ``` - -=== "Go" - - ```go - func GetCurrentMiniEpoch() { - provider := NewProvider("https://api.zq2-devnet.zilliqa.com/") - response := provider.GetCurrentMiniEpoch() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "589793" -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ----------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetCurrentMiniEpoch"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-ds-block-rate.md b/zq2/docs/api/zilliqa/api-blockchain-get-ds-block-rate.md deleted file mode 100644 index 24f4791..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-ds-block-rate.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-blockchain-get-ds-block-rate -title: GetDSBlockRate ---- - ---- - -Returns the current Directory Service blockrate per second. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetDSBlockRate", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const dsBlockRate = await zilliqa.blockchain.getDSBlockRate(); - console.log(dsBlockRate.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep dsBlockRate = client.getDSBlockRate(); - System.out.println(new Gson().toJson(dsBlockRate)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetDSBlockRate()) - ``` - -=== "Go" - - ```go - func GetDSBlockRate() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetDSBlockRate() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": 0.00014142137245459714 -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------ | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetDSBlockRate"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-ds-block.md b/zq2/docs/api/zilliqa/api-blockchain-get-ds-block.md deleted file mode 100644 index 6a73b7e..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-ds-block.md +++ /dev/null @@ -1,219 +0,0 @@ ---- -id: api-blockchain-get-ds-block -title: GetDsBlock ---- - ---- - -There are two variations of the API - `GetDsBlock` and `GetDsBlockVerbose`. - -Returns the details of a specified Directory Service block. In verbose mode, additional information will be included in the response. - -### Example Request-1 - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetDsBlock", - "params": ["9000"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const dsBlock = await zilliqa.blockchain.getDSBlock("1"); - console.log(dsBlock.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep dsBlock = client.getDsBlock("9000 - System.out.println(new Gson().toJson(dsBlock)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetDsBlock("9000 - ``` - -=== "Go" - - ```go - func GetDsBlock() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetDsBlock("9000 - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "header": { - "BlockNum": "9000", - "Difficulty": 95, - "DifficultyDS": 156, - "GasPrice": "2000000000", - "PoWWinners": [ - "0x0207184EB580333132787B360CA6D93290000C9F71E0B6A02C4412E7148FB1AF81", - "0x0285B572471A9D3BA729719ED2EEE86395D3B8F243572E9099A5E8B750F46092A7", - "0x02C1D8C0C7884E65A22FFD76DF9ACC2EA3551133E4ADD59C2DF74F327E09F709FF", - "0x02D728E77C8DA14E900BA8A2014A0D4B5512C6BABCCB77B83F21381437E0038F44", - "0x0321B0E1A20F02C99394DD24B34AB4E79AE6CBF0C689C222F246431A764D6B59DB", - "0x038A724504899CCCA068BD165AE15CE2947667225C72912039CEE4EF3992334843", - "0x03AB477A7A895DD4E84F240A2F1FCF5F86B1A3D59B6AD3065C18CD69729D089959", - "0x03B29C7F3F85329B0621914AB0367BA78135889FB8E4F937DDB7DAA8123AD4DF3C", - "0x03E82B00B53ECC10073404E844841C519152E500A655EEF1D8EAD6612ABDF5B552" - ], - "PrevHash": "585373fb2c607b324afbe8f592e43b40d0091bbcef56c158e0879ced69648c8e", - "Timestamp": "1606443830834512" - }, - "signature": "7EE023C56602A17F2C8ABA2BEF290386D7C2CE1ABD8E3621573802FA67B243DE60B3EBEE5C4CCFDB697C80127B99CB384DAFEB44F70CD7569F2816DB950877BB" - } -} -``` - -### Example Request-2 - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetDsBlockVerbose", - "params": ["9000"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response-2 - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "B1": [ - false, - false, - false - // Output truncated - ], - "B2": [ - false, - false - // Output truncated - ], - "CS1": "FBA696961142862169D03EED67DD302EAB91333CBC4EEFE7EDB230515DA31DC1B9746EEEE5E7C105685E22C483B1021867B3775D30215CA66D5D81543E9FE8B5", - "PrevDSHash": "585373fb2c607b324afbe8f592e43b40d0091bbcef56c158e0879ced69648c8e", - "header": { - "BlockNum": "9000", - "CommitteeHash": "da38b3b21b26b71835bb1545246a0a248f97003de302ae20d70aeaf854403029", - "Difficulty": 95, - "DifficultyDS": 156, - "EpochNum": "899900", - "GasPrice": "2000000000", - "MembersEjected": [ - "0x02572A2FCD59F8115297B399F76D7ACCFDA7E82AC53702063C3A61FB4D85E0D0C1", - "0x029933F07FF634654C2ECB17A90EAD00CF9EE9F75395E206660CCEFB21874ECEA1", - "0x02AAD92E5A3C9D8ECB364225719478B51026DD5C786BF7312C5C9765353BC4C98B" - ], - "PoWWinners": [ - "0x0207184EB580333132787B360CA6D93290000C9F71E0B6A02C4412E7148FB1AF81", - "0x0285B572471A9D3BA729719ED2EEE86395D3B8F243572E9099A5E8B750F46092A7", - "0x02C1D8C0C7884E65A22FFD76DF9ACC2EA3551133E4ADD59C2DF74F327E09F709FF", - "0x02D728E77C8DA14E900BA8A2014A0D4B5512C6BABCCB77B83F21381437E0038F44", - "0x0321B0E1A20F02C99394DD24B34AB4E79AE6CBF0C689C222F246431A764D6B59DB", - "0x038A724504899CCCA068BD165AE15CE2947667225C72912039CEE4EF3992334843", - "0x03AB477A7A895DD4E84F240A2F1FCF5F86B1A3D59B6AD3065C18CD69729D089959", - "0x03B29C7F3F85329B0621914AB0367BA78135889FB8E4F937DDB7DAA8123AD4DF3C", - "0x03E82B00B53ECC10073404E844841C519152E500A655EEF1D8EAD6612ABDF5B552" - ], - "PoWWinnersIP": [ - { - "IP": "34.212.122.139", - "port": 33133 - }, - { - "IP": "34.214.85.15", - "port": 33133 - }, - { - "IP": "54.148.246.51", - "port": 33133 - }, - { - "IP": "54.218.112.25", - "port": 33133 - }, - { - "IP": "54.184.108.224", - "port": 33133 - }, - { - "IP": "34.211.53.138", - "port": 33133 - }, - { - "IP": "44.234.38.187", - "port": 33133 - }, - { - "IP": "44.234.126.143", - "port": 33133 - }, - { - "IP": "34.223.254.106", - "port": 33133 - } - ], - "PrevHash": "585373fb2c607b324afbe8f592e43b40d0091bbcef56c158e0879ced69648c8e", - "ReservedField": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "SWInfo": { - "Scilla": [0, 0, 0, "0", 0], - "Zilliqa": [0, 0, 0, "0", 0] - }, - "ShardingHash": "3216a33bfd4801e1907e72c7d529cef99c38d57cd281d0e9d726639fd9882d25", - "Timestamp": "1606443830834512", - "Version": 2 - }, - "signature": "7EE023C56602A17F2C8ABA2BEF290386D7C2CE1ABD8E3621573802FA67B243DE60B3EBEE5C4CCFDB697C80127B99CB384DAFEB44F70CD7569F2816DB950877BB" - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetDsBlock"` Or `"GetDsBlockVerbose"` | -| `params` | string | Required | Specified DS block number to return. Example: `"40"` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-latest-ds-block.md b/zq2/docs/api/zilliqa/api-blockchain-get-latest-ds-block.md deleted file mode 100644 index 9dd1a43..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-latest-ds-block.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -id: api-blockchain-get-latest-ds-block -title: GetLatestDsBlock ---- - ---- - -Returns the details of the most recent Directory Service block. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetLatestDsBlock", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const dsBlock = await zilliqa.blockchain.getLatestDSBlock(); - console.log(dsBlock.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep dsBlock = client.getLatestDsBlock(); - System.out.println(new Gson().toJson(dsBlock)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetLatestDsBlock()) - ``` - -=== "Go" - - ```go - func GetLatestDsBlock() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetLatestDsBlock() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "header": { - "BlockNum": "5898", - "Difficulty": 91, - "DifficultyDS": 149, - "GasPrice": "1000000000", - "LeaderPubKey": "0x026964CBF00EE542F5CBE80395FFEA747227BC3EFCC21D04956380180A9BE21546", - "PoWWinners": [ - "0x0219DB403A630022EE014AFD97D02E2DBC6BCEED2506A9E57B5EE5D9EA4F154929", - "0x02D9C8FC6C87891968ECCEE5EF1CD8A9F8FC32C6463F2FE4E846DFD5C5F45A625E", - "0x02E07F03C71D26433E7F290416FA43374DA72704F8AA973D4771AA763ACD7C509C", - "0x02E0FB6CDAEA57738959B493652A74E86339AF2CFE998FB7424BBD7A813450743F", - "0x0315E9B13D5A5D29902F1EECE0933E96A0AF9939853D5F82B438AAED9F7560B3FC", - "0x034D9B1B0DC80A0103AE7826886B415C29BF3E814FF6720F6C9C47B57589EFEAAA", - "0x0394EA64F2F833B88C56464E12B37780BDB9684875F55BC569B397ABE0FCCD8E0E", - "0x03C53B6C3D901ED46E786DA383BE61A46A442461D2A83379A11A42D7403FB7102E", - "0x03F6427EE15A5EC409FE7F8CDCC8E7C7704CC07AD2BF8CADFD2A19BB98E80836AF" - ], - "PrevHash": "968e2e7820a3795de8c8a7a2e94379cc10f50ada5ea6f90c03c4e61e22ee83b5", - "Timestamp": "1590641169078644" - }, - "signature": "803D64288A6F827DAFA529235C7A78E7BC2D1C882C5DA643E03CB0B2A786C7A5508CCD5F409CDAA325709E4E9A98F1D67596E61CB8CF958AD98B7DB842F87A44" - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetLatestDsBlock"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-latest-tx-block.md b/zq2/docs/api/zilliqa/api-blockchain-get-latest-tx-block.md deleted file mode 100644 index 7398f01..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-latest-tx-block.md +++ /dev/null @@ -1,123 +0,0 @@ ---- -id: api-blockchain-get-latest-tx-block -title: GetLatestTxBlock ---- - ---- - -Returns the details of the most recent Transaction block. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetLatestTxBlock", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const txBlock = await zilliqa.blockchain.getLatestTxBlock(); - console.log(txBlock.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zq2-devnet.zilliqa.com/"); - Rep txBlock = client.getLatestTxBlock(); - System.out.println(new Gson().toJson(txBlock)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetLatestTxBlock()) - ``` - -=== "Go" - - ```go - func GetLatestTxBlock() { - provider := NewProvider("https://api.zq2-devnet.zilliqa.com/") - response := provider.GetLatestTxBlock() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "body": { - "BlockHash": "53a24881823dd5f2a3dfda5902d1b79710e2bec5477ed3aa7325d74e30436b58", - "HeaderSign": "8E0C73945CC2282173CF8CF44D7EB55E5DAD9B2D6D3437C6AC09DE8CF0D6B698575E535168AA898B6B3A3107603BDFC4BC671A4621E77C9004369FC3513F53A0", - "MicroBlockInfos": [ - { - "MicroBlockHash": "ebadc2d6e80b749e6e322ae54467d516618ea79d1ae495f26f3592c70b4de71a", - "MicroBlockShardId": 0, - "MicroBlockTxnRootHash": "165049b84c5f4499ce781aab63cba06aa31ed4e1b556f0aac643f01eb5814da4" - }, - { - "MicroBlockHash": "7111f32a526a381ecb3492e21a382f2dc5ad10c346340aaae3addd1a349cc559", - "MicroBlockShardId": 1, - "MicroBlockTxnRootHash": "640a7019993fcdaec2bfd10b50f5f9faea92920a1a4c0cb931ae56e061f983d9" - }, - { - "MicroBlockHash": "1a914f52aaef51fa3d585c666e56ae55c2dc5e3b8c759c66d1b79b211b783d0e", - "MicroBlockShardId": 2, - "MicroBlockTxnRootHash": "aea9eafc983f75947ef63d0aedd14c0c138025cbbaa5934f3ef327b2116bfd68" - }, - { - "MicroBlockHash": "cf095207f2f3cece2bc21f172022e2e3473c8a9279ba67a4d9bd1e352890f496", - "MicroBlockShardId": 3, - "MicroBlockTxnRootHash": "d97261b9c32ca9d1cfc8431a64523c9e3d26beff7e5265c5d431d5a41b416e49" - } - ] - }, - "header": { - "BlockNum": "1002353", - "DSBlockNum": "10024", - "GasLimit": "650000", - "GasUsed": "25517", - "MbInfoHash": "b2a862649507a9d86b21246b1538aa237c75f65cf7ef9a512e03ba39d0e62933", - "MinerPubKey": "0x02134CC19B594B1571916AABBA4475026D1B2021C19045CB2065E0D3B12706768E", - "NumMicroBlocks": 4, - "NumPages": 5, - "NumTxns": 10022, - "PrevBlockHash": "18426f28438c500dd8b424f7923844290f4f082d43e84262ce629eebce68b82c", - "Rewards": "0", - "StateDeltaHash": "9e2c6b2b542219e421792892e8d42923f30fd3e4d4c55369feb89e3979b5a3a7", - "StateRootHash": "57710511d91f7ec765c264babd53d6b607b320167029cc88c477fafd78c14632", - "Timestamp": "1612477810820092", - "TxnFees": "51138500000000", - "Version": 1 - } - } -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetLatestTxBlock"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-miner-info.md b/zq2/docs/api/zilliqa/api-blockchain-get-miner-info.md deleted file mode 100644 index 9a95b9e..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-miner-info.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -id: api-blockchain-get-miner-info -title: GetMinerInfo ---- - ---- - -Returns the mining nodes (i.e., the members of the DS committee and shards) at -the specified DS block. - -**Notes:** - -1. Nodes owned by Zilliqa Research are omitted. -1. `dscommittee` has no `size` field since the DS committee size is fixed for a - given chain. -1. For the Zilliqa mainnet, this API is only available from DS block 5500 - onwards. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetMinerInfo", - "params": ["5500"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "dscommittee": [ - "0x03F25E4B68050496086758C33D16C47792F18D1102BB5DFC0CE5E3A57927008A0B", - "0x03CF937B2EBE194C72350A6A7E6612C2D8636A33753929F1553E6273442B2F8E5B", - "0x0372E43C4E7960F02E10F5AFE800E903579E2BE853B160681CBDF7C048FFB78A0F", - ..."0x0397FD33ED459AD72939CA531385271311DA74094D89109F3876E81BEE84B4E414" - ], - "shards": [ - { - "nodes": [ - "0x0245C0DDAA493700F86A3943260EB04D05DEBD62897E3EC51AE65A704E5C65C0A6", - "0x0250CF4B40C0C984F2BB005599D2A7503F9C68F701A24CBC10B1EB2533575ADBA7", - "0x023F2F657F170563E9B28BF837AB295FD13A7E2A4117DB44B2ADFE536F28D28102", - ..."0x02358F60B4BD90805E6940A901E3C3A5867FFF5BDBD5AD9BFD66FE47C9FA6F1035" - ], - "size": 535 - }, - { - "nodes": [ - "0x02646640964F472CBE1E9BAF2DC5F1A0915AE529DDFF08F28DDE3E460C755DC8C4", - "0x025EC6741880EC217F921A8FFB4AACDB95FF6477E1BB66CB39950FB2723D3740C8", - "0x03DE42F6719E8A0147A93604C5F6A4304D14AD5F6A70C011EE37DBFC65D1E7F842", - ..."0x02B1DB735BF54FC5765D89248DA1C07934282182F3C65CD9152D8F48C539BB5C53" - ], - "size": 535 - }, - { - "nodes": [ - "0x0218C2BA9876BCF3EE9EFF220C9F4CF433F5BE09D9D592F3C657AE7353CFFC3245", - "0x02BCD61D2F47165E0CD6B3CF9429140C3F017C440DA63E9F44A84503A7D1E41590", - "0x03E7699C19CFF554D265DC9C797713A7403D99A607EA7C8794259150436EB9FFBB", - ..."0x031169CB469B6083954F578C19FC7833A90D835AA75942820119272FC6EE4361A5" - ], - "size": 534 - } - ] - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetMinerInfo"` | -| `params` | string | Required | DS block number. Example: `"5500"` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-network-id.md b/zq2/docs/api/zilliqa/api-blockchain-get-network-id.md deleted file mode 100644 index 7886590..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-network-id.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -id: api-blockchain-get-network-id -title: GetNetworkId ---- - ---- - -Returns the `CHAIN_ID` of the specified network. This is represented as a `String`. - -Our chain ids are listed at [chainlist.org](https://chainlist.org/?search=zilliqa&testnets=true). - -The chain id reported by the Zilliqa API has bit 15 clear (`chain_id & ~0x8000`) whilst the chain id reported by the EVM API has bit 15 set (`chain_id | 0x8000`). - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetNetworkId", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const NetworkId = await zilliqa.network.GetNetworkId(); - console.log(NetworkId); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zq2-devnet.zilliqa.com"); - Rep networkId = client.getNetworkId(); - System.out.println(new Gson().toJson(networkId)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - from pyzil.zilliqa.api import ZilliqaAPI - - # EITHER - chain.set_active_chain(chain.MainNet) - network_id = chain.active_chain.api.GetNetworkId() - print(network_id) - - # OR - new_api = ZilliqaAPI(endpoint="https://api.zq2-devnet.zilliqa.com") - network_id = new_api.GetNetworkId() - print(network_id) - ``` - -=== "Go" - - ```go - func GetNetworkId() { - provider := NewProvider("https://api.zq2-devnet.zilliqa.com/") - response := provider.GetNetworkId() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "1" -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ----------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetNetworkId"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-node-type.md b/zq2/docs/api/zilliqa/api-blockchain-get-node-type.md deleted file mode 100644 index c0ef22b..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-node-type.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -id: api-blockchain-get-node-type -title: GetNodeType ---- - ---- - -Returns node type. The possible return values are: - -- `"Not in network, synced till epoch [epoch number]"` if the server has not joined the network and is synced until a specific epoch. -- `"Seed"` if the server is in lookup node mode and is an archival lookup node. -- `"Lookup"` if the server is in lookup node mode - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetNodeType", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ "id": "1", "jsonrpc": "2.0", "result": "Seed" } -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ----------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetNodeType"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-num-ds-blocks.md b/zq2/docs/api/zilliqa/api-blockchain-get-num-ds-blocks.md deleted file mode 100644 index e1a3a8b..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-num-ds-blocks.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-blockchain-num-ds-blocks -title: GetNumDSBlocks ---- - ---- - -Returns the current number of validated Directory Service blocks in the network. This is represented as a `String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetNumDSBlocks", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const numDsBlock = await zilliqa.blockchain.getNumDSBlocks(); - console.log(numDsBlock.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep numDSBlocks = client.getNumDSBlocks(); - System.out.println(new Gson().toJson(numDSBlocks)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetNumDSBlocks()) - ``` - -=== "Go" - - ```go - func GetNumDSBlocks() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetNumDSBlocks() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "5899" -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------ | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetNumDSBlocks"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-num-peers.md b/zq2/docs/api/zilliqa/api-blockchain-get-num-peers.md deleted file mode 100644 index 0e097f4..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-num-peers.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -id: api-blockchain-get-num-peers -title: GetNumPeers ---- - ---- - -Returns total number of peers including committee peers. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetNumPeers", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ "id": "1", "jsonrpc": "2.0", "result": 600 } -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ----------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetNumPeers"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-num-tx-blocks.md b/zq2/docs/api/zilliqa/api-blockchain-get-num-tx-blocks.md deleted file mode 100644 index dbad889..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-num-tx-blocks.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-blockchain-get-num-tx-blocks -title: GetNumTxBlocks ---- - ---- - -Returns the current number of Transaction blocks in the network. This is represented as a `String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetNumTxBlocks", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const numTxBlock = await zilliqa.blockchain.getNumTxBlocks(); - console.log(numTxBlock.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep numTxBlocks = client.getNumTxBlocks(); - System.out.println(new Gson().toJson(numTxBlocks)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetNumTxBlocks()) - ``` - -=== "Go" - - ```go - func GetNumTxBlocks() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetNumTxBlocks() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "589790" -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------ | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetNumTxBlocks"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-num-tx.md b/zq2/docs/api/zilliqa/api-blockchain-get-num-tx.md deleted file mode 100644 index c78b21b..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-num-tx.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-blockchain-get-num-tx -title: GetNumTransactions ---- - ---- - -Returns the current number of validated Transactions in the network. This is represented as a `String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetNumTransactions", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const numTransactions = await zilliqa.blockchain.getNumTransactions(); - console.log(numTransactions.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep numTransactions = client.getNumTransactions(); - System.out.println(new Gson().toJson(numTransactions)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetNumTransactions()) - ``` - -=== "Go" - - ```go - func GetNumTransactions() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetNumTransactions() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "4350695" -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetNumTransactions"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-prev-difficulty.md b/zq2/docs/api/zilliqa/api-blockchain-get-prev-difficulty.md deleted file mode 100644 index fd0d550..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-prev-difficulty.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-blockchain-get-prev-difficulty -title: GetPrevDifficulty ---- - ---- - -Returns the minimum shard difficulty of the previous block. This is represented as an `Number`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetPrevDifficulty", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const prevDifficulty = await zilliqa.blockchain.getPrevDifficulty(); - console.log(prevDifficulty.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep prevDifficulty = client.getPrevDifficulty(); - System.out.println(new Gson().toJson(prevDifficulty)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetPrevDifficulty()) - ``` - -=== "Go" - - ```go - func GetPrevDifficulty() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetPrevDifficulty() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": 91 -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | --------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetPrevDifficulty"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-prev-ds-difficulty.md b/zq2/docs/api/zilliqa/api-blockchain-get-prev-ds-difficulty.md deleted file mode 100644 index 9e294f2..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-prev-ds-difficulty.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-blockchain-get-prev-ds-difficulty -title: GetPrevDSDifficulty ---- - ---- - -Returns the minimum DS difficulty of the previous block. This is represented as an `Number`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetPrevDSDifficulty", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const prevDSDifficulty = await zilliqa.blockchain.getPrevDSDifficulty(); - console.log(prevDSDifficulty.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep prevDSDifficulty = client.getPrevDSDifficulty(); - System.out.println(new Gson().toJson(prevDSDifficulty)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetPrevDSDifficulty()) - ``` - -=== "Go" - - ```go - func GetPrevDSDifficulty() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetPrevDSDifficulty() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": 149 -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ----------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetPrevDSDifficulty"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-sharding-structure.md b/zq2/docs/api/zilliqa/api-blockchain-get-sharding-structure.md deleted file mode 100644 index f1867af..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-sharding-structure.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -id: api-blockchain-get-sharding-structure -title: GetShardingStructure ---- - ---- - -Retrieves the sharding structure from the lookup server. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetShardingStructure", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ "id": "1", "jsonrpc": "2.0", "result": { "NumPeers": [0] } } -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------ | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetShardingStructure"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-software-version.md b/zq2/docs/api/zilliqa/api-blockchain-get-software-version.md deleted file mode 100644 index 6b4cd4e..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-software-version.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -id: api-blockchain-get-software-version -title: GetVersion ---- - ---- - -Returns the software version of the Zilliqa node. Additionally, returns a commit id if defined. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetVersion", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "Commit": "", - "Version": "v9.0.1" - } -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ----------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetVersion"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-total-coin-supply.md b/zq2/docs/api/zilliqa/api-blockchain-get-total-coin-supply.md deleted file mode 100644 index fa8ca44..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-total-coin-supply.md +++ /dev/null @@ -1,130 +0,0 @@ ---- -id: api-blockchain-get-total-coin-supply -title: GetTotalCoinSupply ---- - ---- - -There are two variations of the API - `GetTotalCoinSupply` and `GetTotalCoinSupplyAsInt`. - -`GetTotalCoinSupply` Returns the total supply (ZIL) of coins in the network. This is represented as a -`String`. - -`GetTotalCoinSupplyAsInt` Returns the total supply (ZIL) of coins in the network. This is represented as a -`Rounded Number`. - -### Example Request-1 - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTotalCoinSupply", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const totalCoinSupply = await zilliqa.blockchain.getTotalCoinSupply(); - console.log(totalCoinSupply); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep totalCoinSupply = client.getTotalCoinSupply(); - System.out.println(new Gson().toJson(totalCoinSupply)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - from pyzil.zilliqa.api import ZilliqaAPI - - - # EITHER - chain.set_active_chain(chain.MainNet) - total_coin_supply = chain.active_chain.api.GetTotalCoinSupply() - print(total_coin_supply) - - # OR - new_api = ZilliqaAPI(endpoint="https://api.zilliqa.com") - total_coin_supply = new_api.GetTotalCoinSupply() - print(total_coin_supply) - ``` - -=== "Go" - - ```go - func GetTotalCoinSupply() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetTotalCoinSupply() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response-1 - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "13452081092.277490607172" -} -``` - -### Example Request-2 - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTotalCoinSupplyAsInt", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response-2 - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": 13452081092 -} -``` - -!!! note - - `GetTotalCoinSupplyAsInt` is not avaliable to call through SDKs. - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTotalCoinSupply or GetTotalCoinSupplyAsInt"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-tx-block-rate.md b/zq2/docs/api/zilliqa/api-blockchain-get-tx-block-rate.md deleted file mode 100644 index ae93673..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-tx-block-rate.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-blockchain-get-tx-block-rate -title: GetTxBlockRate ---- - ---- - -Returns the current Transaction blockrate per second for the network. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTxBlockRate", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const txBlockRate = await zilliqa.blockchain.getTxBlockRate(); - console.log(txBlockRate.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep txBlockRate = client.getTxBlockRate(); - System.out.println(new Gson().toJson(txBlockRate)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetTxBlockRate()) - ``` - -=== "Go" - - ```go - func GetTxBlockRate() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetTxBlockRate() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": 0.014138050978963283 -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------ | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTxBlockRate"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-tx-block.md b/zq2/docs/api/zilliqa/api-blockchain-get-tx-block.md deleted file mode 100644 index ea2c9e5..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-tx-block.md +++ /dev/null @@ -1,249 +0,0 @@ ---- -id: api-blockchain-get-tx-block -title: GetTxBlock ---- - ---- - -There are two variations of the API - `GetTsBlock` and `GetTsBlockVerbose`. - -Returns the details of a specified Transaction block. In verbose mode, additional information will be included in the response. - -### Example Request-1 - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTxBlock", - "params": ["1002353"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const txBlock = await zilliqa.blockchain.getTxBlock("40"); - console.log(txBlock.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep txBlock = client.getTxBlock("40"); - System.out.println(new Gson().toJson(txBlock)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetTxBlock("40")) - ``` - -=== "Go" - - ```go - func GetTxBlock(t *testing.T) { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetTxBlock("40") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response-1 - -!!! note - - From Zilliqa `V7.2.0` onwards, an additional `NumPages` field is - included in the `header` response section. This field is used by - [GetTransactionsForTxBlockEx](../transaction-related-methods/api-transaction-get-txs-for-txblock-ex.md) and - [GetTxnBodiesForTxBlockEx](../transaction-related-methods/api-transaction-get-txbodies-for-txblock-ex.md). - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "body": { - "BlockHash": "53a24881823dd5f2a3dfda5902d1b79710e2bec5477ed3aa7325d74e30436b58", - "HeaderSign": "8E0C73945CC2282173CF8CF44D7EB55E5DAD9B2D6D3437C6AC09DE8CF0D6B698575E535168AA898B6B3A3107603BDFC4BC671A4621E77C9004369FC3513F53A0", - "MicroBlockInfos": [ - { - "MicroBlockHash": "ebadc2d6e80b749e6e322ae54467d516618ea79d1ae495f26f3592c70b4de71a", - "MicroBlockShardId": 0, - "MicroBlockTxnRootHash": "165049b84c5f4499ce781aab63cba06aa31ed4e1b556f0aac643f01eb5814da4" - }, - { - "MicroBlockHash": "7111f32a526a381ecb3492e21a382f2dc5ad10c346340aaae3addd1a349cc559", - "MicroBlockShardId": 1, - "MicroBlockTxnRootHash": "640a7019993fcdaec2bfd10b50f5f9faea92920a1a4c0cb931ae56e061f983d9" - }, - { - "MicroBlockHash": "1a914f52aaef51fa3d585c666e56ae55c2dc5e3b8c759c66d1b79b211b783d0e", - "MicroBlockShardId": 2, - "MicroBlockTxnRootHash": "aea9eafc983f75947ef63d0aedd14c0c138025cbbaa5934f3ef327b2116bfd68" - }, - { - "MicroBlockHash": "cf095207f2f3cece2bc21f172022e2e3473c8a9279ba67a4d9bd1e352890f496", - "MicroBlockShardId": 3, - "MicroBlockTxnRootHash": "d97261b9c32ca9d1cfc8431a64523c9e3d26beff7e5265c5d431d5a41b416e49" - } - ] - }, - "header": { - "BlockNum": "1002353", - "DSBlockNum": "10024", - "GasLimit": "650000", - "GasUsed": "25517", - "MbInfoHash": "b2a862649507a9d86b21246b1538aa237c75f65cf7ef9a512e03ba39d0e62933", - "NumMicroBlocks": 4, - "NumPages": 5, - "NumTxns": 10022, - "PrevBlockHash": "18426f28438c500dd8b424f7923844290f4f082d43e84262ce629eebce68b82c", - "Rewards": "0", - "StateDeltaHash": "9e2c6b2b542219e421792892e8d42923f30fd3e4d4c55369feb89e3979b5a3a7", - "StateRootHash": "57710511d91f7ec765c264babd53d6b607b320167029cc88c477fafd78c14632", - "Timestamp": "1612477810820092", - "TxnFees": "51138500000000", - "Version": 1 - } - } -} -``` - -### Example Request-2 - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTxBlockVerbose", - "params": ["1002353"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response-2 - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "B1": [ - false, - false, - false - // Output truncated - ], - "B2": [ - false, - false - // Output truncated - ], - "CS1": "FBA696961142862169D03EED67DD302EAB91333CBC4EEFE7EDB230515DA31DC1B9746EEEE5E7C105685E22C483B1021867B3775D30215CA66D5D81543E9FE8B5", - "PrevDSHash": "585373fb2c607b324afbe8f592e43b40d0091bbcef56c158e0879ced69648c8e", - "header": { - "BlockNum": "9000", - "CommitteeHash": "da38b3b21b26b71835bb1545246a0a248f97003de302ae20d70aeaf854403029", - "Difficulty": 95, - "DifficultyDS": 156, - "EpochNum": "899900", - "GasPrice": "2000000000", - "MembersEjected": [ - "0x02572A2FCD59F8115297B399F76D7ACCFDA7E82AC53702063C3A61FB4D85E0D0C1", - "0x029933F07FF634654C2ECB17A90EAD00CF9EE9F75395E206660CCEFB21874ECEA1", - "0x02AAD92E5A3C9D8ECB364225719478B51026DD5C786BF7312C5C9765353BC4C98B" - ], - "PoWWinners": [ - "0x0207184EB580333132787B360CA6D93290000C9F71E0B6A02C4412E7148FB1AF81", - "0x0285B572471A9D3BA729719ED2EEE86395D3B8F243572E9099A5E8B750F46092A7", - "0x02C1D8C0C7884E65A22FFD76DF9ACC2EA3551133E4ADD59C2DF74F327E09F709FF", - "0x02D728E77C8DA14E900BA8A2014A0D4B5512C6BABCCB77B83F21381437E0038F44", - "0x0321B0E1A20F02C99394DD24B34AB4E79AE6CBF0C689C222F246431A764D6B59DB", - "0x038A724504899CCCA068BD165AE15CE2947667225C72912039CEE4EF3992334843", - "0x03AB477A7A895DD4E84F240A2F1FCF5F86B1A3D59B6AD3065C18CD69729D089959", - "0x03B29C7F3F85329B0621914AB0367BA78135889FB8E4F937DDB7DAA8123AD4DF3C", - "0x03E82B00B53ECC10073404E844841C519152E500A655EEF1D8EAD6612ABDF5B552" - ], - "PoWWinnersIP": [ - { - "IP": "34.212.122.139", - "port": 33133 - }, - { - "IP": "34.214.85.15", - "port": 33133 - }, - { - "IP": "54.148.246.51", - "port": 33133 - }, - { - "IP": "54.218.112.25", - "port": 33133 - }, - { - "IP": "54.184.108.224", - "port": 33133 - }, - { - "IP": "34.211.53.138", - "port": 33133 - }, - { - "IP": "44.234.38.187", - "port": 33133 - }, - { - "IP": "44.234.126.143", - "port": 33133 - }, - { - "IP": "34.223.254.106", - "port": 33133 - } - ], - "PrevHash": "585373fb2c607b324afbe8f592e43b40d0091bbcef56c158e0879ced69648c8e", - "ReservedField": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "SWInfo": { - "Scilla": [0, 0, 0, "0", 0], - "Zilliqa": [0, 0, 0, "0", 0] - }, - "ShardingHash": "3216a33bfd4801e1907e72c7d529cef99c38d57cd281d0e9d726639fd9882d25", - "Timestamp": "1606443830834512", - "Version": 2 - }, - "signature": "7EE023C56602A17F2C8ABA2BEF290386D7C2CE1ABD8E3621573802FA67B243DE60B3EBEE5C4CCFDB697C80127B99CB384DAFEB44F70CD7569F2816DB950877BB" - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | --------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTxBlock"` or `"GetTxBlockVerbose"` | -| `params` | string | Required | Specified TX block number to return. Example: `"1002353"` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-get-tx-rate.md b/zq2/docs/api/zilliqa/api-blockchain-get-tx-rate.md deleted file mode 100644 index ddff708..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-get-tx-rate.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-blockchain-get-tx-rate -title: GetTransactionRate ---- - ---- - -Returns the current Transaction rate per second **(TPS)** of the network. This is represented as an `Number`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTransactionRate", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const transactionRate = await zilliqa.blockchain.getTransactionRate(); - console.log(transactionRate.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep transactionRate = client.getTransactionRate(); - System.out.println(new Gson().toJson(transactionRate)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetTransactionRate()) - ``` - -=== "Go" - - ```go - func GetTransactionRate() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetTransactionRate() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": 9.169180550334216 -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTransactionRate"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-blockchain-tx-block-listing.md b/zq2/docs/api/zilliqa/api-blockchain-tx-block-listing.md deleted file mode 100644 index caf0d21..0000000 --- a/zq2/docs/api/zilliqa/api-blockchain-tx-block-listing.md +++ /dev/null @@ -1,131 +0,0 @@ ---- -id: api-blockchain-tx-block-listing -title: TxBlockListing ---- - ---- - -Returns a paginated list of up to **10** Transaction blocks and their block hashes for a specified page. The `maxPages` variable that specifies the maximum number of pages available is also returned. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "TxBlockListing", - "params": [1] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const txBlockListing = await zilliqa.blockchain.getTxBlockListing(1); - console.log(txBlockListing.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com/"); - Rep blockListing = client.getTxBlockListing(1); - System.out.println(new Gson().toJson(blockListing)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetTxBlockListing(1)) - ``` - -=== "Go" - - ```go - func TxBlockListing() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.TxBlockListing(1) - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "data": [ - { - "BlockNum": 589790, - "Hash": "E0743F8E0CAEFB4DD6B15D9A5B71975CD1CFFC453EC57F85541E224A9C60B4E8" - }, - { - "BlockNum": 589789, - "Hash": "01a61cc22ab5ae1d77cd6da65385771dca408fbea90688c845bdd2ffe1797bb7" - }, - { - "BlockNum": 589788, - "Hash": "be825dd949caf36d6a20372fdc88b1912dc1515d1ecf8624e6cd928b33c9a705" - }, - { - "BlockNum": 589787, - "Hash": "4d097b9e283dd2bfeb78f2bb6ef9fe960b45b96e027f999316cea4c3d8f70ea9" - }, - { - "BlockNum": 589786, - "Hash": "1714472999972237b887db32cc6e27c44dc4ceecdc310ae3b18f44673e860d87" - }, - { - "BlockNum": 589785, - "Hash": "a40cb278801b22609245e240c1386894829d36ec2c081cf33d6b0f11cb6d6c70" - }, - { - "BlockNum": 589784, - "Hash": "e6a66682866dec2b44124b0daa419696cca396bc04ab2d342a65b43db5cbd24e" - }, - { - "BlockNum": 589783, - "Hash": "a7be65da85167c2cd0b044698a3e7dc74e2478b367f87d85536d4c108d9fde96" - }, - { - "BlockNum": 589782, - "Hash": "060b06d40fcca1cedb9099031e1cb37927700bc263f14a3b05481f1f9b211b7c" - }, - { - "BlockNum": 589781, - "Hash": "db190feb1f2099875ca2dc9734efbeb5b1cef676f85d7fa9a4b84d64a9e463b6" - } - ], - "maxPages": 58980 - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"TxBlockListing"` | -| `params` | number | Required | Specifed page of TX blocks listing to return. Example: `1` | diff --git a/zq2/docs/api/zilliqa/api-contract-get-contractaddress-from-txid.md b/zq2/docs/api/zilliqa/api-contract-get-contractaddress-from-txid.md deleted file mode 100644 index b98c50c..0000000 --- a/zq2/docs/api/zilliqa/api-contract-get-contractaddress-from-txid.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -id: api-contract-get-contractaddress-from-txid -title: GetContractAddressFromTransactionID ---- - ---- - -Returns a smart contract address of 20 bytes. This is represented as a `String`. - -**NOTE:** This only works for contract deployment transactions. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetContractAddressFromTransactionID", - "params": ["AAF3089596437A7C6984FA2627B6F38B5F5B80FAEAAC6993C2E82C6A8EE2615E"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const contractAddress = - await zilliqa.blockchain.getContractAddressFromTransactionID( - "AAF3089596437A7C6984FA2627B6F38B5F5B80FAEAAC6993C2E82C6A8EE2615E" - ); - console.log(contractAddress.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep contractAddress = client.getContractAddressFromTransactionID("AAF3089596437A7C6984FA2627B6F38B5F5B80FAEAAC6993C2E82C6A8EE2615E"); - System.out.println(new Gson().toJson(contractAddress)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetContractAddressFromTransactionID( - "AAF3089596437A7C6984FA2627B6F38B5F5B80FAEAAC6993C2E82C6A8EE2615E" - )) - ``` - -=== "Go" - - ```go - func GetContractAddressFromTransactionID() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetContractAddressFromTransactionID("AAF3089596437A7C6984FA2627B6F38B5F5B80FAEAAC6993C2E82C6A8EE2615E") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "c458f39c106582c1a49bac6bc76ec603e2ae0497" -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetSmartContracts"` | -| `params` | string | Required | A Transaction ID of 32 bytes.
Example: `"AAF3089596437A7C6984FA2627B6F38B5F5B80FAEAAC6993C2E82C6A8EE2615E"` | diff --git a/zq2/docs/api/zilliqa/api-contract-get-smartcontract-code.md b/zq2/docs/api/zilliqa/api-contract-get-smartcontract-code.md deleted file mode 100644 index d181796..0000000 --- a/zq2/docs/api/zilliqa/api-contract-get-smartcontract-code.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -id: api-contract-get-smartcontract-code -title: GetSmartContractCode ---- - ---- - -Returns the Scilla code associated with a smart contract address. This is represented as a `String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetSmartContractCode", - "params": ["fe001824823b12b58708bf24edd94d8b5e1cfcf7"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const smartContractCode = await zilliqa.blockchain.getSmartContractCode( - "fe001824823b12b58708bf24edd94d8b5e1cfcf7" - ); - console.log(smartContractCode.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep smartContractCode = client.getSmartContractCode("fe001824823b12b58708bf24edd94d8b5e1cfcf7"); - System.out.println(new Gson().toJson(smartContractCode)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetSmartContractCode("fe001824823b12b58708bf24edd94d8b5e1cfcf7")) - ``` - -=== "Go" - - ```go - func GetSmartContractCode() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetSmartContractCode("fe001824823b12b58708bf24edd94d8b5e1cfcf7") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "code": "scilla_version 0\n\n (* HelloWorld contract *)\n \n import ListUtils\n \n (***************************************************)\n (* Associated library *)\n (***************************************************)\n library HelloWorld\n \n let one_msg = \n fun (msg : Message) => \n let nil_msg = Nil {Message} in\n Cons {Message} msg nil_msg\n \n let not_owner_code = Int32 1\n let set_hello_code = Int32 2\n \n (***************************************************)\n (* The contract definition *)\n (***************************************************)\n \n contract HelloWorld\n (owner: ByStr20)\n \n field welcome_msg : `String` = \"\"\n \n transition setHello (msg : `String`)\n is_owner = builtin eq owner _sender;\n match is_owner with\n | False =>\n msg = {_tag : \"Main\"; _recipient : _sender; _amount : Uint128 0; code : not_owner_code};\n msgs = one_msg msg;\n send msgs\n | True =>\n welcome_msg := msg;\n msg = {_tag : \"Main\"; _recipient : _sender; _amount : Uint128 0; code : set_hello_code};\n msgs = one_msg msg;\n send msgs\n end\n end\n \n \n transition getHello ()\n r <- welcome_msg;\n e = {_eventname: \"getHello()\"; msg: r};\n event e\n end" - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetSmartContractCode"` | -| `params` | string | Required | A smart contract address of 20 bytes.
Example: `"fe001824823b12b58708bf24edd94d8b5e1cfcf7"`

Also supports Bech32 address
Example: `"zil1lcqpsfyz8vfttpcghujwmk2d3d0pel8h3qptyu"` | diff --git a/zq2/docs/api/zilliqa/api-contract-get-smartcontract-init.md b/zq2/docs/api/zilliqa/api-contract-get-smartcontract-init.md deleted file mode 100644 index fa4e329..0000000 --- a/zq2/docs/api/zilliqa/api-contract-get-smartcontract-init.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -id: api-contract-get-smartcontract-init -title: GetSmartContractInit ---- - ---- - -Returns the initialization (immutable) parameters of a given smart contract, represented in a JSON format. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetSmartContractInit", - "params": ["fe001824823b12b58708bf24edd94d8b5e1cfcf7"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const smartContractInit = await zilliqa.blockchain.getSmartContractInit( - "fe001824823b12b58708bf24edd94d8b5e1cfcf7" - ); - console.log(smartContractInit.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep> smartContractInit = client.getSmartContractInit("fe001824823b12b58708bf24edd94d8b5e1cfcf7"); - System.out.println(new Gson().toJson(smartContractInit)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetSmartContractInit("fe001824823b12b58708bf24edd94d8b5e1cfcf7")) - ``` - -=== "Go" - - ```go - func GetSmartContractInit() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetSmartContractInit("fe001824823b12b58708bf24edd94d8b5e1cfcf7") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": [ - { - "type": "Uint32", - "value": "0", - "vname": "_scilla_version" - }, - { - "type": "ByStr20", - "value": "0x67a08f4aefbe1798970be37dc3d0c7954be349de", - "vname": "owner" - }, - { - "type": "BNum", - "value": "140", - "vname": "_creation_block" - }, - { - "type": "ByStr20", - "value": "0x65fc5463805e3d7c753392e8a1e721aebda8d27f", - "vname": "_this_address" - } - ] -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetSmartContractInit"` | -| `params` | string | Required | A smart contract address of 20 bytes.
Example: `"fe001824823b12b58708bf24edd94d8b5e1cfcf7"`

Also supports Bech32 address
Example: `"zil1lcqpsfyz8vfttpcghujwmk2d3d0pel8h3qptyu"` | diff --git a/zq2/docs/api/zilliqa/api-contract-get-smartcontract-state.md b/zq2/docs/api/zilliqa/api-contract-get-smartcontract-state.md deleted file mode 100644 index a93554a..0000000 --- a/zq2/docs/api/zilliqa/api-contract-get-smartcontract-state.md +++ /dev/null @@ -1,86 +0,0 @@ ---- -id: api-contract-get-smartcontract-state -title: GetSmartContractState ---- - ---- - -Returns the state (mutable) variables of a smart contract address, represented -in a JSON format. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetSmartContractState", - "params": ["fe001824823b12b58708bf24edd94d8b5e1cfcf7"] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const smartContractState = await zilliqa.blockchain.getSmartContractState( - "fe001824823b12b58708bf24edd94d8b5e1cfcf7" - ); - console.log(smartContractState.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zq2-devnet.zilliqa.com"); - String smartContractState = client.getSmartContractState("fe001824823b12b58708bf24edd94d8b5e1cfcf7"); - System.out.println(smartContractState); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetSmartContractState("fe001824823b12b58708bf24edd94d8b5e1cfcf7")) - ``` - -=== "Go" - - ```go - func GetSmartContractState() { - provider := NewProvider("https://api.zq2-devnet.zilliqa.com/") - response := provider.GetSmartContractState("fe001824823b12b58708bf24edd94d8b5e1cfcf7") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "_balance": "0", - "admins": { - "0xdfa89866ae86632b36361d53b76c1373448c28fa": { - "argtypes": [], - "arguments": [], - "constructor": "True" - } - } -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetSmartContractState"` | -| `params` | string | Required | A smart contract address of 20 bytes. Example: `"fe001824823b12b58708bf24edd94d8b5e1cfcf7"`

Also supports Bech32 address
Example: `"zil1lcqpsfyz8vfttpcghujwmk2d3d0pel8h3qptyu"` | diff --git a/zq2/docs/api/zilliqa/api-contract-get-smartcontract-substate.md b/zq2/docs/api/zilliqa/api-contract-get-smartcontract-substate.md deleted file mode 100644 index 993b61a..0000000 --- a/zq2/docs/api/zilliqa/api-contract-get-smartcontract-substate.md +++ /dev/null @@ -1,115 +0,0 @@ ---- -id: api-contract-get-smartcontract-substate -title: GetSmartContractSubState ---- - ---- - -Returns the state (or a part specified) of a smart contract address, represented -in a JSON format. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetSmartContractSubState", - "params": ["fe001824823b12b58708bf24edd94d8b5e1cfcf7","admins",[]] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const smartContractState = await zilliqa.blockchain.getSmartContractSubState( - "fe001824823b12b58708bf24edd94d8b5e1cfcf7" - ); - console.log(smartContractState.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - List param = new ArrayList<>(); - param.add("9611c53BE6d1b32058b2747bdeCECed7e1216793"); - param.add("admins"); - param.add(new ArrayList<>()); - String state = client.getSmartContractSubState(param); - System.out.println(state); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetSmartContractSubState("fe001824823b12b58708bf24edd94d8b5e1cfcf7","admins",[])) - ``` - -=== "Go" - - ```go - func GetSmartContractSubState() { - provider := NewProvider("https://zilliqa.com") - response, _ := provider.GetSmartContractSubState("9611c53BE6d1b32058b2747bdeCECed7e1216793", "admins", []interface{}{}) - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "admins": { - "0xdfa89866ae86632b36361d53b76c1373448c28fa": { - "argtypes": [], - "arguments": [], - "constructor": "True" - } - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetSmartContractSubState"` | -| `params` | array | Required | State params | - -### State Params - -| Parameter | Type | Required | Description | -| --------------- | ---------- | ------------ | --------------------------------------------------------------------- | -| `Address` | string | Required | A smart contract address of 20 bytes. | -| `Variable Name` | string | Can be empty | Name of the variable in the Smart Contract | -| `Indices` | JSON Array | Can be empty | If the variable is of map type, you can specify an index (or indices) | - -The `params` is a JSON array. - -Example: -`"params"`:`["fe001824823b12b58708bf24edd94d8b5e1cfcf7","admins",[\"0x9bfec715a6bd658fcb62b0f8cc9bfa2ade71434a\""]]` - -!!! note - - If Variable Name and Indices Array are both empty, the response would be same as `GetSmartContractState_` diff --git a/zq2/docs/api/zilliqa/api-contract-get-smartcontracts.md b/zq2/docs/api/zilliqa/api-contract-get-smartcontracts.md deleted file mode 100644 index f0adb40..0000000 --- a/zq2/docs/api/zilliqa/api-contract-get-smartcontracts.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -id: api-contract-get-smartcontracts -title: GetSmartContracts ---- - ---- - -Returns the list of smart contract addresses created by an User's account. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetSmartContracts", - "params": ["1eefc4f453539e5ee732b49eb4792b268c2f3908"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const smartContracts = await zilliqa.blockchain.getSmartContracts( - "1eefc4f453539e5ee732b49eb4792b268c2f3908" - ); - console.log(smartContracts.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep> smartContracts = client.getSmartContracts("fe001824823b12b58708bf24edd94d8b5e1cfcf7"); - System.out.println(new Gson().toJson(smartContracts)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetSmartContracts("fe001824823b12b58708bf24edd94d8b5e1cfcf7")) - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": [ - { - "address": "6b3070b0abf4371b2b3b26e23f11f4c073b636e5" - }, - { - "address": "13cf0f8c1ea003779df0b7fa08a97903bc760e80" - } - ] -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetSmartContracts"` | -| `params` | string | Required | An User's account address of 20 bytes.
Example: `"1eefc4f453539e5ee732b49eb4792b268c2f3908"`

Also supports Bech32 address
Example: `"zil1rmhufazn2w09aeejkj0tg7fty6xz7wggup2tsh"` | diff --git a/zq2/docs/api/zilliqa/api-contract-get-state-proof.md b/zq2/docs/api/zilliqa/api-contract-get-state-proof.md deleted file mode 100644 index 5d6bf6c..0000000 --- a/zq2/docs/api/zilliqa/api-contract-get-state-proof.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -id: api-contract-get-state-proof -title: GetStateProof ---- - ---- - -Returns the state proof for the corresponding TxBlock for a smart contract. Please note that this API only serve state proof for the last 50 TxBlock. - -This API is available from Zilliqa `V8.1.0` onwards. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetStateProof", - "params": ["6d84363526a2d764835f8cf52dfeefe80a360fac","A0BD91DE66D97E6930118179BA4F1836C366C4CB3309A6B354D26F52ABB2AAC6","39"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const stateProof = await zilliqa.blockchain.getSmartContractSubState( - "fe001824823b12b58708bf24edd94d8b5e1cfcf7" - ); - console.log(stateProof.result); - ``` - -=== "Go" - - ```go - func GetStateProof() { - provider := NewProvider("https://dev-api.zilliqa.com") - response, _ := provider.GetStateProof("6d84363526a2d764835f8cf52dfeefe80a360fac", "A0BD91DE66D97E6930118179BA4F1836C366C4CB3309A6B354D26F52ABB2AAC6","39") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "accountProof": [ - "F851808080A0C7083D05AC726A32DC3313B5CA7526449EFCADAB51179A47B60901C63B108E908080A0BC76B4E969C8214F2DF641D3F387AA35CDBF17EEB54D23F5F01B4E688AB2A21980808080808080808080", - "F871808080A0D5FE2E3CEA6C64AD708DFAD93B79FC9894C5A5AE59372D3C3872C1C8143CD749A087B1E084016657B3F8D32B429AE8055A63F12811DDFDC3AA8E863F25A03781F4A0AEDA08F7295A9E63544F9EAE728EBF98D571A07757E4BD95C91749CE9CC40B858080808080808080808080", - "F887A820376538396338303535623466306165633037376235396535646461326662346331346638313466B85C080112120A10000000000000000000000000000000001800222045EEB1C2D2462F819E2CA893329EEB25FA29199160C28C8DDF30A10E04CCF05D2A20DDD90D4C45815116C8F23802FC3E5ED0B6D8B6A2A25EAF63680A406A33094A85" - ], - "stateProof": [ - "E213A01CE797360949BDEBE357D68D54CD592D300084732CEE4F93A4ED41BDDBACD016", - "E216A042A6C50E3845BDB58866500B65D1721DD45AC4E8BE0A4FEE6AEB4E0140D9E4E3", - "F841B83E203533393936303466316439303130376230396232393832326630643534636638633038656532623931663165353062316435363336643331393062376532", - "F851808080A04569AAF476CCD06BA5F31049E02C00C6FD1B6AF44C90F9EF139F6DA919B0D1FA8080A0F27A4D7A3733D624A18316E4F9D1785349462FE39EA3842A62CDF2B4D7A29B8880808080808080808080", - "F8518080A0CA36C33D7030330EA93A73F03A8E8B05F3661C268D79184168BA5D93B0F91009808080A053C216D9015F58FF44AC4984F2482A4B06E27B7284680D9DF0BDF5494F0048EF80808080808080808080", - "F85180A0F61D98347C0929D0A2F9354110BB4FD2F0DE083AE1B1D8AEDAA961FA5D7803108080A0F637E8D9A259DF234DB75FF9983B10D57C8B0B8015D07003F0EB6C86732465DF808080808080808080808080", - "F90111A098D43DC741B140DDAC365E4AF6C49E4C4E9C30D2B589C85490527ADB5407682880A0B8E67BDA2445251B34AE4E78D06E60CE7C5394127B0D847E79A618F53B4064DCA0278A99201A4DB0533B1DD2AF5674B4F7A4242B95675E3014AEAB6792B102B96FA0BEE54BAD23D8DCC3C04FEF75278186234CD3AEB04A0ED5873B36E18B30DFD882A01B2ACF79D7F6064E6A1EBE1084EC8A934EAE06DCEDA8FE58AC709A0821B1251D80A0D2745A95263E0BAEDEDBDD60E3ADBEB9010DA902701263792193B27B1C06EDE9A08578DA8C3BD2970F97D569AD389222809409B7960783033BF2D5614162EA3D66A07D115995BCF7A4E9920F0A34A5BE6F0A43A21A734A5E7C421F76B5F5BFF6128380808080808080" - ] -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetStateProof"` | -| `params` | array | Required | `"Proof Parameters"` | - -### Proof Parameters - -| Parameter | Type | Required | Description | -| --------------- | ------ | -------- | --------------------------------------------------------------- | -| `Address` | string | Required | A smart contract address of 20 bytes. | -| `Variable Hash` | string | Required | SHA256 hash of the state variable | -| `TxBlock` | string | Required | Can be a valid number or `latest` if looking for latest TxBlock | diff --git a/zq2/docs/api/zilliqa/api-transaction-create-tx.md b/zq2/docs/api/zilliqa/api-transaction-create-tx.md deleted file mode 100644 index 6e865f7..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-create-tx.md +++ /dev/null @@ -1,184 +0,0 @@ ---- -id: api-transaction-create-tx -title: CreateTransaction ---- - ---- - -Create a new Transaction object and send it to the network to be processed.
See [Quick Start](https://github.com/Zilliqa/zilliqa-js#quick-start) in Javascript-SDK for an example of how to construct a Transaction object. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "CreateTransaction", - "params": [{ - "version": 65537, - "nonce": 1, - "toAddr": "0x4BAF5faDA8e5Db92C3d3242618c5B47133AE003C", - "amount": "1000000000000", - "pubKey": "0205273e54f262f8717a687250591dcfb5755b8ce4e3bd340c7abefd0de1276574", - "gasPrice": "2000000000", - "gasLimit": "50", - "code": "", - "data": "", - "signature": "29ad673848dcd7f5168f205f7a9fcd1e8109408e6c4d7d03e4e869317b9067e636b216a32314dd37176c35d51f9d4c24e0e519ba80e66206457c83c9029a490d", - "priority": false - }] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - let tx = zilliqa.transactions.new({ - version: 65537, - toAddr: "0x4BAF5faDA8e5Db92C3d3242618c5B47133AE003C", - amount: units.toQa("1", units.Units.Zil), - gasPrice: units.toQa("2000", units.Units.Li), - gasLimit: Long.fromNumber(50), - }); - - // Send a transaction to the network - tx = await zilliqa.blockchain.createTransaction(tx); - console.log(tx.id); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - Wallet wallet = new Wallet(); - wallet.setProvider(new HttpProvider("https://api.zq2-devnet.zilliqa.com")); - wallet.addByPrivateKey("e19d05c5452598e24caad4a0d85a49146f7be089515c905ae6a19e8a578a6930"); - Transaction transaction = Transaction.builder() - .version(String.valueOf(pack(1, 8))) - .toAddr("4baf5fada8e5db92c3d3242618c5b47133ae003c".toLowerCase()) - .senderPubKey("0246e7178dc8253201101e18fd6f6eb9972451d121fc57aa2a06dd5c111e58dc6a") - .amount("1000000000000") - .gasPrice("2000000000") - .gasLimit("50") - .code("") - .data("") - .provider(new HttpProvider("https://api.zq2-devnet.zilliqa.com")) - .build(); - transaction = wallet.sign(transaction); - - // Send a transaction to the network - HttpProvider.CreateTxResult result = TransactionFactory.createTransaction(transaction); - System.out.println(result); - } - } - ``` - -=== "Python" - - ```python - from pyzil.account import Account - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - - account = Account(private_key="0xe19d05c5452598e24caad4a0d85a49146f7be089515c905ae6a19e8a578a6930") - - payload = { - "to_addr": "0x4BAF5faDA8e5Db92C3d3242618c5B47133AE003C", - "amount": "1000000000000", - "nonce": account.get_nonce() + 1, - "gas_price": "2000000000", - "gas_limit": 50, - "code": "", - "data": "", - "priority": False, - } - - params = chain.active_chain.build_transaction_params(account.zil_key, **payload) - txn_info = chain.active_chain.api.CreateTransaction(params) - print(txn_info) - ``` - -=== "Go" - - ```go - func SendTransaction() { - wallet := NewWallet() - wallet.AddByPrivateKey("e19d05c5452598e24caad4a0d85a49146f7be089515c905ae6a19e8a578a6930") - provider := provider2.NewProvider("https://api.zq2-devnet.zilliqa.com/") - - tx := &transaction.Transaction{ - Version: strconv.FormatInt(int64(util.Pack(1, 1)), 10), - SenderPubKey: "0246E7178DC8253201101E18FD6F6EB9972451D121FC57AA2A06DD5C111E58DC6A", - ToAddr: "4BAF5faDA8e5Db92C3d3242618c5B47133AE003C", - Amount: "10000000", - GasPrice: "2000000000", - GasLimit: "50", - Code: "", - Data: "", - Priority: false, - } - - err := wallet.Sign(tx, *provider) - if err != nil { - fmt.Println(err) - } - - rsp := provider.CreateTransaction(tx.ToTransactionPayload()) - - if rsp.Error != nil { - fmt.Println(rsp.Error) - } else { - result := rsp.Result.(map[string]interface{}) - hash := result["TranID"].(string) - fmt.Printf("hash is %s\n", hash) - tx.Confirm(hash, 1000, 3, provider) - } - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "Info": "Non-contract txn, sent to shard", - /* - Other possible Info: - Contract Creation txn, sent to shard - Contract Txn, Shards Match of the sender and reciever - Contract Txn, Sent To Ds - */ - "TranID": "2d1eea871d8845472e98dbe9b7a7d788fbcce226f52e4216612592167b89042c" - } -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"CreateTransaction"` | -| `params` | N/A | Required | See table below for the Transaction parameters required: | - -### Transaction Parameters - -| Parameter | Type | Required | Description | -| ----------- | ------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `version` | number | Required | The decimal conversion of the bitwise concatenation of `CHAIN_ID` and `MSG_VERSION` parameters.

**-** For mainnet, it is `65537`.
**-** For Developer testnet, it is `21823489`. | -| `nonce` | number | Required | A transaction counter in each account. This prevents replay attacks where a transaction sending eg. 20 coins from A to B can be replayed by B over and over to continually drain A's balance.

It's value should be `Current account nonce + 1`. | -| `toAddr` | string | Required | Recipient's account address. This is represented as a `String`.

**NOTE:** This address has to be checksummed for every 6th bit, but the "0x" prefix is optional.

For deploying new contracts, set this to `"0000000000000000000000000000000000000000"`. | -| `amount` | string | Required | Transaction amount to be sent to the recipent's address. This is measured in the smallest price unit **Qa** (or 10^-12 **Zil**) in Zilliqa. | -| `pubKey` | string | Required | Sender's public key of 33 bytes. | -| `gasPrice` | string | Required | An amount that a sender is willing to pay per unit of gas for processing this transaction. This is measured in the smallest price unit **Qa** (or 10^-12 **Zil**) in Zilliqa. | -| `gasLimit` | string | Required | The amount of gas units that is needed to be process this transaction.

**-** For **regular transaction**, please use `"50"`.
**-** For **smart contract transaction**, please consult the [gas documentation](https://github.com/Zilliqa/scilla-docs/blob/master/docs/texsources/gas-costs/gas-doc.pdf). | -| `code` | string | Optional | The smart contract source code. This is present only when deploying a new contract. | -| `data` | string | Optional | `String`-ified JSON object specifying the transition parameters to be passed to a specified smart contract.

- When creating a contract, this JSON object contains the **init** parameters.
- When calling a contract, this JSON object contains the **msg** parameters.

_For more information on the Scilla interpreter, please visit the [documentation](https://scilla.readthedocs.io/en/latest/interface.html)._ | -| `signature` | string | Required | An **EC-Schnorr** signature of 64 bytes of the entire Transaction object as stipulated above. | -| `priority` | boolean | Optional | A flag for this transaction to be processed by the DS committee.

This is only required for [Category III transactions](https://blog.zilliqa.com/provisioning-sharding-for-smart-contracts-a-design-for-zilliqa-cd8d012ee735). | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-minimum-gas-price.md b/zq2/docs/api/zilliqa/api-transaction-get-minimum-gas-price.md deleted file mode 100644 index 7509d9c..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-minimum-gas-price.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -id: api-transaction-get-minimum-gas-price -title: GetMinimumGasPrice ---- - ---- - -Returns the minimum gas price for this DS epoch, measured in the smallest price unit **Qa** (or 10^-12 **Zil**) in Zilliqa. This is represented as a `String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetMinimumGasPrice", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zq2-devnet.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const minimumGasPrice = await zilliqa.blockchain.getMinimumGasPrice(); - console.log(minimumGasPrice.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zq2-devnet.zilliqa.com"); - Rep minimumGasPrice = client.getMinimumGasPrice(); - System.out.println(new Gson().toJson(minimumGasPrice)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetMinimumGasPrice()) - ``` - -=== "Go" - - ```go - func GetMinimumGasPrice() { - provider := NewProvider("https://api.zq2-devnet.zilliqa.com/") - response := provider.GetMinimumGasPrice() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "2000000000" -} -``` - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetMinimumGasPrice"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-num-txns-dsepoch.md b/zq2/docs/api/zilliqa/api-transaction-get-num-txns-dsepoch.md deleted file mode 100644 index 85d9a9c..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-num-txns-dsepoch.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-transaction-get-num-txns-dsepoch -title: GetNumTxnsDSEpoch ---- - ---- - -Returns the number of validated transactions included in this DS epoch. This is represented as a `String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetNumTxnsDSEpoch", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const numTxnsDSEpoch = await zilliqa.blockchain.getNumTxnsDSEpoch(); - console.log(numTxnsDSEpoch.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep numTxnsDSEpoch = client.getNumTxnsDSEpoch(); - System.out.println(new Gson().toJson(numTxnsDSEpoch)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetNumTxnsDSEpoch()) - ``` - -=== "Go" - - ```go - func GetNumTxnsDSEpoch() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetNumTxnsDSEpoch() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "416" -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | --------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetNumTxnsDSEpoch"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-num-txns-txepoch.md b/zq2/docs/api/zilliqa/api-transaction-get-num-txns-txepoch.md deleted file mode 100644 index 03848e5..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-num-txns-txepoch.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -id: api-transaction-get-num-txns-txepoch -title: GetNumTxnsTxEpoch ---- - ---- - -Returns the number of validated transactions included in this Transaction epoch. This is represented as a `String`. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetNumTxnsTxEpoch", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const numTxnsTxEpoch = await zilliqa.blockchain.getNumTxnsTxEpoch(); - console.log(numTxnsTxEpoch.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep numTxnsTxEpoch = client.getNumTxnsTxEpoch(); - System.out.println(new Gson().toJson(numTxnsTxEpoch)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetNumTxnsTxEpoch()) - ``` - -=== "Go" - - ```go - func GetNumTxnsTxEpoch() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetNumTxnsTxEpoch() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": "38" -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | --------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetNumTxnsTxEpoch"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-recent-txs.md b/zq2/docs/api/zilliqa/api-transaction-get-recent-txs.md deleted file mode 100644 index f412b4f..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-recent-txs.md +++ /dev/null @@ -1,111 +0,0 @@ ---- -id: api-transaction-get-recent-txs -title: GetRecentTransactions ---- - ---- - -Returns the most recent **100** transactions that are validated by the Zilliqa network. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetRecentTransactions", - "params": [""] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const recentTransactions = await zilliqa.blockchain.getRecentTransactions(); - console.log(recentTransactions.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep transactionList = client.getRecentTransactions(); - System.out.println(new Gson().toJson(transactionList)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetRecentTransactions()) - ``` - -=== "Go" - - ```go - func GetRecentTransactions() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetRecentTransactions() - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "TxnHashes": [ - "0e73effb72ddf7a164c69b559970f82e0ae846187a9223af7ced2a741c03f347", - "43104643e5f35455b71f3cfcb471ce4a4c8b96e00f8e8b77733075662e5fc905", - "271ac49c852f14fc286409811838840cde3febbeef96eb10cabf1b67fc5cd248", - "c60ba6f3d374362e140edbfc0110304236d22bbac1a2e31fe62350a0305ed72d", - "1b551314c9d0f911607e5fccf1115f858c246a12b505375c4a1df44183cac695", - "36c932b0dc96618021ca778686572b8772a89ffdbbbe672b6df47dfb6dd6daa0", - "c2f9cf7ae47b996c4fa9c137a8bfa905dce07f6a822f9b869159906a879e2e0e", - "016b844b473d3a1296e6898036f8edfb1a722811ac8f476adad9320576764453", - "dbb67c0c77e710e94ce16e91884dedbc127ccec5ec66068471a2da1ff8e4fded", - "eb594f17752029887245acc3e6a534e565f8873778ab6513aba649b23c2a8e44", - "6a6097826d05e5f71bec37bddaa8a40a5e35980b5839f84d3a99078ed6b029e4", - "2ed27839f061e3e7fc0d4c33e7e24c5a706ddf33c805189845cc1101903398a7", - "d517cd27523d6d51e6c7eedb0f8637ba7cdd1b5814b7ab5dfa7ab9e3f2314a38", - "675daa74a79797b4d3c94e27149591b8cba5d97ccaa27a9962d560ef845dc42b", - "6947ea29f71187d12a1968d25a221d62d113f5361ed9ae8378ece85014b77e80", - "27a016dec19d3a126b75cf466f48d57548279ebb031917ed0d6727c473560bb5", - "9532127876bd7761ec1ac40c62e1d23160cb0da42777591195091c8b5fd5367f", - "4e946891a97c2aa6eed67ac7ab4738658db8cef13e7f66f0c2aa1572d7a30b7e", - "962da9dd3b7e394b6ed79fb7b278c13202c34d4f2e167bb7bdd6f5b85ad802ae", - "ace1376174f12adda4dcaa2ed01a48cf9e8c02419bdeab4477cd6d60f7239223" - ], - "number": 100 - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetRecentTransactions"` | -| `params` | string | Required | Empty string `""` | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-soft-confirmed-tx.md b/zq2/docs/api/zilliqa/api-transaction-get-soft-confirmed-tx.md deleted file mode 100644 index b8c2f82..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-soft-confirmed-tx.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -id: api-transaction-get-soft-confirmed-tx -title: GetSoftConfirmedTransaction ---- - ---- - -Returns the details of a specified Transaction. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetSoftConfirmedTransaction", - "params": ["cd8727674bc05e0ede405597a218164e1c13c7103b9d0ba43586785f3d8cede5"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "ID": "cd8727674bc05e0ede405597a218164e1c13c7103b9d0ba43586785f3d8cede5", - "amount": "24999000000000", - "gasLimit": "1", - "gasPrice": "1000000000", - "nonce": "1", - "receipt": { - "cumulative_gas": "1", - "epoch_num": "589763", - "success": true - }, - "signature": "0x593454623A6CE0FEA287E42583445B140F696F79CA508762B8AB44F202686CFA115A2AC36C31E643C9EB0D46A4E6CA8C4EEFD78D7E9A25220DC512C13C9600F0", - "toAddr": "9148616bfdfab321bdd626682a8c446e193eabb2", - "version": "65537" - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetSoftConfirmedTransaction"` | -| `params` | string | Required | Transaction hash of 32 bytes of a specified transaction. | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-transaction-status.md b/zq2/docs/api/zilliqa/api-transaction-get-transaction-status.md deleted file mode 100644 index 48cf275..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-transaction-status.md +++ /dev/null @@ -1,121 +0,0 @@ ---- -id: api-transaction-get-transaction-status -title: GetTransactionStatus ---- - ---- - -Returns the status of a specified transaction. This API is available from Zilliqa `V7.0.0` onwards and supports all transaction statuses (unconfirmed, confirmed, and rejected). - -!!! note - - The `GetTransactionStatus` API relies on an off-chain transaction tracking solution, which may be periodically cleaned. We recommend to still primarily use `GetTransaction` for older (e.g., several days old) transactions, and only use `GetTransactionStatus` mainly for tracking the progress of ongoing transactions. - -!!! note - - The `GetTransactionStatus` API is available only on[https://api.zilliqa.com/](https://api.zilliqa.com/) It is disabled for community-hosted or private-hosted seed nodes. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTransactionStatus", - "params": ["1bb178b023f816e950d862f6505cd79a32bb97e71fd78441cbc3486940a2e1b7"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "ID": "1bb178b023f816e950d862f6505cd79a32bb97e71fd78441cbc3486940a2e1b7", - "_id": { - "$oid": "5fd053b0d127fe45cc5eea24" - }, - "amount": "0", - "data": "{\"_tag\":\"AddAccount\",\"params\":[{\"vname\":\"address\",\"type\":\"ByStr20\",\"value\":\"0x0434cdcf27e2294b3539cb6ffe2cc328d7f9757e\"},{\"vname\":\"datetime_added\",\"type\":\"String\",\"value\":\"1607488428\"}]}", - "epochInserted": "2152402", - "epochUpdated": "2152405", - "gasLimit": "30000", - "gasPrice": "2000000000", - "lastModified": "1607488477842011", - "modificationState": 2, - "nonce": "131", - "senderAddr": "b8fe5ab2e66c71274216688cf852e6d9f10b94e7", - "signature": "0xBAA6964C66AE0608C6CEFBAAB69138E9358A1604C647DFFEF94E7022F2AB33D67F70802F71E934A0690BE4BA81CC3866B2FB668B29C528E6B77B1285533A2E2C", - "status": 3, - "success": true, - "toAddr": "db4955ba4b1a957200ee0a36cf5f84eb4d7447e5", - "version": "21823489" - } -} -``` - -### Response Fields - -| Field | Description | -| ------------------- | ----------------------------------------------- | -| `_id` | Object ID (internal database field) | -| `epochInserted` | Tx epoch when this transaction was first logged | -| `epochUpdated` | Tx epoch when this transaction was last updated | -| `lastModified` | Timestamp for this transaction's last update | -| `modificationState` | See next table below | -| `status` | See next table below | -| Other fields | Transaction-related fields | - -### Status Codes - -| `modificationState` | `status` | Description | -| ------------------- | -------- | ----------------------------------------------------------------------- | -| 0 | 1 | Pending - Dispatched | -| 1 | 2 | Pending - Soft-confirmed (awaiting Tx block generation) | -| 1 | 4 | Pending - Nonce is higher than expected | -| 1 | 5 | Pending - Microblock gas limit exceeded | -| 1 | 6 | Pending - Consensus failure in network | -| 2 | 3 | Confirmed | -| 2 | 10 | Rejected - Transaction caused math error | -| 2 | 11 | Rejected - Scilla invocation error | -| 2 | 12 | Rejected - Contract account initialization error | -| 2 | 13 | Rejected - Invalid source account | -| 2 | 14 | Rejected - Gas limit higher than shard gas limit | -| 2 | 15 | Rejected - Unknown transaction type | -| 2 | 16 | Rejected - Transaction sent to wrong shard | -| 2 | 17 | Rejected - Contract & source account cross-shard issue | -| 2 | 18 | Rejected - Code size exceeded limit | -| 2 | 19 | Rejected - Transaction verification failed | -| 2 | 20 | Rejected - Gas limit too low | -| 2 | 21 | Rejected - Insufficient balance | -| 2 | 22 | Rejected - Insufficient gas to invoke Scilla checker | -| 2 | 23 | Rejected - Duplicate transaction exists | -| 2 | 24 | Rejected - Transaction with same nonce but same/higher gas price exists | -| 2 | 25 | Rejected - Invalid destination address | -| 2 | 26 | Rejected - Failed to add contract account to state | -| 2 | 27 | Rejected - Nonce is lower than expected | -| 2 | 255 | Rejected - Internal error | - -!!! warning - - The transaction pool is cleared by design **at the start of a new DS epoch**. Any transaction left in "Pending" state (e.g., "Pending - Dispatched", "Pending - Nonce is higher than expected", ...) after a new DS epoch has started will have most likely been dropped and will no longer be processed further at that point. - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | ------------------------------------------------------------ | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTransactionStatus"` | -| `params` | string | Required | Transaction hash of 32 bytes of a specified transaction. | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-tx.md b/zq2/docs/api/zilliqa/api-transaction-get-tx.md deleted file mode 100644 index 1fa72d2..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-tx.md +++ /dev/null @@ -1,211 +0,0 @@ ---- -id: api-transaction-get-tx -title: GetTransaction ---- - ---- - -Returns the details of a specified Transaction. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTransaction", - "params": ["cd8727674bc05e0ede405597a218164e1c13c7103b9d0ba43586785f3d8cede5"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const txn = await zilliqa.blockchain.getTransaction( - "cd8727674bc05e0ede405597a218164e1c13c7103b9d0ba43586785f3d8cede5" - ); - console.log(txn.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep transaction = client.getTransaction("cd8727674bc05e0ede405597a218164e1c13c7103b9d0ba43586785f3d8cede5"); - System.out.println(new Gson().toJson(transaction)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetTransaction("cd8727674bc05e0ede405597a218164e1c13c7103b9d0ba43586785f3d8cede5")) - ``` - -=== "Go" - - ```go - func GetTransaction() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetTransaction("cd8727674bc05e0ede405597a218164e1c13c7103b9d0ba43586785f3d8cede5") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -// Note: If the transaction is a for payment. -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "ID": "cd8727674bc05e0ede405597a218164e1c13c7103b9d0ba43586785f3d8cede5", - "amount": "24999000000000", - "gasLimit": "50", - "gasPrice": "1000000000", - "nonce": "1", - "receipt": { - "cumulative_gas": "1", - "epoch_num": "589763", - "success": true - }, - "senderPubKey": "0x0347B5C6833ABD2AC0A6A7D85CF6BD0CC18084F6260B0C9DD2D491015BF2D47862", - "signature": "0x593454623A6CE0FEA287E42583445B140F696F79CA508762B8AB44F202686CFA115A2AC36C31E643C9EB0D46A4E6CA8C4EEFD78D7E9A25220DC512C13C9600F0", - "toAddr": "9148616bfdfab321bdd626682a8c446e193eabb2", - "version": "65537" - } -} -``` - -```json -// Note: If the transaction is for contract deployment. -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "ID": "f9170f9661a2ec5a90e6701618ba38d76257c00a1e5848d8f541e1ef52d11ede", - "amount": "0", - "code": "scilla_version 0\n\nimport BoolUtils IntUtils\n\n(* Twitter contract *)\n\n(***************************************************)\n(* Associated library *)\n(***************************************************)\nlibrary SocialPay\n\nlet one_msg =\n fun (msg : Message) =>\n let nil_msg = Nil {Message} in\n Cons {Message} msg nil_msg\n\nlet two_msgs =\nfun (msg1 : Message) =>\nfun (msg2 : Message) =>\n let msgs_tmp = one_msg msg2 in\n Cons {Message} msg1 msgs_tmp\n\nlet is_valid_substring =\n fun (tweet_text : String) =>\n fun (start_pos : Uint32) =>\n fun (hashtag_len : Uint32) =>\n let string_length = builtin strlen tweet_text in\n let valid_start_pos = builtin lt start_pos string_length in\n let end_pos = builtin add start_pos hashtag_len in\n let valid_end_pos = uint32_le end_pos string_length in\n andb valid_start_pos valid_end_pos\n\n(* Error events *)\ntype Error =\n | CodeNotAuthorized\n | CodeRegisteredWithinWeek\n | CodeUserNotRegistered\n | CodeTweetAlreadyExists\n | CodeTweetNotValid\n | CodeTweetWithinDay\n\nlet make_error =\n fun (result : Error) =>\n let result_code = \n match result with\n | CodeNotAuthorized => Int32 -1\n | CodeRegisteredWithinWeek => Int32 -2\n | CodeUserNotRegistered => Int32 -3\n | CodeTweetAlreadyExists => Int32 -4\n | CodeTweetNotValid => Int32 -5\n | CodeTweetWithinDay => Int32 -6\n end\n in\n { _exception : \"Error\"; code : result_code }\n\nlet tt = True\n\n(***************************************************)\n(* The contract definition *)\n(***************************************************)\n\ncontract SocialPay\n(\n owner: ByStr20,\n hashtag: String,\n zils_per_tweet : Uint128,\n blocks_per_day : Uint32,\n blocks_per_week : Uint32,\n donation_address : ByStr20\n)\n\n(* Map of tweet_id to recipient address *)\nfield verified_tweets: Map String ByStr20 = Emp String ByStr20\n\n(* Map of twitter_id to last withdraw block number *)\nfield last_withdrawal: Map String BNum = Emp String BNum\n\n(* Map of address to bool status of admin *)\nfield admins: Map ByStr20 Bool = Emp ByStr20 Bool\n\n(* Map of twitter_id to recipient address *)\nfield registered_users: Map String ByStr20 = Emp String ByStr20\n\n(* Emit Errors *)\nprocedure ThrowError(err: Error)\n e = make_error err;\n throw e\nend\n\nprocedure IsOwner(address: ByStr20)\n is_owner = builtin eq address owner;\n match is_owner with\n | True =>\n | False =>\n err = CodeNotAuthorized;\n ThrowError err\n end\nend\n\nprocedure IsAdmin()\n is_admin <- exists admins[_sender];\n match is_admin with\n | True =>\n | False =>\n err = CodeNotAuthorized;\n ThrowError err\n end\nend\n\nprocedure ConfigureAdmin(admin_address: ByStr20)\n is_admin <- exists admins[admin_address];\n match is_admin with\n | True =>\n delete admins[admin_address];\n e = {_eventname : \"DeletedAdmin\"; admin_address: admin_address};\n event e\n | False =>\n admins[admin_address] := tt;\n e = {_eventname : \"AddedAdmin\"; admin_address: admin_address};\n event e\n end\nend\n\n(* Only owner can deposit ZIL *)\ntransition Deposit()\n IsOwner _sender;\n accept;\n e = {_eventname : \"DepositSuccessful\"; sender: _sender; deposit_amount: _amount};\n event e\nend\n\ntransition ConfigureAdmins(admin_addresses: List ByStr20)\n IsOwner _sender;\n forall admin_addresses ConfigureAdmin\nend\n\ntransition ConfigureUsers(twitter_id: String, recipient_address: ByStr20)\n IsAdmin;\n is_registered <- exists registered_users[twitter_id];\n match is_registered with\n | True =>\n current_block <- & BLOCKNUMBER;\n withdrawal <- last_withdrawal[twitter_id];\n not_next_week_yet =\n match withdrawal with\n | Some last_withdraw_block =>\n let next_week_block = builtin badd last_withdraw_block blocks_per_week in\n builtin blt current_block next_week_block\n | None =>\n False\n end;\n match not_next_week_yet with\n | True =>\n err = CodeRegisteredWithinWeek;\n ThrowError err\n | False =>\n registered_users[twitter_id] := recipient_address;\n e = {_eventname : \"ConfiguredUserAddress\"; twitter_id: twitter_id; recipient_address: recipient_address};\n event e\n end\n | False =>\n registered_users[twitter_id] := recipient_address;\n e = {_eventname : \"ConfiguredUserAddress\"; twitter_id: twitter_id; recipient_address: recipient_address};\n event e\n end\nend\n\n(* Only admins can call this transition *)\n(* The following conditions are checked for (in that order): *)\n(* 1. Owner initiates the transition. *)\n(* 2. The tweeter is already registered in the app his/her wallet *)\n(* 3. The tweet hasn't been awarded before. *)\n(* 4. Substring specs (start_pos) is valid. *)\n(* 5. The substring matches the preset hashtag. *)\n(* 6. Sufficient time (blocks) have passed since the user was awarded before. *)\ntransition VerifyTweet (twitter_id: String, tweet_id: String, tweet_text: String, start_pos: Uint32)\n IsAdmin;\n get_recipient_address <- registered_users[twitter_id];\n match get_recipient_address with\n | None =>\n err = CodeUserNotRegistered;\n ThrowError err\n | Some recipient_address =>\n already_verified <- exists verified_tweets[tweet_id];\n not_already_verified = negb already_verified;\n hashtag_len = builtin strlen hashtag;\n valid_substring = is_valid_substring tweet_text start_pos hashtag_len;\n is_valid = andb valid_substring not_already_verified;\n match is_valid with\n | False =>\n match already_verified with\n | True =>\n err = CodeTweetAlreadyExists;\n ThrowError err\n | False =>\n err = CodeTweetNotValid;\n ThrowError err\n end\n | True =>\n match_hashtag = builtin substr tweet_text start_pos hashtag_len;\n is_hashtag = builtin eq match_hashtag hashtag;\n match is_hashtag with\n | False =>\n err = CodeTweetNotValid;\n ThrowError err\n | True =>\n withdrawal <- last_withdrawal[twitter_id];\n current_block <- & BLOCKNUMBER;\n not_next_day_yet =\n match withdrawal with\n | Some last_withdraw_block =>\n let next_day_block = builtin badd last_withdraw_block blocks_per_day in\n builtin blt current_block next_day_block\n | None =>\n False\n end;\n match not_next_day_yet with\n | True =>\n err = CodeTweetWithinDay;\n ThrowError err\n | False =>\n verified_tweets[tweet_id] := recipient_address;\n last_withdrawal[twitter_id] := current_block;\n e = {\n _eventname : \"VerifyTweetSuccessful\";\n sender: _sender;\n recipient: recipient_address;\n twitter_id: twitter_id;\n tweet_id: tweet_id;\n reward_amount: zils_per_tweet;\n matched_donation: zils_per_tweet\n };\n event e;\n msg_to_recipient = { \n _tag: \"\";\n _recipient: recipient_address;\n _amount: zils_per_tweet \n };\n msg_to_donation = {\n _tag: \"\";\n _recipient: donation_address;\n _amount: zils_per_tweet\n };\n msgs = two_msgs msg_to_recipient msg_to_donation;\n send msgs\n end\n end\n end\n end\nend\n\ntransition ReturnFund ()\n IsOwner _sender;\n current_bal <- _balance;\n e = {\n _eventname : \"ReturnFundSuccessful\";\n returned_amount: current_bal\n };\n event e;\n msg = {\n _tag : \"\";\n _recipient : owner;\n _amount : current_bal\n };\n msgs = one_msg msg;\n send msgs\nend", - "data": "[{\"vname\":\"owner\",\"value\":\"0xf1a3d56321D6C0C9825bf3c34CB843719e99cBCA\",\"type\":\"ByStr20\"},{\"vname\":\"hashtag\",\"value\":\"#zilcovidheroes\",\"type\":\"String\"},{\"vname\":\"zils_per_tweet\",\"value\":\"25000000000000\",\"type\":\"Uint128\"},{\"vname\":\"blocks_per_day\",\"value\":\"1600\",\"type\":\"Uint32\"},{\"vname\":\"blocks_per_week\",\"value\":\"1600\",\"type\":\"Uint32\"},{\"vname\":\"donation_address\",\"value\":\"0x7AEB68fc38B29387D2e100db1E42c883C0519548\",\"type\":\"ByStr20\"},{\"vname\":\"_scilla_version\",\"type\":\"Uint32\",\"value\":\"0\"}]", - "gasLimit": "25000", - "gasPrice": "1000000000", - "nonce": "9", - "receipt": { - "cumulative_gas": "10481", - "epoch_num": "586524", - "success": true - }, - "senderPubKey": "0x020B94FDA851E2BF9392FF13D7CA33B417C5B95BCD0965238FF5074B7C8D31BC0D", - "signature": "0x16196121EFEA86C9D91102EA200F02C88744E82B886C7AF72256F18615ADEE38EC18AFEE2739615896C5306F3C2642AA98CDFE113AC64A55981BBC2C82D31592", - "toAddr": "0000000000000000000000000000000000000000", - "version": "65537" - } -} -``` - -```json -// Note: If the transaction is for contract call. -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "ID": "52605cee6955b3d14f5478927a90977b305325aff4ae0a2f9dbde758e7b92ad4", - "amount": "50000000000000", - "data": "{\"_tag\":\"sendFunds\",\"params\":[{\"vname\":\"accountValues\",\"type\":\"List (AccountValue)\",\"value\":[{\"constructor\":\"AccountValue\",\"argtypes\":[],\"arguments\":[\"0xc0e28525e9d329156e16603b9c1b6e4a9c7ed813\",\"50000000000000\"]}]}]}", - "gasLimit": "25000", - "gasPrice": "1000000000", - "nonce": "3816", - "receipt": { - "accepted": true, - "cumulative_gas": "878", - "epoch_num": "589742", - "success": true, - "transitions": [ - { - "addr": "0x9a65df55b2668a0f9f5f749267cb351a37e1f3d9", - "depth": 0, - "msg": { - "_amount": "50000000000000", - "_recipient": "0xc0e28525e9d329156e16603b9c1b6e4a9c7ed813", - "_tag": "onFundsReceived", - "params": [] - } - } - ] - }, - "senderPubKey": "0x03DE40DF885B0E334D53FF5E5554589AAF46F2339FEBEE93213F2CCE52D1F488F4", - "signature": "0xB19AB66C4410EE4833A9C5DEE600471DB4D711F6B61D2312988E6E70CC655409F18BB42BB6940B6263C8EA5CE08CAEC06111BDF19BE00D7E15F25515CAA45DAA", - "toAddr": "9a65df55b2668a0f9f5f749267cb351a37e1f3d9", - "version": "65537" - } -} -``` - -```json -// Note: If the transaction has failed. -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "ID": "9b00b3b7d80dfb3818a6aaab0cb6fd3822b1bd7b3c6d5c6260579d12ae631a96", - "amount": "0", - "data": "{\"_tag\":\"ConfigureUsers\",\"params\":[{\"vname\":\"twitter_id\",\"type\":\"String\",\"value\":\"111111111\"},{\"vname\":\"recipient_address\",\"type\":\"ByStr20\",\"value\":\"0xAA9AC51920c75bDe16C8c27E529eDaFfcb15f530\"}]}", - "gasLimit": "9000", - "gasPrice": "1000000000", - "nonce": "8260", - "receipt": { - "cumulative_gas": "1220", - "epoch_num": "588004", - "errors": { - "0": [7] - }, - "exceptions": [ - { - "line": 87, - "message": "Exception thrown: (Message [(_exception : (String \"Error\")) ; (code : (Int32 -2))])" - }, - { - "line": 100, - "message": "Raised from IsAdmin" - }, - { - "line": 137, - "message": "Raised from ConfigureUsers" - } - ], - "success": false - }, - "senderPubKey": "0x037B1722AAE35694A9F6E6C57DF5DD1274CBF568463AB50CEB6CBAD18C9BE291AA", - "signature": "0x26676494B528757E602943DD2524277ED3850FE3F8E1060E8F36D8E18B5CB6D347698DB00DF0DD2C6786594BF420585ECA30D030C56FE946574AAD59456F110B", - "toAddr": "7587a6d9b4def93c9c02475f5854c45eb4d9dac4", - "version": "65537" - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTransaction"` | -| `params` | string | Required | Transaction hash of 32 bytes of a specified transaction. | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-txbodies-for-txblock-ex.md b/zq2/docs/api/zilliqa/api-transaction-get-txbodies-for-txblock-ex.md deleted file mode 100644 index 6c96d02..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-txbodies-for-txblock-ex.md +++ /dev/null @@ -1,105 +0,0 @@ ---- -id: api-transaction-get-txbodies-for-txblock-ex -title: GetTxnBodiesForTxBlockEx ---- - ---- - -This API behaves similar to -[GetTxBodiesForTxBlock](api-transaction-get-txbodies-for-txblock.md) except it -returns the transactions in batches (or pages) of 2,500. - -The number of pages available is defined by the `NumPages` header value in the -[GetTxBlock](../blockchain-related-methods/api-blockchain-get-tx-block.md) or -[GetLatestTxBlock](../blockchain-related-methods/api-blockchain-get-latest-tx-block.md) response. Page -indexing is zero-based and indicated in the request after the block number. - -For example, to retrieve all the transactions for a block with `NumPages=3`, one -must call `GetTxBodiesForTxBlockEx` three times with page number 0, 1, and 2. - -This API is available from Zilliqa `V7.2.0` onwards. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTxnBodiesForTxBlockEx", - "params": ["1002353", "2"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "CurrPage": 2, - "NumPages": 5, - "Transactions": [ - { - "ID": "0a9b4733bff6be2d48020f42e561a89d735eeb809eda257b6a56712223e842eb", - "amount": "0", - "gasLimit": "1", - "gasPrice": "2000000000", - "nonce": "96538", - "receipt": { - "cumulative_gas": "1", - "epoch_num": "1002353", - "success": true - }, - "senderPubKey": "0x0235372F21184432428ABCDF99385FFF3A4EC346942B51FACBE9589DDF482C5D45", - "signature": "0x1A7CD80504D1BD75C50F751C08FC36ACC0F1A94852048179BCC927A3D5BC297AF01FB0A9CADBEC9AB870D330C8E2931E7025AE1293CE66B7429ABC44E785F16B", - "toAddr": "43b358e23092e2d367cedcd08c513fdca2162c01", - "version": "65537" - }, - ...{ - "ID": "d116b78ddd5a30bc1a27495f9227af1cd62a90766eaaba7610a395aeab78ee10", - "amount": "0", - "gasLimit": "1", - "gasPrice": "2000000000", - "nonce": "98068", - "receipt": { - "cumulative_gas": "1", - "epoch_num": "1002353", - "success": true - }, - "senderPubKey": "0x02FBB56136F2BBC10C963CCB8FA19287926A655023AB137BB018D2C65238D0F481", - "signature": "0xC6C4B4060026631F6F79BB5D6B163A51729E11A92D0E217F3ABCD38D2A8E733C62A9EBADA184DEAD5859BBE68ABD888E3A0B194B260FF7A9ACD58523A37EF896", - "toAddr": "43b358e23092e2d367cedcd08c513fdca2162c01", - "version": "65537" - } - ] - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ---------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTxnBodiesForTxBlockEx"` | -| `params` | array | Required | Block parameters | - -### Block Parameters - -| Parameter | Type | Required | Description | -| -------------- | ------ | -------- | -------------------------------------------------------- | -| `Block number` | string | Required | Specifed TX block number to return. Example: `"1002353"` | -| `Page number` | string | Required | Page number (zero-based). Example: `"2"` | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-txbodies-for-txblock.md b/zq2/docs/api/zilliqa/api-transaction-get-txbodies-for-txblock.md deleted file mode 100644 index 22f870b..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-txbodies-for-txblock.md +++ /dev/null @@ -1,120 +0,0 @@ ---- -id: api-transaction-get-txbodies-for-txblock -title: GetTxnBodiesForTxBlock ---- - ---- - -Returns the validated transactions (in verbose form) included within a specified final transaction block. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTxnBodiesForTxBlock", - "params": ["2"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const txns = await zilliqa.blockchain.getTxnBodiesForTxBlock("2"); - console.log(txns.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep>> transactionList = client.getTxnBodiesForTxBlock("2"); - System.out.println(new Gson().toJson(transactionList)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetTxnBodiesForTxBlock("2")) - ``` - -=== "Go" - - ```go - func GetTxnBodiesForTxBlock() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetTxnBodiesForTxBlock("1") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": [ - { - "ID": "562432bc45c14c788c43c469756453375cbe80cc9c1bc30fa0dfbe77e4220221", - "amount": "1", - "gasLimit": "1", - "gasPrice": "1000000000", - "nonce": "1", - "receipt": { - "cumulative_gas": "1", - "epoch_num": "2", - "success": true - }, - "senderPubKey": "0x03393C256D33127CE18FC3646EC88FCE62DBF661300B4017E2FE57E8023B55BCFE", - "signature": "0xCC12816DCE156FECFA1D6EF129D13FA2A5677E159CDF0CAFADF2CD33FBA0D239EE1284D4083BFBA4B895B97419FE78AB249C99AA7A7B7F314F17D353F44E784D", - "toAddr": "b07065cfde6060ad36af3913c65bfb04211608d1", - "version": "131073" - }, - { - "ID": "9ebc07e3e15b08dd82b2f2d57eead1b7dea4d06bef33364bbec5f80fc1d1d130", - "amount": "2", - "gasLimit": "1", - "gasPrice": "1000000000", - "nonce": "2", - "receipt": { - "cumulative_gas": "1", - "epoch_num": "2", - "success": true - }, - "senderPubKey": "0x03393C256D33127CE18FC3646EC88FCE62DBF661300B4017E2FE57E8023B55BCFE", - "signature": "0x846D90B698B4739979AB8B7F25BDEE5125A36447770D4AC6386606ACD25704747B38DEDE85F0AD26A663F0863199CA336109EB080A6354BB7CC3683C8FC47796", - "toAddr": "b07065cfde6060ad36af3913c65bfb04211608d1", - "version": "131073" - } - ] -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTxnBodiesForTxBlock"` | -| `params` | string | Required | Specifed TX block number to return. Example: `"2"` | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-txs-for-txblock-ex.md b/zq2/docs/api/zilliqa/api-transaction-get-txs-for-txblock-ex.md deleted file mode 100644 index 104079f..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-txs-for-txblock-ex.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -id: api-transaction-get-txs-for-txblock-ex -title: GetTransactionsForTxBlockEx ---- - ---- - -This API behaves similar to -[GetTransactionsForTxBlock](api-transaction-get-txs-for-txblock.md) except it -returns the transactions in batches (or pages) of 2,500. - -The number of pages available is defined by the `NumPages` header value in the -[GetTxBlock](../blockchain-related-methods/api-blockchain-get-tx-block.md) or -[GetLatestTxBlock](../blockchain-related-methods/api-blockchain-get-latest-tx-block.md) response. Page -indexing is zero-based and indicated in the request after the block number. - -For example, to retrieve all the transactions for a block with `NumPages=3`, one -must call `GetTransactionsForTxBlockEx` three times with page number 0, 1, -and 2. - -This API is available from Zilliqa `V7.2.0` onwards. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTransactionsForTxBlockEx", - "params": ["1002353", "2"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": { - "CurrPage": 2, - "NumPages": 5, - "Transactions": [ - [ - "0a9b4733bff6be2d48020f42e561a89d735eeb809eda257b6a56712223e842eb", - "01924067b8d120de35c72bf7213faa12d8b6d20dfc867a027a39799090fd2bad", - ..."321fe2ed656c622c14d4c7919080086bc95fa57f52a235966cf2c3661dc2fbc5", - "3e0eee38171169b7f179035fd02e40f74d698d05733597115ef67ae2034a7b48" - ], - [ - "000d1ab6963ff7c3db82fcce858e93fa264f7d39010099482ab965a518566195", - "6374f8d23d2aa96e3b205a677ad0569bf087d8a099ce90c2869bfca8588f11eb", - ..."6ad9c1aca7106ace4b836c677ac4a850f611349725358c541741842fb12b4d8d", - "d116b78ddd5a30bc1a27495f9227af1cd62a90766eaaba7610a395aeab78ee10" - ], - [], - [] - ] - } -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | ------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTransactionsForTxBlockEx"` | -| `params` | array | Required | Block parameters | - -### Block Parameters - -| Parameter | Type | Required | Description | -| -------------- | ------ | -------- | -------------------------------------------------------- | -| `Block number` | string | Required | Specifed TX block number to return. Example: `"1002353"` | -| `Page number` | string | Required | Page number (zero-based). Example: `"2"` | diff --git a/zq2/docs/api/zilliqa/api-transaction-get-txs-for-txblock.md b/zq2/docs/api/zilliqa/api-transaction-get-txs-for-txblock.md deleted file mode 100644 index 3054bcb..0000000 --- a/zq2/docs/api/zilliqa/api-transaction-get-txs-for-txblock.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -id: api-transaction-get-txs-for-txblock -title: GetTransactionsForTxBlock ---- - ---- - -Returns the validated transactions included within a specified final transaction block as an array of length _i_, where _i_ is the number of shards plus the DS committee. The transactions are grouped based on the group that processed the transaction. The first element of the array refers to the first shard. The last element of the array at index, _i_, refers to the transactions processed by the DS Committee. - -### Example Request - -=== "cURL" - - ```shell - curl -d '{ - "id": "1", - "jsonrpc": "2.0", - "method": "GetTransactionsForTxBlock", - "params": ["2"] - }' -H "Content-Type: application/json" -X POST "https://api.zilliqa.com/" - ``` - -=== "Node.js" - - ```js - const txns = await zilliqa.blockchain.getTransactionsForTxBlock("2"); - console.log(txns.result); - ``` - -=== "Java" - - ```java - public class App { - public static void main(String[] args) throws IOException { - HttpProvider client = new HttpProvider("https://api.zilliqa.com"); - Rep>> transactionList = client.getTransactionsForTxBlock("2"); - System.out.println(new Gson().toJson(transactionList)); - } - } - ``` - -=== "Python" - - ```python - from pyzil.zilliqa import chain - chain.set_active_chain(chain.MainNet) - print(chain.active_chain.api.GetTransactionsForTxBlock("2")) - ``` - -=== "Go" - - ```go - func GetTransactionsForTxBlock() { - provider := NewProvider("https://api.zilliqa.com/") - response := provider.GetTransactionsForTxBlock("1") - result, _ := json.Marshal(response) - fmt.Println(string(result)) - } - ``` - -### Example Response - -```json -{ - "id": "1", - "jsonrpc": "2.0", - "result": [ - [ - "2398362e23635582ed58f83dbcff7af2d8ccb017f6ff2bb49d343e7b8bb8bd68", - "3f337358c07c4e984714da804985f23eca9a9dd14aa8ba1ddd89583cf5110bf0", - "35823ae3377b91792fa34fa5577fa267385374e08da51555f63a537942d5adb6", - "04e5f20de988a4afea17408c87a8d4f73d14082f13df552cce849e4ddd4cfffc" - ], - [ - "5830a93aafe6571099aa38e99218c4495a2af73d481a28aba8a34c45768d0fb9", - "9250ce07210b75ef8ec5fcf42f3b5afa4cd4b60414b338be0caddcfb316293cf", - "60fe6307f27e084bfb84ff5b6cafcbb05e1bc450d1b67d9102d57066d931ba7f", - "92562be5d4fd4b39ea44f22e010636163b6500561ddab58aca0a90ac7c11f04c" - ], - [ - "9cfe6d32b31cf31267bc46b2a99f0b243266f4842d140dab5b3ee31369ae9926", - "3526b2b8f226fff6643c60deea71129dcd98c320521c8e96715e2f02c651a081", - "477a9c79acaa9aa2060b9d21f2e01760a31499b32723e0e2e1cb2cb8c4e4be7e", - "a1fa8ec4253c8ad125b81f8ee952f4e12abc445c80f56d85e18a9246541b7f37", - "251ce0e4a60be05363cad225b61f48ae4dd017230b0b3c58c7257239ec51aa09", - "452471a31af62ecd48cadc1536a4fef3b7ac243dd1023d8f9a12b1448f096c69", - "a5b1c0354433304ca6a3d3bc95eb41bae856b8aea5eb6d7ea28fff19e4b1033b" - ], - [ - "adba475e9ae7419a91107987c93838ac72c305937c5683aecee2d98024002eca", - "0f0cf6f5e4ba6ed7302db5b00f958b305e33d28e5a5a7297f87f51307b59aa82", - "d05be491318e6bbadb4705d436daf0c46762de1e14bf8d4794ff34782584f027", - "2157babdc5c65e7b4ca5e774782119d811d54d4dcc9b64a176120f1ac3c73c1c", - "dafc9b289def10232da12efcc6fa37a142982c832357628e830e616e9663501e" - ] - ] -} -``` - -### HTTP Request - -| Chain(s) | URL(s) | -| --------------------- | -------------------------------------------------------------------------------------------- | -| **Zilliqa mainnet** | [https://api.zilliqa.com/](https://api.zilliqa.com/) | -| **Developer testnet** | [https://dev-api.zilliqa.com/](https://dev-api.zilliqa.com/) | -| **Local testnet** | [http://localhost:4201/](http://localhost:4201/) | -| **Isolated server** | [https://zilliqa-isolated-server.zilliqa.com/](https://zilliqa-isolated-server.zilliqa.com/) | - -### Arguments - -| Parameter | Type | Required | Description | -| --------- | ------ | -------- | -------------------------------------------------- | -| `id` | string | Required | `"1"` | -| `jsonrpc` | string | Required | `"2.0"` | -| `method` | string | Required | `"GetTransactionsForTxBlock"` | -| `params` | string | Required | Specifed TX block number to return. Example: `"2"` | diff --git a/zq2/docs/stylesheets/extra.css b/zq2/docs/stylesheets/extra.css index b18c3ae..27e1855 100644 --- a/zq2/docs/stylesheets/extra.css +++ b/zq2/docs/stylesheets/extra.css @@ -30,11 +30,18 @@ --md-primary-bg-color--light: #272626; --md-code-bg-color: #272626; - --md-code-fg-color: #ffffff; + --md-code-fg-color: #c0c0c0; + --md-code-fg-color--light: #ffffff; --md-code-hl-comment-color: #cccc00; --md-typeset-table-color: #808080; --md-typeset-table-stripe-color: #303030; --md-code-hl-punctuation-color: #808080; + --md-code-h1-name-color: #606060; + --md-code-default-fg-color: #c0c0c0; + --md-code-default-fg-color--light: #ffffff; + --md-code-hl-variable-color: #c02080; + --md-code-hl-name-color: #9090c0; + --md-code-hl-operator-color: #90c090; } .md-header { diff --git a/zq2/mkdocs.in.yaml b/zq2/mkdocs.in.yaml new file mode 100644 index 0000000..b2cb24c --- /dev/null +++ b/zq2/mkdocs.in.yaml @@ -0,0 +1,55 @@ +INHERIT: ./parent.yaml +nav: + - News: index.md + - Home: home.md + - New in ZQ2: changes.md + - Zilliqa 1: + - Documentation: zq1/index.md + - Endpoints: endpoints.md + - FAQ: faq.md + - Ecosystem: + - DeFi: ecosystem/defi.md + - Indexers: ecosystem/indexers.md + - Indexer: + - Indexer Introduction: ecosystem/indexer/indexer-introduction.md + - ZILs: + - All Transactions: ecosystem/indexer/zil-all-transactions.md + - Balance: ecosystem/indexer/zil-balance.md + - ZRC-2: + - Contract Details: ecosystem/indexer/zrc2-contract-details.md + - Contract List: ecosystem/indexer/zrc2-contract-list.md + - Balance: ecosystem/indexer/zrc2-balance.md + - All Balances: ecosystem/indexer/zrc2-all-balances.md + - Transaction History: ecosystem/indexer/zrc2-transaction-history.md + - ZRC-6: + - Recently Minted: ecosystem/indexer/zrc6-recently-minted.md + - Asset Details: ecosystem/indexer/zrc6-asset-details.md + - User Assets: ecosystem/indexer/zrc6-user-assets.md + - Asset Metadata: ecosystem/indexer/zrc6-asset-metadata.md + - Search Attribute: ecosystem/indexer/zrc6-search-attribute.md + - Marketplace: + - Fixed Price: ecosystem/indexer/marketplace-fixed-price.md + - English Auction: ecosystem/indexer/marketplace-english-auction.md + - Brand Collectible List: ecosystem/indexer/marketplace-brand-collectible-list.md + - Brand Collectible Assets: ecosystem/indexer/marketplace-brand-collectible-assets.md + - Brand Collectible Details: ecosystem/indexer/marketplace-brand-collectible-details.md + - Oracles: ecosystem/chainlink.md + - NFTs: ecosystem/nft.md + - Nodes: ecosystem/nodes.md + - Wrapped ZIL: ecosystem/wzil.md + - Running: + - Nodes: running/node.md + - Validators: running/validator.md + - Networks: running/network.md + - SDKs and tools: sdk.md + - EVM: + - Interop: zilevm/interop.md + - Metamask: zilevm/metamask.md + - Tools: + - Hardhat: zilevm/tools/hardhat.md + - OpenZeppelin: zilevm/tools/openzeppelin.md + - RemixIDE: zilevm/tools/remix.md + - VSCode Plugins: zilevm/tools/vsc-plugins.md + - Zilliqa: + - Native API: zilliqa/zilliqa.md + - Introduction: zilliqa/introduction-videos.md diff --git a/zq2/mkdocs.yaml b/zq2/parent.yaml similarity index 50% rename from zq2/mkdocs.yaml rename to zq2/parent.yaml index ffb0c53..88d2a36 100644 --- a/zq2/mkdocs.yaml +++ b/zq2/parent.yaml @@ -1,9 +1,3 @@ -font: - text: Poppins - code: Roboto Mono -static_templates: - - 404.html - - 50x.html site_name: Zilliqa Developer Portal site_url: https://dev.zilliqa.com/zilliqa2 docs_dir: !ENV DOC_SOURCE @@ -19,87 +13,15 @@ extra_javascript: - js/chain.js - js/buffer.js -nav: - - News: "index.md" - - Home: "home.md" - - "New in ZQ2": "changes.md" - - Zilliqa 1: - - Documentation: zq1/index.md - - "Endpoints": "endpoints.md" - - "FAQ": "faq.md" - - Api: - - Erigon: - - erigon_getHeaderByNumber: api/erigon/get-header-by-number.md - - Ethereum: api/ethereum/eth-rpc.md - - Otterscan: - - ots_getApiLevel: api/otterscan/get-api-level.md - - ots_getBlockDetails: api/otterscan/get-block-details.md - - ots_getBlockDetailsByHash: api/otterscan/get-block-details-by-hash.md - - ots_getBlockTransactions: api/otterscan/get-block-transactions.md - - ots_hasCode: api/otterscan/has-code.md - - Zilliqa: - - CreateTransaction: api/zilliqa/api-transaction-create-tx.md - - GetSmartContractState: api/zilliqa/api-contract-get-smartcontract-state.md - - GetTransaction: api/zilliqa/api-transaction-get-tx.md - - GetBalance: api/zilliqa/api-account-get-balance.md - - GetCurrentMiniEpoch: api/zilliqa/api-blockchain-get-current-mini-epoch.md - - GetLatestTxBlock: api/zilliqa/api-blockchain-get-latest-tx-block.md - - GetMinimumGasPrice: api/zilliqa/api-transaction-get-minimum-gas-price.md - - GetNetworkId: api/zilliqa/api-blockchain-get-network-id.md - - GetVersion: api/zilliqa/api-blockchain-get-software-version.md - - Ecosystem: - - "DeFi": "ecosystem/defi.md" - - "Indexers": "ecosystem/indexers.md" - - Indexer: - - Indexer Introduction: ecosystem/indexer/indexer-introduction.md - - ZILs: - - All Transactions: ecosystem/indexer/zil-all-transactions.md - - Balance: ecosystem/indexer/zil-balance.md - - ZRC-2: - - Contract Details: ecosystem/indexer/zrc2-contract-details.md - - Contract List: ecosystem/indexer/zrc2-contract-list.md - - Balance: ecosystem/indexer/zrc2-balance.md - - All Balances: ecosystem/indexer/zrc2-all-balances.md - - Transaction History: ecosystem/indexer/zrc2-transaction-history.md - - ZRC-6: - - Recently Minted: ecosystem/indexer/zrc6-recently-minted.md - - Asset Details: ecosystem/indexer/zrc6-asset-details.md - - User Assets: ecosystem/indexer/zrc6-user-assets.md - - Asset Metadata: ecosystem/indexer/zrc6-asset-metadata.md - - Search Attribute: ecosystem/indexer/zrc6-search-attribute.md - - Marketplace: - - Fixed Price: ecosystem/indexer/marketplace-fixed-price.md - - English Auction: ecosystem/indexer/marketplace-english-auction.md - - Brand Collectible List: ecosystem/indexer/marketplace-brand-collectible-list.md - - Brand Collectible Assets: ecosystem/indexer/marketplace-brand-collectible-assets.md - - Brand Collectible Details: ecosystem/indexer/marketplace-brand-collectible-details.md - - "Oracles": "ecosystem/chainlink.md" - - "NFTs": "ecosystem/nft.md" - - "Nodes": "ecosystem/nodes.md" - - "Wrapped ZIL": "ecosystem/wzil.md" - - Running: - - "Nodes": "running/node.md" - - "Validators": "running/validator.md" - - "Networks": "running/network.md" - - "SDKs and tools": "sdk.md" - - EVM: - - Interop: zilevm/interop.md - - Metamask: zilevm/metamask.md - - Tools: - - Hardhat: zilevm/tools/hardhat.md - - OpenZeppelin: zilevm/tools/openzeppelin.md - - RemixIDE: zilevm/tools/remix.md - - "VSCode Plugins": zilevm/tools/vsc-plugins.md - - Zilliqa: - - "Native API": zilliqa/zilliqa.md - - "Introduction": zilliqa/introduction-videos.md - theme: name: material logo: assets/zilliqa.png font: text: Poppins code: Roboto Mono + static_templates: + - 404.html + - 50x.html custom_dir: overrides/ palette: scheme: zilliqa diff --git a/zq2_spec.yaml b/zq2_spec.yaml new file mode 100644 index 0000000..5727aff --- /dev/null +++ b/zq2_spec.yaml @@ -0,0 +1,3 @@ +versions: + - refspec: 1123f1a7b3157ef07c54f222bfd33d500b15236d + name: 1123f1a7