diff --git a/.yarn/cache/@ambire-signature-validator-npm-1.3.0-dc31d0b314-527774e73d.zip b/.yarn/cache/@ambire-signature-validator-npm-1.3.1-a68f519d5e-44c4796f4c.zip similarity index 93% rename from .yarn/cache/@ambire-signature-validator-npm-1.3.0-dc31d0b314-527774e73d.zip rename to .yarn/cache/@ambire-signature-validator-npm-1.3.1-a68f519d5e-44c4796f4c.zip index c89084a95c..dafb8aec40 100644 Binary files a/.yarn/cache/@ambire-signature-validator-npm-1.3.0-dc31d0b314-527774e73d.zip and b/.yarn/cache/@ambire-signature-validator-npm-1.3.1-a68f519d5e-44c4796f4c.zip differ diff --git a/.yarn/cache/@chainsafe-as-sha256-npm-0.4.1-405a4e06e4-6d86975e64.zip b/.yarn/cache/@chainsafe-as-sha256-npm-0.4.1-405a4e06e4-6d86975e64.zip deleted file mode 100644 index 2e2a29e45c..0000000000 Binary files a/.yarn/cache/@chainsafe-as-sha256-npm-0.4.1-405a4e06e4-6d86975e64.zip and /dev/null differ diff --git a/.yarn/cache/@chainsafe-persistent-merkle-tree-npm-0.6.1-02b87ab227-74614b8d40.zip b/.yarn/cache/@chainsafe-persistent-merkle-tree-npm-0.6.1-02b87ab227-74614b8d40.zip deleted file mode 100644 index 984e62684d..0000000000 Binary files a/.yarn/cache/@chainsafe-persistent-merkle-tree-npm-0.6.1-02b87ab227-74614b8d40.zip and /dev/null differ diff --git a/.yarn/cache/@chainsafe-ssz-npm-0.11.1-191ef7e38f-e3c2928f9a.zip b/.yarn/cache/@chainsafe-ssz-npm-0.11.1-191ef7e38f-e3c2928f9a.zip deleted file mode 100644 index 457bcb575c..0000000000 Binary files a/.yarn/cache/@chainsafe-ssz-npm-0.11.1-191ef7e38f-e3c2928f9a.zip and /dev/null differ diff --git a/.yarn/cache/@ethereumjs-util-npm-8.0.6-70105b3afb-034e06cdde.zip b/.yarn/cache/@ethereumjs-util-npm-8.1.0-d7f8b5e130-9ae5dee8f1.zip similarity index 84% rename from .yarn/cache/@ethereumjs-util-npm-8.0.6-70105b3afb-034e06cdde.zip rename to .yarn/cache/@ethereumjs-util-npm-8.1.0-d7f8b5e130-9ae5dee8f1.zip index 8782f50ecf..465a0194b6 100644 Binary files a/.yarn/cache/@ethereumjs-util-npm-8.0.6-70105b3afb-034e06cdde.zip and b/.yarn/cache/@ethereumjs-util-npm-8.1.0-d7f8b5e130-9ae5dee8f1.zip differ diff --git a/.yarn/cache/@ljharb-resumer-npm-0.0.1-4e6aed62a0-1cff0a485c.zip b/.yarn/cache/@ljharb-resumer-npm-0.0.1-4e6aed62a0-1cff0a485c.zip new file mode 100644 index 0000000000..84c11b4db1 Binary files /dev/null and b/.yarn/cache/@ljharb-resumer-npm-0.0.1-4e6aed62a0-1cff0a485c.zip differ diff --git a/.yarn/cache/@ljharb-through-npm-2.3.11-da1f942873-1050272602.zip b/.yarn/cache/@ljharb-through-npm-2.3.11-da1f942873-1050272602.zip new file mode 100644 index 0000000000..39682a2831 Binary files /dev/null and b/.yarn/cache/@ljharb-through-npm-2.3.11-da1f942873-1050272602.zip differ diff --git a/.yarn/cache/@noble-curves-npm-1.1.0-dccaf3c158-2658cdd3f8.zip b/.yarn/cache/@noble-curves-npm-1.1.0-dccaf3c158-2658cdd3f8.zip new file mode 100644 index 0000000000..062059ebfd Binary files /dev/null and b/.yarn/cache/@noble-curves-npm-1.1.0-dccaf3c158-2658cdd3f8.zip differ diff --git a/.yarn/cache/@openzeppelin-contracts-npm-4.9.3-5ad99d59ab-4932063e73.zip b/.yarn/cache/@openzeppelin-contracts-npm-4.9.5-7a5781d6a4-2cddeb08c0.zip similarity index 77% rename from .yarn/cache/@openzeppelin-contracts-npm-4.9.3-5ad99d59ab-4932063e73.zip rename to .yarn/cache/@openzeppelin-contracts-npm-4.9.5-7a5781d6a4-2cddeb08c0.zip index d898d01c9a..4f2e4092fb 100644 Binary files a/.yarn/cache/@openzeppelin-contracts-npm-4.9.3-5ad99d59ab-4932063e73.zip and b/.yarn/cache/@openzeppelin-contracts-npm-4.9.5-7a5781d6a4-2cddeb08c0.zip differ diff --git a/.yarn/cache/@scure-bip32-npm-1.3.1-3af4429c8d-394d65f77a.zip b/.yarn/cache/@scure-bip32-npm-1.3.1-3af4429c8d-394d65f77a.zip new file mode 100644 index 0000000000..31cc8cbb23 Binary files /dev/null and b/.yarn/cache/@scure-bip32-npm-1.3.1-3af4429c8d-394d65f77a.zip differ diff --git a/.yarn/cache/@types-bn.js-npm-5.1.1-346449981b-e50ed2dd3a.zip b/.yarn/cache/@types-bn.js-npm-5.1.1-346449981b-e50ed2dd3a.zip deleted file mode 100644 index 8f4ab48ead..0000000000 Binary files a/.yarn/cache/@types-bn.js-npm-5.1.1-346449981b-e50ed2dd3a.zip and /dev/null differ diff --git a/.yarn/cache/@types-pbkdf2-npm-3.1.0-9fa74ff7fb-d15024b195.zip b/.yarn/cache/@types-pbkdf2-npm-3.1.0-9fa74ff7fb-d15024b195.zip deleted file mode 100644 index 7afb6d8388..0000000000 Binary files a/.yarn/cache/@types-pbkdf2-npm-3.1.0-9fa74ff7fb-d15024b195.zip and /dev/null differ diff --git a/.yarn/cache/@types-secp256k1-npm-4.0.3-945d1c398e-1bd10b9afa.zip b/.yarn/cache/@types-secp256k1-npm-4.0.3-945d1c398e-1bd10b9afa.zip deleted file mode 100644 index 2507eab4b2..0000000000 Binary files a/.yarn/cache/@types-secp256k1-npm-4.0.3-945d1c398e-1bd10b9afa.zip and /dev/null differ diff --git a/.yarn/cache/array-buffer-byte-length-npm-1.0.0-331671f28a-044e101ce1.zip b/.yarn/cache/array-buffer-byte-length-npm-1.0.0-331671f28a-044e101ce1.zip new file mode 100644 index 0000000000..d2d609a667 Binary files /dev/null and b/.yarn/cache/array-buffer-byte-length-npm-1.0.0-331671f28a-044e101ce1.zip differ diff --git a/.yarn/cache/array.prototype.every-npm-1.1.4-fcd5d1d80b-6a11683fd0.zip b/.yarn/cache/array.prototype.every-npm-1.1.4-fcd5d1d80b-6a11683fd0.zip deleted file mode 100644 index 84470e54eb..0000000000 Binary files a/.yarn/cache/array.prototype.every-npm-1.1.4-fcd5d1d80b-6a11683fd0.zip and /dev/null differ diff --git a/.yarn/cache/array.prototype.every-npm-1.1.5-b5c9f5622d-9974435604.zip b/.yarn/cache/array.prototype.every-npm-1.1.5-b5c9f5622d-9974435604.zip new file mode 100644 index 0000000000..ecba0dfcd8 Binary files /dev/null and b/.yarn/cache/array.prototype.every-npm-1.1.5-b5c9f5622d-9974435604.zip differ diff --git a/.yarn/cache/arraybuffer.prototype.slice-npm-1.0.2-4eda52ad8c-c200faf437.zip b/.yarn/cache/arraybuffer.prototype.slice-npm-1.0.2-4eda52ad8c-c200faf437.zip new file mode 100644 index 0000000000..559e55f81a Binary files /dev/null and b/.yarn/cache/arraybuffer.prototype.slice-npm-1.0.2-4eda52ad8c-c200faf437.zip differ diff --git a/.yarn/cache/bignumber.js-npm-9.1.1-5929e8d8dc-ad243b7e2f.zip b/.yarn/cache/bignumber.js-npm-9.1.1-5929e8d8dc-ad243b7e2f.zip deleted file mode 100644 index ae328369f4..0000000000 Binary files a/.yarn/cache/bignumber.js-npm-9.1.1-5929e8d8dc-ad243b7e2f.zip and /dev/null differ diff --git a/.yarn/cache/bignumber.js-npm-9.1.2-c2228c6a4a-582c03af77.zip b/.yarn/cache/bignumber.js-npm-9.1.2-c2228c6a4a-582c03af77.zip new file mode 100644 index 0000000000..ebb96d0854 Binary files /dev/null and b/.yarn/cache/bignumber.js-npm-9.1.2-c2228c6a4a-582c03af77.zip differ diff --git a/.yarn/cache/blakejs-npm-1.2.1-b1ff783529-d699ba116c.zip b/.yarn/cache/blakejs-npm-1.2.1-b1ff783529-d699ba116c.zip deleted file mode 100644 index 55c7578740..0000000000 Binary files a/.yarn/cache/blakejs-npm-1.2.1-b1ff783529-d699ba116c.zip and /dev/null differ diff --git a/.yarn/cache/bs58check-npm-2.1.2-4e87e40195-43bdf08a5d.zip b/.yarn/cache/bs58check-npm-2.1.2-4e87e40195-43bdf08a5d.zip deleted file mode 100644 index 697da499fa..0000000000 Binary files a/.yarn/cache/bs58check-npm-2.1.2-4e87e40195-43bdf08a5d.zip and /dev/null differ diff --git a/.yarn/cache/call-bind-npm-1.0.5-65600fae47-449e83ecbd.zip b/.yarn/cache/call-bind-npm-1.0.5-65600fae47-449e83ecbd.zip new file mode 100644 index 0000000000..29854c129a Binary files /dev/null and b/.yarn/cache/call-bind-npm-1.0.5-65600fae47-449e83ecbd.zip differ diff --git a/.yarn/cache/crypto-js-npm-3.3.0-5b307000b5-193923143a.zip b/.yarn/cache/crypto-js-npm-3.3.0-5b307000b5-193923143a.zip deleted file mode 100644 index 72cab1a1e3..0000000000 Binary files a/.yarn/cache/crypto-js-npm-3.3.0-5b307000b5-193923143a.zip and /dev/null differ diff --git a/.yarn/cache/crypto-js-npm-4.2.0-d6f7744e63-f051666dbc.zip b/.yarn/cache/crypto-js-npm-4.2.0-d6f7744e63-f051666dbc.zip new file mode 100644 index 0000000000..87d2ed4984 Binary files /dev/null and b/.yarn/cache/crypto-js-npm-4.2.0-d6f7744e63-f051666dbc.zip differ diff --git a/.yarn/cache/deep-equal-npm-2.2.0-d9712e0040-46a34509d2.zip b/.yarn/cache/deep-equal-npm-2.2.0-d9712e0040-46a34509d2.zip deleted file mode 100644 index 637bad51c7..0000000000 Binary files a/.yarn/cache/deep-equal-npm-2.2.0-d9712e0040-46a34509d2.zip and /dev/null differ diff --git a/.yarn/cache/deep-equal-npm-2.2.3-86cbe803a7-ee8852f23e.zip b/.yarn/cache/deep-equal-npm-2.2.3-86cbe803a7-ee8852f23e.zip new file mode 100644 index 0000000000..efc0385ecc Binary files /dev/null and b/.yarn/cache/deep-equal-npm-2.2.3-86cbe803a7-ee8852f23e.zip differ diff --git a/.yarn/cache/define-data-property-npm-1.1.1-2b5156d112-a29855ad3f.zip b/.yarn/cache/define-data-property-npm-1.1.1-2b5156d112-a29855ad3f.zip new file mode 100644 index 0000000000..75936e2374 Binary files /dev/null and b/.yarn/cache/define-data-property-npm-1.1.1-2b5156d112-a29855ad3f.zip differ diff --git a/.yarn/cache/define-properties-npm-1.2.1-8a4d42413b-b4ccd00597.zip b/.yarn/cache/define-properties-npm-1.2.1-8a4d42413b-b4ccd00597.zip new file mode 100644 index 0000000000..b5958c58b1 Binary files /dev/null and b/.yarn/cache/define-properties-npm-1.2.1-8a4d42413b-b4ccd00597.zip differ diff --git a/.yarn/cache/dotenv-npm-16.1.4-c4499a21eb-c1b2e13df4.zip b/.yarn/cache/dotenv-npm-16.1.4-c4499a21eb-c1b2e13df4.zip deleted file mode 100644 index 755fcf3f98..0000000000 Binary files a/.yarn/cache/dotenv-npm-16.1.4-c4499a21eb-c1b2e13df4.zip and /dev/null differ diff --git a/.yarn/cache/dotenv-npm-16.3.1-e6d380a398-15d75e7279.zip b/.yarn/cache/dotenv-npm-16.3.1-e6d380a398-15d75e7279.zip new file mode 100644 index 0000000000..7bdd10c0d7 Binary files /dev/null and b/.yarn/cache/dotenv-npm-16.3.1-e6d380a398-15d75e7279.zip differ diff --git a/.yarn/cache/es-abstract-npm-1.22.3-15a58832e5-b1bdc96285.zip b/.yarn/cache/es-abstract-npm-1.22.3-15a58832e5-b1bdc96285.zip new file mode 100644 index 0000000000..f72f30d6f5 Binary files /dev/null and b/.yarn/cache/es-abstract-npm-1.22.3-15a58832e5-b1bdc96285.zip differ diff --git a/.yarn/cache/es-get-iterator-npm-1.1.3-7911befaac-8fa118da42.zip b/.yarn/cache/es-get-iterator-npm-1.1.3-7911befaac-8fa118da42.zip new file mode 100644 index 0000000000..06f687c4d9 Binary files /dev/null and b/.yarn/cache/es-get-iterator-npm-1.1.3-7911befaac-8fa118da42.zip differ diff --git a/.yarn/cache/es-set-tostringtag-npm-2.0.2-dae5ec6c58-afcec3a4c9.zip b/.yarn/cache/es-set-tostringtag-npm-2.0.2-dae5ec6c58-afcec3a4c9.zip new file mode 100644 index 0000000000..c611db75c0 Binary files /dev/null and b/.yarn/cache/es-set-tostringtag-npm-2.0.2-dae5ec6c58-afcec3a4c9.zip differ diff --git a/.yarn/cache/ethereum-cryptography-npm-0.1.3-ab43fc624b-54bae7a4a9.zip b/.yarn/cache/ethereum-cryptography-npm-0.1.3-ab43fc624b-54bae7a4a9.zip deleted file mode 100644 index 1b5318c946..0000000000 Binary files a/.yarn/cache/ethereum-cryptography-npm-0.1.3-ab43fc624b-54bae7a4a9.zip and /dev/null differ diff --git a/.yarn/cache/ethereum-cryptography-npm-2.0.0-6b73cba626-958f8aab2d.zip b/.yarn/cache/ethereum-cryptography-npm-2.0.0-6b73cba626-958f8aab2d.zip deleted file mode 100644 index 3a6088c5a3..0000000000 Binary files a/.yarn/cache/ethereum-cryptography-npm-2.0.0-6b73cba626-958f8aab2d.zip and /dev/null differ diff --git a/.yarn/cache/ethereum-cryptography-npm-2.1.2-dde1258735-2e8f7b8cc9.zip b/.yarn/cache/ethereum-cryptography-npm-2.1.2-dde1258735-2e8f7b8cc9.zip new file mode 100644 index 0000000000..894a2f8330 Binary files /dev/null and b/.yarn/cache/ethereum-cryptography-npm-2.1.2-dde1258735-2e8f7b8cc9.zip differ diff --git a/.yarn/cache/ethereumjs-util-npm-7.1.5-5bb4d00000-27a3c79d6e.zip b/.yarn/cache/ethereumjs-util-npm-7.1.5-5bb4d00000-27a3c79d6e.zip deleted file mode 100644 index 8ee5c37760..0000000000 Binary files a/.yarn/cache/ethereumjs-util-npm-7.1.5-5bb4d00000-27a3c79d6e.zip and /dev/null differ diff --git a/.yarn/cache/function-bind-npm-1.1.2-7a55be9b03-2b0ff4ce70.zip b/.yarn/cache/function-bind-npm-1.1.2-7a55be9b03-2b0ff4ce70.zip new file mode 100644 index 0000000000..55fbdad3a3 Binary files /dev/null and b/.yarn/cache/function-bind-npm-1.1.2-7a55be9b03-2b0ff4ce70.zip differ diff --git a/.yarn/cache/function.prototype.name-npm-1.1.6-fd3a6a5cdd-7a3f9bd98a.zip b/.yarn/cache/function.prototype.name-npm-1.1.6-fd3a6a5cdd-7a3f9bd98a.zip new file mode 100644 index 0000000000..9c6ff345f9 Binary files /dev/null and b/.yarn/cache/function.prototype.name-npm-1.1.6-fd3a6a5cdd-7a3f9bd98a.zip differ diff --git a/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-78fc0487b7.zip b/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-78fc0487b7.zip deleted file mode 100644 index 2ed7c8918f..0000000000 Binary files a/.yarn/cache/get-intrinsic-npm-1.2.0-eb08ea9b1d-78fc0487b7.zip and /dev/null differ diff --git a/.yarn/cache/get-intrinsic-npm-1.2.2-3f446d8847-447ff0724d.zip b/.yarn/cache/get-intrinsic-npm-1.2.2-3f446d8847-447ff0724d.zip new file mode 100644 index 0000000000..510eb5f0ed Binary files /dev/null and b/.yarn/cache/get-intrinsic-npm-1.2.2-3f446d8847-447ff0724d.zip differ diff --git a/.yarn/cache/has-proto-npm-1.0.1-631ea9d820-febc5b5b53.zip b/.yarn/cache/has-proto-npm-1.0.1-631ea9d820-febc5b5b53.zip new file mode 100644 index 0000000000..78afc3de42 Binary files /dev/null and b/.yarn/cache/has-proto-npm-1.0.1-631ea9d820-febc5b5b53.zip differ diff --git a/.yarn/cache/hasown-npm-2.0.0-78b794ceef-6151c75ca1.zip b/.yarn/cache/hasown-npm-2.0.0-78b794ceef-6151c75ca1.zip new file mode 100644 index 0000000000..5454406288 Binary files /dev/null and b/.yarn/cache/hasown-npm-2.0.0-78b794ceef-6151c75ca1.zip differ diff --git a/.yarn/cache/internal-slot-npm-1.0.6-1ed833e09a-7872454888.zip b/.yarn/cache/internal-slot-npm-1.0.6-1ed833e09a-7872454888.zip new file mode 100644 index 0000000000..ca734c685d Binary files /dev/null and b/.yarn/cache/internal-slot-npm-1.0.6-1ed833e09a-7872454888.zip differ diff --git a/.yarn/cache/is-core-module-npm-2.13.1-36e17434f9-256559ee8a.zip b/.yarn/cache/is-core-module-npm-2.13.1-36e17434f9-256559ee8a.zip new file mode 100644 index 0000000000..897f505685 Binary files /dev/null and b/.yarn/cache/is-core-module-npm-2.13.1-36e17434f9-256559ee8a.zip differ diff --git a/.yarn/cache/is-typed-array-npm-1.1.12-6135c91b1a-4c89c4a3be.zip b/.yarn/cache/is-typed-array-npm-1.1.12-6135c91b1a-4c89c4a3be.zip new file mode 100644 index 0000000000..4a35c2e95f Binary files /dev/null and b/.yarn/cache/is-typed-array-npm-1.1.12-6135c91b1a-4c89c4a3be.zip differ diff --git a/.yarn/cache/merkletreejs-npm-0.3.11-c6b9783f39-93edb8ec66.zip b/.yarn/cache/merkletreejs-npm-0.3.11-c6b9783f39-93edb8ec66.zip new file mode 100644 index 0000000000..d4a1f5c2f1 Binary files /dev/null and b/.yarn/cache/merkletreejs-npm-0.3.11-c6b9783f39-93edb8ec66.zip differ diff --git a/.yarn/cache/merkletreejs-npm-0.3.9-9ecdb5a222-a76ba14cb3.zip b/.yarn/cache/merkletreejs-npm-0.3.9-9ecdb5a222-a76ba14cb3.zip deleted file mode 100644 index 2b33849513..0000000000 Binary files a/.yarn/cache/merkletreejs-npm-0.3.9-9ecdb5a222-a76ba14cb3.zip and /dev/null differ diff --git a/.yarn/cache/mock-property-npm-1.0.3-5556761c5e-835b106e38.zip b/.yarn/cache/mock-property-npm-1.0.3-5556761c5e-835b106e38.zip new file mode 100644 index 0000000000..7aafef6db5 Binary files /dev/null and b/.yarn/cache/mock-property-npm-1.0.3-5556761c5e-835b106e38.zip differ diff --git a/.yarn/cache/object-inspect-npm-1.12.3-1e7d20f5ff-dabfd824d9.zip b/.yarn/cache/object-inspect-npm-1.12.3-1e7d20f5ff-dabfd824d9.zip deleted file mode 100644 index ec58095dc8..0000000000 Binary files a/.yarn/cache/object-inspect-npm-1.12.3-1e7d20f5ff-dabfd824d9.zip and /dev/null differ diff --git a/.yarn/cache/object-inspect-npm-1.13.1-fd038a2f0a-7d9fa9221d.zip b/.yarn/cache/object-inspect-npm-1.13.1-fd038a2f0a-7d9fa9221d.zip new file mode 100644 index 0000000000..1e1bbfbcfa Binary files /dev/null and b/.yarn/cache/object-inspect-npm-1.13.1-fd038a2f0a-7d9fa9221d.zip differ diff --git a/.yarn/cache/regexp.prototype.flags-npm-1.5.1-b8faeee306-869edff002.zip b/.yarn/cache/regexp.prototype.flags-npm-1.5.1-b8faeee306-869edff002.zip new file mode 100644 index 0000000000..d73fb5c3df Binary files /dev/null and b/.yarn/cache/regexp.prototype.flags-npm-1.5.1-b8faeee306-869edff002.zip differ diff --git a/.yarn/cache/resolve-npm-2.0.0-next.5-0e83bf26ee-a73ac69a1c.zip b/.yarn/cache/resolve-npm-2.0.0-next.5-0e83bf26ee-a73ac69a1c.zip new file mode 100644 index 0000000000..42abd61a52 Binary files /dev/null and b/.yarn/cache/resolve-npm-2.0.0-next.5-0e83bf26ee-a73ac69a1c.zip differ diff --git a/.yarn/cache/resolve-patch-1169b4314d-064d09c180.zip b/.yarn/cache/resolve-patch-1169b4314d-064d09c180.zip new file mode 100644 index 0000000000..6fad4662cd Binary files /dev/null and b/.yarn/cache/resolve-patch-1169b4314d-064d09c180.zip differ diff --git a/.yarn/cache/resumer-npm-0.0.0-3b09c5d536-21b1c257aa.zip b/.yarn/cache/resumer-npm-0.0.0-3b09c5d536-21b1c257aa.zip deleted file mode 100644 index 4a8c292822..0000000000 Binary files a/.yarn/cache/resumer-npm-0.0.0-3b09c5d536-21b1c257aa.zip and /dev/null differ diff --git a/.yarn/cache/rlp-npm-2.2.7-4cb283b8fe-3db4dfe5c7.zip b/.yarn/cache/rlp-npm-2.2.7-4cb283b8fe-3db4dfe5c7.zip deleted file mode 100644 index fd5be7d53b..0000000000 Binary files a/.yarn/cache/rlp-npm-2.2.7-4cb283b8fe-3db4dfe5c7.zip and /dev/null differ diff --git a/.yarn/cache/safe-array-concat-npm-1.0.1-8a42907bbf-001ecf1d8a.zip b/.yarn/cache/safe-array-concat-npm-1.0.1-8a42907bbf-001ecf1d8a.zip new file mode 100644 index 0000000000..6789308b81 Binary files /dev/null and b/.yarn/cache/safe-array-concat-npm-1.0.1-8a42907bbf-001ecf1d8a.zip differ diff --git a/.yarn/cache/secp256k1-npm-4.0.3-b4e9ce065b-21e219adc0.zip b/.yarn/cache/secp256k1-npm-4.0.3-b4e9ce065b-21e219adc0.zip deleted file mode 100644 index d5eb27fa34..0000000000 Binary files a/.yarn/cache/secp256k1-npm-4.0.3-b4e9ce065b-21e219adc0.zip and /dev/null differ diff --git a/.yarn/cache/set-function-length-npm-1.1.1-d362bf8221-c131d7569c.zip b/.yarn/cache/set-function-length-npm-1.1.1-d362bf8221-c131d7569c.zip new file mode 100644 index 0000000000..024add469c Binary files /dev/null and b/.yarn/cache/set-function-length-npm-1.1.1-d362bf8221-c131d7569c.zip differ diff --git a/.yarn/cache/set-function-name-npm-2.0.1-a9f970eea0-4975d17d90.zip b/.yarn/cache/set-function-name-npm-2.0.1-a9f970eea0-4975d17d90.zip new file mode 100644 index 0000000000..f18d53b599 Binary files /dev/null and b/.yarn/cache/set-function-name-npm-2.0.1-a9f970eea0-4975d17d90.zip differ diff --git a/.yarn/cache/stop-iteration-iterator-npm-1.0.0-ea451e1609-d04173690b.zip b/.yarn/cache/stop-iteration-iterator-npm-1.0.0-ea451e1609-d04173690b.zip new file mode 100644 index 0000000000..d1e62aa52b Binary files /dev/null and b/.yarn/cache/stop-iteration-iterator-npm-1.0.0-ea451e1609-d04173690b.zip differ diff --git a/.yarn/cache/string.prototype.trim-npm-1.2.7-3fbaf3b9d2-05b7b2d6af.zip b/.yarn/cache/string.prototype.trim-npm-1.2.7-3fbaf3b9d2-05b7b2d6af.zip deleted file mode 100644 index ee6a456c05..0000000000 Binary files a/.yarn/cache/string.prototype.trim-npm-1.2.7-3fbaf3b9d2-05b7b2d6af.zip and /dev/null differ diff --git a/.yarn/cache/string.prototype.trim-npm-1.2.8-7ed4517ce8-49eb1a862a.zip b/.yarn/cache/string.prototype.trim-npm-1.2.8-7ed4517ce8-49eb1a862a.zip new file mode 100644 index 0000000000..543f676ced Binary files /dev/null and b/.yarn/cache/string.prototype.trim-npm-1.2.8-7ed4517ce8-49eb1a862a.zip differ diff --git a/.yarn/cache/string.prototype.trimend-npm-1.0.7-159b9dcfbc-2375516272.zip b/.yarn/cache/string.prototype.trimend-npm-1.0.7-159b9dcfbc-2375516272.zip new file mode 100644 index 0000000000..93f30c147e Binary files /dev/null and b/.yarn/cache/string.prototype.trimend-npm-1.0.7-159b9dcfbc-2375516272.zip differ diff --git a/.yarn/cache/string.prototype.trimstart-npm-1.0.7-ae2f803b78-13d0c2cb0d.zip b/.yarn/cache/string.prototype.trimstart-npm-1.0.7-ae2f803b78-13d0c2cb0d.zip new file mode 100644 index 0000000000..187509d052 Binary files /dev/null and b/.yarn/cache/string.prototype.trimstart-npm-1.0.7-ae2f803b78-13d0c2cb0d.zip differ diff --git a/.yarn/cache/tape-npm-5.6.3-145ea2f11f-f6ce2bc25a.zip b/.yarn/cache/tape-npm-5.6.3-145ea2f11f-f6ce2bc25a.zip deleted file mode 100644 index 92466c732e..0000000000 Binary files a/.yarn/cache/tape-npm-5.6.3-145ea2f11f-f6ce2bc25a.zip and /dev/null differ diff --git a/.yarn/cache/tape-npm-5.7.2-54b31bd607-0ca531d977.zip b/.yarn/cache/tape-npm-5.7.2-54b31bd607-0ca531d977.zip new file mode 100644 index 0000000000..de69d32c22 Binary files /dev/null and b/.yarn/cache/tape-npm-5.7.2-54b31bd607-0ca531d977.zip differ diff --git a/.yarn/cache/typed-array-buffer-npm-1.0.0-95cb610310-3e0281c79b.zip b/.yarn/cache/typed-array-buffer-npm-1.0.0-95cb610310-3e0281c79b.zip new file mode 100644 index 0000000000..7e8dc8f1ed Binary files /dev/null and b/.yarn/cache/typed-array-buffer-npm-1.0.0-95cb610310-3e0281c79b.zip differ diff --git a/.yarn/cache/typed-array-byte-length-npm-1.0.0-94d79975ca-b03db16458.zip b/.yarn/cache/typed-array-byte-length-npm-1.0.0-94d79975ca-b03db16458.zip new file mode 100644 index 0000000000..9cd6f34788 Binary files /dev/null and b/.yarn/cache/typed-array-byte-length-npm-1.0.0-94d79975ca-b03db16458.zip differ diff --git a/.yarn/cache/typed-array-byte-offset-npm-1.0.0-8cbb911cf5-04f6f02d0e.zip b/.yarn/cache/typed-array-byte-offset-npm-1.0.0-8cbb911cf5-04f6f02d0e.zip new file mode 100644 index 0000000000..2318610bbc Binary files /dev/null and b/.yarn/cache/typed-array-byte-offset-npm-1.0.0-8cbb911cf5-04f6f02d0e.zip differ diff --git a/.yarn/cache/typed-array-length-npm-1.0.4-92771b81fc-2228febc93.zip b/.yarn/cache/typed-array-length-npm-1.0.4-92771b81fc-2228febc93.zip new file mode 100644 index 0000000000..f68a3c2c96 Binary files /dev/null and b/.yarn/cache/typed-array-length-npm-1.0.4-92771b81fc-2228febc93.zip differ diff --git a/.yarn/cache/viem-npm-1.20.0-46993b0823-0309bddd16.zip b/.yarn/cache/viem-npm-1.20.0-46993b0823-0309bddd16.zip new file mode 100644 index 0000000000..4ec3627bf2 Binary files /dev/null and b/.yarn/cache/viem-npm-1.20.0-46993b0823-0309bddd16.zip differ diff --git a/.yarn/cache/web3-utils-npm-1.9.0-fe205bb073-3c794a7fce.zip b/.yarn/cache/web3-utils-npm-1.10.3-476c30fa8b-353226710b.zip similarity index 74% rename from .yarn/cache/web3-utils-npm-1.9.0-fe205bb073-3c794a7fce.zip rename to .yarn/cache/web3-utils-npm-1.10.3-476c30fa8b-353226710b.zip index 00d98d976b..54f70dd6dd 100644 Binary files a/.yarn/cache/web3-utils-npm-1.9.0-fe205bb073-3c794a7fce.zip and b/.yarn/cache/web3-utils-npm-1.10.3-476c30fa8b-353226710b.zip differ diff --git a/.yarn/cache/which-typed-array-npm-1.1.13-92c18b4878-3828a0d5d7.zip b/.yarn/cache/which-typed-array-npm-1.1.13-92c18b4878-3828a0d5d7.zip new file mode 100644 index 0000000000..0d9d2479da Binary files /dev/null and b/.yarn/cache/which-typed-array-npm-1.1.13-92c18b4878-3828a0d5d7.zip differ diff --git a/apps/console/package.json b/apps/console/package.json index 951f208998..57c2e041cd 100644 --- a/apps/console/package.json +++ b/apps/console/package.json @@ -22,8 +22,6 @@ "lint": "eslint --cache --cache-location ./node_modules/.cache/eslint ." }, "dependencies": { - "@ethersproject/bytes": "5.7.0", - "@ethersproject/random": "5.7.0", "@headlessui/react": "1.7.5", "@heroicons/react": "2.0.13", "@proofzero/design-system": "workspace:*", @@ -39,7 +37,6 @@ "classnames": "2.3.2", "connectkit": "1.5.3", "cross-env": "7.0.3", - "ethers": "5.7.2", "flowbite": "1.6.5", "flowbite-react": "0.4.3", "lodash": "4.17.21", diff --git a/apps/passport/package.json b/apps/passport/package.json index 3e957eb255..1937b25e0d 100644 --- a/apps/passport/package.json +++ b/apps/passport/package.json @@ -21,7 +21,6 @@ "build-storybook": "npx tailwindcss -o ./app/styles/tailwind.css && build-storybook" }, "dependencies": { - "@ethersproject/keccak256": "5.7.0", "@proofzero/design-system": "*", "@proofzero/platform-clients": "workspace:*", "@proofzero/platform.account": "workspace:*", diff --git a/packages/urns/idref.ts b/packages/urns/idref.ts index 6734fff187..9d4c8e9744 100644 --- a/packages/urns/idref.ts +++ b/packages/urns/idref.ts @@ -1,4 +1,5 @@ -import { keccak256 } from '@ethersproject/keccak256' +import { keccak256 } from 'viem' + import { createRollupIdURNSpace, RollupIdURN } from '.' import { AccountType } from '../types/account' diff --git a/packages/urns/package.json b/packages/urns/package.json index f34e789768..3621c42ed3 100644 --- a/packages/urns/package.json +++ b/packages/urns/package.json @@ -29,7 +29,7 @@ "typescript": "5.0.4" }, "dependencies": { - "@ethersproject/keccak256": "5.7.0", - "urns": "0.6.0" + "urns": "0.6.0", + "viem": "1.20.0" } } diff --git a/platform/account/package.json b/platform/account/package.json index 245a4c2f00..33d545cf9b 100644 --- a/platform/account/package.json +++ b/platform/account/package.json @@ -27,12 +27,6 @@ "typescript": "5.0.4" }, "dependencies": { - "@ethersproject/address": "5.7.0", - "@ethersproject/bytes": "5.7.0", - "@ethersproject/keccak256": "5.7.0", - "@ethersproject/random": "5.7.0", - "@ethersproject/signing-key": "5.7.0", - "@ethersproject/transactions": "5.7.0", "@ethersproject/wallet": "5.7.0", "@proofzero/platform-clients": "workspace:*", "@proofzero/platform.core": "workspace:*", @@ -46,6 +40,7 @@ "jose": "4.11.0", "random-words": "2.0.0", "remix-auth-google": "1.2.0", + "viem": "1.20.0", "zod": "3.22.4" } } diff --git a/platform/account/src/jsonrpc/methods/resolveIdentity.ts b/platform/account/src/jsonrpc/methods/resolveIdentity.ts index 1ef1b3b7d9..f38ab4d1b1 100644 --- a/platform/account/src/jsonrpc/methods/resolveIdentity.ts +++ b/platform/account/src/jsonrpc/methods/resolveIdentity.ts @@ -1,6 +1,5 @@ import { z } from 'zod' -import { hexlify } from '@ethersproject/bytes' -import { randomBytes } from '@ethersproject/random' +import { toHex } from 'viem' import { router } from '@proofzero/platform.core' import { IdentityURNInput } from '@proofzero/platform-middleware/inputValidators' @@ -54,7 +53,8 @@ export const resolveIdentityMethod = async ({ const decodedJwt = jose.decodeJwt(input.jwt) urn = decodedJwt.sub as IdentityURN } else { - const name = hexlify(randomBytes(IDENTITY_OPTIONS.length)) + const buffer = new Uint8Array(IDENTITY_OPTIONS.length) + const name = toHex(crypto.getRandomValues(buffer)) urn = IdentityURNSpace.componentizedUrn(name) eventName = 'account_created_identity' } diff --git a/platform/account/src/jsonrpc/methods/revokeWalletSessionKey.ts b/platform/account/src/jsonrpc/methods/revokeWalletSessionKey.ts index e5bf852bd7..74813974a6 100644 --- a/platform/account/src/jsonrpc/methods/revokeWalletSessionKey.ts +++ b/platform/account/src/jsonrpc/methods/revokeWalletSessionKey.ts @@ -1,6 +1,6 @@ import { z } from 'zod' +import { toBytes } from 'viem' -import { arrayify } from '@ethersproject/bytes' import { BadRequestError } from '@proofzero/errors' import { AccountURNSpace, type AccountURN } from '@proofzero/urns/account' @@ -92,7 +92,7 @@ const revokeWalletSessionKey = async ({ }) => { const owner = (await smartContractWalletNode.storage.get( 'privateKey' - )) as string + )) as '0x${string}' if (!owner) { throw new BadRequestError({ message: 'missing private key for the user' }) @@ -100,14 +100,12 @@ const revokeWalletSessionKey = async ({ const signer = new Wallet(owner) - const address = await signer.getAddress() - const createRevokeSessionKeyUserOpResponse = await fetch( 'https://zerodev-api.zobeir.workers.dev/create-revoke-session-key-user-op', { ...requestInit, body: JSON.stringify({ - address, + address: await signer.getAddress(), projectId, publicSessionKey, }), @@ -120,7 +118,7 @@ const revokeWalletSessionKey = async ({ userOpHash: string } - const signedMessage = await signer.signMessage(arrayify(userOpHash)) + const signedMessage = await signer.signMessage(toBytes(userOpHash)) await fetch('https://zerodev-api.zobeir.workers.dev/send-userop', { ...requestInit, diff --git a/platform/account/src/jsonrpc/methods/verifyNonce.ts b/platform/account/src/jsonrpc/methods/verifyNonce.ts index 1f7b74c721..65a962a52f 100644 --- a/platform/account/src/jsonrpc/methods/verifyNonce.ts +++ b/platform/account/src/jsonrpc/methods/verifyNonce.ts @@ -7,7 +7,7 @@ import { CryptoAccount, type AccountNode } from '../../nodes' export const VerifyNonceInput = z.object({ nonce: z.string(), - signature: z.string(), + signature: z.string().startsWith('0x'), jwt: z.string().optional(), forceAccountCreation: z.boolean().optional(), }) @@ -31,7 +31,7 @@ export const verifyNonceMethod = async ({ const nodeClient = new CryptoAccount(ctx.account as AccountNode) - await nodeClient.verifyNonce(nonce, signature) + await nodeClient.verifyNonce(nonce, signature as '0x${string}') const caller = router.createCaller(ctx) const { existing } = await caller.account.resolveIdentity({ diff --git a/platform/account/src/jsonrpc/middlewares/checkCryptoNode.ts b/platform/account/src/jsonrpc/middlewares/checkCryptoNode.ts index c4cd52fb58..f3b68c853e 100644 --- a/platform/account/src/jsonrpc/middlewares/checkCryptoNode.ts +++ b/platform/account/src/jsonrpc/middlewares/checkCryptoNode.ts @@ -1,5 +1,6 @@ +import { isAddress as isEthAddress } from 'viem' + import { BaseMiddlewareFunction } from '@proofzero/platform-middleware/types' -import { isAddress as isEthAddress } from '@ethersproject/address' import { NodeType } from '@proofzero/types/account' diff --git a/platform/account/src/nodes/crypto.ts b/platform/account/src/nodes/crypto.ts index e91f56173b..971f1863c6 100644 --- a/platform/account/src/nodes/crypto.ts +++ b/platform/account/src/nodes/crypto.ts @@ -1,5 +1,4 @@ -import { hexlify } from '@ethersproject/bytes' -import { randomBytes } from '@ethersproject/random' +import { toHex } from 'viem' import type { Scope } from '@proofzero/types/authorization' import { CryptoAccountType } from '@proofzero/types/account' @@ -28,7 +27,8 @@ export default class CryptoAccount { scope: Scope, state: string ): Promise { - const nonce = hexlify(randomBytes(NONCE_OPTIONS.length)) + const buffer = new Uint8Array(NONCE_OPTIONS.length) + const nonce = toHex(crypto.getRandomValues(buffer)) const timestamp = Date.now() const challenges = @@ -50,7 +50,10 @@ export default class CryptoAccount { return nonce } - async verifyNonce(nonce: string, signature: string): Promise { + async verifyNonce( + nonce: string, + signature: '0x${string}' + ): Promise { const challenges: Record = (await this.node.storage.get>('challenges')) || {} @@ -61,7 +64,7 @@ export default class CryptoAccount { } const message = challenge.template.slice().replace(/{{nonce}}/, nonce) - const address = recoverEthereumAddress(message, signature) + const address = await recoverEthereumAddress(message, signature) if (address != challenge.address) { throw new Error('not matching address') diff --git a/platform/account/src/utils.ts b/platform/account/src/utils.ts index b6840ed6c5..5899d75262 100644 --- a/platform/account/src/utils.ts +++ b/platform/account/src/utils.ts @@ -1,6 +1,4 @@ -import { keccak256 } from '@ethersproject/keccak256' -import { recoverPublicKey } from '@ethersproject/signing-key' -import { computeAddress } from '@ethersproject/transactions' +import { keccak256, recoverAddress } from 'viem' import { CryptoAccountType, @@ -89,13 +87,13 @@ export const isValidAccountType = (type: string) => { export const recoverEthereumAddress = ( message: string, - signature: string -): string => { + signature: '0x${string}' +): Promise => { const prefix = `\u0019Ethereum Signed Message:\n${message.length}` const encoder = new TextEncoder() const bytes = encoder.encode(`${prefix}${message}`) - const digest = keccak256(bytes) - return computeAddress(recoverPublicKey(digest, signature)) + const hash = keccak256(bytes) + return recoverAddress({ hash, signature }) } export const generateSmartWalletAccountUrn = ( diff --git a/platform/authorization/package.json b/platform/authorization/package.json index 18ce8395ee..6f4c44c267 100644 --- a/platform/authorization/package.json +++ b/platform/authorization/package.json @@ -31,8 +31,6 @@ "wrangler": "3.2.0" }, "dependencies": { - "@ethersproject/bytes": "5.7.0", - "@ethersproject/random": "5.7.0", "@proofzero/errors": "workspace:*", "@proofzero/platform-clients": "workspace:*", "@proofzero/platform-middleware": "workspace:*", @@ -43,6 +41,7 @@ "async": "3.2.4", "do-proxy": "1.3.3", "jose": "4.11.0", + "viem": "1.20.0", "zod": "3.22.4" } } diff --git a/platform/authorization/src/jsonrpc/methods/authorize.ts b/platform/authorization/src/jsonrpc/methods/authorize.ts index 4496c13f33..7457b6b73d 100644 --- a/platform/authorization/src/jsonrpc/methods/authorize.ts +++ b/platform/authorization/src/jsonrpc/methods/authorize.ts @@ -1,12 +1,11 @@ import { z } from 'zod' +import { toHex } from 'viem' import { IdentityURNInput } from '@proofzero/platform-middleware/inputValidators' import { Context } from '../../context' import { CODE_OPTIONS } from '../../constants' import { initExchangeCodeNodeByName } from '../../nodes' -import { hexlify } from '@ethersproject/bytes' -import { randomBytes } from '@ethersproject/random' import { PersonaData } from '@proofzero/types/application' import { createAnalyticsEvent } from '@proofzero/utils/analytics' @@ -44,7 +43,8 @@ export const authorizeMethod = async ({ state, } = input - const code = hexlify(randomBytes(CODE_OPTIONS.length)) + const buffer = new Uint8Array(CODE_OPTIONS.length) + const code = toHex(crypto.getRandomValues(buffer)) // TODO: validate the scopes are legitmate here or when we ask for it back in exchangeToken diff --git a/platform/authorization/src/nodes/authorization.ts b/platform/authorization/src/nodes/authorization.ts index affdc4f585..544589033b 100644 --- a/platform/authorization/src/nodes/authorization.ts +++ b/platform/authorization/src/nodes/authorization.ts @@ -1,9 +1,7 @@ import { DOProxy } from 'do-proxy' import * as jose from 'jose' - -import { hexlify } from '@ethersproject/bytes' -import { randomBytes } from '@ethersproject/random' +import { toHex } from 'viem' import { InternalServerError, RollupError } from '@proofzero/errors' import { NodeMethodReturnValue } from '@proofzero/types/node' @@ -89,7 +87,10 @@ export default class Authorization extends DOProxy { options const { alg, kid } = jwk if (!alg) throw new InternalServerError({ message: 'missing alg in jwk' }) - const jti = hexlify(randomBytes(JWT_OPTIONS.jti.length)) + + const buffer = new Uint8Array(JWT_OPTIONS.jti.length) + const jti = toHex(crypto.getRandomValues(buffer)) + //Need to convert scope array to space-delimited string, per spec return new jose.SignJWT({ scope: scope.join(' ') }) .setProtectedHeader({ alg, jku, kid, typ: 'JWT' }) @@ -106,7 +107,10 @@ export default class Authorization extends DOProxy { const { jku, jwk, identity, clientId, issuer, scope } = options const { alg, kid } = jwk if (!alg) throw new InternalServerError({ message: 'missing alg in jwk' }) - const jti = hexlify(randomBytes(JWT_OPTIONS.jti.length)) + + const buffer = new Uint8Array(JWT_OPTIONS.jti.length) + const jti = toHex(crypto.getRandomValues(buffer)) + const jwt = await new jose.SignJWT({ scope: scope.join(' ') }) .setProtectedHeader({ alg, jku, kid, typ: 'JWT' }) .setAudience([clientId]) diff --git a/platform/billing/package.json b/platform/billing/package.json index ba9799e03c..7d20976a21 100644 --- a/platform/billing/package.json +++ b/platform/billing/package.json @@ -27,9 +27,6 @@ "typescript": "5.0.4" }, "dependencies": { - "@ethersproject/address": "5.7.0", - "@ethersproject/bytes": "5.7.0", - "@ethersproject/random": "5.7.0", "@proofzero/platform-middleware": "workspace:*", "@proofzero/platform.core": "workspace:*", "@proofzero/types": "workspace:*", diff --git a/platform/galaxy/package.json b/platform/galaxy/package.json index 36638670aa..741ec4c03f 100644 --- a/platform/galaxy/package.json +++ b/platform/galaxy/package.json @@ -18,7 +18,6 @@ "start": "echo \"No start for galaxy. Please use dev.\"" }, "dependencies": { - "@ethersproject/providers": "5.7.2", "@graphql-tools/merge": "8.4.1", "@graphql-tools/resolvers-composition": "6.5.18", "@graphql-tools/schema": "9.0.19", diff --git a/platform/identity/package.json b/platform/identity/package.json index c20cb86546..f096b3bd54 100644 --- a/platform/identity/package.json +++ b/platform/identity/package.json @@ -27,9 +27,6 @@ "typescript": "5.0.4" }, "dependencies": { - "@ethersproject/address": "5.7.0", - "@ethersproject/bytes": "5.7.0", - "@ethersproject/random": "5.7.0", "@proofzero/platform-middleware": "workspace:*", "@proofzero/platform.core": "workspace:*", "@proofzero/types": "workspace:*", @@ -38,6 +35,7 @@ "do-proxy": "1.3.3", "ts-set-utils": "0.2.0", "typed-json-rpc": "1.1.0", - "urns": "0.6.0" + "urns": "0.6.0", + "viem": "1.20.0" } } diff --git a/platform/identity/src/jsonrpc/methods/identity-groups/createIdentityGroup.ts b/platform/identity/src/jsonrpc/methods/identity-groups/createIdentityGroup.ts index 26e42569d5..8446be7fae 100644 --- a/platform/identity/src/jsonrpc/methods/identity-groups/createIdentityGroup.ts +++ b/platform/identity/src/jsonrpc/methods/identity-groups/createIdentityGroup.ts @@ -1,7 +1,7 @@ import { z } from 'zod' +import { toHex } from 'viem' + import { router } from '@proofzero/platform.core' -import { hexlify } from '@ethersproject/bytes' -import { randomBytes } from '@ethersproject/random' import { IDENTITY_GROUP_OPTIONS } from '../../../constants' import { IdentityGroupURNSpace } from '@proofzero/urns/identity-group' import { EDGE_MEMBER_OF_IDENTITY_GROUP } from '@proofzero/types/graph' @@ -27,7 +27,9 @@ export const createIdentityGroup = async ({ input: CreateIdentityGroupInput ctx: Context }): Promise => { - const name = hexlify(randomBytes(IDENTITY_GROUP_OPTIONS.length)) + const buffer = new Uint8Array(IDENTITY_GROUP_OPTIONS.length) + const name = toHex(crypto.getRandomValues(buffer)) + const groupURN = IdentityGroupURNSpace.componentizedUrn(name, undefined, { name: input.name, }) diff --git a/platform/images/package.json b/platform/images/package.json index 797fb41be0..456aef802b 100644 --- a/platform/images/package.json +++ b/platform/images/package.json @@ -18,11 +18,11 @@ "deploy": "wrangler publish" }, "dependencies": { - "@ethersproject/keccak256": "5.7.0", "@proofzero/utils": "workspace:*", "date-fns": "2.29.3", "image-data-uri": "2.0.1", "svg2png-wasm": "1.3.4", - "tiny-invariant": "1.3.1" + "tiny-invariant": "1.3.1", + "viem": "1.20.0" } } diff --git a/platform/images/src/jsonrpc/methods/getGradient.ts b/platform/images/src/jsonrpc/methods/getGradient.ts index 6c2e5e389d..7248d16084 100644 --- a/platform/images/src/jsonrpc/methods/getGradient.ts +++ b/platform/images/src/jsonrpc/methods/getGradient.ts @@ -1,5 +1,6 @@ import { z } from 'zod' -import { keccak256 } from '@ethersproject/keccak256' +import { keccak256 } from 'viem' + import colors from '../../assets/colors.json' //@ts-ignore import wasm from '../../assets/svg2png_wasm_bg.wasm' diff --git a/platform/starbase/package.json b/platform/starbase/package.json index 6205b30b54..52cbb24a82 100644 --- a/platform/starbase/package.json +++ b/platform/starbase/package.json @@ -30,7 +30,6 @@ "typescript": "5.0.4" }, "dependencies": { - "@ethersproject/bytes": "5.7.0", "@proofzero/platform.authorization": "workspace:*", "@proofzero/security": "workspace:*", "@proofzero/urns": "workspace:*", @@ -41,6 +40,7 @@ "lodash": "4.17.21", "multiformats": "10.0.2", "tiny-invariant": "1.3.1", - "ts-set-utils": "0.2.0" + "ts-set-utils": "0.2.0", + "viem": "1.20.0" } } diff --git a/platform/starbase/src/jsonrpc/validators/app.ts b/platform/starbase/src/jsonrpc/validators/app.ts index df0333ef46..f0e737dc17 100644 --- a/platform/starbase/src/jsonrpc/validators/app.ts +++ b/platform/starbase/src/jsonrpc/validators/app.ts @@ -110,12 +110,10 @@ export type AppPublicProps = z.infer export const PaymasterProviderSchema = z.literal('zerodev') -export const PaymasterSchema = z - .object({ - provider: PaymasterProviderSchema, - secret: z.string(), - }) - .optional() +export const PaymasterSchema = z.object({ + provider: PaymasterProviderSchema, + secret: z.string(), +}) export type PaymasterType = z.infer diff --git a/platform/starbase/src/nodes/application.ts b/platform/starbase/src/nodes/application.ts index 0ef2c36421..bc71d3ab61 100644 --- a/platform/starbase/src/nodes/application.ts +++ b/platform/starbase/src/nodes/application.ts @@ -1,5 +1,5 @@ -import { hexlify } from '@ethersproject/bytes' -import { randomBytes } from '@ethersproject/random' +import { toHex } from 'viem' + import { ApplicationURN } from '@proofzero/urns/application' import { DOProxy } from 'do-proxy' import { @@ -180,11 +180,14 @@ export default class StarbaseApplication extends DOProxy { async generateAndStore(appURN: ApplicationURN): Promise { const { privateKey: key } = await this.getJWTSigningKeyPair() + const buffer = new Uint8Array(JWT_OPTIONS.jti.length) + const jti = toHex(crypto.getRandomValues(buffer)) + const apiKey = await new SignJWT({}) .setProtectedHeader(JWT_OPTIONS) .setIssuedAt() .setIssuer(STARBASE_API_KEY_ISSUER) - .setJti(hexlify(randomBytes(JWT_OPTIONS.jti.length))) + .setJti(jti) .setSubject(appURN) .sign(key) diff --git a/yarn.lock b/yarn.lock index 54c89a9ccc..8726448259 100644 --- a/yarn.lock +++ b/yarn.lock @@ -54,13 +54,13 @@ __metadata: linkType: hard "@ambire/signature-validator@npm:^1.3.0": - version: 1.3.0 - resolution: "@ambire/signature-validator@npm:1.3.0" + version: 1.3.1 + resolution: "@ambire/signature-validator@npm:1.3.1" dependencies: ethers: ^5.6.5 tap-spec: ^5.0.0 tape: ^5.5.3 - checksum: 527774e73de34cf1a77e68efad26fd696ba5dfa0bd5d3d62b9e312b9b59b55e92e7ac0f02ea38d137244a0f367769c7b39a1749d0419d58d8eb8312fed3d6a13 + checksum: 44c4796f4cbb4624cfd64033523d3491afa899067026e9615322dc6efaca71b16358cbc1661f2fce62d9dedcf424c92d44fe3b2ab8c6f171a59c0c21dc17b2e2 languageName: node linkType: hard @@ -2209,33 +2209,6 @@ __metadata: languageName: node linkType: hard -"@chainsafe/as-sha256@npm:^0.4.1": - version: 0.4.1 - resolution: "@chainsafe/as-sha256@npm:0.4.1" - checksum: 6d86975e648ecdafd366802278ac15b392b252e967f3681412ec48b5a3518b936cc5e977517499882b084991446d25787d98f8f585891943688cc81549a44e9a - languageName: node - linkType: hard - -"@chainsafe/persistent-merkle-tree@npm:^0.6.1": - version: 0.6.1 - resolution: "@chainsafe/persistent-merkle-tree@npm:0.6.1" - dependencies: - "@chainsafe/as-sha256": ^0.4.1 - "@noble/hashes": ^1.3.0 - checksum: 74614b8d40970dc930d5bf741619498b0bbbde5ff24ce45fce6ad122143aa77bf57249a28175b1b972cf56bff57d529a4258b7222ab4e60c1261119b5986c51b - languageName: node - linkType: hard - -"@chainsafe/ssz@npm:^0.11.1": - version: 0.11.1 - resolution: "@chainsafe/ssz@npm:0.11.1" - dependencies: - "@chainsafe/as-sha256": ^0.4.1 - "@chainsafe/persistent-merkle-tree": ^0.6.1 - checksum: e3c2928f9ab4a0544e645f0302b9535046d1e6e1d4b3bd1c3dd6bc8e6302fddad6036d65e7900d1446f285f496051da05fa14c1bde590b511d03033907175c8f - languageName: node - linkType: hard - "@cloudflare/kv-asset-handler@npm:^0.1.3": version: 0.1.3 resolution: "@cloudflare/kv-asset-handler@npm:0.1.3" @@ -3194,15 +3167,14 @@ __metadata: languageName: node linkType: hard -"@ethereumjs/util@npm:^8.0.0": - version: 8.0.6 - resolution: "@ethereumjs/util@npm:8.0.6" +"@ethereumjs/util@npm:^8.0.0, @ethereumjs/util@npm:^8.1.0": + version: 8.1.0 + resolution: "@ethereumjs/util@npm:8.1.0" dependencies: - "@chainsafe/ssz": ^0.11.1 "@ethereumjs/rlp": ^4.0.1 ethereum-cryptography: ^2.0.0 micro-ftch: ^0.3.1 - checksum: 034e06cddec27417318434a1a7cd7a9dc0f0b447c1f54423c515d8809c9697386eee6429d0a1c13517a85c696e6fdba570b243d882e65764c274859606027015 + checksum: 9ae5dee8f12b0faf81cd83f06a41560e79b0ba96a48262771d897a510ecae605eb6d84f687da001ab8ccffd50f612ae50f988ef76e6312c752897f462f3ac08d languageName: node linkType: hard @@ -5244,6 +5216,24 @@ __metadata: languageName: node linkType: hard +"@ljharb/resumer@npm:^0.0.1": + version: 0.0.1 + resolution: "@ljharb/resumer@npm:0.0.1" + dependencies: + "@ljharb/through": ^2.3.9 + checksum: 1cff0a485cb857933d2921cb05a349f8fe894fa2bb6b31a347010ecccc4a2b369e43ebe5383a32a60ee6c9572d2c83fcab383eb01727e1507bf29c59f312dae6 + languageName: node + linkType: hard + +"@ljharb/through@npm:^2.3.11, @ljharb/through@npm:^2.3.9": + version: 2.3.11 + resolution: "@ljharb/through@npm:2.3.11" + dependencies: + call-bind: ^1.0.2 + checksum: 10502726028b8a4e0b270a2213e546821c04ed8d7fe411009a8e47497e4ae99c57eeb9ff3d13620ebdefd7c856b16fc873f27c433cad60465dc132fb4b997233 + languageName: node + linkType: hard + "@mapbox/node-pre-gyp@npm:^1.0.0": version: 1.0.10 resolution: "@mapbox/node-pre-gyp@npm:1.0.10" @@ -5537,6 +5527,15 @@ __metadata: languageName: node linkType: hard +"@noble/curves@npm:1.1.0, @noble/curves@npm:~1.1.0": + version: 1.1.0 + resolution: "@noble/curves@npm:1.1.0" + dependencies: + "@noble/hashes": 1.3.1 + checksum: 2658cdd3f84f71079b4e3516c47559d22cf4b55c23ac8ee9d2b1f8e5b72916d9689e59820e0f9d9cb4a46a8423af5b56dc6bb7782405c88be06a015180508db5 + languageName: node + linkType: hard + "@noble/curves@npm:1.2.0, @noble/curves@npm:~1.2.0": version: 1.2.0 resolution: "@noble/curves@npm:1.2.0" @@ -5567,6 +5566,13 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:1.3.1": + version: 1.3.1 + resolution: "@noble/hashes@npm:1.3.1" + checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1 + languageName: node + linkType: hard + "@noble/hashes@npm:1.3.2": version: 1.3.2 resolution: "@noble/hashes@npm:1.3.2" @@ -5581,14 +5587,7 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:^1.3.0": - version: 1.3.1 - resolution: "@noble/hashes@npm:1.3.1" - checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1 - languageName: node - linkType: hard - -"@noble/hashes@npm:~1.3.2": +"@noble/hashes@npm:~1.3.1, @noble/hashes@npm:~1.3.2": version: 1.3.3 resolution: "@noble/hashes@npm:1.3.3" checksum: 8a6496d1c0c64797339bc694ad06cdfaa0f9e56cd0c3f68ae3666cfb153a791a55deb0af9c653c7ed2db64d537aa3e3054629740d2f2338bb1dcb7ab60cd205b @@ -5856,9 +5855,9 @@ __metadata: linkType: hard "@openzeppelin/contracts@npm:^4.7.3, @openzeppelin/contracts@npm:^4.8.2": - version: 4.9.3 - resolution: "@openzeppelin/contracts@npm:4.9.3" - checksum: 4932063e733b35fa7669b9fe2053f69b062366c5c208b0c6cfa1ac451712100c78acff98120c3a4b88d94154c802be05d160d71f37e7d74cadbe150964458838 + version: 4.9.5 + resolution: "@openzeppelin/contracts@npm:4.9.5" + checksum: 2cddeb08c006a8f99c5cc40cc80aecb449fd941cd1a92ebda315d77f48c4b4d487798a1254bffbc3ec811b390365d14665e92dbb2dd8f45aacef479d69d94574 languageName: node linkType: hard @@ -6156,8 +6155,6 @@ __metadata: dependencies: "@babel/core": 7.20.2 "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/bytes": 5.7.0 - "@ethersproject/random": 5.7.0 "@headlessui/react": 1.7.5 "@heroicons/react": 2.0.13 "@mdx-js/react": 2.1.5 @@ -6194,7 +6191,6 @@ __metadata: cross-env: 7.0.3 env-cmd: 10.1.0 eslint: 8.28.0 - ethers: 5.7.2 flowbite: 1.6.5 flowbite-react: 0.4.3 lodash: 4.17.21 @@ -6222,7 +6218,6 @@ __metadata: dependencies: "@babel/core": ^7.20.2 "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/keccak256": 5.7.0 "@mdx-js/react": ^1.6.22 "@playwright/test": 1.35.1 "@proofzero/design-system": "*" @@ -6578,12 +6573,6 @@ __metadata: resolution: "@proofzero/platform.account@workspace:platform/account" dependencies: "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/address": 5.7.0 - "@ethersproject/bytes": 5.7.0 - "@ethersproject/keccak256": 5.7.0 - "@ethersproject/random": 5.7.0 - "@ethersproject/signing-key": 5.7.0 - "@ethersproject/transactions": 5.7.0 "@ethersproject/wallet": 5.7.0 "@proofzero/platform-clients": "workspace:*" "@proofzero/platform.core": "workspace:*" @@ -6604,6 +6593,7 @@ __metadata: random-words: 2.0.0 remix-auth-google: 1.2.0 typescript: 5.0.4 + viem: 1.20.0 zod: 3.22.4 languageName: unknown linkType: soft @@ -6613,8 +6603,6 @@ __metadata: resolution: "@proofzero/platform.authorization@workspace:platform/authorization" dependencies: "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/bytes": 5.7.0 - "@ethersproject/random": 5.7.0 "@proofzero/errors": "workspace:*" "@proofzero/platform-clients": "workspace:*" "@proofzero/platform-middleware": "workspace:*" @@ -6636,6 +6624,7 @@ __metadata: npm-run-all: 4.1.5 prettier: 2.7.1 typescript: 5.0.4 + viem: 1.20.0 wrangler: 3.2.0 zod: 3.22.4 languageName: unknown @@ -6646,9 +6635,6 @@ __metadata: resolution: "@proofzero/platform.billing@workspace:platform/billing" dependencies: "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/address": 5.7.0 - "@ethersproject/bytes": 5.7.0 - "@ethersproject/random": 5.7.0 "@proofzero/platform-middleware": "workspace:*" "@proofzero/platform.core": "workspace:*" "@proofzero/types": "workspace:*" @@ -6739,7 +6725,6 @@ __metadata: resolution: "@proofzero/platform.galaxy@workspace:platform/galaxy" dependencies: "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/providers": 5.7.2 "@graphql-tools/merge": 8.4.1 "@graphql-tools/resolvers-composition": 6.5.18 "@graphql-tools/schema": 9.0.19 @@ -6763,9 +6748,6 @@ __metadata: resolution: "@proofzero/platform.identity@workspace:platform/identity" dependencies: "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/address": 5.7.0 - "@ethersproject/bytes": 5.7.0 - "@ethersproject/random": 5.7.0 "@proofzero/platform-middleware": "workspace:*" "@proofzero/platform.core": "workspace:*" "@proofzero/types": "workspace:*" @@ -6783,6 +6765,7 @@ __metadata: typed-json-rpc: 1.1.0 typescript: 5.0.4 urns: 0.6.0 + viem: 1.20.0 languageName: unknown linkType: soft @@ -6828,7 +6811,6 @@ __metadata: resolution: "@proofzero/platform.starbase@workspace:platform/starbase" dependencies: "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/bytes": 5.7.0 "@proofzero/platform.authorization": "workspace:*" "@proofzero/security": "workspace:*" "@proofzero/urns": "workspace:*" @@ -6850,6 +6832,7 @@ __metadata: tiny-invariant: 1.3.1 ts-set-utils: 0.2.0 typescript: 5.0.4 + viem: 1.20.0 languageName: unknown linkType: soft @@ -6913,7 +6896,6 @@ __metadata: resolution: "@proofzero/services.images@workspace:platform/images" dependencies: "@cloudflare/workers-types": 4.20221111.1 - "@ethersproject/keccak256": 5.7.0 "@proofzero/utils": "workspace:*" "@types/node": 18.15.3 date-fns: 2.29.3 @@ -6923,6 +6905,7 @@ __metadata: svg2png-wasm: 1.3.4 tiny-invariant: 1.3.1 typescript: 5.0.4 + viem: 1.20.0 wrangler: 3.2.0 languageName: unknown linkType: soft @@ -6985,7 +6968,6 @@ __metadata: version: 0.0.0-use.local resolution: "@proofzero/urns@workspace:packages/urns" dependencies: - "@ethersproject/keccak256": 5.7.0 "@typescript-eslint/eslint-plugin": 5.45.0 "@typescript-eslint/parser": 5.45.0 eslint: 8.29.0 @@ -6994,6 +6976,7 @@ __metadata: prettier: 2.8.0 typescript: 5.0.4 urns: 0.6.0 + viem: 1.20.0 languageName: unknown linkType: soft @@ -7782,6 +7765,17 @@ __metadata: languageName: node linkType: hard +"@scure/bip32@npm:1.3.1": + version: 1.3.1 + resolution: "@scure/bip32@npm:1.3.1" + dependencies: + "@noble/curves": ~1.1.0 + "@noble/hashes": ~1.3.1 + "@scure/base": ~1.1.0 + checksum: 394d65f77a40651eba21a5096da0f4233c3b50d422864751d373fcf142eeedb94a1149f9ab1dbb078086dab2d0bc27e2b1afec8321bf22d4403c7df2fea5bfe2 + languageName: node + linkType: hard + "@scure/bip32@npm:1.3.2": version: 1.3.2 resolution: "@scure/bip32@npm:1.3.2" @@ -12228,15 +12222,6 @@ __metadata: languageName: node linkType: hard -"@types/bn.js@npm:^5.1.0": - version: 5.1.1 - resolution: "@types/bn.js@npm:5.1.1" - dependencies: - "@types/node": "*" - checksum: e50ed2dd3abe997e047caf90e0352c71e54fc388679735217978b4ceb7e336e51477791b715f49fd77195ac26dd296c7bad08a3be9750e235f9b2e1edb1b51c2 - languageName: node - linkType: hard - "@types/body-parser@npm:*": version: 1.19.2 resolution: "@types/body-parser@npm:1.19.2" @@ -12690,15 +12675,6 @@ __metadata: languageName: node linkType: hard -"@types/pbkdf2@npm:^3.0.0": - version: 3.1.0 - resolution: "@types/pbkdf2@npm:3.1.0" - dependencies: - "@types/node": "*" - checksum: d15024b1957c21cf3b8887329d9bd8dfde754cf13a09d76ae25f1391cfc62bb8b8d7b760773c5dbaa748172fba8b3e0c3dbe962af6ccbd69b76df12a48dfba40 - languageName: node - linkType: hard - "@types/prettier@npm:^2.1.5": version: 2.7.1 resolution: "@types/prettier@npm:2.7.1" @@ -12860,15 +12836,6 @@ __metadata: languageName: node linkType: hard -"@types/secp256k1@npm:^4.0.1": - version: 4.0.3 - resolution: "@types/secp256k1@npm:4.0.3" - dependencies: - "@types/node": "*" - checksum: 1bd10b9afa724084b655dc81b7b315def3d2d0e272014ef16009fa76e17537411c07c0695fdea412bc7b36d2a02687f5fea33522d55b8ef29eda42992f812913 - languageName: node - linkType: hard - "@types/semver@npm:^7.3.12": version: 7.3.13 resolution: "@types/semver@npm:7.3.13" @@ -15643,6 +15610,16 @@ __metadata: languageName: node linkType: hard +"array-buffer-byte-length@npm:^1.0.0": + version: 1.0.0 + resolution: "array-buffer-byte-length@npm:1.0.0" + dependencies: + call-bind: ^1.0.2 + is-array-buffer: ^3.0.1 + checksum: 044e101ce150f4804ad19c51d6c4d4cfa505c5b2577bd179256e4aa3f3f6a0a5e9874c78cd428ee566ac574c8a04d7ce21af9fe52e844abfdccb82b33035a7c3 + languageName: node + linkType: hard + "array-find-index@npm:^1.0.1": version: 1.0.2 resolution: "array-find-index@npm:1.0.2" @@ -15707,15 +15684,15 @@ __metadata: languageName: node linkType: hard -"array.prototype.every@npm:^1.1.4": - version: 1.1.4 - resolution: "array.prototype.every@npm:1.1.4" +"array.prototype.every@npm:^1.1.5": + version: 1.1.5 + resolution: "array.prototype.every@npm:1.1.5" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 is-string: ^1.0.7 - checksum: 6a11683fd0148a1f70108ad20eeb5e174813dc22799264584a543d463810ed42261aad0c1c5de1097ea515ec159d20deb9babb465f4ae3ceeb11e28094c3b5b3 + checksum: 9974435604e135fc8c359a76c89bfe0672c1a80974a76dc61c673e5ea5068f78a31b7a168634ed7691501130ed61d3c788dd1d48ec1265c6cdf3910897b1eba4 languageName: node linkType: hard @@ -15782,6 +15759,21 @@ __metadata: languageName: node linkType: hard +"arraybuffer.prototype.slice@npm:^1.0.2": + version: 1.0.2 + resolution: "arraybuffer.prototype.slice@npm:1.0.2" + dependencies: + array-buffer-byte-length: ^1.0.0 + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + get-intrinsic: ^1.2.1 + is-array-buffer: ^3.0.2 + is-shared-array-buffer: ^1.0.2 + checksum: c200faf437786f5b2c80d4564ff5481c886a16dee642ef02abdc7306c7edd523d1f01d1dd12b769c7eb42ac9bc53874510db19a92a2c035c0f6696172aafa5d3 + languageName: node + linkType: hard + "arrify@npm:^2.0.1": version: 2.0.1 resolution: "arrify@npm:2.0.1" @@ -16637,9 +16629,9 @@ __metadata: linkType: hard "bignumber.js@npm:^9.0.1": - version: 9.1.1 - resolution: "bignumber.js@npm:9.1.1" - checksum: ad243b7e2f9120b112d670bb3d674128f0bd2ca1745b0a6c9df0433bd2c0252c43e6315d944c2ac07b4c639e7496b425e46842773cf89c6a2dcd4f31e5c4b11e + version: 9.1.2 + resolution: "bignumber.js@npm:9.1.2" + checksum: 582c03af77ec9cb0ebd682a373ee6c66475db94a4325f92299621d544aa4bd45cb45fd60001610e94aef8ae98a0905fa538241d9638d4422d57abbeeac6fadaf languageName: node linkType: hard @@ -16698,13 +16690,6 @@ __metadata: languageName: node linkType: hard -"blakejs@npm:^1.1.0": - version: 1.2.1 - resolution: "blakejs@npm:1.2.1" - checksum: d699ba116cfa21d0b01d12014a03e484dd76d483133e6dc9eb415aa70a119f08beb3bcefb8c71840106a00b542cba77383f8be60cd1f0d4589cb8afb922eefbe - languageName: node - linkType: hard - "bluebird@npm:^3.5.5": version: 3.7.2 resolution: "bluebird@npm:3.7.2" @@ -16726,7 +16711,7 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.0.0, bn.js@npm:^5.1.1, bn.js@npm:^5.1.2, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": +"bn.js@npm:^5.0.0, bn.js@npm:^5.1.1, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": version: 5.2.1 resolution: "bn.js@npm:5.2.1" checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 @@ -16891,7 +16876,7 @@ __metadata: languageName: node linkType: hard -"browserify-aes@npm:^1.0.0, browserify-aes@npm:^1.0.4, browserify-aes@npm:^1.2.0": +"browserify-aes@npm:^1.0.0, browserify-aes@npm:^1.0.4": version: 1.2.0 resolution: "browserify-aes@npm:1.2.0" dependencies: @@ -16996,17 +16981,6 @@ __metadata: languageName: node linkType: hard -"bs58check@npm:^2.1.2": - version: 2.1.2 - resolution: "bs58check@npm:2.1.2" - dependencies: - bs58: ^4.0.0 - create-hash: ^1.1.0 - safe-buffer: ^5.1.2 - checksum: 43bdf08a5dd04581b78f040bc4169480e17008da482ffe2a6507327bbc4fc5c28de0501f7faf22901cfe57fbca79cbb202ca529003fedb4cb8dccd265b38e54d - languageName: node - linkType: hard - "bser@npm:2.1.1": version: 2.1.1 resolution: "bser@npm:2.1.1" @@ -17304,6 +17278,17 @@ __metadata: languageName: node linkType: hard +"call-bind@npm:^1.0.4, call-bind@npm:^1.0.5": + version: 1.0.5 + resolution: "call-bind@npm:1.0.5" + dependencies: + function-bind: ^1.1.2 + get-intrinsic: ^1.2.1 + set-function-length: ^1.1.1 + checksum: 449e83ecbd4ba48e7eaac5af26fea3b50f8f6072202c2dd7c5a6e7a6308f2421abe5e13a3bbd55221087f76320c5e09f25a8fdad1bab2b77c68ae74d92234ea5 + languageName: node + linkType: hard + "call-me-maybe@npm:^1.0.1": version: 1.0.2 resolution: "call-me-maybe@npm:1.0.2" @@ -18945,13 +18930,6 @@ __metadata: languageName: node linkType: hard -"crypto-js@npm:^3.1.9-1": - version: 3.3.0 - resolution: "crypto-js@npm:3.3.0" - checksum: 193923143a4784b2f974366068d96fe8280168fd3fef2bfea9551a5c3e32096f5a8fa49ff4eeb5bd0b9716d325618d38cfbe6125e359a4ef488fbca93e600824 - languageName: node - linkType: hard - "crypto-js@npm:^4.1.1": version: 4.1.1 resolution: "crypto-js@npm:4.1.1" @@ -18959,6 +18937,13 @@ __metadata: languageName: node linkType: hard +"crypto-js@npm:^4.2.0": + version: 4.2.0 + resolution: "crypto-js@npm:4.2.0" + checksum: f051666dbc077c8324777f44fbd3aaea2986f198fe85092535130d17026c7c2ccf2d23ee5b29b36f7a4a07312db2fae23c9094b644cc35f7858b1b4fcaf27774 + languageName: node + linkType: hard + "crypto-random-string@npm:^2.0.0": version: 2.0.0 resolution: "crypto-random-string@npm:2.0.0" @@ -19548,15 +19533,16 @@ __metadata: languageName: node linkType: hard -"deep-equal@npm:^2.2.0": - version: 2.2.0 - resolution: "deep-equal@npm:2.2.0" +"deep-equal@npm:^2.2.2": + version: 2.2.3 + resolution: "deep-equal@npm:2.2.3" dependencies: - call-bind: ^1.0.2 - es-get-iterator: ^1.1.2 - get-intrinsic: ^1.1.3 + array-buffer-byte-length: ^1.0.0 + call-bind: ^1.0.5 + es-get-iterator: ^1.1.3 + get-intrinsic: ^1.2.2 is-arguments: ^1.1.1 - is-array-buffer: ^3.0.1 + is-array-buffer: ^3.0.2 is-date-object: ^1.0.5 is-regex: ^1.1.4 is-shared-array-buffer: ^1.0.2 @@ -19564,12 +19550,12 @@ __metadata: object-is: ^1.1.5 object-keys: ^1.1.1 object.assign: ^4.1.4 - regexp.prototype.flags: ^1.4.3 + regexp.prototype.flags: ^1.5.1 side-channel: ^1.0.4 which-boxed-primitive: ^1.0.2 which-collection: ^1.0.1 - which-typed-array: ^1.1.9 - checksum: 46a34509d2766d6c6dc5aec4756089cf0cc137e46787e91f08f1ee0bb570d874f19f0493146907df0cf18aed4a7b4b50f6f62c899240a76c323f057528b122e3 + which-typed-array: ^1.1.13 + checksum: ee8852f23e4d20a5626c13b02f415ba443a1b30b4b3d39eaf366d59c4a85e6545d7ec917db44d476a85ae5a86064f7e5f7af7479f38f113995ba869f3a1ddc53 languageName: node linkType: hard @@ -19655,6 +19641,17 @@ __metadata: languageName: node linkType: hard +"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.1": + version: 1.1.1 + resolution: "define-data-property@npm:1.1.1" + dependencies: + get-intrinsic: ^1.2.1 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.0 + checksum: a29855ad3f0630ea82e3c5012c812efa6ca3078d5c2aa8df06b5f597c1cde6f7254692df41945851d903e05a1668607b6d34e778f402b9ff9ffb38111f1a3f0d + languageName: node + linkType: hard + "define-lazy-prop@npm:^2.0.0": version: 2.0.0 resolution: "define-lazy-prop@npm:2.0.0" @@ -19672,6 +19669,17 @@ __metadata: languageName: node linkType: hard +"define-properties@npm:^1.2.0": + version: 1.2.1 + resolution: "define-properties@npm:1.2.1" + dependencies: + define-data-property: ^1.0.1 + has-property-descriptors: ^1.0.0 + object-keys: ^1.1.1 + checksum: b4ccd00597dd46cb2d4a379398f5b19fca84a16f3374e2249201992f36b30f6835949a9429669ee6b41b6e837205a163eadd745e472069e70dfc10f03e5fcc12 + languageName: node + linkType: hard + "define-property@npm:^0.2.5": version: 0.2.5 resolution: "define-property@npm:0.2.5" @@ -20198,9 +20206,9 @@ __metadata: linkType: hard "dotenv@npm:^16.0.3": - version: 16.1.4 - resolution: "dotenv@npm:16.1.4" - checksum: c1b2e13df4d374a6a29e134c56c7b040ba20500677fe8b9939ea654f3b3badb9aaa0b172e40e4dfa1233a4177dbb8fb79d84cc79a50ac9c9641fe2ad98c14876 + version: 16.3.1 + resolution: "dotenv@npm:16.3.1" + checksum: 15d75e7279018f4bafd0ee9706593dd14455ddb71b3bcba9c52574460b7ccaf67d5cf8b2c08a5af1a9da6db36c956a04a1192b101ee102a3e0cf8817bbcf3dfd languageName: node linkType: hard @@ -20628,6 +20636,53 @@ __metadata: languageName: node linkType: hard +"es-abstract@npm:^1.22.1": + version: 1.22.3 + resolution: "es-abstract@npm:1.22.3" + dependencies: + array-buffer-byte-length: ^1.0.0 + arraybuffer.prototype.slice: ^1.0.2 + available-typed-arrays: ^1.0.5 + call-bind: ^1.0.5 + es-set-tostringtag: ^2.0.1 + es-to-primitive: ^1.2.1 + function.prototype.name: ^1.1.6 + get-intrinsic: ^1.2.2 + get-symbol-description: ^1.0.0 + globalthis: ^1.0.3 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.0 + has-proto: ^1.0.1 + has-symbols: ^1.0.3 + hasown: ^2.0.0 + internal-slot: ^1.0.5 + is-array-buffer: ^3.0.2 + is-callable: ^1.2.7 + is-negative-zero: ^2.0.2 + is-regex: ^1.1.4 + is-shared-array-buffer: ^1.0.2 + is-string: ^1.0.7 + is-typed-array: ^1.1.12 + is-weakref: ^1.0.2 + object-inspect: ^1.13.1 + object-keys: ^1.1.1 + object.assign: ^4.1.4 + regexp.prototype.flags: ^1.5.1 + safe-array-concat: ^1.0.1 + safe-regex-test: ^1.0.0 + string.prototype.trim: ^1.2.8 + string.prototype.trimend: ^1.0.7 + string.prototype.trimstart: ^1.0.7 + typed-array-buffer: ^1.0.0 + typed-array-byte-length: ^1.0.0 + typed-array-byte-offset: ^1.0.0 + typed-array-length: ^1.0.4 + unbox-primitive: ^1.0.2 + which-typed-array: ^1.1.13 + checksum: b1bdc962856836f6e72be10b58dc128282bdf33771c7a38ae90419d920fc3b36cc5d2b70a222ad8016e3fc322c367bf4e9e89fc2bc79b7e933c05b218e83d79a + languageName: node + linkType: hard + "es-array-method-boxes-properly@npm:^1.0.0": version: 1.0.0 resolution: "es-array-method-boxes-properly@npm:1.0.0" @@ -20651,6 +20706,23 @@ __metadata: languageName: node linkType: hard +"es-get-iterator@npm:^1.1.3": + version: 1.1.3 + resolution: "es-get-iterator@npm:1.1.3" + dependencies: + call-bind: ^1.0.2 + get-intrinsic: ^1.1.3 + has-symbols: ^1.0.3 + is-arguments: ^1.1.1 + is-map: ^2.0.2 + is-set: ^2.0.2 + is-string: ^1.0.7 + isarray: ^2.0.5 + stop-iteration-iterator: ^1.0.0 + checksum: 8fa118da42667a01a7c7529f8a8cca514feeff243feec1ce0bb73baaa3514560bd09d2b3438873cf8a5aaec5d52da248131de153b28e2638a061b6e4df13267d + languageName: node + linkType: hard + "es-module-lexer@npm:^0.9.0": version: 0.9.3 resolution: "es-module-lexer@npm:0.9.3" @@ -20658,6 +20730,17 @@ __metadata: languageName: node linkType: hard +"es-set-tostringtag@npm:^2.0.1": + version: 2.0.2 + resolution: "es-set-tostringtag@npm:2.0.2" + dependencies: + get-intrinsic: ^1.2.2 + has-tostringtag: ^1.0.0 + hasown: ^2.0.0 + checksum: afcec3a4c9890ae14d7ec606204858441c801ff84f312538e1d1ccf1e5493c8b17bd672235df785f803756472cb4f2d49b87bde5237aef33411e74c22f194e07 + languageName: node + linkType: hard + "es-shim-unscopables@npm:^1.0.0": version: 1.0.0 resolution: "es-shim-unscopables@npm:1.0.0" @@ -22345,29 +22428,6 @@ __metadata: languageName: node linkType: hard -"ethereum-cryptography@npm:^0.1.3": - version: 0.1.3 - resolution: "ethereum-cryptography@npm:0.1.3" - dependencies: - "@types/pbkdf2": ^3.0.0 - "@types/secp256k1": ^4.0.1 - blakejs: ^1.1.0 - browserify-aes: ^1.2.0 - bs58check: ^2.1.2 - create-hash: ^1.2.0 - create-hmac: ^1.1.7 - hash.js: ^1.1.7 - keccak: ^3.0.0 - pbkdf2: ^3.0.17 - randombytes: ^2.1.0 - safe-buffer: ^5.1.2 - scrypt-js: ^3.0.0 - secp256k1: ^4.0.1 - setimmediate: ^1.0.5 - checksum: 54bae7a4a96bd81398cdc35c91cfcc74339f71a95ed1b5b694663782e69e8e3afd21357de3b8bac9ff4877fd6f043601e200a7ad9133d94be6fd7d898ee0a449 - languageName: node - linkType: hard - "ethereum-cryptography@npm:^1.1.2": version: 1.2.0 resolution: "ethereum-cryptography@npm:1.2.0" @@ -22380,28 +22440,15 @@ __metadata: languageName: node linkType: hard -"ethereum-cryptography@npm:^2.0.0": - version: 2.0.0 - resolution: "ethereum-cryptography@npm:2.0.0" - dependencies: - "@noble/curves": 1.0.0 - "@noble/hashes": 1.3.0 - "@scure/bip32": 1.3.0 - "@scure/bip39": 1.2.0 - checksum: 958f8aab2d1b32aa759fb27a27877b3647410e8bb9aca7d65d1d477db4864cf7fc46b918eb52a1e246c25e98ee0a35a632c88b496aeaefa13469ee767a76c8db - languageName: node - linkType: hard - -"ethereumjs-util@npm:^7.1.0": - version: 7.1.5 - resolution: "ethereumjs-util@npm:7.1.5" +"ethereum-cryptography@npm:^2.0.0, ethereum-cryptography@npm:^2.1.2": + version: 2.1.2 + resolution: "ethereum-cryptography@npm:2.1.2" dependencies: - "@types/bn.js": ^5.1.0 - bn.js: ^5.1.2 - create-hash: ^1.1.2 - ethereum-cryptography: ^0.1.3 - rlp: ^2.2.4 - checksum: 27a3c79d6e06b2df34b80d478ce465b371c8458b58f5afc14d91c8564c13363ad336e6e83f57eb0bd719fde94d10ee5697ceef78b5aa932087150c5287b286d1 + "@noble/curves": 1.1.0 + "@noble/hashes": 1.3.1 + "@scure/bip32": 1.3.1 + "@scure/bip39": 1.2.1 + checksum: 2e8f7b8cc90232ae838ab6a8167708e8362621404d26e79b5d9e762c7b53d699f7520aff358d9254de658fcd54d2d0af168ff909943259ed27dc4cef2736410c languageName: node linkType: hard @@ -23677,6 +23724,13 @@ __metadata: languageName: node linkType: hard +"function-bind@npm:^1.1.2": + version: 1.1.2 + resolution: "function-bind@npm:1.1.2" + checksum: 2b0ff4ce708d99715ad14a6d1f894e2a83242e4a52ccfcefaee5e40050562e5f6dafc1adbb4ce2d4ab47279a45dc736ab91ea5042d843c3c092820dfe032efb1 + languageName: node + linkType: hard + "function-loop@npm:^2.0.1": version: 2.0.1 resolution: "function-loop@npm:2.0.1" @@ -23696,7 +23750,19 @@ __metadata: languageName: node linkType: hard -"functions-have-names@npm:^1.2.2": +"function.prototype.name@npm:^1.1.6": + version: 1.1.6 + resolution: "function.prototype.name@npm:1.1.6" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + functions-have-names: ^1.2.3 + checksum: 7a3f9bd98adab09a07f6e1f03da03d3f7c26abbdeaeee15223f6c04a9fb5674792bdf5e689dac19b97ac71de6aad2027ba3048a9b883aa1b3173eed6ab07f479 + languageName: node + linkType: hard + +"functions-have-names@npm:^1.2.2, functions-have-names@npm:^1.2.3": version: 1.2.3 resolution: "functions-have-names@npm:1.2.3" checksum: c3f1f5ba20f4e962efb71344ce0a40722163e85bee2101ce25f88214e78182d2d2476aa85ef37950c579eb6cf6ee811c17b3101bb84004bb75655f3e33f3fdb5 @@ -23786,14 +23852,15 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.2.0": - version: 1.2.0 - resolution: "get-intrinsic@npm:1.2.0" +"get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": + version: 1.2.2 + resolution: "get-intrinsic@npm:1.2.2" dependencies: - function-bind: ^1.1.1 - has: ^1.0.3 + function-bind: ^1.1.2 + has-proto: ^1.0.1 has-symbols: ^1.0.3 - checksum: 78fc0487b783f5c58cf2dccafc3ae656ee8d2d8062a8831ce4a95e7057af4587a1d4882246c033aca0a7b4965276f4802b45cc300338d1b77a73d3e3e3f4877d + hasown: ^2.0.0 + checksum: 447ff0724df26829908dc033b62732359596fcf66027bc131ab37984afb33842d9cd458fd6cecadfe7eac22fd8a54b349799ed334cf2726025c921c7250e7417 languageName: node linkType: hard @@ -24125,7 +24192,7 @@ __metadata: languageName: node linkType: hard -"globalthis@npm:^1.0.0": +"globalthis@npm:^1.0.0, globalthis@npm:^1.0.3": version: 1.0.3 resolution: "globalthis@npm:1.0.3" dependencies: @@ -24548,6 +24615,13 @@ __metadata: languageName: node linkType: hard +"has-proto@npm:^1.0.1": + version: 1.0.1 + resolution: "has-proto@npm:1.0.1" + checksum: febc5b5b531de8022806ad7407935e2135f1cc9e64636c3916c6842bd7995994ca3b29871ecd7954bd35f9e2986c17b3b227880484d22259e2f8e6ce63fd383e + languageName: node + linkType: hard + "has-symbols@npm:^1.0.1, has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": version: 1.0.3 resolution: "has-symbols@npm:1.0.3" @@ -24657,6 +24731,15 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.0": + version: 2.0.0 + resolution: "hasown@npm:2.0.0" + dependencies: + function-bind: ^1.1.2 + checksum: 6151c75ca12554565098641c98a40f4cc86b85b0fd5b6fe92360967e4605a4f9610f7757260b4e8098dd1c2ce7f4b095f2006fe72a570e3b6d2d28de0298c176 + languageName: node + linkType: hard + "hast-to-hyperscript@npm:^9.0.0": version: 9.0.1 resolution: "hast-to-hyperscript@npm:9.0.1" @@ -25551,6 +25634,17 @@ __metadata: languageName: node linkType: hard +"internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.5": + version: 1.0.6 + resolution: "internal-slot@npm:1.0.6" + dependencies: + get-intrinsic: ^1.2.2 + hasown: ^2.0.0 + side-channel: ^1.0.4 + checksum: 7872454888047553ce97a3fa1da7cc054a28ec5400a9c2e9f4dbe4fe7c1d041cb8e8301467614b80d4246d50377aad2fb58860b294ed74d6700cc346b6f89549 + languageName: node + linkType: hard + "interpret@npm:^2.2.0": version: 2.2.0 resolution: "interpret@npm:2.2.0" @@ -25721,7 +25815,7 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.1": +"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": version: 3.0.2 resolution: "is-array-buffer@npm:3.0.2" dependencies: @@ -25826,6 +25920,15 @@ __metadata: languageName: node linkType: hard +"is-core-module@npm:^2.13.0": + version: 2.13.1 + resolution: "is-core-module@npm:2.13.1" + dependencies: + hasown: ^2.0.0 + checksum: 256559ee8a9488af90e4bad16f5583c6d59e92f0742e9e8bb4331e758521ee86b810b93bae44f390766ffbc518a0488b18d9dab7da9a5ff997d499efc9403f7c + languageName: node + linkType: hard + "is-data-descriptor@npm:^0.1.4": version: 0.1.4 resolution: "is-data-descriptor@npm:0.1.4" @@ -26292,6 +26395,15 @@ __metadata: languageName: node linkType: hard +"is-typed-array@npm:^1.1.12, is-typed-array@npm:^1.1.9": + version: 1.1.12 + resolution: "is-typed-array@npm:1.1.12" + dependencies: + which-typed-array: ^1.1.11 + checksum: 4c89c4a3be07186caddadf92197b17fda663a9d259ea0d44a85f171558270d36059d1c386d34a12cba22dfade5aba497ce22778e866adc9406098c8fc4771796 + languageName: node + linkType: hard + "is-typedarray@npm:1.0.0, is-typedarray@npm:^1.0.0, is-typedarray@npm:~1.0.0": version: 1.0.0 resolution: "is-typedarray@npm:1.0.0" @@ -27754,7 +27866,7 @@ __metadata: languageName: node linkType: hard -"keccak@npm:^3.0.0, keccak@npm:^3.0.1": +"keccak@npm:^3.0.1": version: 3.0.2 resolution: "keccak@npm:3.0.2" dependencies: @@ -28907,15 +29019,15 @@ __metadata: linkType: hard "merkletreejs@npm:^0.3.9": - version: 0.3.9 - resolution: "merkletreejs@npm:0.3.9" + version: 0.3.11 + resolution: "merkletreejs@npm:0.3.11" dependencies: bignumber.js: ^9.0.1 buffer-reverse: ^1.0.1 - crypto-js: ^3.1.9-1 + crypto-js: ^4.2.0 treeify: ^1.1.0 web3-utils: ^1.3.4 - checksum: a76ba14cb3e7ba342572b479956e8b159e498a101e79da796ee032ad4cb8d53bae1af38e8b70dfa64784e659b4a0bc9e75274517ab68788b1459bca8047f1f3f + checksum: 93edb8ec66aa6c9f59aa0902e675590e3791692893bb3e8c1018f758367ded1bf7d6b1057ccde3729b283ca946a316838a631a922960b76889b3be528c43ef4e languageName: node linkType: hard @@ -29578,7 +29690,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.7": +"minimist@npm:^1.2.8": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 @@ -29758,6 +29870,20 @@ __metadata: languageName: node linkType: hard +"mock-property@npm:^1.0.2": + version: 1.0.3 + resolution: "mock-property@npm:1.0.3" + dependencies: + define-data-property: ^1.1.1 + functions-have-names: ^1.2.3 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.0 + hasown: ^2.0.0 + isarray: ^2.0.5 + checksum: 835b106e38580c929def6803dad58fc8299d77ed876faed0098f9eb2076e30a2ef36fb5098adac87a4901c13532de86a859e63c8b6769fb7527e1dbbb6430cce + languageName: node + linkType: hard + "module-alias@npm:^2.2.2": version: 2.2.2 resolution: "module-alias@npm:2.2.2" @@ -30517,10 +30643,10 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.12.3": - version: 1.12.3 - resolution: "object-inspect@npm:1.12.3" - checksum: dabfd824d97a5f407e6d5d24810d888859f6be394d8b733a77442b277e0808860555176719c5905e765e3743a7cada6b8b0a3b85e5331c530fd418cc8ae991db +"object-inspect@npm:^1.13.1": + version: 1.13.1 + resolution: "object-inspect@npm:1.13.1" + checksum: 7d9fa9221de3311dcb5c7c307ee5dc011cdd31dc43624b7c184b3840514e118e05ef0002be5388304c416c0eb592feb46e983db12577fc47e47d5752fbbfb61f languageName: node linkType: hard @@ -31438,7 +31564,7 @@ __metadata: languageName: node linkType: hard -"pbkdf2@npm:^3.0.17, pbkdf2@npm:^3.0.3": +"pbkdf2@npm:^3.0.3": version: 3.1.2 resolution: "pbkdf2@npm:3.1.2" dependencies: @@ -34367,6 +34493,17 @@ __metadata: languageName: node linkType: hard +"regexp.prototype.flags@npm:^1.5.1": + version: 1.5.1 + resolution: "regexp.prototype.flags@npm:1.5.1" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + set-function-name: ^2.0.0 + checksum: 869edff00288442f8d7fa4c9327f91d85f3b3acf8cbbef9ea7a220345cf23e9241b6def9263d2c1ebcf3a316b0aa52ad26a43a84aa02baca3381717b3e307f47 + languageName: node + linkType: hard + "regexpp@npm:^3.0.0, regexpp@npm:^3.2.0": version: 3.2.0 resolution: "regexpp@npm:3.2.0" @@ -34938,7 +35075,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^2.0.0-next.3, resolve@npm:^2.0.0-next.4": +"resolve@npm:^2.0.0-next.3": version: 2.0.0-next.4 resolution: "resolve@npm:2.0.0-next.4" dependencies: @@ -34951,6 +35088,19 @@ __metadata: languageName: node linkType: hard +"resolve@npm:^2.0.0-next.5": + version: 2.0.0-next.5 + resolution: "resolve@npm:2.0.0-next.5" + dependencies: + is-core-module: ^2.13.0 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: a73ac69a1c4bd34c56b213d91f5b17ce390688fdb4a1a96ed3025cc7e08e7bfb90b3a06fcce461780cb0b589c958afcb0080ab802c71c01a7ecc8c64feafc89f + languageName: node + linkType: hard + "resolve@npm:~1.17.0": version: 1.17.0 resolution: "resolve@npm:1.17.0" @@ -35005,7 +35155,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^2.0.0-next.3#~builtin, resolve@patch:resolve@^2.0.0-next.4#~builtin": +"resolve@patch:resolve@^2.0.0-next.3#~builtin": version: 2.0.0-next.4 resolution: "resolve@patch:resolve@npm%3A2.0.0-next.4#~builtin::version=2.0.0-next.4&hash=07638b" dependencies: @@ -35018,6 +35168,19 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@^2.0.0-next.5#~builtin": + version: 2.0.0-next.5 + resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#~builtin::version=2.0.0-next.5&hash=07638b" + dependencies: + is-core-module: ^2.13.0 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: 064d09c1808d0c51b3d90b5d27e198e6d0c5dad0eb57065fd40803d6a20553e5398b07f76739d69cbabc12547058bec6b32106ea66622375fb0d7e8fca6a846c + languageName: node + linkType: hard + "resolve@patch:resolve@~1.17.0#~builtin": version: 1.17.0 resolution: "resolve@patch:resolve@npm%3A1.17.0#~builtin::version=1.17.0&hash=07638b" @@ -35065,15 +35228,6 @@ __metadata: languageName: node linkType: hard -"resumer@npm:^0.0.0": - version: 0.0.0 - resolution: "resumer@npm:0.0.0" - dependencies: - through: ~2.3.4 - checksum: 21b1c257aac24840643fae9bc99ca6447a71a0039e7c6dcf64d0ead447ce511eff158d529f1b6258ad12668e66ee3e49ff14932d2b88a3bd578f483e79708104 - languageName: node - linkType: hard - "ret@npm:~0.1.10": version: 0.1.15 resolution: "ret@npm:0.1.15" @@ -35141,17 +35295,6 @@ __metadata: languageName: node linkType: hard -"rlp@npm:^2.2.4": - version: 2.2.7 - resolution: "rlp@npm:2.2.7" - dependencies: - bn.js: ^5.2.0 - bin: - rlp: bin/rlp - checksum: 3db4dfe5c793f40ac7e0be689a1f75d05e6f2ca0c66189aeb62adab8c436b857ab4420a419251ee60370d41d957a55698fc5e23ab1e1b41715f33217bc4bb558 - languageName: node - linkType: hard - "rollup-plugin-bundle-size@npm:^1.0.3": version: 1.0.3 resolution: "rollup-plugin-bundle-size@npm:1.0.3" @@ -35354,6 +35497,18 @@ __metadata: languageName: node linkType: hard +"safe-array-concat@npm:^1.0.1": + version: 1.0.1 + resolution: "safe-array-concat@npm:1.0.1" + dependencies: + call-bind: ^1.0.2 + get-intrinsic: ^1.2.1 + has-symbols: ^1.0.3 + isarray: ^2.0.5 + checksum: 001ecf1d8af398251cbfabaf30ed66e3855127fbceee178179524b24160b49d15442f94ed6c0db0b2e796da76bb05b73bf3cc241490ec9c2b741b41d33058581 + languageName: node + linkType: hard + "safe-buffer@npm:5.1.1": version: 5.1.1 resolution: "safe-buffer@npm:5.1.1" @@ -35650,7 +35805,7 @@ __metadata: languageName: node linkType: hard -"scrypt-js@npm:3.0.1, scrypt-js@npm:^3.0.0": +"scrypt-js@npm:3.0.1": version: 3.0.1 resolution: "scrypt-js@npm:3.0.1" checksum: b7c7d1a68d6ca946f2fbb0778e0c4ec63c65501b54023b2af7d7e9f48fdb6c6580d6f7675cd53bda5944c5ebc057560d5a6365079752546865defb3b79dea454 @@ -35664,18 +35819,6 @@ __metadata: languageName: node linkType: hard -"secp256k1@npm:^4.0.1": - version: 4.0.3 - resolution: "secp256k1@npm:4.0.3" - dependencies: - elliptic: ^6.5.4 - node-addon-api: ^2.0.0 - node-gyp: latest - node-gyp-build: ^4.2.0 - checksum: 21e219adc0024fbd75021001358780a3cc6ac21273c3fcaef46943af73969729709b03f1df7c012a0baab0830fb9a06ccc6b42f8d50050c665cb98078eab477b - languageName: node - linkType: hard - "seedrandom@npm:^3.0.5": version: 3.0.5 resolution: "seedrandom@npm:3.0.5" @@ -35848,6 +35991,29 @@ __metadata: languageName: node linkType: hard +"set-function-length@npm:^1.1.1": + version: 1.1.1 + resolution: "set-function-length@npm:1.1.1" + dependencies: + define-data-property: ^1.1.1 + get-intrinsic: ^1.2.1 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.0 + checksum: c131d7569cd7e110cafdfbfbb0557249b538477624dfac4fc18c376d879672fa52563b74029ca01f8f4583a8acb35bb1e873d573a24edb80d978a7ee607c6e06 + languageName: node + linkType: hard + +"set-function-name@npm:^2.0.0": + version: 2.0.1 + resolution: "set-function-name@npm:2.0.1" + dependencies: + define-data-property: ^1.0.1 + functions-have-names: ^1.2.3 + has-property-descriptors: ^1.0.0 + checksum: 4975d17d90c40168eee2c7c9c59d023429f0a1690a89d75656306481ece0c3c1fb1ebcc0150ea546d1913e35fbd037bace91372c69e543e51fc5d1f31a9fa126 + languageName: node + linkType: hard + "set-value@npm:^2.0.0, set-value@npm:^2.0.1": version: 2.0.1 resolution: "set-value@npm:2.0.1" @@ -36623,6 +36789,15 @@ __metadata: languageName: node linkType: hard +"stop-iteration-iterator@npm:^1.0.0": + version: 1.0.0 + resolution: "stop-iteration-iterator@npm:1.0.0" + dependencies: + internal-slot: ^1.0.4 + checksum: d04173690b2efa40e24ab70e5e51a3ff31d56d699550cfad084104ab3381390daccb36652b25755e420245f3b0737de66c1879eaa2a8d4fc0a78f9bf892fcb42 + languageName: node + linkType: hard + "stoppable@npm:^1.1.0": version: 1.1.0 resolution: "stoppable@npm:1.1.0" @@ -36847,14 +37022,14 @@ __metadata: languageName: node linkType: hard -"string.prototype.trim@npm:^1.2.7": - version: 1.2.7 - resolution: "string.prototype.trim@npm:1.2.7" +"string.prototype.trim@npm:^1.2.8": + version: 1.2.8 + resolution: "string.prototype.trim@npm:1.2.8" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 05b7b2d6af63648e70e44c4a8d10d8cc457536df78b55b9d6230918bde75c5987f6b8604438c4c8652eb55e4fc9725d2912789eb4ec457d6995f3495af190c09 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 49eb1a862a53aba73c3fb6c2a53f5463173cb1f4512374b623bcd6b43ad49dd559a06fb5789bdec771a40fc4d2a564411c0a75d35fb27e76bbe738c211ecff07 languageName: node linkType: hard @@ -36869,6 +37044,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimend@npm:^1.0.7": + version: 1.0.7 + resolution: "string.prototype.trimend@npm:1.0.7" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 2375516272fd1ba75992f4c4aa88a7b5f3c7a9ca308d963bcd5645adf689eba6f8a04ebab80c33e30ec0aefc6554181a3a8416015c38da0aa118e60ec896310c + languageName: node + linkType: hard + "string.prototype.trimstart@npm:^1.0.6": version: 1.0.6 resolution: "string.prototype.trimstart@npm:1.0.6" @@ -36880,6 +37066,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimstart@npm:^1.0.7": + version: 1.0.7 + resolution: "string.prototype.trimstart@npm:1.0.7" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 13d0c2cb0d5ff9e926fa0bec559158b062eed2b68cd5be777ffba782c96b2b492944e47057274e064549b94dd27cf81f48b27a31fee8af5b574cff253e7eb613 + languageName: node + linkType: hard + "string_decoder@npm:^1.0.0, string_decoder@npm:^1.1.1": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -37594,33 +37791,34 @@ __metadata: linkType: hard "tape@npm:^5.5.3": - version: 5.6.3 - resolution: "tape@npm:5.6.3" + version: 5.7.2 + resolution: "tape@npm:5.7.2" dependencies: - array.prototype.every: ^1.1.4 - call-bind: ^1.0.2 - deep-equal: ^2.2.0 + "@ljharb/resumer": ^0.0.1 + "@ljharb/through": ^2.3.11 + array.prototype.every: ^1.1.5 + call-bind: ^1.0.5 + deep-equal: ^2.2.2 defined: ^1.0.1 dotignore: ^0.1.2 for-each: ^0.3.3 get-package-type: ^0.1.0 glob: ^7.2.3 - has: ^1.0.3 has-dynamic-import: ^2.0.1 + hasown: ^2.0.0 inherits: ^2.0.4 is-regex: ^1.1.4 - minimist: ^1.2.7 - object-inspect: ^1.12.3 + minimist: ^1.2.8 + mock-property: ^1.0.2 + object-inspect: ^1.13.1 object-is: ^1.1.5 object-keys: ^1.1.1 object.assign: ^4.1.4 - resolve: ^2.0.0-next.4 - resumer: ^0.0.0 - string.prototype.trim: ^1.2.7 - through: ^2.3.8 + resolve: ^2.0.0-next.5 + string.prototype.trim: ^1.2.8 bin: tape: bin/tape - checksum: f6ce2bc25a9198e040249441554b5e0b7ffa120eea480945f4e8b9ddf1fceb8ed91a3f9df5e998ab48566ae6c6a1aed30a176a1c57d4bf6ef2f3b2c8e200a989 + checksum: 0ca531d977fb7c165f03fbd32ee61941741314ddb5d36ba9033ae2f3f0bee25fa67614109a0b29ae215b8d787419067a60e1c5a32b5065c28959f96cb7cdfe64 languageName: node linkType: hard @@ -37887,7 +38085,7 @@ __metadata: languageName: node linkType: hard -"through@npm:2, through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8, through@npm:~2.3, through@npm:~2.3.1, through@npm:~2.3.4": +"through@npm:2, through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8, through@npm:~2.3, through@npm:~2.3.1": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd @@ -38516,6 +38714,53 @@ __metadata: languageName: node linkType: hard +"typed-array-buffer@npm:^1.0.0": + version: 1.0.0 + resolution: "typed-array-buffer@npm:1.0.0" + dependencies: + call-bind: ^1.0.2 + get-intrinsic: ^1.2.1 + is-typed-array: ^1.1.10 + checksum: 3e0281c79b2a40cd97fe715db803884301993f4e8c18e8d79d75fd18f796e8cd203310fec8c7fdb5e6c09bedf0af4f6ab8b75eb3d3a85da69328f28a80456bd3 + languageName: node + linkType: hard + +"typed-array-byte-length@npm:^1.0.0": + version: 1.0.0 + resolution: "typed-array-byte-length@npm:1.0.0" + dependencies: + call-bind: ^1.0.2 + for-each: ^0.3.3 + has-proto: ^1.0.1 + is-typed-array: ^1.1.10 + checksum: b03db16458322b263d87a702ff25388293f1356326c8a678d7515767ef563ef80e1e67ce648b821ec13178dd628eb2afdc19f97001ceae7a31acf674c849af94 + languageName: node + linkType: hard + +"typed-array-byte-offset@npm:^1.0.0": + version: 1.0.0 + resolution: "typed-array-byte-offset@npm:1.0.0" + dependencies: + available-typed-arrays: ^1.0.5 + call-bind: ^1.0.2 + for-each: ^0.3.3 + has-proto: ^1.0.1 + is-typed-array: ^1.1.10 + checksum: 04f6f02d0e9a948a95fbfe0d5a70b002191fae0b8fe0fe3130a9b2336f043daf7a3dda56a31333c35a067a97e13f539949ab261ca0f3692c41603a46a94e960b + languageName: node + linkType: hard + +"typed-array-length@npm:^1.0.4": + version: 1.0.4 + resolution: "typed-array-length@npm:1.0.4" + dependencies: + call-bind: ^1.0.2 + for-each: ^0.3.3 + is-typed-array: ^1.1.9 + checksum: 2228febc93c7feff142b8c96a58d4a0d7623ecde6c7a24b2b98eb3170e99f7c7eff8c114f9b283085cd59dcd2bd43aadf20e25bba4b034a53c5bb292f71f8956 + languageName: node + linkType: hard + "typed-json-rpc@npm:1.1.0": version: 1.1.0 resolution: "typed-json-rpc@npm:1.1.0" @@ -39771,6 +40016,27 @@ __metadata: languageName: node linkType: hard +"viem@npm:1.20.0": + version: 1.20.0 + resolution: "viem@npm:1.20.0" + 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: 0.9.8 + isows: 1.0.3 + ws: 8.13.0 + peerDependencies: + typescript: ">=5.0.4" + peerDependenciesMeta: + typescript: + optional: true + checksum: 0309bddd163c2da83c36c5f1a62a7a3fa826eb2c8bd578eccb8f1a034f741938bafb616ae6c9f8489f416df2348dc0d09c0ec9146047e99fa2f9e4bc05134497 + languageName: node + linkType: hard + "viem@npm:^1.0.0": version: 1.21.0 resolution: "viem@npm:1.21.0" @@ -39967,17 +40233,18 @@ __metadata: linkType: hard "web3-utils@npm:^1.3.4": - version: 1.9.0 - resolution: "web3-utils@npm:1.9.0" + version: 1.10.3 + resolution: "web3-utils@npm:1.10.3" dependencies: + "@ethereumjs/util": ^8.1.0 bn.js: ^5.2.1 ethereum-bloom-filters: ^1.0.6 - ethereumjs-util: ^7.1.0 + ethereum-cryptography: ^2.1.2 ethjs-unit: 0.1.6 number-to-bn: 1.7.0 randombytes: ^2.1.0 utf8: 3.0.0 - checksum: 3c794a7fcef9387b96e8fcd847fbf286862f0540ab6656063cdb69830ddd7141d955f5e52c049e3d5f28373311934d19f75199f42604741400af72e2348a26f6 + checksum: 353226710b2089a8e84f2b97cc765093e3018b850d3a6d60c92fe012829fa15a54ad15d432f1927bc185c6ef5100397a32fd4a896da5f514817c3f53583df134 languageName: node linkType: hard @@ -40390,7 +40657,20 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.8, which-typed-array@npm:^1.1.9": +"which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.13": + version: 1.1.13 + resolution: "which-typed-array@npm:1.1.13" + dependencies: + available-typed-arrays: ^1.0.5 + call-bind: ^1.0.4 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-tostringtag: ^1.0.0 + checksum: 3828a0d5d72c800e369d447e54c7620742a4cc0c9baf1b5e8c17e9b6ff90d8d861a3a6dd4800f1953dbf80e5e5cec954a289e5b4a223e3bee4aeb1f8c5f33309 + languageName: node + linkType: hard + +"which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.8": version: 1.1.9 resolution: "which-typed-array@npm:1.1.9" dependencies: