diff --git a/package.json b/package.json index 6cbd25fa..1f3b90e2 100644 --- a/package.json +++ b/package.json @@ -6,14 +6,12 @@ "name": "Biconomy", "url": "https://github.com/bcnmy" }, - "dependencies": { + "devDependencies": { "account-abstraction": "https://github.com/eth-infinitism/account-abstraction#v0.7.0", "erc7739-validator-base": "https://github.com/erc7579/erc7739Validator#v1.0.0", "sentinellist": "github:rhinestonewtf/sentinellist#v1.0.0", "forge-std": "github:foundry-rs/forge-std#v1.8.2", - "solady": "github:vectorized/solady#v0.0.271" - }, - "devDependencies": { + "solady": "github:vectorized/solady#v0.0.271", "solarray": "github:sablier-labs/solarray", "@nomicfoundation/hardhat-chai-matchers": "^2.0.6", "@nomicfoundation/hardhat-ethers": "^3.0.6", diff --git a/yarn.lock b/yarn.lock index 767a9fe9..8aa46842 100644 --- a/yarn.lock +++ b/yarn.lock @@ -41,11 +41,6 @@ table "^6.8.0" typescript "^4.3.5" -"@adraffy/ens-normalize@1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" - integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== - "@adraffy/ens-normalize@1.10.1": version "1.10.1" resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz#63430d04bd8c5e74f8d7d049338f1cd9d4f02069" @@ -72,6 +67,10 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" +"@erc7579/enumerablemap4337@https://github.com/erc7579/enumerablemap": + version "1.0.0" + resolved "https://github.com/erc7579/enumerablemap#36291c5aeccb82d25d95e44bec617470e171a1a6" + "@ethereumjs/rlp@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" @@ -467,7 +466,7 @@ tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" -"@noble/curves@1.2.0", "@noble/curves@~1.2.0": +"@noble/curves@1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== @@ -501,11 +500,6 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0" integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== -"@noble/hashes@~1.3.0", "@noble/hashes@~1.3.2": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" - integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== - "@noble/secp256k1@1.7.1", "@noble/secp256k1@~1.7.0": version "1.7.1" resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" @@ -743,10 +737,6 @@ resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-5.1.0.tgz#4e61162f2a2bf414c4e10c45eca98ce5f1aadbd4" integrity sha512-p1ULhl7BXzjjbha5aqst+QMLY+4/LCWADXOCsmLHRM77AqiPjnd9vvUN9sosUfhL9JGKpZ0TjEGxgvnizmWGSA== -"@openzeppelin@https://github.com/OpenZeppelin/openzeppelin-contracts": - version "5.1.0" - resolved "https://github.com/OpenZeppelin/openzeppelin-contracts#448efeea6640bbbc09373f03fbc9c88e280147ba" - "@pnpm/config.env-replace@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c" @@ -773,11 +763,6 @@ resolved "https://registry.yarnpkg.com/@prb/math/-/math-4.1.0.tgz#cb65ff415d5cb1539b7d1b0bc41ecc55c0c12b5f" integrity sha512-ef5Xrlh3BeX4xT5/Wi810dpEPq2bYPndRxgFIaKSU1F/Op/s8af03kyom+mfU7gEpvfIZ46xu8W0duiHplbBMg== -"@prb/test@^0.6.4": - version "0.6.4" - resolved "https://registry.yarnpkg.com/@prb/test/-/test-0.6.4.tgz#20faa4b06e8c6e8fd19adcb8eb88d29d9f755afc" - integrity sha512-P0tTMsB6XQ0Wp61EYdXJYFhsOVGyZvcOFub2y9yk0sF+GYDusctR7DzEI+vOP0SILm3knFkEJASjewHEBppdRQ== - "@prettier/sync@^0.3.0": version "0.3.0" resolved "https://registry.yarnpkg.com/@prettier/sync/-/sync-0.3.0.tgz#91f2cfc23490a21586d1cf89c6f72157c000ca1e" @@ -833,18 +818,10 @@ erc7579 "github:erc7579/erc7579-implementation" forge-std "github:foundry-rs/forge-std" -"@rhinestone/module-template@https://github.com/erc7579/erc7739Validator": - version "0.1.1" - resolved "https://github.com/erc7579/erc7739Validator#e7308fff3f10cd6b1eb93e9ffd7eb9587b41d9c6" - dependencies: - "@rhinestone/modulekit" "^0.4.8" - enumerablemap "https://github.com/erc7579/enumerablemap" - stringutils "github:Arachnid/solidity-stringutils" - -"@rhinestone/modulekit@^0.4.8": - version "0.4.16" - resolved "https://registry.yarnpkg.com/@rhinestone/modulekit/-/modulekit-0.4.16.tgz#a13ebf60522ff1b501a645ccaeb3cac1bcd3d492" - integrity sha512-3yDsgiwg+fft5YMNE/ZWe/ftfqdDnmEQ0F92ynTKx0B0+ikwBDBsj0BwrBADZeh92xKbiEcVEhTooaeteF3X0A== +"@rhinestone/modulekit@0.4.17": + version "0.4.17" + resolved "https://registry.yarnpkg.com/@rhinestone/modulekit/-/modulekit-0.4.17.tgz#ffa7cbbd0c2287de55d8390195096e0ee8d5cb76" + integrity sha512-kaApkGizXNdz23/dFz5vZyGXzRSJq8GwySRfMDORriC2+cyrYhmCVgXOxUHVy/iDG2kWnrCe1tLvwFSpWZG3Sw== dependencies: "@ERC4337/account-abstraction" "github:kopy-kat/account-abstraction#develop" "@ERC4337/account-abstraction-v0.6" "github:eth-infinitism/account-abstraction#v0.6.0" @@ -876,9 +853,6 @@ resolved "https://codeload.github.com/rhinestonewtf/safe7579/tar.gz/33f110f08ed5fcab75c29d7cfb93f7f3e4da76a7" dependencies: "@ERC4337/account-abstraction" "github:kopy-kat/account-abstraction#develop" - "@ERC4337/account-abstraction-v0.6" "github:eth-infinitism/account-abstraction#v0.6.0" - "@rhinestone/checknsignatures" "github:rhinestonewtf/checknsignatures" - "@rhinestone/erc4337-validation" "0.0.1-alpha.2" "@rhinestone/module-bases" "github:rhinestonewtf/module-bases" "@rhinestone/sentinellist" "github:rhinestonewtf/sentinellist" "@safe-global/safe-contracts" "^1.4.1" @@ -899,7 +873,7 @@ resolved "https://registry.yarnpkg.com/@safe-global/safe-contracts/-/safe-contracts-1.4.1.tgz#82605342f3289dc6b99818f599a3409ec2cb3fdc" integrity sha512-fP1jewywSwsIniM04NsqPyVRFKPMAuirC3ftA/TA4X3Zc5EnwQp/UCJUU2PL/37/z/jMo8UUaJ+pnFNWmMU7dQ== -"@scure/base@~1.1.0", "@scure/base@~1.1.2", "@scure/base@~1.1.6": +"@scure/base@~1.1.0", "@scure/base@~1.1.6": version "1.1.9" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.9.tgz#e5e142fbbfe251091f9c5f1dd4c834ac04c3dbd1" integrity sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg== @@ -913,15 +887,6 @@ "@noble/secp256k1" "~1.7.0" "@scure/base" "~1.1.0" -"@scure/bip32@1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.2.tgz#90e78c027d5e30f0b22c1f8d50ff12f3fb7559f8" - integrity sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA== - dependencies: - "@noble/curves" "~1.2.0" - "@noble/hashes" "~1.3.2" - "@scure/base" "~1.1.2" - "@scure/bip32@1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.4.0.tgz#4e1f1e196abedcef395b33b9674a042524e20d67" @@ -939,14 +904,6 @@ "@noble/hashes" "~1.2.0" "@scure/base" "~1.1.0" -"@scure/bip39@1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" - integrity sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg== - dependencies: - "@noble/hashes" "~1.3.0" - "@scure/base" "~1.1.0" - "@scure/bip39@1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.3.0.tgz#0f258c16823ddd00739461ac31398b4e7d6a18c3" @@ -1268,11 +1225,6 @@ abbrev@1.0.x: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135" integrity sha512-LEyx4aLEC3x6T0UguF6YILf+ntvmOaWsVfENmIW0E9H09vKlLDGelMjjSm0jkDHALj8A8quZ/HapKNigzwge+Q== -abitype@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.0.tgz#237176dace81d90d018bebf3a45cb42f2a2d9e97" - integrity sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ== - "account-abstraction-v0.6@github:eth-infinitism/account-abstraction#v0.6.0": version "0.6.0" resolved "https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/abff2aca61a8f0934e533d0d352978055fddbd96" @@ -1332,6 +1284,26 @@ abitype@1.0.0: table "^6.8.0" typescript "^4.3.5" +"account-abstraction@https://github.com/eth-infinitism/account-abstraction#v0.7.0": + version "0.7.0" + resolved "https://github.com/eth-infinitism/account-abstraction#7af70c8993a6f42973f520ae0752386a5032abe7" + dependencies: + "@nomiclabs/hardhat-etherscan" "^2.1.6" + "@openzeppelin/contracts" "^5.0.0" + "@thehubbleproject/bls" "^0.5.1" + "@typechain/hardhat" "^2.3.0" + "@types/debug" "^4.1.12" + "@types/mocha" "^9.0.0" + debug "^4.3.4" + ethereumjs-util "^7.1.0" + ethereumjs-wallet "^1.0.1" + hardhat-deploy "^0.11.23" + hardhat-deploy-ethers "^0.3.0-beta.11" + solidity-coverage "^0.8.4" + source-map-support "^0.5.19" + table "^6.8.0" + typescript "^4.3.5" + acorn-walk@^8.1.1: version "8.3.4" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.4.tgz#794dd169c3977edf4ba4ea47583587c5866236b7" @@ -2173,10 +2145,6 @@ enquirer@^2.3.0, enquirer@^2.3.6: ansi-colors "^4.1.1" strip-ansi "^6.0.1" -"enumerablemap@https://github.com/erc7579/enumerablemap": - version "0.0.0" - resolved "https://github.com/erc7579/enumerablemap#047f4ac64198b2469f3b7c1fcbea771c6d847a62" - env-paths@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" @@ -2192,13 +2160,12 @@ env-paths@^2.2.0: forge-std "github:foundry-rs/forge-std" solady "github:vectorized/solady" -"erc7739-validator-base@https://github.com/erc7579/erc7739Validator": +"erc7739-validator-base@https://github.com/erc7579/erc7739Validator#v1.0.0": version "0.1.1" - resolved "https://github.com/erc7579/erc7739Validator#e7308fff3f10cd6b1eb93e9ffd7eb9587b41d9c6" + resolved "https://github.com/erc7579/erc7739Validator#d1e38493f58f28e62e12e41773086a90e8f60840" dependencies: - "@rhinestone/modulekit" "^0.4.8" - enumerablemap "https://github.com/erc7579/enumerablemap" - stringutils "github:Arachnid/solidity-stringutils" + "@erc7579/enumerablemap4337" "https://github.com/erc7579/enumerablemap" + "@rhinestone/modulekit" "0.4.17" error-ex@^1.3.1: version "1.3.2" @@ -3256,11 +3223,6 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== -isows@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.3.tgz#93c1cf0575daf56e7120bab5c8c448b0809d0d74" - integrity sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg== - js-sha3@0.8.0, js-sha3@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" @@ -3588,27 +3550,6 @@ mocha@^10.0.0, mocha@^10.2.0: yargs-parser "^20.2.9" yargs-unparser "^2.0.0" -"modulekit@github:rhinestonewtf/modulekit": - version "0.4.16" - resolved "https://codeload.github.com/rhinestonewtf/modulekit/tar.gz/695286d95c14e38e9f0f287c69918d94870eec5a" - dependencies: - "@ERC4337/account-abstraction" "github:kopy-kat/account-abstraction#develop" - "@ERC4337/account-abstraction-v0.6" "github:eth-infinitism/account-abstraction#v0.6.0" - "@prb/math" "^4.0.2" - "@rhinestone/erc4337-validation" "^0.0.4" - "@rhinestone/module-bases" "github:rhinestonewtf/module-bases#d048ec28c8ea8b4155db3ce4f027bc64cd41f9a7" - "@rhinestone/registry" "github:rhinestonewtf/registry#v1.0" - "@rhinestone/safe7579" "github:rhinestonewtf/safe7579#v1.0.0" - "@rhinestone/sentinellist" "github:rhinestonewtf/sentinellist" - "@safe-global/safe-contracts" "^1.4.1" - "@zerodev/kernel" "github:kopy-kat/kernel#patch" - ds-test "github:dapphub/ds-test" - erc7579 "github:erc7579/erc7579-implementation" - excessively-safe-call "github:nomad-xyz/ExcessivelySafeCall" - forge-std "github:foundry-rs/forge-std" - solady "github:vectorized/solady" - solarray "github:sablier-labs/solarray" - ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" @@ -4205,9 +4146,9 @@ semver@^7.3.4, semver@^7.3.7, semver@^7.5.2, semver@^7.5.4: resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== -"sentinellist@github:zeroknots/sentinellist": +"sentinellist@github:rhinestonewtf/sentinellist#v1.0.0": version "1.0.1" - resolved "https://codeload.github.com/zeroknots/sentinellist/tar.gz/e722c5cc68c570d535bc3c9f85b3ce90cdc38807" + resolved "https://codeload.github.com/rhinestonewtf/sentinellist/tar.gz/6dff696f39fb55bfdde9581544d788932f145e47" dependencies: forge-std "github:foundry-rs/forge-std" @@ -4302,6 +4243,10 @@ slice-ansi@^4.0.0: version "0.0.168" resolved "https://codeload.github.com/vectorized/solady/tar.gz/9deb9ed36a27261a8745db5b7cd7f4cdc3b1cd4e" +"solady@github:vectorized/solady#v0.0.271": + version "0.0.271" + resolved "https://codeload.github.com/vectorized/solady/tar.gz/b38e2c025f8cd1ecbfc1b92678fe05ac950a4bb1" + "solarray@github:sablier-labs/solarray": version "1.0.0" resolved "https://codeload.github.com/sablier-labs/solarray/tar.gz/6bf10cb34cdace52a3ba5fe437e78cc82df92684" @@ -4484,10 +4429,6 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"stringutils@github:Arachnid/solidity-stringutils": - version "0.0.0" - resolved "https://codeload.github.com/Arachnid/solidity-stringutils/tar.gz/4b2fcc43fa0426e19ce88b1f1ec16f5903a2e461" - strip-ansi@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" @@ -4844,20 +4785,6 @@ v8-compile-cache-lib@^3.0.1: resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== -viem@2.7.13: - version "2.7.13" - resolved "https://registry.yarnpkg.com/viem/-/viem-2.7.13.tgz#bf3f8e973f532f9f9c86c97b645ac8add740e1bd" - integrity sha512-NGWLEocRp2UTqGidzI9bnL9u6WHlG2ik7IwqXNe6/QC2dL6jE3Z1mUnUUVcSx71h81nx74EflD9ahtleK3RQdA== - 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" - isows "1.0.3" - ws "8.13.0" - web3-utils@^1.3.6: version "1.10.4" resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.4.tgz#0daee7d6841641655d8b3726baf33b08eda1cbec" @@ -4941,11 +4868,6 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@8.13.0: - version "8.13.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" - integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== - ws@8.17.1: version "8.17.1" resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b"