From d7415466a8cda0d2d73a550ad8aa946aedb4eb6f Mon Sep 17 00:00:00 2001 From: Denis Date: Mon, 18 Dec 2023 20:44:57 +0000 Subject: [PATCH] Use networks from solidity-utils --- contracts/DelegationPlugin.sol | 2 +- contracts/FarmingDelegationPlugin.sol | 4 +- hardhat.config.js | 4 +- hardhat.networks.js | 88 --------- package.json | 6 +- yarn.lock | 274 +++----------------------- 6 files changed, 40 insertions(+), 338 deletions(-) delete mode 100644 hardhat.networks.js diff --git a/contracts/DelegationPlugin.sol b/contracts/DelegationPlugin.sol index a22374f..4f4cfe2 100644 --- a/contracts/DelegationPlugin.sol +++ b/contracts/DelegationPlugin.sol @@ -22,7 +22,7 @@ contract DelegationPlugin is IDelegationPlugin, Plugin, ERC20 { if (prevDelegatee != delegatee) { delegated[msg.sender] = delegatee; emit Delegated(msg.sender, delegatee); - uint256 balance = IERC20Plugins(token).pluginBalanceOf(address(this), msg.sender); + uint256 balance = IERC20Plugins(TOKEN).pluginBalanceOf(address(this), msg.sender); if (balance > 0) { _updateBalances(msg.sender, msg.sender, prevDelegatee, delegatee, balance); } diff --git a/contracts/FarmingDelegationPlugin.sol b/contracts/FarmingDelegationPlugin.sol index 88b7091..12908ca 100644 --- a/contracts/FarmingDelegationPlugin.sol +++ b/contracts/FarmingDelegationPlugin.sol @@ -21,7 +21,7 @@ contract FarmingDelegationPlugin is IFarmingDelegationPlugin, TokenizedDelegatio function register(string memory name_, string memory symbol_) public override(ITokenizedDelegationPlugin, TokenizedDelegationPlugin) returns(IDelegatedShare shareToken) { shareToken = super.register(name_, symbol_); - MultiFarmingPlugin farm = new MultiFarmingPlugin(shareToken, _MAX_FARM_REWARDS); + MultiFarmingPlugin farm = new MultiFarmingPlugin(shareToken, _MAX_FARM_REWARDS, address(this)); farm.transferOwnership(msg.sender); defaultFarms[msg.sender] = address(farm); } @@ -35,7 +35,7 @@ contract FarmingDelegationPlugin is IFarmingDelegationPlugin, TokenizedDelegatio } function setDefaultFarm(address farm) external onlyRegistered { - if (farm != address(0) && IPlugin(farm).token() != registration[msg.sender]) revert DefaultFarmTokenMismatch(); + if (farm != address(0) && IPlugin(farm).TOKEN() != registration[msg.sender]) revert DefaultFarmTokenMismatch(); defaultFarms[msg.sender] = farm; emit DefaultFarmSet(farm); } diff --git a/hardhat.config.js b/hardhat.config.js index 2edd6e6..a3a3471 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -7,8 +7,9 @@ require('hardhat-deploy'); require('hardhat-tracer'); require('hardhat-gas-reporter'); require('dotenv').config(); +const { Networks, getNetwork } = require('@1inch/solidity-utils/hardhat-setup'); -const { networks, etherscan } = require('./hardhat.networks'); +const { networks, etherscan } = (new Networks()).registerAll(); module.exports = { etherscan, @@ -19,6 +20,7 @@ module.exports = { enabled: true, runs: 1000000, }, + evmVersion: networks[getNetwork()]?.hardfork || 'shanghai', viaIR: true, }, }, diff --git a/hardhat.networks.js b/hardhat.networks.js deleted file mode 100644 index 303c82d..0000000 --- a/hardhat.networks.js +++ /dev/null @@ -1,88 +0,0 @@ -const networks = {}; -const etherscan = { apiKey: {} }; - -function register (name, chainId, url, privateKey, etherscanNetworkName, etherscanKey) { - if (url && privateKey && etherscanKey) { - networks[name] = { - url, - chainId, - accounts: [privateKey], - }; - etherscan.apiKey[etherscanNetworkName] = etherscanKey; - console.log(`Network '${name}' registered`); - } else { - console.log(`Network '${name}' not registered`); - } -} - -register( - 'mainnet', - 1, - process.env.MAINNET_RPC_URL, - process.env.MAINNET_PRIVATE_KEY, - 'mainnet', - process.env.MAINNET_ETHERSCAN_KEY, -); -register('bsc', 56, process.env.BSC_RPC_URL, process.env.BSC_PRIVATE_KEY, 'bsc', process.env.BSC_ETHERSCAN_KEY); -register( - 'kovan', - 42, - process.env.KOVAN_RPC_URL, - process.env.KOVAN_PRIVATE_KEY, - 'kovan', - process.env.KOVAN_ETHERSCAN_KEY, -); -register( - 'optimistic', - 10, - process.env.OPTIMISTIC_RPC_URL, - process.env.OPTIMISTIC_PRIVATE_KEY, - 'optimisticEthereum', - process.env.OPTIMISTIC_ETHERSCAN_KEY, -); -register( - 'matic', - 137, - process.env.MATIC_RPC_URL, - process.env.MATIC_PRIVATE_KEY, - 'polygon', - process.env.MATIC_ETHERSCAN_KEY, -); -register( - 'arbitrum', - 42161, - process.env.ARBITRUM_RPC_URL, - process.env.ARBITRUM_PRIVATE_KEY, - 'arbitrumOne', - process.env.ARBITRUM_ETHERSCAN_KEY, -); -register('xdai', 100, process.env.XDAI_RPC_URL, process.env.XDAI_PRIVATE_KEY, 'xdai', process.env.XDAI_ETHERSCAN_KEY); -register( - 'avax', - 43114, - process.env.AVAX_RPC_URL, - process.env.AVAX_PRIVATE_KEY, - 'avalanche', - process.env.AVAX_ETHERSCAN_KEY, -); -register( - 'fantom', - 250, - process.env.FANTOM_RPC_URL, - process.env.FANTOM_PRIVATE_KEY, - 'opera', - process.env.FANTOM_ETHERSCAN_KEY, -); -register( - 'aurora', - 1313161554, - process.env.AURORA_RPC_URL, - process.env.AURORA_PRIVATE_KEY, - 'aurora', - process.env.AURORA_ETHERSCAN_KEY, -); - -module.exports = { - networks, - etherscan, -}; diff --git a/package.json b/package.json index 2cd07d4..625f4e7 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,9 @@ }, "license": "MIT", "dependencies": { - "@1inch/token-plugins": "git+https://github.com/1inch/token-plugins.git#4d113410faedfbd385df6c99a4481e3e0d001e08", - "@1inch/farming": "git+https://github.com/1inch/farming.git#d140c9a39ed46eb6dbef9c4970b40c5528233c53", - "@1inch/solidity-utils": "3.5.4", + "@1inch/token-plugins": "https://github.com/1inch/token-plugins.git#feature/bump-solidity", + "@1inch/farming": "https://github.com/1inch/farming.git#feature/bump-solidity", + "@1inch/solidity-utils": "3.5.5", "@openzeppelin/contracts": "5.0.1", "hardhat-dependency-compiler": "1.1.3" }, diff --git a/yarn.lock b/yarn.lock index c47e610..ddbc853 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,52 +2,38 @@ # yarn lockfile v1 -"@1inch/farming@git+https://github.com/1inch/farming.git#d140c9a39ed46eb6dbef9c4970b40c5528233c53": - version "3.2.0" - resolved "git+https://github.com/1inch/farming.git#d140c9a39ed46eb6dbef9c4970b40c5528233c53" - dependencies: - "@1inch/solidity-utils" "3.5.4" - "@1inch/token-plugins" "git+https://github.com/1inch/token-plugins.git#4d113410faedfbd385df6c99a4481e3e0d001e08" - "@openzeppelin/contracts" "5.0.1" - -"@1inch/solidity-utils@3.3.0": +"@1inch/farming@https://github.com/1inch/farming.git#feature/bump-solidity": version "3.3.0" - resolved "https://registry.yarnpkg.com/@1inch/solidity-utils/-/solidity-utils-3.3.0.tgz#409dec87901f465ca7cd291df30155f50f5ab34a" - integrity sha512-mkS/Ej1wXO+Xa3ztVB5KKmKVwXCp5zrXcLiCEwkHyouOBauxYWp4/icj/wOBapIwVaju9ha5u1HlwbIlbl2gbQ== + resolved "https://github.com/1inch/farming.git#504732d311a429d61206d79fe5e6219a542df693" dependencies: - "@metamask/eth-sig-util" "6.0.0" - "@nomicfoundation/hardhat-ethers" "3.0.3" - "@nomicfoundation/hardhat-network-helpers" "1.0.8" - "@openzeppelin/contracts" "5.0.0" - "@uniswap/permit2-sdk" "1.2.0" - ethereumjs-util "7.1.5" - ethers "6.6.3" - hardhat-deploy "0.11.34" + "@1inch/solidity-utils" "3.5.5" + "@1inch/token-plugins" "https://github.com/1inch/token-plugins.git#feature/bump-solidity" + "@openzeppelin/contracts" "5.0.1" -"@1inch/solidity-utils@3.5.4": - version "3.5.4" - resolved "https://registry.yarnpkg.com/@1inch/solidity-utils/-/solidity-utils-3.5.4.tgz#427147f300eb8cbdee2e3512dca96e2e15101ca7" - integrity sha512-uX4vhCMBw/2z+fNCfZQ0H2RPMva0wp62voZ2mwTktIPLLp0d5xslvmoJPbuLq6vDn1EWo3trw3u/qeGDn1n0KQ== +"@1inch/solidity-utils@3.5.5": + version "3.5.5" + resolved "https://registry.yarnpkg.com/@1inch/solidity-utils/-/solidity-utils-3.5.5.tgz#14353aa36270e4213927c7de31088953aa277a25" + integrity sha512-uX9fzLLxQIvXB4gIczTZ11C2tRrqswJsXV7WNhdPn5CZnCrp8gyBGnuxLjEbY1jZK+NPs2AtZB7FD+/+0ZN+Kg== dependencies: - "@metamask/eth-sig-util" "7.0.0" + "@metamask/eth-sig-util" "7.0.1" "@nomicfoundation/hardhat-ethers" "3.0.5" - "@nomicfoundation/hardhat-network-helpers" "1.0.9" - "@nomicfoundation/hardhat-verify" "2.0.1" - "@openzeppelin/contracts" "5.0.0" + "@nomicfoundation/hardhat-network-helpers" "1.0.10" + "@nomicfoundation/hardhat-verify" "2.0.2" + "@openzeppelin/contracts" "5.0.1" "@uniswap/permit2-sdk" "1.2.0" chai "4.3.10" dotenv "16.3.1" ethereumjs-util "7.1.5" - ethers "6.8.1" - hardhat "2.19.1" - hardhat-deploy "0.11.43" + ethers "6.9.0" + hardhat "2.19.2" + hardhat-deploy "0.11.44" -"@1inch/token-plugins@git+https://github.com/1inch/token-plugins.git#4d113410faedfbd385df6c99a4481e3e0d001e08": +"@1inch/token-plugins@https://github.com/1inch/token-plugins.git#feature/bump-solidity": version "1.3.0" - resolved "git+https://github.com/1inch/token-plugins.git#4d113410faedfbd385df6c99a4481e3e0d001e08" + resolved "https://github.com/1inch/token-plugins.git#db56a45bda700080228f3e2b92802c50edf27070" dependencies: - "@1inch/solidity-utils" "3.3.0" - "@openzeppelin/contracts" "5.0.0" + "@1inch/solidity-utils" "3.5.5" + "@openzeppelin/contracts" "5.0.1" "@aashutoshrathi/word-wrap@^1.2.3": version "1.2.6" @@ -59,11 +45,6 @@ resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== -"@adraffy/ens-normalize@1.9.2": - version "1.9.2" - resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.9.2.tgz#60111a5d9db45b2e5cbb6231b0bb8d97e8659316" - integrity sha512-0h+FrQDqe2Wn+IIGFkTCd4aAwTJ+7834Ek1COohCyV26AXhwQ7WQaz+4F/nLOeVl/3BtWHOHLPsq46V8YB46Eg== - "@babel/code-frame@^7.0.0": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" @@ -188,7 +169,7 @@ "@ethereumjs/util" "^8.1.0" ethereum-cryptography "^2.0.0" -"@ethereumjs/util@^8.0.6", "@ethereumjs/util@^8.1.0": +"@ethereumjs/util@^8.1.0": version "8.1.0" resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.1.0.tgz#299df97fb6b034e0577ce9f94c7d9d1004409ed4" integrity sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA== @@ -578,28 +559,15 @@ "@metamask/utils" "^8.0.0" superstruct "^1.0.3" -"@metamask/eth-sig-util@6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-6.0.0.tgz#083321dc7285a9aa6e066db7c49be6e94c5e03a3" - integrity sha512-M0ezVz8lirXG1P6rHPzx+9i4zfhebCgVHE8XQT8VWxy/eUWllHQGcBcE8QmOusC7su55M4CMr9AyMIu0lx452g== - dependencies: - "@ethereumjs/util" "^8.0.6" - bn.js "^4.12.0" - ethereum-cryptography "^2.0.0" - ethjs-util "^0.1.6" - tweetnacl "^1.0.3" - tweetnacl-util "^0.15.1" - -"@metamask/eth-sig-util@7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-7.0.0.tgz#b035a2b826018578a5d463668bb64828271376d8" - integrity sha512-8KeXZB4SKx3EfNS5ahbjUMegyGvDQYk6Nk3hmM658sXpfAQR5ZlIXBgj+9RF+ZROqsU6EuNVgKt7Fr10re60PQ== +"@metamask/eth-sig-util@7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-7.0.1.tgz#ad3227d6120f15f9293478de7dd9685a5c329586" + integrity sha512-59GSrMyFH2fPfu7nKeIQdZ150zxXNNhAQIUaFRUW+MGtVA4w/ONbiQobcRBLi+jQProfIyss51G8pfLPcQ0ylg== dependencies: "@ethereumjs/util" "^8.1.0" "@metamask/abi-utils" "^2.0.2" "@metamask/utils" "^8.1.0" ethereum-cryptography "^2.1.2" - ethjs-util "^0.1.6" tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" @@ -642,11 +610,6 @@ dependencies: "@noble/hashes" "1.3.2" -"@noble/hashes@1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" - integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA== - "@noble/hashes@1.2.0", "@noble/hashes@~1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.2.0.tgz#a3150eeb09cc7ab207ebf6d7b9ad311a9bdbed12" @@ -837,14 +800,6 @@ deep-eql "^4.0.1" ordinal "^1.0.3" -"@nomicfoundation/hardhat-ethers@3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-ethers/-/hardhat-ethers-3.0.3.tgz#e25072198e0f1c7d2fd895e78cd4917d261a7369" - integrity sha512-asTxUs6vg586UqL9Bi5sMvB7IrYebbgm3FkpxacbGsnb8Vr+8BB2k07nB0HNEPG3GLhTTFzalsbl0raGiPTUYg== - dependencies: - debug "^4.1.1" - lodash.isequal "^4.5.0" - "@nomicfoundation/hardhat-ethers@3.0.5": version "3.0.5" resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-ethers/-/hardhat-ethers-3.0.5.tgz#0422c2123dec7c42e7fb2be8e1691f1d9708db56" @@ -853,35 +808,13 @@ debug "^4.1.1" lodash.isequal "^4.5.0" -"@nomicfoundation/hardhat-network-helpers@1.0.8": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-network-helpers/-/hardhat-network-helpers-1.0.8.tgz#e4fe1be93e8a65508c46d73c41fa26c7e9f84931" - integrity sha512-MNqQbzUJZnCMIYvlniC3U+kcavz/PhhQSsY90tbEtUyMj/IQqsLwIRZa4ctjABh3Bz0KCh9OXUZ7Yk/d9hr45Q== - dependencies: - ethereumjs-util "^7.1.4" - -"@nomicfoundation/hardhat-network-helpers@1.0.9": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-network-helpers/-/hardhat-network-helpers-1.0.9.tgz#767449e8a2acda79306ac84626117583d95d25aa" - integrity sha512-OXWCv0cHpwLUO2u7bFxBna6dQtCC2Gg/aN/KtJLO7gmuuA28vgmVKYFRCDUqrbjujzgfwQ2aKyZ9Y3vSmDqS7Q== +"@nomicfoundation/hardhat-network-helpers@1.0.10": + version "1.0.10" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-network-helpers/-/hardhat-network-helpers-1.0.10.tgz#c61042ceb104fdd6c10017859fdef6529c1d6585" + integrity sha512-R35/BMBlx7tWN5V6d/8/19QCwEmIdbnA4ZrsuXgvs8i2qFx5i7h6mH5pBS4Pwi4WigLH+upl6faYusrNPuzMrQ== dependencies: ethereumjs-util "^7.1.4" -"@nomicfoundation/hardhat-verify@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-verify/-/hardhat-verify-2.0.1.tgz#1b9d707516f8e5db4e1d6bd679acbfd71e567928" - integrity sha512-TuJrhW5p9x92wDRiRhNkGQ/wzRmOkfCLkoRg8+IRxyeLigOALbayQEmkNiGWR03vGlxZS4znXhKI7y97JwZ6Og== - dependencies: - "@ethersproject/abi" "^5.1.2" - "@ethersproject/address" "^5.0.2" - cbor "^8.1.0" - chalk "^2.4.2" - debug "^4.1.1" - lodash.clonedeep "^4.5.0" - semver "^6.3.0" - table "^6.8.0" - undici "^5.14.0" - "@nomicfoundation/hardhat-verify@2.0.2": version "2.0.2" resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-verify/-/hardhat-verify-2.0.2.tgz#085f8509a335db44ea3bf39a8561f1ce0462fea2" @@ -963,11 +896,6 @@ "@nomicfoundation/solidity-analyzer-win32-ia32-msvc" "0.1.1" "@nomicfoundation/solidity-analyzer-win32-x64-msvc" "0.1.1" -"@openzeppelin/contracts@5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-5.0.0.tgz#ee0e4b4564f101a5c4ee398cd4d73c0bd92b289c" - integrity sha512-bv2sdS6LKqVVMLI5+zqnNrNU/CA+6z6CmwFXm/MzmOPBRSO5reEJN7z0Gbzvs0/bv/MZZXNklubpwy3v2+azsw== - "@openzeppelin/contracts@5.0.1": version "5.0.1" resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-5.0.1.tgz#93da90fc209a0a4ff09c1deb037fbb35e4020890" @@ -1627,7 +1555,7 @@ bn.js@4.11.6: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== -bn.js@^4.11.0, bn.js@^4.11.8, bn.js@^4.11.9, bn.js@^4.12.0: +bn.js@^4.11.0, bn.js@^4.11.8, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== @@ -2721,32 +2649,6 @@ ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1: ethjs-util "0.1.6" rlp "^2.2.3" -ethers@6.6.3: - version "6.6.3" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.6.3.tgz#9bf11d1bd0f18c7c55087d1a52fdc8f3c33c8bab" - integrity sha512-g8wLXeRWSGDD0T+wsL3pvyc3aYnmxEEAwH8LSoDTDRhRsmJeNs9YMXlNU7ax2caO+zHkeI9MkHiz6rwxEjN4Mw== - dependencies: - "@adraffy/ens-normalize" "1.9.2" - "@noble/hashes" "1.1.2" - "@noble/secp256k1" "1.7.1" - "@types/node" "18.15.13" - aes-js "4.0.0-beta.5" - tslib "2.4.0" - ws "8.5.0" - -ethers@6.8.1: - version "6.8.1" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.8.1.tgz#ee2a1a39b5f62a13678f90ccd879175391d0a2b4" - integrity sha512-iEKm6zox5h1lDn6scuRWdIdFJUCGg3+/aQWu0F4K0GVyEZiktFkqrJbRjTn1FlYEPz7RKA707D6g5Kdk6j7Ljg== - dependencies: - "@adraffy/ens-normalize" "1.10.0" - "@noble/curves" "1.2.0" - "@noble/hashes" "1.3.2" - "@types/node" "18.15.13" - aes-js "4.0.0-beta.5" - tslib "2.4.0" - ws "8.5.0" - ethers@6.9.0: version "6.9.0" resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.9.0.tgz#a4534bdcdfde306aee94ef32f3d5c70d7e33fcb9" @@ -2775,7 +2677,7 @@ ethers@^4.0.40: uuid "2.0.1" xmlhttprequest "1.8.0" -ethers@^5.3.1, ethers@^5.5.3, ethers@^5.6.1, ethers@^5.7.0, ethers@^5.7.1: +ethers@^5.3.1, ethers@^5.6.1, ethers@^5.7.0, ethers@^5.7.1: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== @@ -3359,66 +3261,6 @@ hardhat-dependency-compiler@1.1.3: resolved "https://registry.yarnpkg.com/hardhat-dependency-compiler/-/hardhat-dependency-compiler-1.1.3.tgz#1e49e23f68878bd713f860c66648a711bc4a4a79" integrity sha512-bCDqsOxGST6WkbMvj4lPchYWidNSSBm5CFnkyAex1T11cGmr9otZTGl81W6f9pmrtBXbKCvr3OSuNJ6Q394sAw== -hardhat-deploy@0.11.34: - version "0.11.34" - resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.11.34.tgz#61252ebf5dfdda7b0b31298dd5580b0735c05910" - integrity sha512-N6xcwD8LSMV/IyfEr8TfR2YRbOh9Q4QvitR9MKZRTXQmgQiiMGjX+2efMjKgNMxwCVlmpfnE1tyDxOJOOUseLQ== - dependencies: - "@ethersproject/abi" "^5.7.0" - "@ethersproject/abstract-signer" "^5.7.0" - "@ethersproject/address" "^5.7.0" - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/constants" "^5.7.0" - "@ethersproject/contracts" "^5.7.0" - "@ethersproject/providers" "^5.7.2" - "@ethersproject/solidity" "^5.7.0" - "@ethersproject/transactions" "^5.7.0" - "@ethersproject/wallet" "^5.7.0" - "@types/qs" "^6.9.7" - axios "^0.21.1" - chalk "^4.1.2" - chokidar "^3.5.2" - debug "^4.3.2" - enquirer "^2.3.6" - ethers "^5.5.3" - form-data "^4.0.0" - fs-extra "^10.0.0" - match-all "^1.2.6" - murmur-128 "^0.2.1" - qs "^6.9.4" - zksync-web3 "^0.14.3" - -hardhat-deploy@0.11.43: - version "0.11.43" - resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.11.43.tgz#b22ff15b3ea201b72ba0f17f4b2e182cc950e73e" - integrity sha512-D760CjDtinwjOCpKOvdyRtIJYLQIYXmhfgkFe+AkxlYM9bPZ/T4tZ/xIB2tR89ZT+z0hF1YuZFBXIL3/G/9T5g== - dependencies: - "@ethersproject/abi" "^5.7.0" - "@ethersproject/abstract-signer" "^5.7.0" - "@ethersproject/address" "^5.7.0" - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/constants" "^5.7.0" - "@ethersproject/contracts" "^5.7.0" - "@ethersproject/providers" "^5.7.2" - "@ethersproject/solidity" "^5.7.0" - "@ethersproject/transactions" "^5.7.0" - "@ethersproject/wallet" "^5.7.0" - "@types/qs" "^6.9.7" - axios "^0.21.1" - chalk "^4.1.2" - chokidar "^3.5.2" - debug "^4.3.2" - enquirer "^2.3.6" - ethers "^5.7.0" - form-data "^4.0.0" - fs-extra "^10.0.0" - match-all "^1.2.6" - murmur-128 "^0.2.1" - qs "^6.9.4" - zksync-web3 "^0.14.3" - hardhat-deploy@0.11.44: version "0.11.44" resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.11.44.tgz#a7a771a675a3837ce4c321f2c18d4b6fa1ed03a0" @@ -3467,60 +3309,6 @@ hardhat-tracer@2.7.0: debug "^4.3.4" ethers "^5.6.1" -hardhat@2.19.1: - version "2.19.1" - resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.19.1.tgz#5e09e8070ecfc6109ba9d3a4a117ec2b0643032a" - integrity sha512-bsWa63g1GB78ZyMN08WLhFElLPA+J+pShuKD1BFO2+88g3l+BL3R07vj9deIi9dMbssxgE714Gof1dBEDGqnCw== - dependencies: - "@ethersproject/abi" "^5.1.2" - "@metamask/eth-sig-util" "^4.0.0" - "@nomicfoundation/ethereumjs-block" "5.0.2" - "@nomicfoundation/ethereumjs-blockchain" "7.0.2" - "@nomicfoundation/ethereumjs-common" "4.0.2" - "@nomicfoundation/ethereumjs-evm" "2.0.2" - "@nomicfoundation/ethereumjs-rlp" "5.0.2" - "@nomicfoundation/ethereumjs-statemanager" "2.0.2" - "@nomicfoundation/ethereumjs-trie" "6.0.2" - "@nomicfoundation/ethereumjs-tx" "5.0.2" - "@nomicfoundation/ethereumjs-util" "9.0.2" - "@nomicfoundation/ethereumjs-vm" "7.0.2" - "@nomicfoundation/solidity-analyzer" "^0.1.0" - "@sentry/node" "^5.18.1" - "@types/bn.js" "^5.1.0" - "@types/lru-cache" "^5.1.0" - adm-zip "^0.4.16" - aggregate-error "^3.0.0" - ansi-escapes "^4.3.0" - chalk "^2.4.2" - chokidar "^3.4.0" - ci-info "^2.0.0" - debug "^4.1.1" - enquirer "^2.3.0" - env-paths "^2.2.0" - ethereum-cryptography "^1.0.3" - ethereumjs-abi "^0.6.8" - find-up "^2.1.0" - fp-ts "1.19.3" - fs-extra "^7.0.1" - glob "7.2.0" - immutable "^4.0.0-rc.12" - io-ts "1.10.4" - keccak "^3.0.2" - lodash "^4.17.11" - mnemonist "^0.38.0" - mocha "^10.0.0" - p-map "^4.0.0" - raw-body "^2.4.1" - resolve "1.17.0" - semver "^6.3.0" - solc "0.7.3" - source-map-support "^0.5.13" - stacktrace-parser "^0.1.10" - tsort "0.0.1" - undici "^5.14.0" - uuid "^8.3.2" - ws "^7.4.6" - hardhat@2.19.2: version "2.19.2" resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.19.2.tgz#815819e4efd234941d495decb718b358d572e2c8"