diff --git a/.github/workflows/dependency.yml b/.github/workflows/dependency.yml index cbec934e..20b38593 100644 --- a/.github/workflows/dependency.yml +++ b/.github/workflows/dependency.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 + uses: foundry-rs/foundry-toolchain@v1.2.0 - name: Set up Node.js uses: actions/setup-node@v4 @@ -42,6 +42,7 @@ jobs: mkdir -p src echo 'import "modulekit/ModuleKit.sol";' > src/TestImport.sol echo '[profile.default] + evm_version = "cancun" src = "src" out = "out" libs = ["node_modules"]' > foundry.toml @@ -57,6 +58,7 @@ jobs: mkdir -p src echo 'import "modulekit/ModuleKit.sol";' > src/TestImport.sol echo '[profile.default] + evm_version = "cancun" src = "src" out = "out" libs = ["node_modules"]' > foundry.toml diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 23a86d14..39b3a023 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,25 +10,25 @@ importers: dependencies: '@ERC4337/account-abstraction': specifier: github:kopy-kat/account-abstraction#develop - version: accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + version: accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@ERC4337/account-abstraction-v0.6': specifier: github:eth-infinitism/account-abstraction#v0.6.0 - version: accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + version: accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@prb/math': specifier: ^4.0.2 version: 4.1.0 '@rhinestone/erc4337-validation': specifier: ^0.0.4 - version: 0.0.4(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + version: 0.0.4(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@rhinestone/module-bases': specifier: github:rhinestonewtf/module-bases#d048ec28c8ea8b4155db3ce4f027bc64cd41f9a7 - version: https://codeload.github.com/rhinestonewtf/module-bases/tar.gz/d048ec28c8ea8b4155db3ce4f027bc64cd41f9a7(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + version: https://codeload.github.com/rhinestonewtf/module-bases/tar.gz/d048ec28c8ea8b4155db3ce4f027bc64cd41f9a7(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@rhinestone/registry': specifier: github:rhinestonewtf/registry#v1.0 version: https://codeload.github.com/rhinestonewtf/registry/tar.gz/1371979a97293e0c6188afcd923784f6a718ae7d '@rhinestone/safe7579': specifier: github:rhinestonewtf/safe7579#v1.0.0 - version: https://codeload.github.com/rhinestonewtf/safe7579/tar.gz/33f110f08ed5fcab75c29d7cfb93f7f3e4da76a7(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3))(typescript@5.6.3) + version: https://codeload.github.com/rhinestonewtf/safe7579/tar.gz/33f110f08ed5fcab75c29d7cfb93f7f3e4da76a7(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5))(typescript@4.9.5) '@rhinestone/sentinellist': specifier: github:rhinestonewtf/sentinellist version: https://codeload.github.com/rhinestonewtf/sentinellist/tar.gz/67e42f0eb3cf355ddba5a017892f9cc28d924875 @@ -43,16 +43,16 @@ importers: version: https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0 erc7579: specifier: github:erc7579/erc7579-implementation - version: erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/b3f8bcb2df3aae3217213ffa8b7a87c1eb42ec56(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + version: erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/2081c0f9dc31b2e054a91956968180ea3fccf307(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) excessively-safe-call: specifier: github:nomad-xyz/ExcessivelySafeCall version: '@nomad-xyz/excessively-safe-call@https://codeload.github.com/nomad-xyz/ExcessivelySafeCall/tar.gz/81cd99ce3e69117d665d7601c330ea03b97acce0' forge-std: specifier: github:foundry-rs/forge-std - version: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262 + version: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c solady: specifier: github:vectorized/solady - version: https://codeload.github.com/vectorized/solady/tar.gz/7deab021af0426307ae79d091c4d1e26e9e89cf0 + version: https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc solarray: specifier: github:sablier-labs/solarray version: https://codeload.github.com/sablier-labs/solarray/tar.gz/6bf10cb34cdace52a3ba5fe437e78cc82df92684 @@ -62,24 +62,20 @@ importers: version: 2.27.9 solhint: specifier: ^5.0.1 - version: 5.0.3(typescript@5.6.3) + version: 5.0.3(typescript@4.9.5) packages: - '@babel/code-frame@7.25.9': - resolution: {integrity: sha512-z88xeGxnzehn2sqZ8UdGQEvYErF1odv2CftxInpSYJt6uHuPe9YjahKZITGs3l5LeI9d2ROG+obuDAoSlqbNfQ==} + '@babel/code-frame@7.26.2': + resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} engines: {node: '>=6.9.0'} '@babel/helper-validator-identifier@7.25.9': resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} engines: {node: '>=6.9.0'} - '@babel/highlight@7.25.9': - resolution: {integrity: sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==} - engines: {node: '>=6.9.0'} - - '@babel/runtime@7.25.9': - resolution: {integrity: sha512-4zpTHZ9Cm6L9L+uIqghQX8ZXg8HKFcjYO3qHoO8zTmRm6HQUJ8SSJ+KRvbMBZn0EGVlT4DRYeQ/6hjlyXBh+Kg==} + '@babel/runtime@7.26.0': + resolution: {integrity: sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==} engines: {node: '>=6.9.0'} '@changesets/apply-release-plan@7.0.5': @@ -537,11 +533,11 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@20.17.0': - resolution: {integrity: sha512-a7zRo0f0eLo9K5X9Wp5cAqTUNGzuFLDG2R7C4HY2BhcMAsxgSPuRvAC1ZB6QkuUQXf0YZAgfOX2ZyrBa2n4nHQ==} + '@types/node@20.17.6': + resolution: {integrity: sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==} - '@types/node@22.7.9': - resolution: {integrity: sha512-jrTfRC7FM6nChvU7X2KqcrgquofrWLFDeYC1hKfwNWomVvrn7JIksqf344WN2X/y8xrgqBd2dJATZV4GbatBfg==} + '@types/node@22.9.0': + resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} '@types/pbkdf2@3.1.2': resolution: {integrity: sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew==} @@ -549,8 +545,8 @@ packages: '@types/prettier@2.7.3': resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} - '@types/qs@6.9.16': - resolution: {integrity: sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==} + '@types/qs@6.9.17': + resolution: {integrity: sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==} '@types/secp256k1@4.0.6': resolution: {integrity: sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==} @@ -927,8 +923,8 @@ packages: elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} - elliptic@6.5.7: - resolution: {integrity: sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==} + elliptic@6.6.0: + resolution: {integrity: sha512-dpwoQcLc/2WLQvJvLRHKZ+f9FgOdjnq11rurqwekGQygGPsYSK29OMMD2WalatiqQ+XGFDglTNixpPfI+lpaAA==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -944,8 +940,8 @@ packages: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} - erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/b3f8bcb2df3aae3217213ffa8b7a87c1eb42ec56: - resolution: {tarball: https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/b3f8bcb2df3aae3217213ffa8b7a87c1eb42ec56} + erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/2081c0f9dc31b2e054a91956968180ea3fccf307: + resolution: {tarball: https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/2081c0f9dc31b2e054a91956968180ea3fccf307} version: 0.3.1 error-ex@1.3.2: @@ -1019,6 +1015,7 @@ packages: ethereumjs-wallet@1.0.2: resolution: {integrity: sha512-CCWV4RESJgRdHIvFciVQFnCHfqyhXWchTPlkfp28Qc53ufs+doi5I/cV2+xeK9+qEo25XCWfP9MiL+WEPAZfdA==} + deprecated: 'New package name format for new versions: @ethereumjs/wallet. Please update.' ethers@5.7.2: resolution: {integrity: sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==} @@ -1099,10 +1096,6 @@ packages: debug: optional: true - forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262: - resolution: {tarball: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262} - version: 1.9.4 - forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/8a225d81aa8e2e013580564588c79abb65eacc9e: resolution: {tarball: https://codeload.github.com/foundry-rs/forge-std/tar.gz/8a225d81aa8e2e013580564588c79abb65eacc9e} version: 1.9.3 @@ -1111,6 +1104,10 @@ packages: resolution: {tarball: https://codeload.github.com/foundry-rs/forge-std/tar.gz/ae570fec082bfe1c1f45b0acca4a2b4f84d345ce} version: 1.7.6 + forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c: + resolution: {tarball: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c} + version: 1.9.4 + form-data-encoder@2.1.4: resolution: {integrity: sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==} engines: {node: '>= 14.17'} @@ -1562,8 +1559,8 @@ packages: mnemonist@0.38.5: resolution: {integrity: sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg==} - mocha@10.7.3: - resolution: {integrity: sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==} + mocha@10.8.2: + resolution: {integrity: sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==} engines: {node: '>= 14.0.0'} hasBin: true @@ -1942,18 +1939,14 @@ packages: resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} engines: {node: '>=10'} - solady@https://codeload.github.com/vectorized/solady/tar.gz/7deab021af0426307ae79d091c4d1e26e9e89cf0: - resolution: {tarball: https://codeload.github.com/vectorized/solady/tar.gz/7deab021af0426307ae79d091c4d1e26e9e89cf0} - version: 0.0.259 + solady@https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc: + resolution: {tarball: https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc} + version: 0.0.264 solady@https://codeload.github.com/vectorized/solady/tar.gz/9deb9ed36a27261a8745db5b7cd7f4cdc3b1cd4e: resolution: {tarball: https://codeload.github.com/vectorized/solady/tar.gz/9deb9ed36a27261a8745db5b7cd7f4cdc3b1cd4e} version: 0.0.168 - solady@https://codeload.github.com/vectorized/solady/tar.gz/c3b2ffb4a3334ea519555c5ea11fb0e666f8c2bc: - resolution: {tarball: https://codeload.github.com/vectorized/solady/tar.gz/c3b2ffb4a3334ea519555c5ea11fb0e666f8c2bc} - version: 0.0.260 - solarray@https://codeload.github.com/sablier-labs/solarray/tar.gz/6bf10cb34cdace52a3ba5fe437e78cc82df92684: resolution: {tarball: https://codeload.github.com/sablier-labs/solarray/tar.gz/6bf10cb34cdace52a3ba5fe437e78cc82df92684} version: 1.0.0 @@ -2123,11 +2116,6 @@ packages: engines: {node: '>=4.2.0'} hasBin: true - typescript@5.6.3: - resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} - engines: {node: '>=14.17'} - hasBin: true - typical@2.6.1: resolution: {integrity: sha512-ofhi8kjIje6npGozTip9Fr8iecmYfEbS06i0JnIg+rh51KakryWF4+jX8lLKZVhy6N+ID45WYSFCxPOdTWCzNg==} @@ -2258,21 +2246,15 @@ packages: snapshots: - '@babel/code-frame@7.25.9': - dependencies: - '@babel/highlight': 7.25.9 - picocolors: 1.1.1 - - '@babel/helper-validator-identifier@7.25.9': {} - - '@babel/highlight@7.25.9': + '@babel/code-frame@7.26.2': dependencies: '@babel/helper-validator-identifier': 7.25.9 - chalk: 2.4.2 js-tokens: 4.0.0 picocolors: 1.1.1 - '@babel/runtime@7.25.9': + '@babel/helper-validator-identifier@7.25.9': {} + + '@babel/runtime@7.26.0': dependencies: regenerator-runtime: 0.14.1 @@ -2689,14 +2671,14 @@ snapshots: '@manypkg/find-root@1.1.0': dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 '@manypkg/get-packages@1.1.3': dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 @@ -2812,14 +2794,14 @@ snapshots: '@nomicfoundation/solidity-analyzer-linux-x64-musl': 0.1.2 '@nomicfoundation/solidity-analyzer-win32-x64-msvc': 0.1.2 - '@nomiclabs/hardhat-etherscan@2.1.8(hardhat@2.22.15(typescript@5.6.3))': + '@nomiclabs/hardhat-etherscan@2.1.8(hardhat@2.22.15(typescript@4.9.5))': dependencies: '@ethersproject/abi': 5.7.0 '@ethersproject/address': 5.7.0 cbor: 5.2.0 debug: 4.3.7(supports-color@8.1.1) fs-extra: 7.0.1 - hardhat: 2.22.15(typescript@5.6.3) + hardhat: 2.22.15(typescript@4.9.5) node-fetch: 2.7.0 semver: 6.3.1 transitivePeerDependencies: @@ -2848,19 +2830,19 @@ snapshots: '@rhinestone/checknsignatures@https://codeload.github.com/rhinestonewtf/checknsignatures/tar.gz/7ff44ef46da1266374e6a98e6cf69d727d7c357d': dependencies: - forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262 - solady: https://codeload.github.com/vectorized/solady/tar.gz/c3b2ffb4a3334ea519555c5ea11fb0e666f8c2bc + forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c + solady: https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc - '@rhinestone/erc4337-validation@0.0.1-alpha.2(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3))(typescript@5.6.3)': + '@rhinestone/erc4337-validation@0.0.1-alpha.2(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5))(typescript@4.9.5)': dependencies: '@openzeppelin/contracts': 5.0.1 - account-abstraction: accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) - account-abstraction-v0.6: accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + account-abstraction: accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) + account-abstraction-v0.6: accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) ds-test: https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0 - forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262 + forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c prettier: 2.8.8 - solady: https://codeload.github.com/vectorized/solady/tar.gz/c3b2ffb4a3334ea519555c5ea11fb0e666f8c2bc - solhint: 4.5.4(typescript@5.6.3) + solady: https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc + solhint: 4.5.4(typescript@4.9.5) transitivePeerDependencies: - bufferutil - encoding @@ -2872,15 +2854,15 @@ snapshots: - typescript - utf-8-validate - '@rhinestone/erc4337-validation@0.0.4(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3))': + '@rhinestone/erc4337-validation@0.0.4(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5))': dependencies: '@openzeppelin/contracts': 5.0.1 - account-abstraction: accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) - account-abstraction-v0.6: accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + account-abstraction: accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) + account-abstraction-v0.6: accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) ds-test: https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0 forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/8a225d81aa8e2e013580564588c79abb65eacc9e prettier: 2.8.8 - solady: https://codeload.github.com/vectorized/solady/tar.gz/c3b2ffb4a3334ea519555c5ea11fb0e666f8c2bc + solady: https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc transitivePeerDependencies: - bufferutil - encoding @@ -2891,11 +2873,11 @@ snapshots: - typechain - utf-8-validate - '@rhinestone/module-bases@https://codeload.github.com/rhinestonewtf/module-bases/tar.gz/70f0833756653579be6a95ea48e49a5090e2ff48(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3))': + '@rhinestone/module-bases@https://codeload.github.com/rhinestonewtf/module-bases/tar.gz/70f0833756653579be6a95ea48e49a5090e2ff48(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5))': dependencies: - '@ERC4337/account-abstraction': accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) - erc7579: erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/b3f8bcb2df3aae3217213ffa8b7a87c1eb42ec56(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) - forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262 + '@ERC4337/account-abstraction': accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) + erc7579: erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/2081c0f9dc31b2e054a91956968180ea3fccf307(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) + forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c transitivePeerDependencies: - bufferutil - encoding @@ -2906,11 +2888,11 @@ snapshots: - typechain - utf-8-validate - '@rhinestone/module-bases@https://codeload.github.com/rhinestonewtf/module-bases/tar.gz/d048ec28c8ea8b4155db3ce4f027bc64cd41f9a7(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3))': + '@rhinestone/module-bases@https://codeload.github.com/rhinestonewtf/module-bases/tar.gz/d048ec28c8ea8b4155db3ce4f027bc64cd41f9a7(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5))': dependencies: - '@ERC4337/account-abstraction': accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) - erc7579: erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/b3f8bcb2df3aae3217213ffa8b7a87c1eb42ec56(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) - forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262 + '@ERC4337/account-abstraction': accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) + erc7579: erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/2081c0f9dc31b2e054a91956968180ea3fccf307(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) + forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c transitivePeerDependencies: - bufferutil - encoding @@ -2927,19 +2909,19 @@ snapshots: forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/ae570fec082bfe1c1f45b0acca4a2b4f84d345ce solady: https://codeload.github.com/vectorized/solady/tar.gz/9deb9ed36a27261a8745db5b7cd7f4cdc3b1cd4e - '@rhinestone/safe7579@https://codeload.github.com/rhinestonewtf/safe7579/tar.gz/33f110f08ed5fcab75c29d7cfb93f7f3e4da76a7(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3))(typescript@5.6.3)': + '@rhinestone/safe7579@https://codeload.github.com/rhinestonewtf/safe7579/tar.gz/33f110f08ed5fcab75c29d7cfb93f7f3e4da76a7(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5))(typescript@4.9.5)': dependencies: - '@ERC4337/account-abstraction': accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) - '@ERC4337/account-abstraction-v0.6': accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + '@ERC4337/account-abstraction': accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) + '@ERC4337/account-abstraction-v0.6': accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@rhinestone/checknsignatures': https://codeload.github.com/rhinestonewtf/checknsignatures/tar.gz/7ff44ef46da1266374e6a98e6cf69d727d7c357d - '@rhinestone/erc4337-validation': 0.0.1-alpha.2(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3))(typescript@5.6.3) - '@rhinestone/module-bases': https://codeload.github.com/rhinestonewtf/module-bases/tar.gz/70f0833756653579be6a95ea48e49a5090e2ff48(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + '@rhinestone/erc4337-validation': 0.0.1-alpha.2(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5))(typescript@4.9.5) + '@rhinestone/module-bases': https://codeload.github.com/rhinestonewtf/module-bases/tar.gz/70f0833756653579be6a95ea48e49a5090e2ff48(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@rhinestone/sentinellist': https://codeload.github.com/rhinestonewtf/sentinellist/tar.gz/67e42f0eb3cf355ddba5a017892f9cc28d924875 '@safe-global/safe-contracts': 1.4.1(ethers@5.7.2) ds-test: https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0 - erc7579: erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/b3f8bcb2df3aae3217213ffa8b7a87c1eb42ec56(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) - forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262 - solady: https://codeload.github.com/vectorized/solady/tar.gz/7deab021af0426307ae79d091c4d1e26e9e89cf0 + erc7579: erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/2081c0f9dc31b2e054a91956968180ea3fccf307(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) + forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c + solady: https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc solarray: https://codeload.github.com/sablier-labs/solarray/tar.gz/6bf10cb34cdace52a3ba5fe437e78cc82df92684 transitivePeerDependencies: - bufferutil @@ -2954,7 +2936,7 @@ snapshots: '@rhinestone/sentinellist@https://codeload.github.com/rhinestonewtf/sentinellist/tar.gz/67e42f0eb3cf355ddba5a017892f9cc28d924875': dependencies: - forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262 + forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c '@safe-global/safe-contracts@1.4.1(ethers@5.7.2)': dependencies: @@ -3049,20 +3031,20 @@ snapshots: - bufferutil - utf-8-validate - '@typechain/hardhat@2.3.1(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3))': + '@typechain/hardhat@2.3.1(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5))': dependencies: fs-extra: 9.1.0 - hardhat: 2.22.15(typescript@5.6.3) + hardhat: 2.22.15(typescript@4.9.5) lodash: 4.17.21 - typechain: 5.2.0(typescript@5.6.3) + typechain: 5.2.0(typescript@4.9.5) '@types/bn.js@4.11.6': dependencies: - '@types/node': 22.7.9 + '@types/node': 22.9.0 '@types/bn.js@5.1.6': dependencies: - '@types/node': 22.7.9 + '@types/node': 22.9.0 '@types/debug@4.1.12': dependencies: @@ -3071,7 +3053,7 @@ snapshots: '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.7.9 + '@types/node': 22.9.0 '@types/http-cache-semantics@4.0.4': {} @@ -3085,42 +3067,42 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@20.17.0': + '@types/node@20.17.6': dependencies: undici-types: 6.19.8 - '@types/node@22.7.9': + '@types/node@22.9.0': dependencies: undici-types: 6.19.8 '@types/pbkdf2@3.1.2': dependencies: - '@types/node': 22.7.9 + '@types/node': 22.9.0 '@types/prettier@2.7.3': {} - '@types/qs@6.9.16': {} + '@types/qs@6.9.17': {} '@types/secp256k1@4.0.6': dependencies: - '@types/node': 22.7.9 + '@types/node': 22.9.0 abbrev@1.0.9: {} - accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/6f02f5a28a20e804d0410b4b5b570dd4b076dcf9(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)): + accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/6f02f5a28a20e804d0410b4b5b570dd4b076dcf9(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)): dependencies: - '@nomiclabs/hardhat-etherscan': 2.1.8(hardhat@2.22.15(typescript@5.6.3)) + '@nomiclabs/hardhat-etherscan': 2.1.8(hardhat@2.22.15(typescript@4.9.5)) '@openzeppelin/contracts': 5.1.0 '@thehubbleproject/bls': 0.5.1 - '@typechain/hardhat': 2.3.1(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + '@typechain/hardhat': 2.3.1(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@types/debug': 4.1.12 '@types/mocha': 9.1.1 debug: 4.3.7(supports-color@8.1.1) ethereumjs-util: 7.1.5 ethereumjs-wallet: 1.0.2 hardhat-deploy: 0.11.45 - hardhat-deploy-ethers: 0.3.0-beta.13(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3)) - solidity-coverage: 0.8.13(hardhat@2.22.15(typescript@5.6.3)) + hardhat-deploy-ethers: 0.3.0-beta.13(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5)) + solidity-coverage: 0.8.13(hardhat@2.22.15(typescript@4.9.5)) source-map-support: 0.5.21 table: 6.8.2 typescript: 4.9.5 @@ -3134,19 +3116,19 @@ snapshots: - typechain - utf-8-validate - accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)): + accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/7174d6d845618dbd11cee68eefa715f5263690b6(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)): dependencies: '@gnosis.pm/safe-contracts': 1.3.0(ethers@5.7.2) - '@nomiclabs/hardhat-etherscan': 2.1.8(hardhat@2.22.15(typescript@5.6.3)) + '@nomiclabs/hardhat-etherscan': 2.1.8(hardhat@2.22.15(typescript@4.9.5)) '@openzeppelin/contracts': 4.9.6 '@thehubbleproject/bls': 0.5.1 - '@typechain/hardhat': 2.3.1(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + '@typechain/hardhat': 2.3.1(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@types/mocha': 9.1.1 ethereumjs-util: 7.1.5 ethereumjs-wallet: 1.0.2 hardhat-deploy: 0.11.45 - hardhat-deploy-ethers: 0.3.0-beta.13(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3)) - solidity-coverage: 0.8.13(hardhat@2.22.15(typescript@5.6.3)) + hardhat-deploy-ethers: 0.3.0-beta.13(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5)) + solidity-coverage: 0.8.13(hardhat@2.22.15(typescript@4.9.5)) source-map-support: 0.5.21 table: 6.8.2 typescript: 4.9.5 @@ -3160,20 +3142,20 @@ snapshots: - typechain - utf-8-validate - accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)): + accountabstraction@https://codeload.github.com/kopy-kat/account-abstraction/tar.gz/c5887153fbfe3ed09b2637cac39873f96d676f38(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)): dependencies: - '@nomiclabs/hardhat-etherscan': 2.1.8(hardhat@2.22.15(typescript@5.6.3)) + '@nomiclabs/hardhat-etherscan': 2.1.8(hardhat@2.22.15(typescript@4.9.5)) '@openzeppelin/contracts': 5.1.0 '@thehubbleproject/bls': 0.5.1 - '@typechain/hardhat': 2.3.1(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + '@typechain/hardhat': 2.3.1(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) '@types/debug': 4.1.12 '@types/mocha': 9.1.1 debug: 4.3.7(supports-color@8.1.1) ethereumjs-util: 7.1.5 ethereumjs-wallet: 1.0.2 hardhat-deploy: 0.11.45 - hardhat-deploy-ethers: 0.3.0-beta.13(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3)) - solidity-coverage: 0.8.13(hardhat@2.22.15(typescript@5.6.3)) + hardhat-deploy-ethers: 0.3.0-beta.13(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5)) + solidity-coverage: 0.8.13(hardhat@2.22.15(typescript@4.9.5)) source-map-support: 0.5.21 table: 6.8.2 typescript: 4.9.5 @@ -3471,14 +3453,14 @@ snapshots: cookie@0.4.2: {} - cosmiconfig@8.3.6(typescript@5.6.3): + cosmiconfig@8.3.6(typescript@4.9.5): dependencies: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 optionalDependencies: - typescript: 5.6.3 + typescript: 4.9.5 create-hash@1.2.0: dependencies: @@ -3557,7 +3539,7 @@ snapshots: minimalistic-assert: 1.0.1 minimalistic-crypto-utils: 1.0.1 - elliptic@6.5.7: + elliptic@6.6.0: dependencies: bn.js: 4.12.0 brorand: 1.1.0 @@ -3578,13 +3560,13 @@ snapshots: env-paths@2.2.1: {} - erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/b3f8bcb2df3aae3217213ffa8b7a87c1eb42ec56(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)): + erc7579-implementation@https://codeload.github.com/erc7579/erc7579-implementation/tar.gz/2081c0f9dc31b2e054a91956968180ea3fccf307(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)): dependencies: '@rhinestone/sentinellist': https://codeload.github.com/rhinestonewtf/sentinellist/tar.gz/67e42f0eb3cf355ddba5a017892f9cc28d924875 - account-abstraction: accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/6f02f5a28a20e804d0410b4b5b570dd4b076dcf9(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3))(lodash@4.17.21)(typechain@5.2.0(typescript@5.6.3)) + account-abstraction: accountabstraction@https://codeload.github.com/eth-infinitism/account-abstraction/tar.gz/6f02f5a28a20e804d0410b4b5b570dd4b076dcf9(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5))(lodash@4.17.21)(typechain@5.2.0(typescript@4.9.5)) ds-test: https://codeload.github.com/dapphub/ds-test/tar.gz/e282159d5170298eb2455a6c05280ab5a73a4ef0 - forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262 - solady: https://codeload.github.com/vectorized/solady/tar.gz/7deab021af0426307ae79d091c4d1e26e9e89cf0 + forge-std: https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c + solady: https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc transitivePeerDependencies: - bufferutil - encoding @@ -3674,7 +3656,7 @@ snapshots: '@types/bn.js': 4.11.6 bn.js: 4.12.0 create-hash: 1.2.0 - elliptic: 6.5.7 + elliptic: 6.6.0 ethereum-cryptography: 0.1.3 ethjs-util: 0.1.6 rlp: 2.2.7 @@ -3812,12 +3794,12 @@ snapshots: optionalDependencies: debug: 4.3.7(supports-color@8.1.1) - forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/1eea5bae12ae557d589f9f0f0edae2faa47cb262: {} - forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/8a225d81aa8e2e013580564588c79abb65eacc9e: {} forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/ae570fec082bfe1c1f45b0acca4a2b4f84d345ce: {} + forge-std@https://codeload.github.com/foundry-rs/forge-std/tar.gz/da591f56d8884c5824c0c1b3103fbcfd81123c4c: {} + form-data-encoder@2.1.4: {} form-data@4.0.1: @@ -3976,10 +3958,10 @@ snapshots: optionalDependencies: uglify-js: 3.19.3 - hardhat-deploy-ethers@0.3.0-beta.13(ethers@5.7.2)(hardhat@2.22.15(typescript@5.6.3)): + hardhat-deploy-ethers@0.3.0-beta.13(ethers@5.7.2)(hardhat@2.22.15(typescript@4.9.5)): dependencies: ethers: 5.7.2 - hardhat: 2.22.15(typescript@5.6.3) + hardhat: 2.22.15(typescript@4.9.5) hardhat-deploy@0.11.45: dependencies: @@ -3994,7 +3976,7 @@ snapshots: '@ethersproject/solidity': 5.7.0 '@ethersproject/transactions': 5.7.0 '@ethersproject/wallet': 5.7.0 - '@types/qs': 6.9.16 + '@types/qs': 6.9.17 axios: 0.21.4(debug@4.3.7) chalk: 4.1.2 chokidar: 3.6.0 @@ -4012,7 +3994,7 @@ snapshots: - supports-color - utf-8-validate - hardhat@2.22.15(typescript@5.6.3): + hardhat@2.22.15(typescript@4.9.5): dependencies: '@ethersproject/abi': 5.7.0 '@metamask/eth-sig-util': 4.0.1 @@ -4046,7 +4028,7 @@ snapshots: keccak: 3.0.4 lodash: 4.17.21 mnemonist: 0.38.5 - mocha: 10.7.3 + mocha: 10.8.2 p-map: 4.0.0 raw-body: 2.5.2 resolve: 1.17.0 @@ -4059,7 +4041,7 @@ snapshots: uuid: 8.3.2 ws: 7.5.10 optionalDependencies: - typescript: 5.6.3 + typescript: 4.9.5 transitivePeerDependencies: - bufferutil - c-kzg @@ -4292,7 +4274,7 @@ snapshots: mcl-wasm@1.7.0: dependencies: - '@types/node': 20.17.0 + '@types/node': 20.17.6 md5.js@1.3.5: dependencies: @@ -4345,7 +4327,7 @@ snapshots: dependencies: obliterator: 2.0.4 - mocha@10.7.3: + mocha@10.8.2: dependencies: ansi-colors: 4.1.3 browser-stdout: 1.3.1 @@ -4485,7 +4467,7 @@ snapshots: parse-json@5.2.0: dependencies: - '@babel/code-frame': 7.25.9 + '@babel/code-frame': 7.26.2 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -4655,7 +4637,7 @@ snapshots: secp256k1@4.0.4: dependencies: - elliptic: 6.5.7 + elliptic: 6.6.0 node-addon-api: 5.1.0 node-gyp-build: 4.8.2 @@ -4716,12 +4698,10 @@ snapshots: astral-regex: 2.0.0 is-fullwidth-code-point: 3.0.0 - solady@https://codeload.github.com/vectorized/solady/tar.gz/7deab021af0426307ae79d091c4d1e26e9e89cf0: {} + solady@https://codeload.github.com/vectorized/solady/tar.gz/0c60a26df3a34004006194ccc9fbf8e21be5c9bc: {} solady@https://codeload.github.com/vectorized/solady/tar.gz/9deb9ed36a27261a8745db5b7cd7f4cdc3b1cd4e: {} - solady@https://codeload.github.com/vectorized/solady/tar.gz/c3b2ffb4a3334ea519555c5ea11fb0e666f8c2bc: {} - solarray@https://codeload.github.com/sablier-labs/solarray/tar.gz/6bf10cb34cdace52a3ba5fe437e78cc82df92684: {} solc@0.8.26(debug@4.3.7): @@ -4736,7 +4716,7 @@ snapshots: transitivePeerDependencies: - debug - solhint@4.5.4(typescript@5.6.3): + solhint@4.5.4(typescript@4.9.5): dependencies: '@solidity-parser/parser': 0.18.0 ajv: 6.12.6 @@ -4744,7 +4724,7 @@ snapshots: ast-parents: 0.0.1 chalk: 4.1.2 commander: 10.0.1 - cosmiconfig: 8.3.6(typescript@5.6.3) + cosmiconfig: 8.3.6(typescript@4.9.5) fast-diff: 1.3.0 glob: 8.1.0 ignore: 5.3.2 @@ -4761,7 +4741,7 @@ snapshots: transitivePeerDependencies: - typescript - solhint@5.0.3(typescript@5.6.3): + solhint@5.0.3(typescript@4.9.5): dependencies: '@solidity-parser/parser': 0.18.0 ajv: 6.12.6 @@ -4769,7 +4749,7 @@ snapshots: ast-parents: 0.0.1 chalk: 4.1.2 commander: 10.0.1 - cosmiconfig: 8.3.6(typescript@5.6.3) + cosmiconfig: 8.3.6(typescript@4.9.5) fast-diff: 1.3.0 glob: 8.1.0 ignore: 5.3.2 @@ -4786,7 +4766,7 @@ snapshots: transitivePeerDependencies: - typescript - solidity-coverage@0.8.13(hardhat@2.22.15(typescript@5.6.3)): + solidity-coverage@0.8.13(hardhat@2.22.15(typescript@4.9.5)): dependencies: '@ethersproject/abi': 5.7.0 '@solidity-parser/parser': 0.18.0 @@ -4797,10 +4777,10 @@ snapshots: ghost-testrpc: 0.0.2 global-modules: 2.0.0 globby: 10.0.2 - hardhat: 2.22.15(typescript@5.6.3) + hardhat: 2.22.15(typescript@4.9.5) jsonschema: 1.4.1 lodash: 4.17.21 - mocha: 10.7.3 + mocha: 10.8.2 node-emoji: 1.11.0 pify: 4.0.1 recursive-readdir: 2.2.3 @@ -4905,9 +4885,9 @@ snapshots: tr46@0.0.3: {} - ts-essentials@7.0.3(typescript@5.6.3): + ts-essentials@7.0.3(typescript@4.9.5): dependencies: - typescript: 5.6.3 + typescript: 4.9.5 tslib@1.14.1: {} @@ -4927,7 +4907,7 @@ snapshots: type-fest@0.7.1: {} - typechain@5.2.0(typescript@5.6.3): + typechain@5.2.0(typescript@4.9.5): dependencies: '@types/prettier': 2.7.3 command-line-args: 4.0.7 @@ -4938,15 +4918,13 @@ snapshots: lodash: 4.17.21 mkdirp: 1.0.4 prettier: 2.8.8 - ts-essentials: 7.0.3(typescript@5.6.3) - typescript: 5.6.3 + ts-essentials: 7.0.3(typescript@4.9.5) + typescript: 4.9.5 transitivePeerDependencies: - supports-color typescript@4.9.5: {} - typescript@5.6.3: {} - typical@2.6.1: {} uglify-js@3.19.3: diff --git a/src/accounts/erc7579/ERC7579Factory.sol b/src/accounts/erc7579/ERC7579Factory.sol index 3df3a1cf..7e848eec 100644 --- a/src/accounts/erc7579/ERC7579Factory.sol +++ b/src/accounts/erc7579/ERC7579Factory.sol @@ -2,8 +2,9 @@ pragma solidity ^0.8.23; import "../../external/ERC7579.sol"; -import { LibClone } from "solady/utils/LibClone.sol"; import { IAccountFactory } from "src/accounts/interface/IAccountFactory.sol"; +import { IMSA } from "erc7579/interfaces/IMSA.sol"; +import { MSAProxy } from "erc7579/utils/MSAProxy.sol"; contract ERC7579Factory is IAccountFactory { ERC7579Account internal implementation; @@ -14,18 +15,14 @@ contract ERC7579Factory is IAccountFactory { bootstrapDefault = new ERC7579Bootstrap(); } - function createAccount( - bytes32 salt, - bytes memory initCode - ) - public - override - returns (address account) - { - bytes32 _salt = _getSalt(salt, initCode); - account = LibClone.cloneDeterministic(0, address(implementation), initCode, _salt); + function createAccount(bytes32 salt, bytes memory initCode) public override returns (address) { + address account = address( + new MSAProxy{ salt: salt }( + address(implementation), abi.encodeCall(IMSA.initializeAccount, initCode) + ) + ); - IMSA(account).initializeAccount(initCode); + return account; } function getAddress( @@ -37,10 +34,24 @@ contract ERC7579Factory is IAccountFactory { override returns (address) { - bytes32 _salt = _getSalt(salt, initCode); - return LibClone.predictDeterministicAddress( - address(implementation), initCode, _salt, address(this) + bytes32 hash = keccak256( + abi.encodePacked( + bytes1(0xff), + address(this), + salt, + keccak256( + abi.encodePacked( + type(MSAProxy).creationCode, + abi.encode( + address(implementation), + abi.encodeCall(IMSA.initializeAccount, initCode) + ) + ) + ) + ) ); + + return address(uint160(uint256(hash))); } function getInitData( diff --git a/src/integrations/registry/ExampleFactory.sol b/src/integrations/registry/ExampleFactory.sol index 935ffc3b..49af526a 100644 --- a/src/integrations/registry/ExampleFactory.sol +++ b/src/integrations/registry/ExampleFactory.sol @@ -1,9 +1,10 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.25; -import { LibClone } from "solady/utils/LibClone.sol"; import { IMSA, ERC7579Bootstrap, IERC7579Module } from "src/external/ERC7579.sol"; import { FactoryBase } from "./FactoryBase.sol"; +import { IMSA } from "erc7579/interfaces/IMSA.sol"; +import { MSAProxy } from "erc7579/utils/MSAProxy.sol"; contract ExampleFactory is FactoryBase { address public immutable IMPLEMENTATION; @@ -34,19 +35,19 @@ contract ExampleFactory is FactoryBase { { _checkRegistry(validator, 1); - bytes32 _salt = _getSalt(salt, validator, validatorInitData); - (bool alreadyDeployed, address account) = - LibClone.createDeterministicERC1967(msg.value, IMPLEMENTATION, _salt); + bytes memory initData = abi.encode( + BOOTSTRAP, + abi.encodeCall( + ERC7579Bootstrap.singleInitMSA, (IERC7579Module(validator), validatorInitData) + ) + ); + + address account = address( + new MSAProxy{ salt: salt }( + IMPLEMENTATION, abi.encodeCall(IMSA.initializeAccount, initData) + ) + ); - if (!alreadyDeployed) { - bytes memory initData = abi.encode( - BOOTSTRAP, - abi.encodeCall( - ERC7579Bootstrap.singleInitMSA, (IERC7579Module(validator), validatorInitData) - ) - ); - IMSA(account).initializeAccount(initData); - } return account; } @@ -56,12 +57,33 @@ contract ExampleFactory is FactoryBase { bytes calldata validatorInitData ) public - view virtual returns (address) { - bytes32 _salt = _getSalt(salt, validator, validatorInitData); - return LibClone.predictDeterministicAddressERC1967(IMPLEMENTATION, _salt, address(this)); + _checkRegistry(validator, 1); + + bytes memory initData = abi.encode( + BOOTSTRAP, + abi.encodeCall( + ERC7579Bootstrap.singleInitMSA, (IERC7579Module(validator), validatorInitData) + ) + ); + + bytes32 hash = keccak256( + abi.encodePacked( + bytes1(0xff), + address(this), + salt, + keccak256( + abi.encodePacked( + type(MSAProxy).creationCode, + abi.encode(IMPLEMENTATION, abi.encodeCall(IMSA.initializeAccount, initData)) + ) + ) + ) + ); + + return address(uint160(uint256(hash))); } function getInitCode( diff --git a/src/test/RhinestoneModuleKit.sol b/src/test/RhinestoneModuleKit.sol index 177b73b5..ba0f0026 100644 --- a/src/test/RhinestoneModuleKit.sol +++ b/src/test/RhinestoneModuleKit.sol @@ -258,22 +258,26 @@ contract RhinestoneModuleKit is AuxiliaryFactory { IAccountFactory kernelFactory = IAccountFactory(getFactory(KERNEL)); IAccountFactory erc7579Factory = IAccountFactory(getFactory(DEFAULT)); IAccountFactory nexusFactory = IAccountFactory(getFactory(NEXUS)); + IAccountFactory customFactory = IAccountFactory(getFactory(CUSTOM)); safeFactory.init(); kernelFactory.init(); erc7579Factory.init(); nexusFactory.init(); + customFactory.init(); // Label factories label(address(safeFactory), "SafeFactory"); label(address(kernelFactory), "KernelFactory"); label(address(erc7579Factory), "ERC7579Factory"); label(address(nexusFactory), "NexusFactory"); + label(address(customFactory), "CustomFactory"); // Stake factory on EntryPoint deal(address(safeFactory), 10 ether); deal(address(kernelFactory), 10 ether); deal(address(erc7579Factory), 10 ether); deal(address(nexusFactory), 10 ether); + deal(address(customFactory), 10 ether); // Stake on EntryPoint prank(address(safeFactory));