diff --git a/package.json b/package.json index 99349916b..2375417ab 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "eslint-plugin-import": "2.27.5", "eslint-plugin-n": "15.6.1", "eslint-plugin-promise": "6.1.1", - "ethers": "5.7.2", + "ethers": "6.3.0", "hardhat": "2.13.0", "hardhat-gas-reporter": "1.0.9", "husky": "8.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 26aca287e..218f6a788 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,16 +22,16 @@ importers: version: 17.4.4 '@nomicfoundation/hardhat-chai-matchers': specifier: 1.0.6 - version: 1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@5.7.2)(hardhat@2.13.0) + version: 1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@6.3.0)(hardhat@2.13.0) '@nomicfoundation/hardhat-network-helpers': specifier: 1.0.8 version: 1.0.8(hardhat@2.13.0) '@nomicfoundation/hardhat-toolbox': specifier: 2.0.2 - version: 2.0.2(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@nomicfoundation/hardhat-chai-matchers@1.0.6)(@nomicfoundation/hardhat-network-helpers@1.0.8)(@nomiclabs/hardhat-ethers@2.2.2)(@nomiclabs/hardhat-etherscan@3.1.7)(@typechain/ethers-v5@10.2.0)(@typechain/hardhat@6.1.5)(@types/chai@4.3.4)(@types/mocha@10.0.1)(@types/node@18.15.10)(chai@4.3.7)(ethers@5.7.2)(hardhat-gas-reporter@1.0.9)(hardhat@2.13.0)(solidity-coverage@0.8.2)(ts-node@10.9.1)(typechain@8.1.1)(typescript@5.0.2) + version: 2.0.2(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@nomicfoundation/hardhat-chai-matchers@1.0.6)(@nomicfoundation/hardhat-network-helpers@1.0.8)(@nomiclabs/hardhat-ethers@2.2.2)(@nomiclabs/hardhat-etherscan@3.1.7)(@typechain/ethers-v5@10.2.0)(@typechain/hardhat@6.1.5)(@types/chai@4.3.4)(@types/mocha@10.0.1)(@types/node@18.15.10)(chai@4.3.7)(ethers@6.3.0)(hardhat-gas-reporter@1.0.9)(hardhat@2.13.0)(solidity-coverage@0.8.2)(ts-node@10.9.1)(typechain@8.1.1)(typescript@5.0.2) '@nomiclabs/hardhat-ethers': specifier: 2.2.2 - version: 2.2.2(ethers@5.7.2)(hardhat@2.13.0) + version: 2.2.2(ethers@6.3.0)(hardhat@2.13.0) '@nomiclabs/hardhat-etherscan': specifier: 3.1.7 version: 3.1.7(hardhat@2.13.0) @@ -40,7 +40,7 @@ importers: version: 3.0.0(hardhat@2.13.0) '@openzeppelin/hardhat-upgrades': specifier: 1.22.1 - version: 1.22.1(@nomiclabs/hardhat-ethers@2.2.2)(@nomiclabs/hardhat-etherscan@3.1.7)(ethers@5.7.2)(hardhat@2.13.0) + version: 1.22.1(@nomiclabs/hardhat-ethers@2.2.2)(@nomiclabs/hardhat-etherscan@3.1.7)(ethers@6.3.0)(hardhat@2.13.0) '@primitivefi/hardhat-dodoc': specifier: 0.2.3 version: 0.2.3(hardhat@2.13.0)(squirrelly@8.0.8) @@ -49,7 +49,7 @@ importers: version: 1.6.1(hardhat@2.13.0)(tenderly@0.4.0) '@typechain/hardhat': specifier: 6.1.5 - version: 6.1.5(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@typechain/ethers-v5@10.2.0)(ethers@5.7.2)(hardhat@2.13.0)(typechain@8.1.1) + version: 6.1.5(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@typechain/ethers-v5@10.2.0)(ethers@6.3.0)(hardhat@2.13.0)(typechain@8.1.1) '@types/node': specifier: 18.15.10 version: 18.15.10 @@ -81,8 +81,8 @@ importers: specifier: 6.1.1 version: 6.1.1(eslint@8.36.0) ethers: - specifier: 5.7.2 - version: 5.7.2 + specifier: 6.3.0 + version: 6.3.0 hardhat: specifier: 2.13.0 version: 2.13.0(ts-node@10.9.1)(typescript@5.0.2) @@ -129,6 +129,10 @@ importers: packages: + /@adraffy/ens-normalize@1.9.0: + resolution: {integrity: sha512-iowxq3U30sghZotgl4s/oJRci6WPBfNO5YYgk2cIOMCHr3LeGPcsZjCEr+33Q4N+oV3OABDAtA+pyvWjbvBifQ==} + dev: true + /@babel/code-frame@7.21.4: resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} engines: {node: '>=6.9.0'} @@ -753,6 +757,10 @@ packages: uuid: 7.0.3 dev: true + /@noble/hashes@1.1.2: + resolution: {integrity: sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==} + dev: true + /@noble/hashes@1.2.0: resolution: {integrity: sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==} dev: true @@ -921,7 +929,7 @@ packages: - supports-color dev: true - /@nomicfoundation/hardhat-chai-matchers@1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@5.7.2)(hardhat@2.13.0): + /@nomicfoundation/hardhat-chai-matchers@1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@6.3.0)(hardhat@2.13.0): resolution: {integrity: sha512-f5ZMNmabZeZegEfuxn/0kW+mm7+yV7VNDxLpMOMGXWFJ2l/Ct3QShujzDRF9cOkK9Ui/hbDeOWGZqyQALDXVCQ==} peerDependencies: '@nomiclabs/hardhat-ethers': ^2.0.0 @@ -930,12 +938,12 @@ packages: hardhat: ^2.9.4 dependencies: '@ethersproject/abi': 5.7.0 - '@nomiclabs/hardhat-ethers': 2.2.2(ethers@5.7.2)(hardhat@2.13.0) + '@nomiclabs/hardhat-ethers': 2.2.2(ethers@6.3.0)(hardhat@2.13.0) '@types/chai-as-promised': 7.1.5 chai: 4.3.7 chai-as-promised: 7.1.1(chai@4.3.7) deep-eql: 4.1.3 - ethers: 5.7.2 + ethers: 6.3.0 hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.2) ordinal: 1.0.3 dev: true @@ -949,7 +957,7 @@ packages: hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.2) dev: true - /@nomicfoundation/hardhat-toolbox@2.0.2(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@nomicfoundation/hardhat-chai-matchers@1.0.6)(@nomicfoundation/hardhat-network-helpers@1.0.8)(@nomiclabs/hardhat-ethers@2.2.2)(@nomiclabs/hardhat-etherscan@3.1.7)(@typechain/ethers-v5@10.2.0)(@typechain/hardhat@6.1.5)(@types/chai@4.3.4)(@types/mocha@10.0.1)(@types/node@18.15.10)(chai@4.3.7)(ethers@5.7.2)(hardhat-gas-reporter@1.0.9)(hardhat@2.13.0)(solidity-coverage@0.8.2)(ts-node@10.9.1)(typechain@8.1.1)(typescript@5.0.2): + /@nomicfoundation/hardhat-toolbox@2.0.2(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@nomicfoundation/hardhat-chai-matchers@1.0.6)(@nomicfoundation/hardhat-network-helpers@1.0.8)(@nomiclabs/hardhat-ethers@2.2.2)(@nomiclabs/hardhat-etherscan@3.1.7)(@typechain/ethers-v5@10.2.0)(@typechain/hardhat@6.1.5)(@types/chai@4.3.4)(@types/mocha@10.0.1)(@types/node@18.15.10)(chai@4.3.7)(ethers@6.3.0)(hardhat-gas-reporter@1.0.9)(hardhat@2.13.0)(solidity-coverage@0.8.2)(ts-node@10.9.1)(typechain@8.1.1)(typescript@5.0.2): resolution: {integrity: sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==} peerDependencies: '@ethersproject/abi': ^5.4.7 @@ -974,17 +982,17 @@ packages: dependencies: '@ethersproject/abi': 5.7.0 '@ethersproject/providers': 5.7.2 - '@nomicfoundation/hardhat-chai-matchers': 1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@5.7.2)(hardhat@2.13.0) + '@nomicfoundation/hardhat-chai-matchers': 1.0.6(@nomiclabs/hardhat-ethers@2.2.2)(chai@4.3.7)(ethers@6.3.0)(hardhat@2.13.0) '@nomicfoundation/hardhat-network-helpers': 1.0.8(hardhat@2.13.0) - '@nomiclabs/hardhat-ethers': 2.2.2(ethers@5.7.2)(hardhat@2.13.0) + '@nomiclabs/hardhat-ethers': 2.2.2(ethers@6.3.0)(hardhat@2.13.0) '@nomiclabs/hardhat-etherscan': 3.1.7(hardhat@2.13.0) - '@typechain/ethers-v5': 10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typechain@8.1.1)(typescript@5.0.2) - '@typechain/hardhat': 6.1.5(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@typechain/ethers-v5@10.2.0)(ethers@5.7.2)(hardhat@2.13.0)(typechain@8.1.1) + '@typechain/ethers-v5': 10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.3.0)(typechain@8.1.1)(typescript@5.0.2) + '@typechain/hardhat': 6.1.5(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@typechain/ethers-v5@10.2.0)(ethers@6.3.0)(hardhat@2.13.0)(typechain@8.1.1) '@types/chai': 4.3.4 '@types/mocha': 10.0.1 '@types/node': 18.15.10 chai: 4.3.7 - ethers: 5.7.2 + ethers: 6.3.0 hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.2) hardhat-gas-reporter: 1.0.9(hardhat@2.13.0) solidity-coverage: 0.8.2(hardhat@2.13.0) @@ -1109,6 +1117,16 @@ packages: hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.2) dev: true + /@nomiclabs/hardhat-ethers@2.2.2(ethers@6.3.0)(hardhat@2.13.0): + resolution: {integrity: sha512-NLDlDFL2us07C0jB/9wzvR0kuLivChJWCXTKcj3yqjZqMoYp7g7wwS157F70VHx/+9gHIBGzak5pKDwG8gEefA==} + peerDependencies: + ethers: ^5.0.0 + hardhat: ^2.0.0 + dependencies: + ethers: 6.3.0 + hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.2) + dev: true + /@nomiclabs/hardhat-etherscan@3.1.7(hardhat@2.13.0): resolution: {integrity: sha512-tZ3TvSgpvsQ6B6OGmo1/Au6u8BrAkvs1mIC/eURA3xgIfznUZBhmpne8hv7BXUzw9xNL3fXdpOYgOQlVMTcoHQ==} peerDependencies: @@ -1146,7 +1164,7 @@ packages: resolution: {integrity: sha512-kEUOgPQszC0fSYWpbh2kT94ltOJwj1qfT2DWo+zVttmGmf97JZ99LspePNaeeaLhCImaHVeBbjaQFZQn7+Zc5g==} dev: false - /@openzeppelin/hardhat-upgrades@1.22.1(@nomiclabs/hardhat-ethers@2.2.2)(@nomiclabs/hardhat-etherscan@3.1.7)(ethers@5.7.2)(hardhat@2.13.0): + /@openzeppelin/hardhat-upgrades@1.22.1(@nomiclabs/hardhat-ethers@2.2.2)(@nomiclabs/hardhat-etherscan@3.1.7)(ethers@6.3.0)(hardhat@2.13.0): resolution: {integrity: sha512-MdoitCTLl4zwMU8MeE/bCj+7JMWBEvd38XqJkw36PkJrXlbv6FedDVCPoumMAhpmtymm0nTwTYYklYG+L6WiiQ==} hasBin: true peerDependencies: @@ -1159,12 +1177,12 @@ packages: '@nomiclabs/harhdat-etherscan': optional: true dependencies: - '@nomiclabs/hardhat-ethers': 2.2.2(ethers@5.7.2)(hardhat@2.13.0) + '@nomiclabs/hardhat-ethers': 2.2.2(ethers@6.3.0)(hardhat@2.13.0) '@nomiclabs/hardhat-etherscan': 3.1.7(hardhat@2.13.0) '@openzeppelin/upgrades-core': 1.24.1 chalk: 4.1.2 debug: 4.3.4(supports-color@8.1.1) - ethers: 5.7.2 + ethers: 6.3.0 hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.2) proper-lockfile: 4.1.2 transitivePeerDependencies: @@ -1335,7 +1353,7 @@ packages: resolution: {integrity: sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==} dev: true - /@typechain/ethers-v5@10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typechain@8.1.1)(typescript@5.0.2): + /@typechain/ethers-v5@10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.3.0)(typechain@8.1.1)(typescript@5.0.2): resolution: {integrity: sha512-ikaq0N/w9fABM+G01OFmU3U3dNnyRwEahkdvi9mqy1a3XwKiPZaF/lu54OcNaEWnpvEYyhhS0N7buCtLQqC92w==} peerDependencies: '@ethersproject/abi': ^5.0.0 @@ -1348,14 +1366,14 @@ packages: '@ethersproject/abi': 5.7.0 '@ethersproject/bytes': 5.7.0 '@ethersproject/providers': 5.7.2 - ethers: 5.7.2 + ethers: 6.3.0 lodash: 4.17.21 ts-essentials: 7.0.3(typescript@5.0.2) typechain: 8.1.1(typescript@5.0.2) typescript: 5.0.2 dev: true - /@typechain/hardhat@6.1.5(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@typechain/ethers-v5@10.2.0)(ethers@5.7.2)(hardhat@2.13.0)(typechain@8.1.1): + /@typechain/hardhat@6.1.5(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@typechain/ethers-v5@10.2.0)(ethers@6.3.0)(hardhat@2.13.0)(typechain@8.1.1): resolution: {integrity: sha512-lg7LW4qDZpxFMknp3Xool61Fg6Lays8F8TXdFGBG+MxyYcYU5795P1U2XdStuzGq9S2Dzdgh+1jGww9wvZ6r4Q==} peerDependencies: '@ethersproject/abi': ^5.4.7 @@ -1367,8 +1385,8 @@ packages: dependencies: '@ethersproject/abi': 5.7.0 '@ethersproject/providers': 5.7.2 - '@typechain/ethers-v5': 10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@5.7.2)(typechain@8.1.1)(typescript@5.0.2) - ethers: 5.7.2 + '@typechain/ethers-v5': 10.2.0(@ethersproject/abi@5.7.0)(@ethersproject/bytes@5.7.0)(@ethersproject/providers@5.7.2)(ethers@6.3.0)(typechain@8.1.1)(typescript@5.0.2) + ethers: 6.3.0 fs-extra: 9.1.0 hardhat: 2.13.0(ts-node@10.9.1)(typescript@5.0.2) typechain: 8.1.1(typescript@5.0.2) @@ -1732,6 +1750,10 @@ packages: resolution: {integrity: sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==} dev: true + /aes-js@4.0.0-beta.3: + resolution: {integrity: sha512-/xJX0/VTPcbc5xQE2VUP91y1xN8q/rDfhEzLm+vLc3hYvb5+qHCnpJRuFcrKn63zumK/sCwYYzhG8HP78JYSTA==} + dev: true + /agent-base@6.0.2: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} @@ -3651,6 +3673,21 @@ packages: - utf-8-validate dev: true + /ethers@6.3.0: + resolution: {integrity: sha512-CKFYvTne1YT4S1glTiu7TgGsj0t6c6GAD7evrIk8zbeUb6nK8dcUPAiAWM8uDX/1NmRTvLM9+1Vnn49hwKtEzw==} + engines: {node: '>=14.0.0'} + dependencies: + '@adraffy/ens-normalize': 1.9.0 + '@noble/hashes': 1.1.2 + '@noble/secp256k1': 1.7.1 + aes-js: 4.0.0-beta.3 + tslib: 2.4.0 + ws: 8.5.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: true + /ethjs-unit@0.1.6: resolution: {integrity: sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw==} engines: {node: '>=6.5.0', npm: '>=3'} @@ -7363,6 +7400,10 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true + /tslib@2.4.0: + resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} + dev: true + /tslib@2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} dev: true @@ -7754,6 +7795,19 @@ packages: optional: true dev: true + /ws@8.5.0: + resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + /xmlhttprequest@1.8.0: resolution: {integrity: sha512-58Im/U0mlVBLM38NdZjHyhuMtCqa61469k2YP/AaPbvCoV9aQGUpbJBj1QRm2ytRiVQBD/fsw7L2bJGDVQswBA==} engines: {node: '>=0.4.0'}