From 74b8f7bf0f4430ac3aa6a9bbabf9bab025cd4fcf Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 25 Mar 2024 13:06:52 +0100 Subject: [PATCH] fix types, run rush update --- common/config/rush/pnpm-lock.yaml | 1453 +++++++++++++++++- evm/evm-codec/src/abi-components/function.ts | 4 +- evm/evm-codec/src/codec.ts | 2 +- evm/evm-codec/src/codecs/primitives.ts | 7 +- evm/evm-codec/src/contract-base.ts | 59 + evm/evm-codec/src/index.ts | 1 + evm/evm-codec/test/function.test.ts | 10 + 7 files changed, 1455 insertions(+), 81 deletions(-) create mode 100644 evm/evm-codec/src/contract-base.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index ac3524c04..483be3691 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -59,6 +59,9 @@ dependencies: '@rush-temp/erc20-transfers': specifier: file:./projects/erc20-transfers.tgz version: file:projects/erc20-transfers.tgz(supports-color@8.1.1)(ts-node@10.9.2) + '@rush-temp/evm-codec': + specifier: file:./projects/evm-codec.tgz + version: file:projects/evm-codec.tgz(supports-color@8.1.1) '@rush-temp/evm-processor': specifier: file:./projects/evm-processor.tgz version: file:projects/evm-processor.tgz @@ -320,9 +323,6 @@ dependencies: dotenv: specifier: ^16.3.1 version: 16.3.1 - ethers: - specifier: ^6.9.0 - version: 6.9.1 expect: specifier: ^29.7.0 version: 29.7.0 @@ -392,6 +392,12 @@ dependencies: upath: specifier: ^2.0.1 version: 2.0.1 + viem: + specifier: ^2.8.14 + version: 2.9.0(typescript@5.3.3) + vitest: + specifier: ^1.4.0 + version: 1.4.0(@types/node@18.19.4)(supports-color@8.1.1) websocket: specifier: ^1.0.34 version: 1.0.34 @@ -1205,6 +1211,528 @@ packages: '@jridgewell/trace-mapping': 0.3.9 dev: false + /@esbuild/aix-ppc64@0.20.2: + resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + requiresBuild: true + dev: false + optional: true + + /@esbuild/android-arm64@0.20.2: + resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: false + optional: true + + /@esbuild/android-arm@0.20.2: + resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: false + optional: true + + /@esbuild/android-x64@0.20.2: + resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: false + optional: true + + /@esbuild/darwin-arm64@0.20.2: + resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + + /@esbuild/darwin-x64@0.20.2: + resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + + /@esbuild/freebsd-arm64@0.20.2: + resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: false + optional: true + + /@esbuild/freebsd-x64@0.20.2: + resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-arm64@0.20.2: + resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-arm@0.20.2: + resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-ia32@0.20.2: + resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-loong64@0.20.2: + resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-mips64el@0.20.2: + resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-ppc64@0.20.2: + resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-riscv64@0.20.2: + resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-s390x@0.20.2: + resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/linux-x64@0.20.2: + resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@esbuild/netbsd-x64@0.20.2: + resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: false + optional: true + + /@esbuild/openbsd-x64@0.20.2: + resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: false + optional: true + + /@esbuild/sunos-x64@0.20.2: + resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: false + optional: true + + /@esbuild/win32-arm64@0.20.2: + resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@esbuild/win32-ia32@0.20.2: + resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@esbuild/win32-x64@0.20.2: + resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@ethersproject/abi@5.7.0: + resolution: {integrity: sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==} + dependencies: + '@ethersproject/address': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/strings': 5.7.0 + dev: false + + /@ethersproject/abstract-provider@5.7.0: + resolution: {integrity: sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==} + dependencies: + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/networks': 5.7.1 + '@ethersproject/properties': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/web': 5.7.1 + dev: false + + /@ethersproject/abstract-signer@5.7.0: + resolution: {integrity: sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==} + dependencies: + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + dev: false + + /@ethersproject/address@5.7.0: + resolution: {integrity: sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==} + dependencies: + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/rlp': 5.7.0 + dev: false + + /@ethersproject/base64@5.7.0: + resolution: {integrity: sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==} + dependencies: + '@ethersproject/bytes': 5.7.0 + dev: false + + /@ethersproject/basex@5.7.0: + resolution: {integrity: sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/properties': 5.7.0 + dev: false + + /@ethersproject/bignumber@5.7.0: + resolution: {integrity: sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + bn.js: 5.2.1 + dev: false + + /@ethersproject/bytes@5.7.0: + resolution: {integrity: sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==} + dependencies: + '@ethersproject/logger': 5.7.0 + dev: false + + /@ethersproject/constants@5.7.0: + resolution: {integrity: sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==} + dependencies: + '@ethersproject/bignumber': 5.7.0 + dev: false + + /@ethersproject/contracts@5.7.0: + resolution: {integrity: sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==} + dependencies: + '@ethersproject/abi': 5.7.0 + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/transactions': 5.7.0 + dev: false + + /@ethersproject/hash@5.7.0: + resolution: {integrity: sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==} + dependencies: + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/base64': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/strings': 5.7.0 + dev: false + + /@ethersproject/hdnode@5.7.0: + resolution: {integrity: sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==} + dependencies: + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/basex': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/pbkdf2': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/sha2': 5.7.0 + '@ethersproject/signing-key': 5.7.0 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/wordlists': 5.7.0 + dev: false + + /@ethersproject/json-wallets@5.7.0: + resolution: {integrity: sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==} + dependencies: + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/hdnode': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/pbkdf2': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/random': 5.7.0 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + aes-js: 3.0.0 + scrypt-js: 3.0.1 + dev: false + + /@ethersproject/keccak256@5.7.0: + resolution: {integrity: sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==} + dependencies: + '@ethersproject/bytes': 5.7.0 + js-sha3: 0.8.0 + dev: false + + /@ethersproject/logger@5.7.0: + resolution: {integrity: sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==} + dev: false + + /@ethersproject/networks@5.7.1: + resolution: {integrity: sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==} + dependencies: + '@ethersproject/logger': 5.7.0 + dev: false + + /@ethersproject/pbkdf2@5.7.0: + resolution: {integrity: sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/sha2': 5.7.0 + dev: false + + /@ethersproject/properties@5.7.0: + resolution: {integrity: sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==} + dependencies: + '@ethersproject/logger': 5.7.0 + dev: false + + /@ethersproject/providers@5.7.2: + resolution: {integrity: sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==} + dependencies: + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/base64': 5.7.0 + '@ethersproject/basex': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/networks': 5.7.1 + '@ethersproject/properties': 5.7.0 + '@ethersproject/random': 5.7.0 + '@ethersproject/rlp': 5.7.0 + '@ethersproject/sha2': 5.7.0 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/web': 5.7.1 + bech32: 1.1.4 + ws: 7.4.6 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: false + + /@ethersproject/random@5.7.0: + resolution: {integrity: sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + dev: false + + /@ethersproject/rlp@5.7.0: + resolution: {integrity: sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + dev: false + + /@ethersproject/sha2@5.7.0: + resolution: {integrity: sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + hash.js: 1.1.7 + dev: false + + /@ethersproject/signing-key@5.7.0: + resolution: {integrity: sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + bn.js: 5.2.1 + elliptic: 6.5.4 + hash.js: 1.1.7 + dev: false + + /@ethersproject/solidity@5.7.0: + resolution: {integrity: sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==} + dependencies: + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/sha2': 5.7.0 + '@ethersproject/strings': 5.7.0 + dev: false + + /@ethersproject/strings@5.7.0: + resolution: {integrity: sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/logger': 5.7.0 + dev: false + + /@ethersproject/transactions@5.7.0: + resolution: {integrity: sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==} + dependencies: + '@ethersproject/address': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/rlp': 5.7.0 + '@ethersproject/signing-key': 5.7.0 + dev: false + + /@ethersproject/units@5.7.0: + resolution: {integrity: sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==} + dependencies: + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/logger': 5.7.0 + dev: false + + /@ethersproject/wallet@5.7.0: + resolution: {integrity: sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==} + dependencies: + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/hdnode': 5.7.0 + '@ethersproject/json-wallets': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/random': 5.7.0 + '@ethersproject/signing-key': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/wordlists': 5.7.0 + dev: false + + /@ethersproject/web@5.7.1: + resolution: {integrity: sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==} + dependencies: + '@ethersproject/base64': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/strings': 5.7.0 + dev: false + + /@ethersproject/wordlists@5.7.0: + resolution: {integrity: sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/strings': 5.7.0 + dev: false + /@exodus/schemasafe@1.3.0: resolution: {integrity: sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==} dev: false @@ -1466,6 +1994,129 @@ packages: resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} dev: false + /@rollup/rollup-android-arm-eabi@4.13.0: + resolution: {integrity: sha512-5ZYPOuaAqEH/W3gYsRkxQATBW3Ii1MfaT4EQstTnLKViLi2gLSQmlmtTpGucNP3sXEpOiI5tdGhjdE111ekyEg==} + cpu: [arm] + os: [android] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-android-arm64@4.13.0: + resolution: {integrity: sha512-BSbaCmn8ZadK3UAQdlauSvtaJjhlDEjS5hEVVIN3A4bbl3X+otyf/kOJV08bYiRxfejP3DXFzO2jz3G20107+Q==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-darwin-arm64@4.13.0: + resolution: {integrity: sha512-Ovf2evVaP6sW5Ut0GHyUSOqA6tVKfrTHddtmxGQc1CTQa1Cw3/KMCDEEICZBbyppcwnhMwcDce9ZRxdWRpVd6g==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-darwin-x64@4.13.0: + resolution: {integrity: sha512-U+Jcxm89UTK592vZ2J9st9ajRv/hrwHdnvyuJpa5A2ngGSVHypigidkQJP+YiGL6JODiUeMzkqQzbCG3At81Gg==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-linux-arm-gnueabihf@4.13.0: + resolution: {integrity: sha512-8wZidaUJUTIR5T4vRS22VkSMOVooG0F4N+JSwQXWSRiC6yfEsFMLTYRFHvby5mFFuExHa/yAp9juSphQQJAijQ==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-linux-arm64-gnu@4.13.0: + resolution: {integrity: sha512-Iu0Kno1vrD7zHQDxOmvweqLkAzjxEVqNhUIXBsZ8hu8Oak7/5VTPrxOEZXYC1nmrBVJp0ZcL2E7lSuuOVaE3+w==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-linux-arm64-musl@4.13.0: + resolution: {integrity: sha512-C31QrW47llgVyrRjIwiOwsHFcaIwmkKi3PCroQY5aVq4H0A5v/vVVAtFsI1nfBngtoRpeREvZOkIhmRwUKkAdw==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-linux-riscv64-gnu@4.13.0: + resolution: {integrity: sha512-Oq90dtMHvthFOPMl7pt7KmxzX7E71AfyIhh+cPhLY9oko97Zf2C9tt/XJD4RgxhaGeAraAXDtqxvKE1y/j35lA==} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-linux-x64-gnu@4.13.0: + resolution: {integrity: sha512-yUD/8wMffnTKuiIsl6xU+4IA8UNhQ/f1sAnQebmE/lyQ8abjsVyDkyRkWop0kdMhKMprpNIhPmYlCxgHrPoXoA==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-linux-x64-musl@4.13.0: + resolution: {integrity: sha512-9RyNqoFNdF0vu/qqX63fKotBh43fJQeYC98hCaf89DYQpv+xu0D8QFSOS0biA7cGuqJFOc1bJ+m2rhhsKcw1hw==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-win32-arm64-msvc@4.13.0: + resolution: {integrity: sha512-46ue8ymtm/5PUU6pCvjlic0z82qWkxv54GTJZgHrQUuZnVH+tvvSP0LsozIDsCBFO4VjJ13N68wqrKSeScUKdA==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-win32-ia32-msvc@4.13.0: + resolution: {integrity: sha512-P5/MqLdLSlqxbeuJ3YDeX37srC8mCflSyTrUsgbU1c/U9j6l2g2GiIdYaGD9QjdMQPMSgYm7hgg0551wHyIluw==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@rollup/rollup-win32-x64-msvc@4.13.0: + resolution: {integrity: sha512-UKXUQNbO3DOhzLRwHSpa0HnhhCgNODvfoPWv2FCXme8N/ANFfhIPMGuOT+QuKd16+B5yxZ0HdpNlqPvTMS1qfw==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: false + optional: true + + /@scure/base@1.1.6: + resolution: {integrity: sha512-ok9AWwhcgYuGG3Zfhyqg+zwl+Wn5uE+dwC0NV/2qQkx4dABbb/bx96vWu8NSj+BNjjSjno+JRYRjle1jV08k3g==} + dev: false + + /@scure/bip32@1.3.2: + resolution: {integrity: sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==} + dependencies: + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.3 + '@scure/base': 1.1.6 + dev: false + + /@scure/bip39@1.2.1: + resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} + dependencies: + '@noble/hashes': 1.3.3 + '@scure/base': 1.1.6 + dev: false + /@sinclair/typebox@0.27.8: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: false @@ -2030,6 +2681,10 @@ packages: resolution: {integrity: sha512-tqdiS4otQP4KmY0PR3u6KbZ5EWvhNdUoS/jc93UuK23C220lOZ/9TvjfxdPcKvqwwDVtmtSCrnr0p/2dirAxkA==} dev: false + /@types/estree@1.0.5: + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + dev: false + /@types/express-serve-static-core@4.17.31: resolution: {integrity: sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q==} dependencies: @@ -2221,6 +2876,45 @@ packages: '@types/yargs-parser': 21.0.3 dev: false + /@vitest/expect@1.4.0: + resolution: {integrity: sha512-Jths0sWCJZ8BxjKe+p+eKsoqev1/T8lYcrjavEaz8auEJ4jAVY0GwW3JKmdVU4mmNPLPHixh4GNXP7GFtAiDHA==} + dependencies: + '@vitest/spy': 1.4.0 + '@vitest/utils': 1.4.0 + chai: 4.4.1 + dev: false + + /@vitest/runner@1.4.0: + resolution: {integrity: sha512-EDYVSmesqlQ4RD2VvWo3hQgTJ7ZrFQ2VSJdfiJiArkCerDAGeyF1i6dHkmySqk573jLp6d/cfqCN+7wUB5tLgg==} + dependencies: + '@vitest/utils': 1.4.0 + p-limit: 5.0.0 + pathe: 1.1.2 + dev: false + + /@vitest/snapshot@1.4.0: + resolution: {integrity: sha512-saAFnt5pPIA5qDGxOHxJ/XxhMFKkUSBJmVt5VgDsAqPTX6JP326r5C/c9UuCMPoXNzuudTPsYDZCoJ5ilpqG2A==} + dependencies: + magic-string: 0.30.8 + pathe: 1.1.2 + pretty-format: 29.7.0 + dev: false + + /@vitest/spy@1.4.0: + resolution: {integrity: sha512-Ywau/Qs1DzM/8Uc+yA77CwSegizMlcgTJuYGAi0jujOteJOUf1ujunHThYo243KG9nAyWT3L9ifPYZ5+As/+6Q==} + dependencies: + tinyspy: 2.2.1 + dev: false + + /@vitest/utils@1.4.0: + resolution: {integrity: sha512-mx3Yd1/6e2Vt/PUC98DcqTirtfxUyAZ32uK82r8rZzbtBeBo+nqgnjx/LvqQdWsrvNtm14VmurNgcf4nqY5gJg==} + dependencies: + diff-sequences: 29.6.3 + estree-walker: 3.0.3 + loupe: 2.3.7 + pretty-format: 29.7.0 + dev: false + /JSONStream@1.3.5: resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} hasBin: true @@ -2229,6 +2923,20 @@ packages: through: 2.3.8 dev: false + /abitype@1.0.0(typescript@5.3.3): + resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} + peerDependencies: + typescript: '>=5.0.4' + zod: ^3 >=3.22.0 + peerDependenciesMeta: + typescript: + optional: true + zod: + optional: true + dependencies: + typescript: 5.3.3 + dev: false + /accepts@1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} @@ -2242,12 +2950,21 @@ packages: engines: {node: '>=0.4.0'} dev: false + /acorn-walk@8.3.2: + resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==} + engines: {node: '>=0.4.0'} + dev: false + /acorn@8.11.3: resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} engines: {node: '>=0.4.0'} hasBin: true dev: false + /aes-js@3.0.0: + resolution: {integrity: sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==} + dev: false + /aes-js@4.0.0-beta.5: resolution: {integrity: sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==} dev: false @@ -2483,6 +3200,10 @@ packages: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} dev: false + /assertion-error@1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + dev: false + /async-retry@1.3.3: resolution: {integrity: sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==} dependencies: @@ -2516,6 +3237,10 @@ packages: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} dev: false + /bech32@1.1.4: + resolution: {integrity: sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==} + dev: false + /big.js@6.2.1: resolution: {integrity: sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ==} dev: false @@ -2557,6 +3282,10 @@ packages: nanoassert: 2.0.0 dev: false + /bn.js@4.12.0: + resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} + dev: false + /bn.js@5.2.1: resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} dev: false @@ -2629,6 +3358,10 @@ packages: fill-range: 7.0.1 dev: false + /brorand@1.1.0: + resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} + dev: false + /browser-stdout@1.3.1: resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} dev: false @@ -2675,6 +3408,11 @@ packages: engines: {node: '>= 0.8'} dev: false + /cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + dev: false + /cacheable-request@6.1.0: resolution: {integrity: sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==} engines: {node: '>=8'} @@ -2701,6 +3439,19 @@ packages: engines: {node: '>=10'} dev: false + /chai@4.4.1: + resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} + engines: {node: '>=4'} + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.3 + deep-eql: 4.1.3 + get-func-name: 2.0.2 + loupe: 2.3.7 + pathval: 1.1.1 + type-detect: 4.0.8 + dev: false + /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -2718,6 +3469,12 @@ packages: supports-color: 7.2.0 dev: false + /check-error@1.0.3: + resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + dependencies: + get-func-name: 2.0.2 + dev: false + /chokidar@3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} @@ -2945,6 +3702,13 @@ packages: mimic-response: 1.0.1 dev: false + /deep-eql@4.1.3: + resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + engines: {node: '>=6'} + dependencies: + type-detect: 4.0.8 + dev: false + /deep-equal@2.2.3: resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==} engines: {node: '>= 0.4'} @@ -3060,6 +3824,18 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false + /elliptic@6.5.4: + resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} + dependencies: + bn.js: 4.12.0 + brorand: 1.1.0 + hash.js: 1.1.7 + hmac-drbg: 1.0.1 + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + minimalistic-crypto-utils: 1.0.1 + dev: false + /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} dev: false @@ -3128,6 +3904,37 @@ packages: ext: 1.7.0 dev: false + /esbuild@0.20.2: + resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/aix-ppc64': 0.20.2 + '@esbuild/android-arm': 0.20.2 + '@esbuild/android-arm64': 0.20.2 + '@esbuild/android-x64': 0.20.2 + '@esbuild/darwin-arm64': 0.20.2 + '@esbuild/darwin-x64': 0.20.2 + '@esbuild/freebsd-arm64': 0.20.2 + '@esbuild/freebsd-x64': 0.20.2 + '@esbuild/linux-arm': 0.20.2 + '@esbuild/linux-arm64': 0.20.2 + '@esbuild/linux-ia32': 0.20.2 + '@esbuild/linux-loong64': 0.20.2 + '@esbuild/linux-mips64el': 0.20.2 + '@esbuild/linux-ppc64': 0.20.2 + '@esbuild/linux-riscv64': 0.20.2 + '@esbuild/linux-s390x': 0.20.2 + '@esbuild/linux-x64': 0.20.2 + '@esbuild/netbsd-x64': 0.20.2 + '@esbuild/openbsd-x64': 0.20.2 + '@esbuild/sunos-x64': 0.20.2 + '@esbuild/win32-arm64': 0.20.2 + '@esbuild/win32-ia32': 0.20.2 + '@esbuild/win32-x64': 0.20.2 + dev: false + /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} @@ -3152,11 +3959,55 @@ packages: engines: {node: '>=10'} dev: false + /estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + dependencies: + '@types/estree': 1.0.5 + dev: false + /etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} dev: false + /ethers@5.7.2: + resolution: {integrity: sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==} + dependencies: + '@ethersproject/abi': 5.7.0 + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/base64': 5.7.0 + '@ethersproject/basex': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/contracts': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/hdnode': 5.7.0 + '@ethersproject/json-wallets': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/networks': 5.7.1 + '@ethersproject/pbkdf2': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/providers': 5.7.2 + '@ethersproject/random': 5.7.0 + '@ethersproject/rlp': 5.7.0 + '@ethersproject/sha2': 5.7.0 + '@ethersproject/signing-key': 5.7.0 + '@ethersproject/solidity': 5.7.0 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/units': 5.7.0 + '@ethersproject/wallet': 5.7.0 + '@ethersproject/web': 5.7.1 + '@ethersproject/wordlists': 5.7.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: false + /ethers@6.9.1: resolution: {integrity: sha512-kuV8fGd4/8Gj7wkurbsuUsm1DCG6N5gKGYdw3fnWG/7QGknhy1xtHD7kbkCWQAcbAYmzLCLqCPedS3FYncFkKQ==} engines: {node: '>=14.0.0'} @@ -3177,6 +4028,21 @@ packages: resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} dev: false + /execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} + dependencies: + cross-spawn: 7.0.3 + get-stream: 8.0.1 + human-signals: 5.0.0 + is-stream: 3.0.0 + merge-stream: 2.0.0 + npm-run-path: 5.3.0 + onetime: 6.0.0 + signal-exit: 4.1.0 + strip-final-newline: 3.0.0 + dev: false + /expect@29.7.0: resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -3363,6 +4229,10 @@ packages: engines: {node: 6.* || 8.* || >= 10.*} dev: false + /get-func-name@2.0.2: + resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} + dev: false + /get-intrinsic@1.2.2: resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} dependencies: @@ -3386,6 +4256,11 @@ packages: pump: 3.0.0 dev: false + /get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} + dev: false + /glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -3557,6 +4432,13 @@ packages: has-symbols: 1.0.3 dev: false + /hash.js@1.1.7: + resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} + dependencies: + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + dev: false + /hasown@2.0.0: resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} engines: {node: '>= 0.4'} @@ -3573,6 +4455,14 @@ packages: resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} dev: false + /hmac-drbg@1.0.1: + resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} + dependencies: + hash.js: 1.1.7 + minimalistic-assert: 1.0.1 + minimalistic-crypto-utils: 1.0.1 + dev: false + /http-cache-semantics@4.1.1: resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==} dev: false @@ -3588,6 +4478,11 @@ packages: toidentifier: 1.0.1 dev: false + /human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} + dev: false + /humanize-ms@1.2.1: resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} dependencies: @@ -3760,6 +4655,11 @@ packages: call-bind: 1.0.5 dev: false + /is-stream@3.0.0: + resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: false + /is-string@1.0.7: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} engines: {node: '>= 0.4'} @@ -3817,6 +4717,14 @@ packages: ws: 7.5.9 dev: false + /isows@1.0.3(ws@8.13.0): + resolution: {integrity: sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==} + peerDependencies: + ws: '*' + dependencies: + ws: 8.13.0 + dev: false + /iterall@1.3.0: resolution: {integrity: sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==} dev: false @@ -3904,10 +4812,18 @@ packages: picomatch: 2.3.1 dev: false + /js-sha3@0.8.0: + resolution: {integrity: sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==} + dev: false + /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} dev: false + /js-tokens@8.0.3: + resolution: {integrity: sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==} + dev: false + /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -3963,6 +4879,14 @@ packages: resolution: {integrity: sha512-sDTnnqlWK4vH4AlDQuswz3n4Hx7bIQWTpIcScJX+Sp7St3LXHmfiax/ZFfyYxHmkdCvydOLSuvtAO/XpXiSySw==} dev: false + /local-pkg@0.5.0: + resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} + engines: {node: '>=14'} + dependencies: + mlly: 1.6.1 + pkg-types: 1.0.3 + dev: false + /locate-path@6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} @@ -4003,6 +4927,12 @@ packages: resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} dev: false + /loupe@2.3.7: + resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + dependencies: + get-func-name: 2.0.2 + dev: false + /lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} dependencies: @@ -4036,6 +4966,13 @@ packages: engines: {node: '>=12'} dev: false + /magic-string@0.30.8: + resolution: {integrity: sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + dev: false + /make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} dev: false @@ -4049,6 +4986,10 @@ packages: resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} dev: false + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: false + /methods@1.1.2: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} @@ -4080,11 +5021,24 @@ packages: hasBin: true dev: false + /mimic-fn@4.0.0: + resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} + engines: {node: '>=12'} + dev: false + /mimic-response@1.0.1: resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==} engines: {node: '>=4'} dev: false + /minimalistic-assert@1.0.1: + resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} + dev: false + + /minimalistic-crypto-utils@1.0.1: + resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} + dev: false + /minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: @@ -4127,6 +5081,15 @@ packages: hasBin: true dev: false + /mlly@1.6.1: + resolution: {integrity: sha512-vLgaHvaeunuOXHSmEbZ9izxPx3USsk8KCQ8iC+aTlp5sKRSoZvwhHh5L9VbKSaVC6sJDqbyohIS76E2VmHIPAA==} + dependencies: + acorn: 8.11.3 + pathe: 1.1.2 + pkg-types: 1.0.3 + ufo: 1.5.3 + dev: false + /mocha@10.2.0: resolution: {integrity: sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==} engines: {node: '>= 14.0.0'} @@ -4185,6 +5148,12 @@ packages: hasBin: true dev: false + /nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: false + /negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} @@ -4246,6 +5215,13 @@ packages: engines: {node: '>=8'} dev: false + /npm-run-path@5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + path-key: 4.0.0 + dev: false + /object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -4295,6 +5271,13 @@ packages: wrappy: 1.0.2 dev: false + /onetime@6.0.0: + resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} + engines: {node: '>=12'} + dependencies: + mimic-fn: 4.0.0 + dev: false + /p-cancelable@1.1.0: resolution: {integrity: sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==} engines: {node: '>=6'} @@ -4307,6 +5290,13 @@ packages: yocto-queue: 0.1.0 dev: false + /p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + dependencies: + yocto-queue: 1.0.0 + dev: false + /p-locate@5.0.0: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} @@ -4366,6 +5356,11 @@ packages: engines: {node: '>=8'} dev: false + /path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + dev: false + /path-scurry@1.10.1: resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} engines: {node: '>=16 || 14 >=14.17'} @@ -4378,6 +5373,14 @@ packages: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} dev: false + /pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + dev: false + + /pathval@1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: false + /pg-cloudflare@1.1.1: resolution: {integrity: sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==} requiresBuild: true @@ -4460,11 +5463,32 @@ packages: split2: 4.2.0 dev: false + /picocolors@1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + dev: false + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} dev: false + /pkg-types@1.0.3: + resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} + dependencies: + jsonc-parser: 3.2.0 + mlly: 1.6.1 + pathe: 1.1.2 + dev: false + + /postcss@8.4.38: + resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.0 + source-map-js: 1.2.0 + dev: false + /postgres-array@2.0.0: resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} engines: {node: '>=4'} @@ -4681,6 +5705,29 @@ packages: engines: {node: '>= 4'} dev: false + /rollup@4.13.0: + resolution: {integrity: sha512-3YegKemjoQnYKmsBlOHfMLVPPA5xLkQ8MHLLSw/fBrFaVkEayL51DilPpNNLq1exr98F2B1TzrV0FUlN3gWRPg==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.13.0 + '@rollup/rollup-android-arm64': 4.13.0 + '@rollup/rollup-darwin-arm64': 4.13.0 + '@rollup/rollup-darwin-x64': 4.13.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.13.0 + '@rollup/rollup-linux-arm64-gnu': 4.13.0 + '@rollup/rollup-linux-arm64-musl': 4.13.0 + '@rollup/rollup-linux-riscv64-gnu': 4.13.0 + '@rollup/rollup-linux-x64-gnu': 4.13.0 + '@rollup/rollup-linux-x64-musl': 4.13.0 + '@rollup/rollup-win32-arm64-msvc': 4.13.0 + '@rollup/rollup-win32-ia32-msvc': 4.13.0 + '@rollup/rollup-win32-x64-msvc': 4.13.0 + fsevents: 2.3.3 + dev: false + /rpc-websockets@7.9.0: resolution: {integrity: sha512-DwKewQz1IUA5wfLvgM8wDpPRcr+nWSxuFxx5CbrI2z/MyyZ4nXLM86TvIA+cI1ZAdqC8JIBR1mZR55dzaLU+Hw==} dependencies: @@ -4701,6 +5748,10 @@ packages: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} dev: false + /scrypt-js@3.0.1: + resolution: {integrity: sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==} + dev: false + /semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true @@ -4800,6 +5851,10 @@ packages: object-inspect: 1.13.1 dev: false + /siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + dev: false + /signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} @@ -4817,6 +5872,11 @@ packages: tslib: 2.6.2 dev: false + /source-map-js@1.2.0: + resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} + engines: {node: '>=0.10.0'} + dev: false + /split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} @@ -4829,6 +5889,10 @@ packages: escape-string-regexp: 2.0.0 dev: false + /stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + dev: false + /standard-as-callback@2.1.0: resolution: {integrity: sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==} dev: false @@ -4838,6 +5902,10 @@ packages: engines: {node: '>= 0.8'} dev: false + /std-env@3.7.0: + resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + dev: false + /stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} engines: {node: '>= 0.4'} @@ -4882,6 +5950,11 @@ packages: ansi-regex: 6.0.1 dev: false + /strip-final-newline@3.0.0: + resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} + engines: {node: '>=12'} + dev: false + /strip-json-comments@2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} engines: {node: '>=0.10.0'} @@ -4892,6 +5965,12 @@ packages: engines: {node: '>=8'} dev: false + /strip-literal@2.0.0: + resolution: {integrity: sha512-f9vHgsCWBq2ugHAkGMiiYY+AYG0D/cbloKKg0nhaaaSNsujdGIpVXCNsrJpCKr5M0f4aI31mr13UjY6GAuXCKA==} + dependencies: + js-tokens: 8.0.3 + dev: false + /strnum@1.0.5: resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} dev: false @@ -4952,6 +6031,20 @@ packages: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} dev: false + /tinybench@2.6.0: + resolution: {integrity: sha512-N8hW3PG/3aOoZAN5V/NSAEDz0ZixDSSt5b/a05iqtpgfLWMSVuCo7w0k2vVvEjdrIoeGqZzweX2WlyioNIHchA==} + dev: false + + /tinypool@0.8.2: + resolution: {integrity: sha512-SUszKYe5wgsxnNOVlBYO6IC+8VGWdVGZWAqUxp3UErNBtptZvWbwyUOyzNL59zigz2rCA92QiL3wvG+JDSdJdQ==} + engines: {node: '>=14.0.0'} + dev: false + + /tinyspy@2.2.1: + resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} + engines: {node: '>=14.0.0'} + dev: false + /to-readable-stream@1.0.0: resolution: {integrity: sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==} engines: {node: '>=6'} @@ -5020,6 +6113,11 @@ packages: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: false + /type-detect@4.0.8: + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} + dev: false + /type-fest@2.19.0: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} @@ -5152,6 +6250,10 @@ packages: hasBin: true dev: false + /ufo@1.5.3: + resolution: {integrity: sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==} + dev: false + /undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} dev: false @@ -5226,6 +6328,142 @@ packages: engines: {node: '>= 0.8'} dev: false + /viem@2.9.0(typescript@5.3.3): + resolution: {integrity: sha512-7jNrY9GY4aLGU2qX4/TCXpA9qR4PDx5ctQyJpxoh8jDmlV0Rh2FLlnJsgJs9sAB8cKbNafkRTYQtuMA3OOn0JA==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@adraffy/ens-normalize': 1.10.0 + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.2 + '@scure/bip32': 1.3.2 + '@scure/bip39': 1.2.1 + abitype: 1.0.0(typescript@5.3.3) + isows: 1.0.3(ws@8.13.0) + typescript: 5.3.3 + ws: 8.13.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + dev: false + + /vite-node@1.4.0(@types/node@18.19.4)(supports-color@8.1.1): + resolution: {integrity: sha512-VZDAseqjrHgNd4Kh8icYHWzTKSCZMhia7GyHfhtzLW33fZlG9SwsB6CEhgyVOWkJfJ2pFLrp/Gj1FSfAiqH9Lw==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + dependencies: + cac: 6.7.14 + debug: 4.3.4(supports-color@8.1.1) + pathe: 1.1.2 + picocolors: 1.0.0 + vite: 5.2.6(@types/node@18.19.4) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: false + + /vite@5.2.6(@types/node@18.19.4): + resolution: {integrity: sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.19.4 + esbuild: 0.20.2 + postcss: 8.4.38 + rollup: 4.13.0 + optionalDependencies: + fsevents: 2.3.3 + dev: false + + /vitest@1.4.0(@types/node@18.19.4)(supports-color@8.1.1): + resolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 1.4.0 + '@vitest/ui': 1.4.0 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + dependencies: + '@types/node': 18.19.4 + '@vitest/expect': 1.4.0 + '@vitest/runner': 1.4.0 + '@vitest/snapshot': 1.4.0 + '@vitest/spy': 1.4.0 + '@vitest/utils': 1.4.0 + acorn-walk: 8.3.2 + chai: 4.4.1 + debug: 4.3.4(supports-color@8.1.1) + execa: 8.0.1 + local-pkg: 0.5.0 + magic-string: 0.30.8 + pathe: 1.1.2 + picocolors: 1.0.0 + std-env: 3.7.0 + strip-literal: 2.0.0 + tinybench: 2.6.0 + tinypool: 0.8.2 + vite: 5.2.6(@types/node@18.19.4) + vite-node: 1.4.0(@types/node@18.19.4)(supports-color@8.1.1) + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: false + /web-streams-polyfill@3.2.1: resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==} engines: {node: '>= 8'} @@ -5297,6 +6535,15 @@ packages: isexe: 2.0.0 dev: false + /why-is-node-running@2.2.2: + resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} + engines: {node: '>=8'} + hasBin: true + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + dev: false + /workerpool@6.2.1: resolution: {integrity: sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==} dev: false @@ -5323,6 +6570,19 @@ packages: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: false + /ws@7.4.6: + resolution: {integrity: sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==} + engines: {node: '>=8.3.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: false + /ws@7.5.9: resolution: {integrity: sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==} engines: {node: '>=8.3.0'} @@ -5336,6 +6596,19 @@ packages: optional: true dev: false + /ws@8.13.0: + resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: false + /ws@8.16.0(bufferutil@4.0.8)(utf-8-validate@5.0.10): resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} engines: {node: '>=10.0.0'} @@ -5459,8 +6732,13 @@ packages: engines: {node: '>=10'} dev: false + /yocto-queue@1.0.0: + resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + engines: {node: '>=12.20'} + dev: false + file:projects/astar-erc20.tgz(supports-color@8.1.1)(ts-node@10.9.2): - resolution: {integrity: sha512-Gek5psbXRsT1OfzwjGn16/AciqWn4zHGkI9ytcGA9C2t5tW+JdazzyHRwHVJFzJGD0J6shioyAWEVuuoiC1Wbw==, tarball: file:projects/astar-erc20.tgz} + resolution: {integrity: sha512-Gba18quvUcrGeKO2VX7GchDNXESOYzNNEP8c36NE6OgXWht7GG435fvJlZWwZBlJ3Quo3lmfeJy/I5Jx603sdw==, tarball: file:projects/astar-erc20.tgz} id: file:projects/astar-erc20.tgz name: '@rush-temp/astar-erc20' version: 0.0.0 @@ -5494,7 +6772,7 @@ packages: dev: false file:projects/balances.tgz(supports-color@8.1.1): - resolution: {integrity: sha512-F+hiO4flyOHy/sIwo8aFtH1MH1JY4rAlZ7lR2FAZT61jGdwBQyoPgAg2YVBzVqy70yirFcQ2cfEW74lyATHHUA==, tarball: file:projects/balances.tgz} + resolution: {integrity: sha512-/hgYzpGlaPUrTwATpDEE++n8y+wUnJwaQ4OTMWSZbNmLlMyGOgWFQbT7h1Lr+9sFO7bq1sYvsOF+ptpV2hkLlw==, tarball: file:projects/balances.tgz} id: file:projects/balances.tgz name: '@rush-temp/balances' version: 0.0.0 @@ -5527,7 +6805,7 @@ packages: dev: false file:projects/big-decimal.tgz: - resolution: {integrity: sha512-/Er4O4+BTjIgMcLL/oy3KUDz5o/97kqUHu1HGrIvixflTucO3M2Dm/GnwE1d81EtsEaCR57yWvZ7u07HLEU3og==, tarball: file:projects/big-decimal.tgz} + resolution: {integrity: sha512-S6B1X7Hu9b+KPnj+yYHceoBBPOayTUGtA/V+8BsezCola/PGe2BsA30qhTX+vIA3NKUMqF3fue8ZJdSoPDtFsg==, tarball: file:projects/big-decimal.tgz} name: '@rush-temp/big-decimal' version: 0.0.0 dependencies: @@ -5535,7 +6813,7 @@ packages: dev: false file:projects/borsh-bench.tgz: - resolution: {integrity: sha512-iv53bNgw4iydiVtBARnaBre7M/KSXFzSUOZcpbFogbPpmHZVIxvhSnwwB56mXIWA8Oon726DKgECgo4/9kAXyQ==, tarball: file:projects/borsh-bench.tgz} + resolution: {integrity: sha512-dPNvYO4SNJ+imItlih5BpTFiUh5F73gthC7nF0tEaIgQFp3vpcLmoTF1bjh+ZSK/y76MnTEfh9u+LunNQOi4gA==, tarball: file:projects/borsh-bench.tgz} name: '@rush-temp/borsh-bench' version: 0.0.0 dependencies: @@ -5551,7 +6829,7 @@ packages: dev: false file:projects/borsh.tgz: - resolution: {integrity: sha512-OYBAkPj1vmit20bi1TOTzLZGwzKou/HkFasm35ELA7/SwKPJF73I931Gggqc31+mopdIkp9yzexCEHuO6A3Mcw==, tarball: file:projects/borsh.tgz} + resolution: {integrity: sha512-GpTIR45nRyfpzjx+V37hAQb/ZezSHFPr15Q8gFn80XiCY5c4taBXbitx8R1HcVQANeZaOsuo8XvDcj+SDJzVbQ==, tarball: file:projects/borsh.tgz} name: '@rush-temp/borsh' version: 0.0.0 dependencies: @@ -5561,7 +6839,7 @@ packages: dev: false file:projects/commands.tgz: - resolution: {integrity: sha512-nTp6JJspxGfPvjbfIRQlKRMn61aqj2bWACPa3a/rtRw0wYhHBroH2kOUtIHmQwodMzB7BI5EfA8O6rd6queS9g==, tarball: file:projects/commands.tgz} + resolution: {integrity: sha512-X1U1YhBX+zqnM8OffyHezVWjBZ+X1HlC5GovomRmqRb6oGny9pLdl+2qBFiwd5HKT+2yGN7mfZY81c8p6txPzQ==, tarball: file:projects/commands.tgz} name: '@rush-temp/commands' version: 0.0.0 dependencies: @@ -5573,7 +6851,7 @@ packages: dev: false file:projects/data-test.tgz: - resolution: {integrity: sha512-HRLXoT0PPbT38pqTsKDXay8vW4xhdzutYDlZVIoG3ZQpy7R2BcMwsAhAYAeWR+Zk33RrOOlz7BZ2kyhIAMoyyQ==, tarball: file:projects/data-test.tgz} + resolution: {integrity: sha512-hRXgqThC9Q8uzPWZWuUo6uY+tO4HX2jZjE9SVIAbI3Q/2vVqb+W1N8Lwb3B5pxelaGn7i/McjWscC0LISNU6Tw==, tarball: file:projects/data-test.tgz} name: '@rush-temp/data-test' version: 0.0.0 dependencies: @@ -5587,7 +6865,7 @@ packages: dev: false file:projects/erc20-transfers.tgz(supports-color@8.1.1)(ts-node@10.9.2): - resolution: {integrity: sha512-NPVLx6d9PECjTxguljwi6PeR9oRpvEFj20ql7OTZ9qQEkLj3kp64FbZPC77k19qM9H/tabbGJ5m7CM7GtIYw1w==, tarball: file:projects/erc20-transfers.tgz} + resolution: {integrity: sha512-ZsQkfx3wucpvB5wzIJuv7KxNtyAKo35tHaFYTQfMDjXPD5LfmhNyXTk8iZIgNSs9l0Im3e0m3iwXks77+Oncfg==, tarball: file:projects/erc20-transfers.tgz} id: file:projects/erc20-transfers.tgz name: '@rush-temp/erc20-transfers' version: 0.0.0 @@ -5620,8 +6898,37 @@ packages: - utf-8-validate dev: false + file:projects/evm-codec.tgz(supports-color@8.1.1): + resolution: {integrity: sha512-4fkXgjxcDcRoNpYWmveAsOYdduYQqiWp58TTGO+YJmkmrsa+bnoU7tPHkODZLgaENk8BMF4e529gL8+5pJRaRA==, tarball: file:projects/evm-codec.tgz} + id: file:projects/evm-codec.tgz + name: '@rush-temp/evm-codec' + version: 0.0.0 + dependencies: + '@types/node': 18.19.4 + ethers: 5.7.2 + typescript: 5.3.3 + viem: 2.9.0(typescript@5.3.3) + vitest: 1.4.0(@types/node@18.19.4)(supports-color@8.1.1) + transitivePeerDependencies: + - '@edge-runtime/vm' + - '@vitest/browser' + - '@vitest/ui' + - bufferutil + - happy-dom + - jsdom + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + - utf-8-validate + - zod + dev: false + file:projects/evm-processor.tgz: - resolution: {integrity: sha512-ZeY6rzzfGzR19tgMLcmmUZ+P3FMJ09o8V3hn/p2ESBJJef3LKfXzO3weomLwG5VE6IHeRUxh2VBqIe8sShLi0g==, tarball: file:projects/evm-processor.tgz} + resolution: {integrity: sha512-4EgHO/lNqho6rJsVx401B1r5bWJUZeQuqQtBIBYZApyJJxtmYz1Titc56ehmE46Ig6J48c065aP6yooqgOnA3g==, tarball: file:projects/evm-processor.tgz} name: '@rush-temp/evm-processor' version: 0.0.0 dependencies: @@ -5630,7 +6937,7 @@ packages: dev: false file:projects/evm-typegen.tgz: - resolution: {integrity: sha512-yKMw5MO+AZdTKe/wTGZ8u7LL2ytJKlsfyffucSVAmE3h83vaeVOY5NuWNv+QL3mKpXcKqesxpxCt8X7KFHWnBw==, tarball: file:projects/evm-typegen.tgz} + resolution: {integrity: sha512-qlI/meoFLInqnjzQK5/djKofpIoSbYBz8Y3MSRcbO9sLG7jD1kebIOV1WkqLosm/SIJAQUkA91IrsVzZl1PA2g==, tarball: file:projects/evm-typegen.tgz} name: '@rush-temp/evm-typegen' version: 0.0.0 dependencies: @@ -5644,7 +6951,7 @@ packages: dev: false file:projects/frontier.tgz: - resolution: {integrity: sha512-DD0DAagYnKYEjYVafclhXDCIbtdW0k2E5PLyFACydTLT4PFu9CyqkcYIzbppslSIv1Rd/dt6yz2n4y+KjZVClQ==, tarball: file:projects/frontier.tgz} + resolution: {integrity: sha512-0krpI1mKNS0L+lEJRkGR7w20R/ZLwvNao77wwun6bX/n39OEs2jGUcOdLT0malRsU+/BxGGzluk0kBv5w91JDw==, tarball: file:projects/frontier.tgz} name: '@rush-temp/frontier' version: 0.0.0 dependencies: @@ -5657,7 +6964,7 @@ packages: dev: false file:projects/gql-test-client.tgz(graphql@15.8.0): - resolution: {integrity: sha512-oRjpGjRUOnx2uKcuNJMMBubKF2U4LvEMFBmRmgklNtUcYIBXf7Ak0q20C9eJ7XLTZ6VtezrL1CWkSXy1QbDwvQ==, tarball: file:projects/gql-test-client.tgz} + resolution: {integrity: sha512-Zn0yyp++y/QxffDbIdZwSLbglTWADM+bGDvtlPpqqmVEFZVm7U1K6q8oNeYrf1na18KcwywTtS5hRfXKsi7ZrA==, tarball: file:projects/gql-test-client.tgz} id: file:projects/gql-test-client.tgz name: '@rush-temp/gql-test-client' version: 0.0.0 @@ -5675,7 +6982,7 @@ packages: dev: false file:projects/graphql-server.tgz(supports-color@8.1.1)(ts-node@10.9.2): - resolution: {integrity: sha512-Kd4rBR4RehgC1cta9k2XhSSXcQef2Fl0Jd2kG93sh/WSSjsVMYWIIHDLg/GQYK+5ZthLB0yx3nZPXoBCyZUmSw==, tarball: file:projects/graphql-server.tgz} + resolution: {integrity: sha512-GjpZd1YYASdTPZOyJ9Sf/8nMWy0v0NVt4R3aGT4XcUXknKxnmEeZka0NCycT9EJBrVnicpzBzCiRlbBwmBCBpg==, tarball: file:projects/graphql-server.tgz} id: file:projects/graphql-server.tgz name: '@rush-temp/graphql-server' version: 0.0.0 @@ -5732,7 +7039,7 @@ packages: dev: false file:projects/http-client.tgz: - resolution: {integrity: sha512-f6t+nqhd7+2yv0pE4m3O1pSG+W9qzqvq38dXRPdmwwOkzdlUzPywglwfawd4JTXVR/7yJ7ovqoYHu7sYXaRbxg==, tarball: file:projects/http-client.tgz} + resolution: {integrity: sha512-aq0WD/g8cuRHny3rPdW4UGzCCRKKJBNK24yvRyfMvgq/onxjgjWThaUnM9CXxBCPMLVz16cU/u8Aq1RgwSIPNw==, tarball: file:projects/http-client.tgz} name: '@rush-temp/http-client' version: 0.0.0 dependencies: @@ -5742,7 +7049,7 @@ packages: dev: false file:projects/ink-abi.tgz: - resolution: {integrity: sha512-p7dB3h1mmatBZLTS3DyoSxOk9MICnLWD6B+yTasKihvFSm+EP5YsdX0VyxQcCH57nd/hZI3PYB6b7BOFbRWLDQ==, tarball: file:projects/ink-abi.tgz} + resolution: {integrity: sha512-zk6K5rfKNqKioPFMD0zQkMY+Szc9PjviwqFpWkMpr5eNeWYoUFGeuViCNEn+PJcOpr5l52Wm0WhgsqgYUNacTA==, tarball: file:projects/ink-abi.tgz} name: '@rush-temp/ink-abi' version: 0.0.0 dependencies: @@ -5755,7 +7062,7 @@ packages: dev: false file:projects/ink-typegen.tgz: - resolution: {integrity: sha512-Hhf64YBWghq0UkeZD9PmL5jYm3h5zOMv3y083mn2pGtwQG0psQC6wn0sCuvX3L39ItUArFK/WA4h5ETnVT2Hmg==, tarball: file:projects/ink-typegen.tgz} + resolution: {integrity: sha512-mgFZ53liktNPSZI93Utxh5WUizCxwfQPh0cd7GV9oZn2GcKWuJ1vmcdF99INds8f9FRdqswEbxvStzDYhmiWbA==, tarball: file:projects/ink-typegen.tgz} name: '@rush-temp/ink-typegen' version: 0.0.0 dependencies: @@ -5765,7 +7072,7 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-Fbfhiyha9aZVmgcYhkQyXahMkA6VA90lbfLkTJTN2UorFl7Uy9Lso1wuiiNZ4JgiJuhlWwO+lCK6HTRUVSIWVw==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-P3V243K445mHLiYPJP6Ndij1DPvcJTWMQK+Ap7j9v7Y0almg51xwv9qzf30Q+QzvpgwjIOWj2nOwBlXRGATeWA==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: @@ -5779,7 +7086,7 @@ packages: dev: false file:projects/openreader.tgz(supports-color@8.1.1): - resolution: {integrity: sha512-ljXOvvnkBB4wnyfZtu8LqAy06C7Qgafw6TJJK4xCqtXClabpd+hA+PaFcOmiF4y8uHKA16PjYt3LfLq+fdbobw==, tarball: file:projects/openreader.tgz} + resolution: {integrity: sha512-ahnL3C81Xq9LVcmxhJxMrv3X+NC6mCO+N7yj7/Mcpj75gjO2ox1yNl+Bu95hKa5Yue5DLSqwR9cTJI0mgrrhtA==, tarball: file:projects/openreader.tgz} id: file:projects/openreader.tgz name: '@rush-temp/openreader' version: 0.0.0 @@ -5815,7 +7122,7 @@ packages: dev: false file:projects/ops-xcm-typegen.tgz: - resolution: {integrity: sha512-BBwnkN6ZAmrb5B/s1enTqmyz0lwa8Jbsh6tGTWAkpdR6zOwY2YFN61IJxv7mmO8+lodPH2I8q+edNVaq4m1Yyg==, tarball: file:projects/ops-xcm-typegen.tgz} + resolution: {integrity: sha512-GL3ij1cjCQsZgmTgreHnY03o9z7H2bpGY37KqCn8118TPEZ82aZiqDouccd739w4xOLkxP6QPfTq8B6l2uUrqg==, tarball: file:projects/ops-xcm-typegen.tgz} name: '@rush-temp/ops-xcm-typegen' version: 0.0.0 dependencies: @@ -5824,7 +7131,7 @@ packages: dev: false file:projects/rpc-client.tgz: - resolution: {integrity: sha512-58G4IyS6dZSYOWYUaoXhmQ7GAnWS9NVnOTVoLnmc0eq/m5O4tPbd+eBspdbXAqqZ/tHBSonhY+wgR2WM2swIxQ==, tarball: file:projects/rpc-client.tgz} + resolution: {integrity: sha512-OZDvbCxbUnDyczDb7noWrkUsz/P5+O88Q6WbzTkqLvAz1ZW2BY7KCDdp4scxqh30d9VKO+EBTQDIdJLSjnmplg==, tarball: file:projects/rpc-client.tgz} name: '@rush-temp/rpc-client' version: 0.0.0 dependencies: @@ -5835,7 +7142,7 @@ packages: dev: false file:projects/scale-codec.tgz: - resolution: {integrity: sha512-7PPk+gdig3gZJ2H6EH4OUE1O/WE+WTZ2fIQq4Zr82OE8StcRmK+iCjlMChnDQ5LHHXMVkVe4U7bD8/6h362LDg==, tarball: file:projects/scale-codec.tgz} + resolution: {integrity: sha512-nqoRJOIxMStp+Swc/rtzSnE+4TT+cvolCyYHaAoiV7kUg602dqoGXkfO3iizFol6HvMQzh+kjQS7lFEjkvWs/A==, tarball: file:projects/scale-codec.tgz} name: '@rush-temp/scale-codec' version: 0.0.0 dependencies: @@ -5844,7 +7151,7 @@ packages: dev: false file:projects/scale-type-system.tgz: - resolution: {integrity: sha512-rOC4IdIhtpLDzADv+feNHPw5FGEq3HvuLk/VvqdG9iF/Sp6PE7eXbH8n654DTgnjXP7yOjVkkMbPzsSvXFYbSg==, tarball: file:projects/scale-type-system.tgz} + resolution: {integrity: sha512-IrRRuIrgb8fKKZbymFjS9T0YuTbz/AdPVkwsN63tr7Ca6n8Z9bR7rwwNMZBkEDozkCrKoxTndQSOs+yZVQVnVg==, tarball: file:projects/scale-type-system.tgz} name: '@rush-temp/scale-type-system' version: 0.0.0 dependencies: @@ -5853,7 +7160,7 @@ packages: dev: false file:projects/shibuya-psp22.tgz(supports-color@8.1.1)(ts-node@10.9.2): - resolution: {integrity: sha512-cc2jPPhTMdzUMpWfLQpIi8YZizb6z3DB68vYB+yG8qhP3LOkhcsRTM8Qg8t/oM7Pu1atM2+8v1PH4bC197SHzA==, tarball: file:projects/shibuya-psp22.tgz} + resolution: {integrity: sha512-nXR3zWrJS/d9zLzTEoN9nLd945fTPSZp1i8M7YBvo5Y2RtEBvm4S3roeXilaGUcVNeYW9/y94daWh16wVInuCA==, tarball: file:projects/shibuya-psp22.tgz} id: file:projects/shibuya-psp22.tgz name: '@rush-temp/shibuya-psp22' version: 0.0.0 @@ -5884,7 +7191,7 @@ packages: dev: false file:projects/solana-data.tgz: - resolution: {integrity: sha512-h57ZPZelBGvhX/27IsIoBILaJH4xtBsHSdRGjPfo8lO6xgnh9A1dhUcNffC9EDeTNwW2dPZPcZJFj9BjLB+ypg==, tarball: file:projects/solana-data.tgz} + resolution: {integrity: sha512-J+o5UqzrEcr8caFbpJophcofFNq4gcIg/P5T6UErNjehlUFFb2vOzw6XES5UeGdnr9DW112uqjxrJnkGqNrCHw==, tarball: file:projects/solana-data.tgz} name: '@rush-temp/solana-data' version: 0.0.0 dependencies: @@ -5893,7 +7200,7 @@ packages: dev: false file:projects/solana-dump.tgz: - resolution: {integrity: sha512-4FTAD1fmVzKDZ3MX1nnQKxwXSfws7qd0mh6GrbKqzMNb5FvZ/HNa64904KHYf++FZg4yro/JcKGWfgqZqTWuFA==, tarball: file:projects/solana-dump.tgz} + resolution: {integrity: sha512-3wnfeaunxBuWFVGaFOdtpwDjaqKu67ZNJwJ1P2xpqt/EZNl4YpI4vigaijWmvSw2jA96wATvpY5faOKuyn9JYg==, tarball: file:projects/solana-dump.tgz} name: '@rush-temp/solana-dump' version: 0.0.0 dependencies: @@ -5902,7 +7209,7 @@ packages: dev: false file:projects/solana-example.tgz(supports-color@8.1.1)(ts-node@10.9.2): - resolution: {integrity: sha512-nHcloL6iPr+075GDgyr6ZGwEOOEtwePtkUb0e8zmST7umYY/vCJQyqThJXc0e0cFi2KINU4JuUP8zslTWUSorQ==, tarball: file:projects/solana-example.tgz} + resolution: {integrity: sha512-j5yPzdWAi21S/VYyPq5xR+/YOJf7eOA73b2CaeuNXoK28oB5IjYYtUl/3QSsLDumy6JQRtAINc42124rmIAQgQ==, tarball: file:projects/solana-example.tgz} id: file:projects/solana-example.tgz name: '@rush-temp/solana-example' version: 0.0.0 @@ -5933,7 +7240,7 @@ packages: dev: false file:projects/solana-ingest.tgz: - resolution: {integrity: sha512-GeVzndXhsPGPMI1nOd4YQ6cZ1aDLYdh8tQGTlM8r3sjciZifR4vzw0CFZPCaPZQxWAfCLGUht4A/aB17QNrMyA==, tarball: file:projects/solana-ingest.tgz} + resolution: {integrity: sha512-CPAFTIrIQraiUc9lGKoIj3AjgDjNw2qjzga1Owtfv95KQZcZN/t72yHiNnwh1MeRBxaqR5rHB8NVExPSASJLQw==, tarball: file:projects/solana-ingest.tgz} name: '@rush-temp/solana-ingest' version: 0.0.0 dependencies: @@ -5942,7 +7249,7 @@ packages: dev: false file:projects/solana-processor.tgz: - resolution: {integrity: sha512-oxYoyQF3QbFh2v1hzc4GhvER6FcNwn4G3ZCTo7cDfh5AzbUBk2QESO+pnY1wFtK8fzd3hBLAm/7bJMX0v5XiSA==, tarball: file:projects/solana-processor.tgz} + resolution: {integrity: sha512-hMcgpOKJvzs8cJ7aoPM7iNw2hOcYj6P3e7jM97ghWfF54rUWBUanMyHZV7L85bkgwpD8XAwCXTZxikSNQdDPWw==, tarball: file:projects/solana-processor.tgz} name: '@rush-temp/solana-processor' version: 0.0.0 dependencies: @@ -5951,7 +7258,7 @@ packages: dev: false file:projects/ss58-codec.tgz: - resolution: {integrity: sha512-Ko6PHaOc+fNzzaFZfTUOcGkbT+aHPnMapiR5lvr9NYcWbN1h2ohL4FF4O26DQyoNe9oVnXPLvHcewPnUFMujwQ==, tarball: file:projects/ss58-codec.tgz} + resolution: {integrity: sha512-TMMkHkALW7HKJ95W0KKb2MlMDFvgzSDZALZD4weV1FFmf0PIT54AVzSpZEc0HeOiXXtHvE/aJROWGQFHVes58Q==, tarball: file:projects/ss58-codec.tgz} name: '@rush-temp/ss58-codec' version: 0.0.0 dependencies: @@ -5963,7 +7270,7 @@ packages: dev: false file:projects/ss58.tgz: - resolution: {integrity: sha512-QElc0qSjJQEX20w+mCvKUpTPS+x6nb5P6XfjMYv9fYPuppOm6AoD4jkheVIRbzjLF3fKEREg0T+PfWld05/Z5A==, tarball: file:projects/ss58.tgz} + resolution: {integrity: sha512-mpLeHKG1t6cKpp/kzW4op1Xvebj0lSAEmzhHYUSoqhKCtXG45xGONRMWTCAhhwobLLtvXHfz7ZJQuuoDG1gCFw==, tarball: file:projects/ss58.tgz} name: '@rush-temp/ss58' version: 0.0.0 dependencies: @@ -5972,7 +7279,7 @@ packages: dev: false file:projects/substrate-data-raw.tgz: - resolution: {integrity: sha512-wRU0NoIV8bCyNEKPKJB+2CeOPxp/p9lHO2i5gVe+DV0rjF0ENdOCshtsHiDQtlB+wOHJlPnCC2Ft1wDYyEUPLg==, tarball: file:projects/substrate-data-raw.tgz} + resolution: {integrity: sha512-XZ1OHp5Qk4PFIjM0wHeYPIpp1eOxfzFtKrj/X1u3UxY//uJ06rof+bpaHDPNke5lzibsKEZt6NPvycLuPKqtew==, tarball: file:projects/substrate-data-raw.tgz} name: '@rush-temp/substrate-data-raw' version: 0.0.0 dependencies: @@ -5981,7 +7288,7 @@ packages: dev: false file:projects/substrate-data.tgz: - resolution: {integrity: sha512-EbxOkbcrbHMGyglQ23SCbY5Z1ulZfsKXNqF+KmGEXPwGl342dXxmDoSwOUhC2nC9x9QhJ/HlHE46SNLjMWWohA==, tarball: file:projects/substrate-data.tgz} + resolution: {integrity: sha512-zH7cOmn4jpYxleUM+n8VZXvn44o/n57Ra6UKMdWn3wllX9YsSMikx+Y6NppafWnkz73FM3K+1UaIhlMhDAitUw==, tarball: file:projects/substrate-data.tgz} name: '@rush-temp/substrate-data' version: 0.0.0 dependencies: @@ -5992,7 +7299,7 @@ packages: dev: false file:projects/substrate-dump.tgz: - resolution: {integrity: sha512-5Fp3B4i2BOcQ7LyHctRNhXwS57YnCwMPuAVfu0VTve1mV28w3QXSMC4/rhwQ114PPPfQQHWjlz4aIsMKMudeTQ==, tarball: file:projects/substrate-dump.tgz} + resolution: {integrity: sha512-6rH1x9o9Yxhqm24nB/Hr2hQeNY30VmBbBIGvL7hWhtRv6tiQfLqn4k3iIZrdfSm2soQ0lLzYehF4GH40VfMVUA==, tarball: file:projects/substrate-dump.tgz} name: '@rush-temp/substrate-dump' version: 0.0.0 dependencies: @@ -6001,7 +7308,7 @@ packages: dev: false file:projects/substrate-ingest.tgz: - resolution: {integrity: sha512-gvxpFSwegQNm7K+0hLO4LnY8ICjo73Q99mN5PMHU5AjUoEUVLnmdhTx6MRMTAmOEVByX4ASGE1imHhRO1KSLKA==, tarball: file:projects/substrate-ingest.tgz} + resolution: {integrity: sha512-a8TpQ247CgXO0LCraH+IaWf3vj+W5aDz8J6LQi6Voqzn8gxIwslWstmvJ/Q7RFS19bhYrS8idW1JH2xFewWGoQ==, tarball: file:projects/substrate-ingest.tgz} name: '@rush-temp/substrate-ingest' version: 0.0.0 dependencies: @@ -6010,7 +7317,7 @@ packages: dev: false file:projects/substrate-metadata-explorer.tgz: - resolution: {integrity: sha512-tph0l6wP8QtzzSiZLNDXjzCbx8orPITmMe3MwPs6YdgLblTEQZfo1m+VLv18H5QcbeHp8AB4o6mM+zDciJIZpg==, tarball: file:projects/substrate-metadata-explorer.tgz} + resolution: {integrity: sha512-o7hzJHmSzYg0WMRnme3mfERn0e2iO+0fHX+3PB1K06xnt9PunREUFnQLOJb64QFRGmeE7wbzmHKhfW/HB0463g==, tarball: file:projects/substrate-metadata-explorer.tgz} name: '@rush-temp/substrate-metadata-explorer' version: 0.0.0 dependencies: @@ -6020,7 +7327,7 @@ packages: dev: false file:projects/substrate-metadata-service.tgz: - resolution: {integrity: sha512-eVRY61FOTeLFBnFfmP0gN7QDcfrtbLjh9CpyPlughMdGtYX0JQdvxjkzQ2nCicTVlhb+w01LM9/tu6HmGuHvIA==, tarball: file:projects/substrate-metadata-service.tgz} + resolution: {integrity: sha512-Xa4Vg+IZ/a7qg4Qnf8P1m0Y2VL6iM7T/TUaTGl7mBmmmyX68sb/8v7TzTFkDAG6vnJwZPOfGdeh9xe9zxO9D+w==, tarball: file:projects/substrate-metadata-service.tgz} name: '@rush-temp/substrate-metadata-service' version: 0.0.0 dependencies: @@ -6032,7 +7339,7 @@ packages: dev: false file:projects/substrate-processor.tgz: - resolution: {integrity: sha512-fX18qWxwZlljDz91JeJB1+X3bPNy8WekzV0/jjlhSI4hXt4bpiAyhswzEMLe4nZ9vV8mMXdBbpD3MuW45L9/xw==, tarball: file:projects/substrate-processor.tgz} + resolution: {integrity: sha512-PDrRLn96MJIHiSCqsyG8uXZIz+DD06vdkSJFfITpOaN23hMK+aHHkZJJL2RPAZzoT+9CeNJAKHZP88bVHmv8+Q==, tarball: file:projects/substrate-processor.tgz} name: '@rush-temp/substrate-processor' version: 0.0.0 dependencies: @@ -6041,7 +7348,7 @@ packages: dev: false file:projects/substrate-runtime.tgz: - resolution: {integrity: sha512-coNcBK9aaaeyjNAXP5E/6qWQDquWmowdrTRnmKXHJri/FOkJbrZWRE9Itv2yZ22TOCBQsdHS7VecvQ+JNf132g==, tarball: file:projects/substrate-runtime.tgz} + resolution: {integrity: sha512-hb3sZ4QWGj5iPKvlm/L5fbhaHs6E/kb+iJHufBMZwosoSMbtbQiZxVUTh1F5zGrgAcd12Ld7ISzbMwV0kfnqSw==, tarball: file:projects/substrate-runtime.tgz} name: '@rush-temp/substrate-runtime' version: 0.0.0 dependencies: @@ -6054,7 +7361,7 @@ packages: dev: false file:projects/substrate-typegen.tgz: - resolution: {integrity: sha512-8osi9l9CgdIH6sSXhFex6GezFwnMshC8kcXwPLvsLk6DM3E17PTnfPkeumXlE0wOiAZL6N676dlVr6uDwTqvpg==, tarball: file:projects/substrate-typegen.tgz} + resolution: {integrity: sha512-9VQhVLdvi2YjRhWll1flI6dNF01ECJwhdbdqgrcdAa7vM8EvKA4F7y3lmA3yo8DYpEwx3TapJ1HVg322DF2+4A==, tarball: file:projects/substrate-typegen.tgz} name: '@rush-temp/substrate-typegen' version: 0.0.0 dependencies: @@ -6064,7 +7371,7 @@ packages: dev: false file:projects/typeorm-codegen.tgz: - resolution: {integrity: sha512-23YxfLM3pXGgYCLGeiXNtDsBxZg1nsq8aPWUgovRytOCLNaraTQTAKrR66Uf36748jEpiRiyKeWyeLKvDSLPnw==, tarball: file:projects/typeorm-codegen.tgz} + resolution: {integrity: sha512-k1ZTS7ISLiEYwf1uF/DqJXxS++qrK6lpulmfAm9nqZyVlISA6Ev82sKuBPysBTQdF4HyOSPuMXjREGv2xlyv4A==, tarball: file:projects/typeorm-codegen.tgz} name: '@rush-temp/typeorm-codegen' version: 0.0.0 dependencies: @@ -6074,7 +7381,7 @@ packages: dev: false file:projects/typeorm-config.tgz(pg@8.11.3)(supports-color@8.1.1)(ts-node@10.9.2): - resolution: {integrity: sha512-49Ur9rZVGUVoONgbQ1tj7OoNNB4q1gyoEKw+cQRbxD3tvvgBtuwa7F4DNG4GhKib6rlwWod8ZokRqoy14fuZKQ==, tarball: file:projects/typeorm-config.tgz} + resolution: {integrity: sha512-wKT5CJd1nmlelB6/N9XlgRr89zsY3ZUZ0hxeWxflFK0CXHEpoCAuH9NOue6qpVdTFDDCSVuzgW2pHJhcbHLRwQ==, tarball: file:projects/typeorm-config.tgz} id: file:projects/typeorm-config.tgz name: '@rush-temp/typeorm-config' version: 0.0.0 @@ -6104,7 +7411,7 @@ packages: dev: false file:projects/typeorm-migration.tgz(pg@8.11.3)(supports-color@8.1.1)(ts-node@10.9.2): - resolution: {integrity: sha512-cAWCYsZGVEFJ6QIzWTXmUKfwJMOQbCKshTXPGHfU/wix8LF6VrLvYmmrCd++ImFMKc8EqBxMOJxUjFl6WcbNKA==, tarball: file:projects/typeorm-migration.tgz} + resolution: {integrity: sha512-I0cBGGTEcfEMWCtp3Y80mvjezAAzvUprcEMltCzEqmTQ1DcakPlqrlRLAnTT2eVEbsSeA5T95gWzAmCpZbo/xw==, tarball: file:projects/typeorm-migration.tgz} id: file:projects/typeorm-migration.tgz name: '@rush-temp/typeorm-migration' version: 0.0.0 @@ -6136,7 +7443,7 @@ packages: dev: false file:projects/typeorm-store.tgz(supports-color@8.1.1)(ts-node@10.9.2): - resolution: {integrity: sha512-406gVk3ADtL2Kif4I8KwU9QD5mJyb/MdqfPxI21zX67tVBo7x5k+Agjt6EJ07OV1PzDJlYSOKviD6C3sL9CjFA==, tarball: file:projects/typeorm-store.tgz} + resolution: {integrity: sha512-CWsQfX6lSGjraEWz1j06UGuOxgD4tI94NpXwzyX2IGkQL8ei0E7baQLivKwq6slmy9wX9uJs0XnvV8K8umnxqw==, tarball: file:projects/typeorm-store.tgz} id: file:projects/typeorm-store.tgz name: '@rush-temp/typeorm-store' version: 0.0.0 @@ -6170,7 +7477,7 @@ packages: dev: false file:projects/types-test.tgz: - resolution: {integrity: sha512-bTeGixHMHVDz1mVZ70GzVvaE0IvnS05EBlcVhoTJG5zakkypamkMCkFtcB5CyIfMQ1SCmsAZfFT2I9GRBJUy4A==, tarball: file:projects/types-test.tgz} + resolution: {integrity: sha512-yefFCEnRHA2hwo8HazWp4VsAB6oqkiyBqvdNKSshsNKKwdc0KdXbHIsqbw2CAm8mec5uKqoqoCpf+BkK8O0vVA==, tarball: file:projects/types-test.tgz} name: '@rush-temp/types-test' version: 0.0.0 dependencies: @@ -6179,7 +7486,7 @@ packages: dev: false file:projects/util-internal-archive-client.tgz: - resolution: {integrity: sha512-8mclJtdL9kaLVIQQdlxfG4s2jjVnq1E9dVK1O/lRQH+62zCZif8FqKS8LIl8Lydrnfa3p1hErwCKHQb7LaG+Fg==, tarball: file:projects/util-internal-archive-client.tgz} + resolution: {integrity: sha512-sOUaYM4BZmhfHX4xLztJxjQBpqK8HNDNuU6qBVqfVoG8CtOOyglxBz/qtEWThokPvdtYElE5k6SpqAqwQO5eqg==, tarball: file:projects/util-internal-archive-client.tgz} name: '@rush-temp/util-internal-archive-client' version: 0.0.0 dependencies: @@ -6188,7 +7495,7 @@ packages: dev: false file:projects/util-internal-archive-layout.tgz: - resolution: {integrity: sha512-ashCPgeYTaiPXVQ9EM4HbLfX0RjcPNnqhKtqh/xSWzjMvPbclOiJ+O0kpTxK0LI3Tq1AIJiJ9xcOCZhbpESGpQ==, tarball: file:projects/util-internal-archive-layout.tgz} + resolution: {integrity: sha512-zbb2foNu+qXAmYaNpRT5wvwaSl0a0Svf8mEVbjHGg4ZwKiQLz4ZkGnErlOrtvOo/iIDPOFNlsvAXo6YnDejXpw==, tarball: file:projects/util-internal-archive-layout.tgz} name: '@rush-temp/util-internal-archive-layout' version: 0.0.0 dependencies: @@ -6197,13 +7504,13 @@ packages: dev: false file:projects/util-internal-binary-heap.tgz: - resolution: {integrity: sha512-FuCabuHvxL94nHw4H0bzUVMgMOwsr+BOhczLUhneQijzQAQpGhq/uYBbzQgjsY/AtqMBe2hciv0Xq0kf2DcI1g==, tarball: file:projects/util-internal-binary-heap.tgz} + resolution: {integrity: sha512-ySQbSVAEksbM/fIDa9Ze8c5xmo7GoKCaI5ox7AB7vAxFSb0oQ+KQelUdJIzA2I4kWnJ3K7dCbPCZlADICAUO/w==, tarball: file:projects/util-internal-binary-heap.tgz} name: '@rush-temp/util-internal-binary-heap' version: 0.0.0 dev: false file:projects/util-internal-code-printer.tgz: - resolution: {integrity: sha512-mViO4T2VW61Ai6KTJcxFlFW2SG+01wahyX5QoSWuwtYoWf1tVL97+eQ5RxpRJycn+30VwHIj0zfQye3ft2p0aA==, tarball: file:projects/util-internal-code-printer.tgz} + resolution: {integrity: sha512-+7eXJC2cnu4nSRXHrzd3t4DQ1r03wj1FA8T1YPBlNOngf3oUrpqEdKTewO3D0+zrsFQAH+VdJdhvzUMvsp6aiw==, tarball: file:projects/util-internal-code-printer.tgz} name: '@rush-temp/util-internal-code-printer' version: 0.0.0 dependencies: @@ -6212,7 +7519,7 @@ packages: dev: false file:projects/util-internal-commander.tgz: - resolution: {integrity: sha512-otyALLCdb0jyhMIBQYN7PDf0oLn2Rt8/QB9QXrNTio96tjL8pESm2adi6AKqEljWBliOUQAS9dsTbh3gWaJJuQ==, tarball: file:projects/util-internal-commander.tgz} + resolution: {integrity: sha512-LNHl1Q2ZASz2JwUj+nP6laiKFTa0s7r58RXTaSaMUtwl9InHTSJMMZCjsg+5CjjhDcTghHk/9vkr73GxQz3DHg==, tarball: file:projects/util-internal-commander.tgz} name: '@rush-temp/util-internal-commander' version: 0.0.0 dependencies: @@ -6222,7 +7529,7 @@ packages: dev: false file:projects/util-internal-config.tgz: - resolution: {integrity: sha512-jo4KJHbpWdT2/JcS5D5PyvYQW+CSBaNt72OKRaqI7yvvj+oa5E7f8Upjve09945tpuH32KaoSGAyTVu4ci+BCg==, tarball: file:projects/util-internal-config.tgz} + resolution: {integrity: sha512-LE37R3QmK+pUzTSQKtzFX48dhcrnXs1axmdMYQ3eWI08WrBRNKXAnpFLPaADHi6/mBl+Yat8ezt6DZohk7JSew==, tarball: file:projects/util-internal-config.tgz} name: '@rush-temp/util-internal-config' version: 0.0.0 dependencies: @@ -6233,7 +7540,7 @@ packages: dev: false file:projects/util-internal-counters.tgz: - resolution: {integrity: sha512-glDXuNex8DnjMkrx676nlttir76HALgbX3fN/ZMrk+xzhZ6CFwu5fm9baH7t1R2a4Uc5Y9tCJwKLgwh8pbQvsg==, tarball: file:projects/util-internal-counters.tgz} + resolution: {integrity: sha512-H+OT4ekb3y2dRIXL73zdnT0d4VICY48sQ9eT4/o6P9zBfMLMLh/F0EvSsh3x+0uXkNac5Vf40ls7Y/eETspI+Q==, tarball: file:projects/util-internal-counters.tgz} name: '@rush-temp/util-internal-counters' version: 0.0.0 dependencies: @@ -6242,7 +7549,7 @@ packages: dev: false file:projects/util-internal-dump-cli.tgz: - resolution: {integrity: sha512-s/RRvemCN1sbbvBUpgQvYR1rVT62Vd7TIw/h1guzkJGC6eJuUs84oUxOtv/glLjDkIPl6Lia1Lg6Tp5KUJSUuw==, tarball: file:projects/util-internal-dump-cli.tgz} + resolution: {integrity: sha512-bdwjMQ+Aijhg1OXyQ4aHbCH4GLjjfrazqBzldekTivslWrpOov00VZxNSV6DFoYRyji5CpSVxzzTIfoYE8T1Og==, tarball: file:projects/util-internal-dump-cli.tgz} name: '@rush-temp/util-internal-dump-cli' version: 0.0.0 dependencies: @@ -6253,7 +7560,7 @@ packages: dev: false file:projects/util-internal-fs.tgz: - resolution: {integrity: sha512-oGrEUoaDpzQRCWQ+UxtMfieNfHqwMbXPHnr8uUUYkyH2j5OsqrtbB3HEgzc3CVmKLxYn6+9wabrYn4rMJVJARA==, tarball: file:projects/util-internal-fs.tgz} + resolution: {integrity: sha512-evaThx+v+qBIt+TFt3HrpDpHxqCoCyyMDzvpOML7IfUb1BghSjlYte/BH+HnVPL7ADX2Mn/7c25PQswtmL1M9g==, tarball: file:projects/util-internal-fs.tgz} name: '@rush-temp/util-internal-fs' version: 0.0.0 dependencies: @@ -6266,7 +7573,7 @@ packages: dev: false file:projects/util-internal-hex.tgz: - resolution: {integrity: sha512-T0/1gzu+hlOpTqReIAm+7BGsakVa3a0By2u7nAOhH2M15gevHxWJX6TQloxIDJLZOLPiLVidCSG8mh7ncY/TCw==, tarball: file:projects/util-internal-hex.tgz} + resolution: {integrity: sha512-6in6m1mDAH/fouuhMUjrEJKHnmgFsxieL+6l0lS+i5sFPRXc4FyNGfi0S+zqZo59xRsqYUQVO0s6GydAuHQsmQ==, tarball: file:projects/util-internal-hex.tgz} name: '@rush-temp/util-internal-hex' version: 0.0.0 dependencies: @@ -6275,7 +7582,7 @@ packages: dev: false file:projects/util-internal-http-server.tgz: - resolution: {integrity: sha512-H9kOCDRp6VFCrBPo2r84wf7qoxZe7HrvzKJ43TM/44xwL7OvmCPN8kN1AROlPljqepGiATvPVb4Fj7wdkN+lkQ==, tarball: file:projects/util-internal-http-server.tgz} + resolution: {integrity: sha512-zZLlGOP6c87fIurG/Iv8EYNLWELCh+Hn3WWvbpSkLsPj+olzisf8yS2feSXPswsyDOX/HhKnj+QZxz7uE1LIwA==, tarball: file:projects/util-internal-http-server.tgz} name: '@rush-temp/util-internal-http-server' version: 0.0.0 dependencies: @@ -6286,7 +7593,7 @@ packages: dev: false file:projects/util-internal-ingest-cli.tgz: - resolution: {integrity: sha512-PJ/89YGmvmN4gpfUegUQCfFx4jCFG1l3xyGcOjFRKgI9oGRgi/dQna7lvF1duC71t4xIkq1dO2t/F+GpajXDvg==, tarball: file:projects/util-internal-ingest-cli.tgz} + resolution: {integrity: sha512-dfsaYu8B5dauuQDOWaLgHcZ+DmtlIGTvd9ftbBkZsOMHCywTxDHcSbtKWmjmGgb04zvsRSnpAuIONGeqZ1F0nQ==, tarball: file:projects/util-internal-ingest-cli.tgz} name: '@rush-temp/util-internal-ingest-cli' version: 0.0.0 dependencies: @@ -6296,7 +7603,7 @@ packages: dev: false file:projects/util-internal-ingest-tools.tgz: - resolution: {integrity: sha512-9ClyoBHCFq5F8kYw70CzeMmqmVXI1TXzlt1Ton+AIvAYvR+tvySKDQbRhs+v4hPYEayTGNtrdt30vBhzQzKNng==, tarball: file:projects/util-internal-ingest-tools.tgz} + resolution: {integrity: sha512-WfJytygH3GsZMRVbsDNmEnVNfmnaBB+7K7HVpVZCn/pQjejmtgzJ376j3uW4aPgVFwlwFex0nklNkTXgGoDc2g==, tarball: file:projects/util-internal-ingest-tools.tgz} name: '@rush-temp/util-internal-ingest-tools' version: 0.0.0 dependencies: @@ -6305,7 +7612,7 @@ packages: dev: false file:projects/util-internal-json-fix-unsafe-integers.tgz: - resolution: {integrity: sha512-E4YfxEkcFyhnX+BNM7t9WZdt2X0WWvI1bdpa4HrJwCamsR+ffiRlw1GLjh6wSW9dtW2qwrY0xhR5CF/DledZ/A==, tarball: file:projects/util-internal-json-fix-unsafe-integers.tgz} + resolution: {integrity: sha512-4ddGUgSWOw25ZStmgktF7uumdzxm3OVGAs/98ydYRmmubju88fXg7aFGKQAl6x16ipGRMxAFbHOErfkUCIDOeg==, tarball: file:projects/util-internal-json-fix-unsafe-integers.tgz} name: '@rush-temp/util-internal-json-fix-unsafe-integers' version: 0.0.0 dependencies: @@ -6314,7 +7621,7 @@ packages: dev: false file:projects/util-internal-json.tgz: - resolution: {integrity: sha512-CTX04klY+93+n4dl0LmQqgLz/9KkL8zwfM2NuBxe8LJmDlCayqYvryAW7h73ye72fw5QjUTKO2ljGGUQBbPgtg==, tarball: file:projects/util-internal-json.tgz} + resolution: {integrity: sha512-DqSQ6DqGIKp+5PXkEKUpKrrzF4728UX5PJwqKOcpCCf3MZKJLfLm3IOHsAx/fQKz2/Io8NHXNYpepMnBewaZ7w==, tarball: file:projects/util-internal-json.tgz} name: '@rush-temp/util-internal-json' version: 0.0.0 dependencies: @@ -6323,7 +7630,7 @@ packages: dev: false file:projects/util-internal-processor-tools.tgz: - resolution: {integrity: sha512-ldVr34bB2bKipCCbgh3N4NqRRvraq751mbVRVnOaK49BgQRhsRKe3qSCyevebYMzxl5LltUAEgAigbTDAGxpTA==, tarball: file:projects/util-internal-processor-tools.tgz} + resolution: {integrity: sha512-AxWjMHXnot0xRGhPqmV6RjsKZEtxrCXwDvmAT3MrIYA04YJV0NXeMBE7HzepGoYTIGJuT8o34RdoaoI7C3IJrA==, tarball: file:projects/util-internal-processor-tools.tgz} name: '@rush-temp/util-internal-processor-tools' version: 0.0.0 dependencies: @@ -6333,7 +7640,7 @@ packages: dev: false file:projects/util-internal-prometheus-server.tgz: - resolution: {integrity: sha512-r9gGAYLdqDKKIqeXlg5Yhle6fnB+8Tc71Wzhl8WEBbK5csl0FR9AKpCXHYsjEtBHJAVkEupp3NoD4nTgBTKzWw==, tarball: file:projects/util-internal-prometheus-server.tgz} + resolution: {integrity: sha512-9D/a+ZPY9OPjICgnG7rNnNMf35HceFvKZW4gd+lxRAepzU7G+jWDS4rg7thr2zAcTeVD5kx+Teb8A//Df0w+qw==, tarball: file:projects/util-internal-prometheus-server.tgz} name: '@rush-temp/util-internal-prometheus-server' version: 0.0.0 dependencies: @@ -6343,7 +7650,7 @@ packages: dev: false file:projects/util-internal-range.tgz: - resolution: {integrity: sha512-SBeM/dr9yxP7+h4qQQYaDQ6f7GBKmvzwMQS7za+FqNe+dpVc/pRo+xMq7nncKOEgvM60aj8Z2UYEG0U93q0x4g==, tarball: file:projects/util-internal-range.tgz} + resolution: {integrity: sha512-LkEoFYOtMaHHQsFZDN9o8WALN2vEefSGVJ5wmIis15gw477tHDWlXRWoDLb15Dl/mwjBhy4Doec6qdvkA7/zBA==, tarball: file:projects/util-internal-range.tgz} name: '@rush-temp/util-internal-range' version: 0.0.0 dependencies: @@ -6353,7 +7660,7 @@ packages: dev: false file:projects/util-internal-read-lines.tgz: - resolution: {integrity: sha512-piBAEJbqWfm/Pk/a16qkO9/hbQ5XWfFeB19YLsVPkCjHrXdaQkcO09IsALspo2Kw+whRRHi3z3b0hIu5r366qw==, tarball: file:projects/util-internal-read-lines.tgz} + resolution: {integrity: sha512-cZ+/wV7mHLmtjinxKcT5nm4p6Bao7dP/C0QelVPcGPm8xtj7OmShIKQ1FzZiu9ULy8XqMxyBfNUamq1FARbBEw==, tarball: file:projects/util-internal-read-lines.tgz} name: '@rush-temp/util-internal-read-lines' version: 0.0.0 dependencies: @@ -6362,7 +7669,7 @@ packages: dev: false file:projects/util-internal-ts-node.tgz: - resolution: {integrity: sha512-cwEqqcs87eNWTRv1zZK+B1ZRQaRE0nDF6WY6/Oxu061fQ5ZO+ZWxZo8PB7iwljWqT0kTOd4Ti2HIIJQwKoeA8g==, tarball: file:projects/util-internal-ts-node.tgz} + resolution: {integrity: sha512-a/jCj2qurKv8VA1VMlj0DHxEMp1yhwMj+qbxotiHUEWFYnph/Ewx6BajBCXqE1GNc7PoMKOmVQyuJ2Og9bl1+w==, tarball: file:projects/util-internal-ts-node.tgz} name: '@rush-temp/util-internal-ts-node' version: 0.0.0 dependencies: @@ -6371,7 +7678,7 @@ packages: dev: false file:projects/util-internal-validation.tgz: - resolution: {integrity: sha512-jviaHr7Ia33uCdzo6yqTKn2rlbB8tDYFtkNkaAXvUJBonpOaIQdFS/Ow8iezP48qwfBapQcmX9/kWKy/z2llMQ==, tarball: file:projects/util-internal-validation.tgz} + resolution: {integrity: sha512-UEDOzXnuWfeCqeHvFQjWxwZedpvt4CvjbDgaa2H4CR3tRYLFuGCtwmKtwkb/maMyUyup9hdNSE0OsZtLpP/ksw==, tarball: file:projects/util-internal-validation.tgz} name: '@rush-temp/util-internal-validation' version: 0.0.0 dependencies: @@ -6380,7 +7687,7 @@ packages: dev: false file:projects/util-internal.tgz: - resolution: {integrity: sha512-vARaOf3UJqPtmTLnj1do1vi3nFKqWPJmmb96EMfad6a1o82r+7OGtKf7PbrckLTtJ24vi/0v4+dFTHZ8HLC4MA==, tarball: file:projects/util-internal.tgz} + resolution: {integrity: sha512-/qXYy9MwYAnk+ZcMniYbgkIkDuLQCHVz4qFVHqpig2EalE9kNvm6SE3GHKEHBTRcMpwv14uPDtPyhYQAUURp2w==, tarball: file:projects/util-internal.tgz} name: '@rush-temp/util-internal' version: 0.0.0 dependencies: @@ -6389,7 +7696,7 @@ packages: dev: false file:projects/util-naming.tgz: - resolution: {integrity: sha512-G8R/h6me/qT6c1Dm1ffh+d1VbMe+FCBNBAFAjKsAbmJGaQistr38hDhIziSAdoQ/xzpmEtWW3bXlB1Yp19OMFA==, tarball: file:projects/util-naming.tgz} + resolution: {integrity: sha512-Bzmg3bQcqCNvkrX3tzYzrVKUEO6Ij+K0l3VvmSFBaUfTBi+Rf4TbYhYqjUsG9ISTyDqQdFu7b+aQmvLCm8fTiA==, tarball: file:projects/util-naming.tgz} name: '@rush-temp/util-naming' version: 0.0.0 dependencies: @@ -6401,7 +7708,7 @@ packages: dev: false file:projects/util-timeout.tgz: - resolution: {integrity: sha512-AJgxyS7q0KgpEuEhhCT9aWnEcgwe3Mh+iwzakbxRjWC7nrR5jh2kispcFIe9PmgBKkDYPhXezDl/w7UTQEofmA==, tarball: file:projects/util-timeout.tgz} + resolution: {integrity: sha512-Q1f6wg3zBfyg+KEc4LFhzpD5MQS6WS+rl9DcP927ZOYsow9GdnB6D8HSBYmPq8aIDl9jdfhJCIQ24iInNB52OQ==, tarball: file:projects/util-timeout.tgz} name: '@rush-temp/util-timeout' version: 0.0.0 dependencies: @@ -6410,7 +7717,7 @@ packages: dev: false file:projects/util-xxhash.tgz: - resolution: {integrity: sha512-jBl/eS7PbLJc1oxa7Zw66gmfUNC+13B8dbfhqI4iCegJm/dksyL6kTNf8r75TMXNU57PNbvq2Z8oZ/P6zVxtUQ==, tarball: file:projects/util-xxhash.tgz} + resolution: {integrity: sha512-GGh0hvVKAnw3JZqEwa/XYjBkazdYKjM3DB/8K+VnNS9Qpriq8MbOE9QtbP7WvDnVPbt0gUBKSkA5P6g9jyficg==, tarball: file:projects/util-xxhash.tgz} name: '@rush-temp/util-xxhash' version: 0.0.0 dependencies: @@ -6422,7 +7729,7 @@ packages: dev: false file:projects/workspace.tgz: - resolution: {integrity: sha512-+yG/GEvbMZfXMzmkNd3dcnVEsTlG+j4tW80oCl/6RHsUCg91YArJkcN3KQYdi+bP6Co495yhNnOcmv0YZ3d7uA==, tarball: file:projects/workspace.tgz} + resolution: {integrity: sha512-QZfw+RXZdEaoiRmWRnuOm3KAYu/4xKRPX88uFJMY6mlyW1w43cMoQNepXJwBA3yv3A4kIAkonL2dGxgGPfJ6jQ==, tarball: file:projects/workspace.tgz} name: '@rush-temp/workspace' version: 0.0.0 dependencies: diff --git a/evm/evm-codec/src/abi-components/function.ts b/evm/evm-codec/src/abi-components/function.ts index 9d74d1dc9..fa28272c5 100644 --- a/evm/evm-codec/src/abi-components/function.ts +++ b/evm/evm-codec/src/abi-components/function.ts @@ -55,8 +55,8 @@ export class AbiFunction< return result; } - decodeResult(output: string): R | undefined { + decodeResult(output: string): R { const src = new Src(Buffer.from(output.slice(2), "hex")); - return this.returnType?.decode(src); + return this.returnType?.decode(src) as any; } } diff --git a/evm/evm-codec/src/codec.ts b/evm/evm-codec/src/codec.ts index 3954b156c..f2e2c1735 100644 --- a/evm/evm-codec/src/codec.ts +++ b/evm/evm-codec/src/codec.ts @@ -42,7 +42,7 @@ export type CodecListArgs = T extends readonly [Codec] ? readonly [DeepReadonly] : T extends readonly [Codec, ...infer R] ? readonly [DeepReadonly, ...CodecListArgs] - : never; + : []; export type IndexedCodec = Identity< NamedCodec & { indexed?: true } diff --git a/evm/evm-codec/src/codecs/primitives.ts b/evm/evm-codec/src/codecs/primitives.ts index 808481fae..6867de7e2 100644 --- a/evm/evm-codec/src/codecs/primitives.ts +++ b/evm/evm-codec/src/codecs/primitives.ts @@ -224,13 +224,10 @@ export const struct = []>(...components: T) => export const tuple = struct; -export const fun = < - const T extends NamedCodec[], - R extends Codec ->( +export const fun = [], R>( signature: string, args: T, - returnType?: R + returnType?: Codec ) => new AbiFunction(signature, args, returnType); export const event = >>( diff --git a/evm/evm-codec/src/contract-base.ts b/evm/evm-codec/src/contract-base.ts new file mode 100644 index 000000000..f821b57c4 --- /dev/null +++ b/evm/evm-codec/src/contract-base.ts @@ -0,0 +1,59 @@ +import { AbiFunction } from "./abi-components/function"; +import { Codec, CodecListArgs } from "./codec"; + +export interface Chain { + client: { + call: (method: string, params?: unknown[]) => Promise; + }; +} + +export interface ChainContext { + _chain: Chain; +} + +export interface BlockContext { + _chain: Chain; + block: Block; +} + +export interface Block { + height: number; +} + +export class ContractBase { + private readonly _chain: Chain; + private readonly blockHeight: number; + readonly address: string; + + constructor(ctx: BlockContext, address: string); + constructor(ctx: ChainContext, block: Block, address: string); + constructor( + ctx: BlockContext, + blockOrAddress: Block | string, + address?: string + ) { + this._chain = ctx._chain; + if (typeof blockOrAddress === "string") { + this.blockHeight = ctx.block.height; + this.address = blockOrAddress; + } else { + if (address == null) { + throw new Error("missing contract address"); + } + this.blockHeight = blockOrAddress.height; + this.address = address; + } + } + + async eth_call>, R>( + func: AbiFunction, + args: CodecListArgs + ): Promise { + let data = func.encode(...args); + let result = await this._chain.client.call("eth_call", [ + { to: this.address, data }, + "0x" + this.blockHeight.toString(16), + ]); + return func.decodeResult(result); + } +} diff --git a/evm/evm-codec/src/index.ts b/evm/evm-codec/src/index.ts index 4296bfd25..608718159 100644 --- a/evm/evm-codec/src/index.ts +++ b/evm/evm-codec/src/index.ts @@ -2,3 +2,4 @@ export { Src } from "./src"; export { Sink } from "./sink"; export type { Codec } from "./codec"; export * from "./codecs/primitives"; +export * from "./contract-base"; diff --git a/evm/evm-codec/test/function.test.ts b/evm/evm-codec/test/function.test.ts index 5fe1cb291..fb184a0a0 100644 --- a/evm/evm-codec/test/function.test.ts +++ b/evm/evm-codec/test/function.test.ts @@ -8,6 +8,7 @@ import { fixedArray, fun, int32, + Sink, struct, uint256, } from "../src"; @@ -128,4 +129,13 @@ describe("Function", () => { arg4: args[3], }); }); + + it("return simple type", () => { + const simpleFunction = fun("0x12345678", [arg("foo", uint256)], int32); + const sink = new Sink(1); + int32.encode(sink, -420); + sink.toString(); + const output = simpleFunction.decodeResult(sink.toString()); + expect(output).toBe(-420); + }); });