From 0fffdd444c63b92df5cb73ed16b910918e80176d Mon Sep 17 00:00:00 2001 From: Andrew Dmytrenko Date: Wed, 26 Jun 2024 15:33:40 +0300 Subject: [PATCH 1/2] add v3.1 contracts --- hardhat.config.ts | 6 +- package-lock.json | 1334 ++++++++++++++++++++++++++++++++++++++------- package.json | 14 +- 3 files changed, 1164 insertions(+), 190 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 337a731..fdf0486 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -91,7 +91,11 @@ const config: HardhatUserConfig = { '@poolzfinance/builders/contracts/SimpleBuilder/SimpleBuilder.sol', '@poolzfinance/builders/contracts/SimpleRefundBuilder/SimpleRefundBuilder.sol', '@poolzfinance/vault-manager/contracts/VaultManager/VaultManager.sol', - '@poolzfinance/vault-manager/contracts/test/ERC20Token.sol' + '@poolzfinance/vault-manager/contracts/test/ERC20Token.sol', + '@poolzfinance/dispenser-provider/contracts/DispenserProvider.sol', + '@poolzfinance/invest-provider/contracts/InvestProvider.sol', + '@poolzfinance/whitelist/contracts/WhiteList.sol', + '@poolzfinance/whitelist-router/contracts/WhiteListRouter.sol', ], } } diff --git a/package-lock.json b/package-lock.json index 44914f9..4b03ce7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,13 +10,17 @@ "license": "MIT", "dependencies": { "@ironblocks/firewall-consumer": "^1.0.13", - "@openzeppelin/contracts": "^4.8.3", + "@openzeppelin/contracts": "^5.0.2", "@poolzfinance/builders": "1.2.2", - "@poolzfinance/collateral-provider": "^0.8.1", - "@poolzfinance/lockdeal-nft": "^1.0.2", - "@poolzfinance/poolz-helper-v2": "^2.4.3", - "@poolzfinance/refund-provider": "^0.8.0", - "@poolzfinance/vault-manager": "0.0.4-ironblocks" + "@poolzfinance/collateral-provider": "^1.0.3", + "@poolzfinance/dispenser-provider": "^1.0.0", + "@poolzfinance/invest-provider": "^1.0.0", + "@poolzfinance/lockdeal-nft": "^1.0.4", + "@poolzfinance/poolz-helper-v2": "^3.0.0", + "@poolzfinance/refund-provider": "^1.0.3", + "@poolzfinance/vault-manager": "0.0.4-ironblocks", + "@poolzfinance/whitelist": "^1.0.0", + "@poolzfinance/whitelist-router": "^1.0.0" }, "devDependencies": { "@ethersproject/bignumber": "^5.7.0", @@ -1306,6 +1310,11 @@ "@openzeppelin/hardhat-upgrades": "^1.21.0" } }, + "node_modules/@ironblocks/firewall-consumer/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -1857,9 +1866,9 @@ } }, "node_modules/@openzeppelin/contracts": { - "version": "4.9.6", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", - "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-5.0.2.tgz", + "integrity": "sha512-ytPc6eLGcHHnapAZ9S+5qsdomhjo6QBHTDRRBFfTxXIpsicMhVPouPgmUPebZZZGX7vt9USA+Z+0M0dSVtSUEA==" }, "node_modules/@openzeppelin/contracts-upgradeable": { "version": "4.9.6", @@ -2172,10 +2181,60 @@ "typescript": ">=4.5.0" } }, - "node_modules/@poolzfinance/builders/node_modules/@openzeppelin/contracts": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-5.0.2.tgz", - "integrity": "sha512-ytPc6eLGcHHnapAZ9S+5qsdomhjo6QBHTDRRBFfTxXIpsicMhVPouPgmUPebZZZGX7vt9USA+Z+0M0dSVtSUEA==" + "node_modules/@poolzfinance/builders/node_modules/@poolzfinance/collateral-provider": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@poolzfinance/collateral-provider/-/collateral-provider-0.8.1.tgz", + "integrity": "sha512-I0p6TkmWnYLkW3y4MIlBV7yyBszVFjsUrab+ZRaufICoEPjnC9aXy3CtWDzIcP5WI9GsXkPm33p2k6BghVeOUw==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.5", + "@openzeppelin/contracts": "^4.8.3", + "@poolzfinance/lockdeal-nft": "^0.8.0", + "@poolzfinance/poolz-helper-v2": "^2.3.5" + } + }, + "node_modules/@poolzfinance/builders/node_modules/@poolzfinance/collateral-provider/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + }, + "node_modules/@poolzfinance/builders/node_modules/@poolzfinance/collateral-provider/node_modules/@poolzfinance/poolz-helper-v2": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-2.4.3.tgz", + "integrity": "sha512-1yzFGiY+/w8e1EclO013tGDwtomyhgAreIvhCQdwUBLgYLamZXoSxii+p9LWvocCAM6whdRahm5g5367MdWcJA==", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ironblocks/firewall-consumer": "^1.0.4", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.4", + "@nomicfoundation/hardhat-network-helpers": "^1.0.6", + "@nomicfoundation/hardhat-toolbox": "^2.0.0", + "@nomiclabs/hardhat-ethers": "^2.2.1", + "@nomiclabs/hardhat-etherscan": "^3.1.2", + "@openzeppelin/contracts": "^4.8.3", + "@openzeppelin/test-helpers": "^0.5.16", + "@trivago/prettier-plugin-sort-imports": "^4.0.0", + "@typechain/ethers-v5": "^10.1.1", + "@typechain/hardhat": "^6.1.4", + "@types/adm-zip": "^0.5.5", + "@types/chai": "^4.3.4", + "@types/fs-extra": "^9.0.13", + "@types/mocha": "^10.0.0", + "@types/node": "^20.10.4", + "@typescript-eslint/eslint-plugin": "^5.44.0", + "@typescript-eslint/parser": "^5.44.0", + "chai": "^4.3.7", + "ethers": "^5.7.2", + "fs-extra": "^10.1.0", + "hardhat": "^2.15.0", + "hardhat-gas-reporter": "^1.0.9", + "lodash": "^4.17.21", + "mocha": "^10.1.0", + "rimraf": "^4.1.2", + "solidity-coverage": "^0.8.2", + "ts-generator": "^0.1.1", + "ts-node": "^10.9.1", + "typechain": "^8.1.1", + "typescript": "^4.9.3" + } }, "node_modules/@poolzfinance/builders/node_modules/@poolzfinance/lockdeal-nft": { "version": "0.8.1", @@ -2242,7 +2301,945 @@ "typescript": "^4.9.3" } }, - "node_modules/@poolzfinance/builders/node_modules/@poolzfinance/poolz-helper-v2": { + "node_modules/@poolzfinance/builders/node_modules/@poolzfinance/refund-provider": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@poolzfinance/refund-provider/-/refund-provider-0.8.0.tgz", + "integrity": "sha512-WmOoSQp2zkqf/TWdiw5zkFpOxhLLxN1A6eZn84Z71vABE6ueCtmGCyQW/8/3bxpR8SxuZbpR9vw7W26PoopyuA==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.5", + "@openzeppelin/contracts": "^4.8.3", + "@poolzfinance/collateral-provider": "^0.8.1", + "@poolzfinance/lockdeal-nft": "^0.8.0", + "@poolzfinance/poolz-helper-v2": "^2.3.5" + } + }, + "node_modules/@poolzfinance/builders/node_modules/@poolzfinance/refund-provider/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + }, + "node_modules/@poolzfinance/builders/node_modules/@poolzfinance/refund-provider/node_modules/@poolzfinance/poolz-helper-v2": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-2.4.3.tgz", + "integrity": "sha512-1yzFGiY+/w8e1EclO013tGDwtomyhgAreIvhCQdwUBLgYLamZXoSxii+p9LWvocCAM6whdRahm5g5367MdWcJA==", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ironblocks/firewall-consumer": "^1.0.4", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.4", + "@nomicfoundation/hardhat-network-helpers": "^1.0.6", + "@nomicfoundation/hardhat-toolbox": "^2.0.0", + "@nomiclabs/hardhat-ethers": "^2.2.1", + "@nomiclabs/hardhat-etherscan": "^3.1.2", + "@openzeppelin/contracts": "^4.8.3", + "@openzeppelin/test-helpers": "^0.5.16", + "@trivago/prettier-plugin-sort-imports": "^4.0.0", + "@typechain/ethers-v5": "^10.1.1", + "@typechain/hardhat": "^6.1.4", + "@types/adm-zip": "^0.5.5", + "@types/chai": "^4.3.4", + "@types/fs-extra": "^9.0.13", + "@types/mocha": "^10.0.0", + "@types/node": "^20.10.4", + "@typescript-eslint/eslint-plugin": "^5.44.0", + "@typescript-eslint/parser": "^5.44.0", + "chai": "^4.3.7", + "ethers": "^5.7.2", + "fs-extra": "^10.1.0", + "hardhat": "^2.15.0", + "hardhat-gas-reporter": "^1.0.9", + "lodash": "^4.17.21", + "mocha": "^10.1.0", + "rimraf": "^4.1.2", + "solidity-coverage": "^0.8.2", + "ts-generator": "^0.1.1", + "ts-node": "^10.9.1", + "typechain": "^8.1.1", + "typescript": "^4.9.3" + } + }, + "node_modules/@poolzfinance/builders/node_modules/@types/mocha": { + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" + }, + "node_modules/@poolzfinance/builders/node_modules/@types/node": { + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", + "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", + "dependencies": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/parser": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", + "dependencies": { + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/builders/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@poolzfinance/builders/node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@poolzfinance/builders/node_modules/hardhat-gas-reporter": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", + "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", + "dependencies": { + "array-uniq": "1.0.3", + "eth-gas-reporter": "^0.2.25", + "sha1": "^1.1.1" + }, + "peerDependencies": { + "hardhat": "^2.0.2" + } + }, + "node_modules/@poolzfinance/builders/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@poolzfinance/builders/node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@poolzfinance/builders/node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@poolzfinance/collateral-provider": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@poolzfinance/collateral-provider/-/collateral-provider-1.0.3.tgz", + "integrity": "sha512-kR7H6BSGky2Agm74v/vDMyg4ybPAtaG959KL55xqq0rx4c5gUdWrNfaTjOjxIFgWrrrHHkl9SdvNpC0e7P727g==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.13", + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/lockdeal-nft": "^1.0.4", + "@poolzfinance/poolz-helper-v2": "^3.0.0" + } + }, + "node_modules/@poolzfinance/dispenser-provider": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@poolzfinance/dispenser-provider/-/dispenser-provider-1.0.0.tgz", + "integrity": "sha512-6HdTB7MSH16tZ/w2nTay46OmOjMTu7Qi0FOQb+oPt+Aq5IEuM5qSPM105uKjAZTljgih8wbQZdDSrypwWGmOaQ==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.5", + "@openzeppelin/contracts": "^4.9.6", + "@poolzfinance/collateral-provider": "^0.8.1", + "@poolzfinance/lockdeal-nft": "^0.8.0", + "@poolzfinance/poolz-helper-v2": "^2.3.5", + "@poolzfinance/refund-provider": "^0.8.0" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@nomicfoundation/hardhat-toolbox": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", + "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", + "peerDependencies": { + "@ethersproject/abi": "^5.4.7", + "@ethersproject/providers": "^5.4.7", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", + "@nomicfoundation/hardhat-network-helpers": "^1.0.0", + "@nomiclabs/hardhat-ethers": "^2.0.0", + "@nomiclabs/hardhat-etherscan": "^3.0.0", + "@typechain/ethers-v5": "^10.1.0", + "@typechain/hardhat": "^6.1.2", + "@types/chai": "^4.2.0", + "@types/mocha": ">=9.1.0", + "@types/node": ">=12.0.0", + "chai": "^4.2.0", + "ethers": "^5.4.7", + "hardhat": "^2.11.0", + "hardhat-gas-reporter": "^1.0.8", + "solidity-coverage": "^0.8.1", + "ts-node": ">=8.0.0", + "typechain": "^8.1.0", + "typescript": ">=4.5.0" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/collateral-provider": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@poolzfinance/collateral-provider/-/collateral-provider-0.8.1.tgz", + "integrity": "sha512-I0p6TkmWnYLkW3y4MIlBV7yyBszVFjsUrab+ZRaufICoEPjnC9aXy3CtWDzIcP5WI9GsXkPm33p2k6BghVeOUw==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.5", + "@openzeppelin/contracts": "^4.8.3", + "@poolzfinance/lockdeal-nft": "^0.8.0", + "@poolzfinance/poolz-helper-v2": "^2.3.5" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/lockdeal-nft": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-0.8.1.tgz", + "integrity": "sha512-+y2WkgCpwqlW5NRu+IYb0qirISsWV4BtfS2xcaDewUyhgg8HQrCitfGz7QBUA1qcHa/mYWTPUC1tDkttbLGuwQ==", + "dependencies": { + "@ironblocks/firewall-consumer": "1.0.4", + "@openzeppelin/contracts": "^4.8.3", + "@poolzfinance/poolz-helper-v2": "^2.3.5" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@ironblocks/firewall-consumer": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@ironblocks/firewall-consumer/-/firewall-consumer-1.0.4.tgz", + "integrity": "sha512-TI2NH2o1EChLAMxX0lnj1rzkjHaRR1wNcZNAimWH5f3/3VI72uZ84jGUw4aG7vsHockx0i13c2ZUy14mgCzUOA==", + "dependencies": { + "@nomiclabs/hardhat-etherscan": "^3.1.6", + "@openzeppelin/contracts": "^4.7.3", + "@openzeppelin/contracts-upgradeable": "^4.8.0-rc.1", + "@openzeppelin/hardhat-upgrades": "^1.21.0" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/poolz-helper-v2": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-2.4.3.tgz", + "integrity": "sha512-1yzFGiY+/w8e1EclO013tGDwtomyhgAreIvhCQdwUBLgYLamZXoSxii+p9LWvocCAM6whdRahm5g5367MdWcJA==", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ironblocks/firewall-consumer": "^1.0.4", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.4", + "@nomicfoundation/hardhat-network-helpers": "^1.0.6", + "@nomicfoundation/hardhat-toolbox": "^2.0.0", + "@nomiclabs/hardhat-ethers": "^2.2.1", + "@nomiclabs/hardhat-etherscan": "^3.1.2", + "@openzeppelin/contracts": "^4.8.3", + "@openzeppelin/test-helpers": "^0.5.16", + "@trivago/prettier-plugin-sort-imports": "^4.0.0", + "@typechain/ethers-v5": "^10.1.1", + "@typechain/hardhat": "^6.1.4", + "@types/adm-zip": "^0.5.5", + "@types/chai": "^4.3.4", + "@types/fs-extra": "^9.0.13", + "@types/mocha": "^10.0.0", + "@types/node": "^20.10.4", + "@typescript-eslint/eslint-plugin": "^5.44.0", + "@typescript-eslint/parser": "^5.44.0", + "chai": "^4.3.7", + "ethers": "^5.7.2", + "fs-extra": "^10.1.0", + "hardhat": "^2.15.0", + "hardhat-gas-reporter": "^1.0.9", + "lodash": "^4.17.21", + "mocha": "^10.1.0", + "rimraf": "^4.1.2", + "solidity-coverage": "^0.8.2", + "ts-generator": "^0.1.1", + "ts-node": "^10.9.1", + "typechain": "^8.1.1", + "typescript": "^4.9.3" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/refund-provider": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@poolzfinance/refund-provider/-/refund-provider-0.8.0.tgz", + "integrity": "sha512-WmOoSQp2zkqf/TWdiw5zkFpOxhLLxN1A6eZn84Z71vABE6ueCtmGCyQW/8/3bxpR8SxuZbpR9vw7W26PoopyuA==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.5", + "@openzeppelin/contracts": "^4.8.3", + "@poolzfinance/collateral-provider": "^0.8.1", + "@poolzfinance/lockdeal-nft": "^0.8.0", + "@poolzfinance/poolz-helper-v2": "^2.3.5" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@types/mocha": { + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@types/node": { + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", + "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", + "dependencies": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/parser": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", + "dependencies": { + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/hardhat-gas-reporter": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", + "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", + "dependencies": { + "array-uniq": "1.0.3", + "eth-gas-reporter": "^0.2.25", + "sha1": "^1.1.1" + }, + "peerDependencies": { + "hardhat": "^2.0.2" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@poolzfinance/dispenser-provider/node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@poolzfinance/invest-provider": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@poolzfinance/invest-provider/-/invest-provider-1.0.0.tgz", + "integrity": "sha512-a7EqMylEtPAQrpClzT3UbpH3zsyS4uQ+KGKjYOLhsOsoJ0yuSQNWMvRgajgVZO/AE/J8ZlQF2AvRPIxVVnkS9w==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.5", + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/lockdeal-nft": "^0.8.1", + "openzeppelin-solidity": "^3.4.2" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@nomicfoundation/hardhat-toolbox": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", + "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", + "peerDependencies": { + "@ethersproject/abi": "^5.4.7", + "@ethersproject/providers": "^5.4.7", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", + "@nomicfoundation/hardhat-network-helpers": "^1.0.0", + "@nomiclabs/hardhat-ethers": "^2.0.0", + "@nomiclabs/hardhat-etherscan": "^3.0.0", + "@typechain/ethers-v5": "^10.1.0", + "@typechain/hardhat": "^6.1.2", + "@types/chai": "^4.2.0", + "@types/mocha": ">=9.1.0", + "@types/node": ">=12.0.0", + "chai": "^4.2.0", + "ethers": "^5.4.7", + "hardhat": "^2.11.0", + "hardhat-gas-reporter": "^1.0.8", + "solidity-coverage": "^0.8.1", + "ts-node": ">=8.0.0", + "typechain": "^8.1.0", + "typescript": ">=4.5.0" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-0.8.1.tgz", + "integrity": "sha512-+y2WkgCpwqlW5NRu+IYb0qirISsWV4BtfS2xcaDewUyhgg8HQrCitfGz7QBUA1qcHa/mYWTPUC1tDkttbLGuwQ==", + "dependencies": { + "@ironblocks/firewall-consumer": "1.0.4", + "@openzeppelin/contracts": "^4.8.3", + "@poolzfinance/poolz-helper-v2": "^2.3.5" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@ironblocks/firewall-consumer": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@ironblocks/firewall-consumer/-/firewall-consumer-1.0.4.tgz", + "integrity": "sha512-TI2NH2o1EChLAMxX0lnj1rzkjHaRR1wNcZNAimWH5f3/3VI72uZ84jGUw4aG7vsHockx0i13c2ZUy14mgCzUOA==", + "dependencies": { + "@nomiclabs/hardhat-etherscan": "^3.1.6", + "@openzeppelin/contracts": "^4.7.3", + "@openzeppelin/contracts-upgradeable": "^4.8.0-rc.1", + "@openzeppelin/hardhat-upgrades": "^1.21.0" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/poolz-helper-v2": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-2.4.3.tgz", + "integrity": "sha512-1yzFGiY+/w8e1EclO013tGDwtomyhgAreIvhCQdwUBLgYLamZXoSxii+p9LWvocCAM6whdRahm5g5367MdWcJA==", + "dependencies": { + "@ethersproject/bignumber": "^5.7.0", + "@ironblocks/firewall-consumer": "^1.0.4", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.4", + "@nomicfoundation/hardhat-network-helpers": "^1.0.6", + "@nomicfoundation/hardhat-toolbox": "^2.0.0", + "@nomiclabs/hardhat-ethers": "^2.2.1", + "@nomiclabs/hardhat-etherscan": "^3.1.2", + "@openzeppelin/contracts": "^4.8.3", + "@openzeppelin/test-helpers": "^0.5.16", + "@trivago/prettier-plugin-sort-imports": "^4.0.0", + "@typechain/ethers-v5": "^10.1.1", + "@typechain/hardhat": "^6.1.4", + "@types/adm-zip": "^0.5.5", + "@types/chai": "^4.3.4", + "@types/fs-extra": "^9.0.13", + "@types/mocha": "^10.0.0", + "@types/node": "^20.10.4", + "@typescript-eslint/eslint-plugin": "^5.44.0", + "@typescript-eslint/parser": "^5.44.0", + "chai": "^4.3.7", + "ethers": "^5.7.2", + "fs-extra": "^10.1.0", + "hardhat": "^2.15.0", + "hardhat-gas-reporter": "^1.0.9", + "lodash": "^4.17.21", + "mocha": "^10.1.0", + "rimraf": "^4.1.2", + "solidity-coverage": "^0.8.2", + "ts-generator": "^0.1.1", + "ts-node": "^10.9.1", + "typechain": "^8.1.1", + "typescript": "^4.9.3" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/poolz-helper-v2/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@types/mocha": { + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@types/node": { + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", + "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", + "dependencies": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/parser": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", + "dependencies": { + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/hardhat-gas-reporter": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", + "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", + "dependencies": { + "array-uniq": "1.0.3", + "eth-gas-reporter": "^0.2.25", + "sha1": "^1.1.1" + }, + "peerDependencies": { + "hardhat": "^2.0.2" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@poolzfinance/invest-provider/node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@poolzfinance/lockdeal-nft": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-1.0.4.tgz", + "integrity": "sha512-S+aS+k1I5M7cS1HRH/szbPEsVTNWDiVejxLGcUCx1GQi1B4QfZzqZ8MBxSkVC7NE0AKU7BRQNdhNBYyf1YIgIQ==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.13", + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/poolz-helper-v2": "^3.0.0" + } + }, + "node_modules/@poolzfinance/poolz-helper-v2": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-3.0.1.tgz", "integrity": "sha512-Jka+6Dz1duqltxkkcshM4NexAebnc1yxv7QMJAigaToRKQCsKn6WnZIUyUKP82akh9DFUlwCsd3rfHKHkS+4ZA==", @@ -2281,20 +3278,46 @@ "typescript": "^4.9.3" } }, - "node_modules/@poolzfinance/builders/node_modules/@types/mocha": { - "version": "10.0.6", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", - "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==" + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@nomicfoundation/hardhat-toolbox": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", + "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", + "peerDependencies": { + "@ethersproject/abi": "^5.4.7", + "@ethersproject/providers": "^5.4.7", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", + "@nomicfoundation/hardhat-network-helpers": "^1.0.0", + "@nomiclabs/hardhat-ethers": "^2.0.0", + "@nomiclabs/hardhat-etherscan": "^3.0.0", + "@typechain/ethers-v5": "^10.1.0", + "@typechain/hardhat": "^6.1.2", + "@types/chai": "^4.2.0", + "@types/mocha": ">=9.1.0", + "@types/node": ">=12.0.0", + "chai": "^4.2.0", + "ethers": "^5.4.7", + "hardhat": "^2.11.0", + "hardhat-gas-reporter": "^1.0.8", + "solidity-coverage": "^0.8.1", + "ts-node": ">=8.0.0", + "typechain": "^8.1.0", + "typescript": ">=4.5.0" + } }, - "node_modules/@poolzfinance/builders/node_modules/@types/node": { - "version": "20.14.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.7.tgz", - "integrity": "sha512-uTr2m2IbJJucF3KUxgnGOZvYbN0QgkGyWxG6973HCpMYFy2KfcgYuIwkJQMQkt1VbBMlvWRbpshFTLxnxCZjKQ==", + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@types/mocha": { + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" + }, + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@types/node": { + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", "dependencies": { "undici-types": "~5.26.4" } }, - "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/eslint-plugin": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/eslint-plugin": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", @@ -2327,7 +3350,7 @@ } } }, - "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/parser": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/parser": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", @@ -2353,7 +3376,7 @@ } } }, - "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/scope-manager": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/scope-manager": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", @@ -2369,7 +3392,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/types": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/types": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", @@ -2381,7 +3404,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/typescript-estree": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/typescript-estree": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", @@ -2407,7 +3430,7 @@ } } }, - "node_modules/@poolzfinance/builders/node_modules/@typescript-eslint/visitor-keys": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/visitor-keys": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", @@ -2423,7 +3446,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/builders/node_modules/eslint-visitor-keys": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/eslint-visitor-keys": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", @@ -2434,7 +3457,7 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@poolzfinance/builders/node_modules/fs-extra": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", @@ -2447,7 +3470,7 @@ "node": ">=12" } }, - "node_modules/@poolzfinance/builders/node_modules/hardhat-gas-reporter": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/hardhat-gas-reporter": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", @@ -2460,7 +3483,7 @@ "hardhat": "^2.0.2" } }, - "node_modules/@poolzfinance/builders/node_modules/jsonfile": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", @@ -2471,7 +3494,7 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/@poolzfinance/builders/node_modules/semver": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/semver": { "version": "7.6.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", @@ -2482,7 +3505,7 @@ "node": ">=10" } }, - "node_modules/@poolzfinance/builders/node_modules/universalify": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", @@ -2490,49 +3513,59 @@ "node": ">= 10.0.0" } }, - "node_modules/@poolzfinance/collateral-provider": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@poolzfinance/collateral-provider/-/collateral-provider-0.8.1.tgz", - "integrity": "sha512-I0p6TkmWnYLkW3y4MIlBV7yyBszVFjsUrab+ZRaufICoEPjnC9aXy3CtWDzIcP5WI9GsXkPm33p2k6BghVeOUw==", + "node_modules/@poolzfinance/refund-provider": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@poolzfinance/refund-provider/-/refund-provider-1.0.3.tgz", + "integrity": "sha512-36f4GySNo6SdZgl8pFjyUq164Vu/48tBKXP3JLlR1yUnij13bd4SgrAHaOU/biD1DdFbgWLFz7DXFKh1V9BYRw==", "dependencies": { - "@ironblocks/firewall-consumer": "^1.0.5", - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/lockdeal-nft": "^0.8.0", - "@poolzfinance/poolz-helper-v2": "^2.3.5" + "@ironblocks/firewall-consumer": "^1.0.13", + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/collateral-provider": "^1.0.3", + "@poolzfinance/lockdeal-nft": "^1.0.4", + "@poolzfinance/poolz-helper-v2": "^3.0.0" } }, - "node_modules/@poolzfinance/collateral-provider/node_modules/@poolzfinance/lockdeal-nft": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-0.8.1.tgz", - "integrity": "sha512-+y2WkgCpwqlW5NRu+IYb0qirISsWV4BtfS2xcaDewUyhgg8HQrCitfGz7QBUA1qcHa/mYWTPUC1tDkttbLGuwQ==", + "node_modules/@poolzfinance/vault-manager": { + "version": "0.0.4-ironblocks", + "resolved": "https://registry.npmjs.org/@poolzfinance/vault-manager/-/vault-manager-0.0.4-ironblocks.tgz", + "integrity": "sha512-6zs1153fBrDLsCwpetVSPkDWRWVDV+NalS+OSqps4/wahNB2Y75jbajM1SM3gmTPa2aPuNwOOsFYobI86TRh5g==", "dependencies": { - "@ironblocks/firewall-consumer": "1.0.4", "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/poolz-helper-v2": "^2.3.5" + "@poolzfinance/poolz-helper-v2": "^2.1.14" } }, - "node_modules/@poolzfinance/collateral-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@ironblocks/firewall-consumer": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@ironblocks/firewall-consumer/-/firewall-consumer-1.0.4.tgz", - "integrity": "sha512-TI2NH2o1EChLAMxX0lnj1rzkjHaRR1wNcZNAimWH5f3/3VI72uZ84jGUw4aG7vsHockx0i13c2ZUy14mgCzUOA==", - "dependencies": { - "@nomiclabs/hardhat-etherscan": "^3.1.6", - "@openzeppelin/contracts": "^4.7.3", - "@openzeppelin/contracts-upgradeable": "^4.8.0-rc.1", - "@openzeppelin/hardhat-upgrades": "^1.21.0" + "node_modules/@poolzfinance/vault-manager/node_modules/@nomicfoundation/hardhat-toolbox": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", + "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", + "peerDependencies": { + "@ethersproject/abi": "^5.4.7", + "@ethersproject/providers": "^5.4.7", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", + "@nomicfoundation/hardhat-network-helpers": "^1.0.0", + "@nomiclabs/hardhat-ethers": "^2.0.0", + "@nomiclabs/hardhat-etherscan": "^3.0.0", + "@typechain/ethers-v5": "^10.1.0", + "@typechain/hardhat": "^6.1.2", + "@types/chai": "^4.2.0", + "@types/mocha": ">=9.1.0", + "@types/node": ">=12.0.0", + "chai": "^4.2.0", + "ethers": "^5.4.7", + "hardhat": "^2.11.0", + "hardhat-gas-reporter": "^1.0.8", + "solidity-coverage": "^0.8.1", + "ts-node": ">=8.0.0", + "typechain": "^8.1.0", + "typescript": ">=4.5.0" } }, - "node_modules/@poolzfinance/lockdeal-nft": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-1.0.2.tgz", - "integrity": "sha512-yO2dYrmsA/HpzSq37bJyXxsZTsRISDOr1g3HrFS6Y3TGuGCe+tL2uOSjG5CP50cnAw2xBcthCyPEkrpUla5n/A==", - "dependencies": { - "@ironblocks/firewall-consumer": "^1.0.13", - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/poolz-helper-v2": "^2.3.5" - } + "node_modules/@poolzfinance/vault-manager/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" }, - "node_modules/@poolzfinance/poolz-helper-v2": { + "node_modules/@poolzfinance/vault-manager/node_modules/@poolzfinance/poolz-helper-v2": { "version": "2.4.3", "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-2.4.3.tgz", "integrity": "sha512-1yzFGiY+/w8e1EclO013tGDwtomyhgAreIvhCQdwUBLgYLamZXoSxii+p9LWvocCAM6whdRahm5g5367MdWcJA==", @@ -2571,46 +3604,20 @@ "typescript": "^4.9.3" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@nomicfoundation/hardhat-toolbox": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", - "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", - "peerDependencies": { - "@ethersproject/abi": "^5.4.7", - "@ethersproject/providers": "^5.4.7", - "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", - "@nomicfoundation/hardhat-network-helpers": "^1.0.0", - "@nomiclabs/hardhat-ethers": "^2.0.0", - "@nomiclabs/hardhat-etherscan": "^3.0.0", - "@typechain/ethers-v5": "^10.1.0", - "@typechain/hardhat": "^6.1.2", - "@types/chai": "^4.2.0", - "@types/mocha": ">=9.1.0", - "@types/node": ">=12.0.0", - "chai": "^4.2.0", - "ethers": "^5.4.7", - "hardhat": "^2.11.0", - "hardhat-gas-reporter": "^1.0.8", - "solidity-coverage": "^0.8.1", - "ts-node": ">=8.0.0", - "typechain": "^8.1.0", - "typescript": ">=4.5.0" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@types/mocha": { - "version": "10.0.6", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", - "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==" + "node_modules/@poolzfinance/vault-manager/node_modules/@types/mocha": { + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@types/node": { - "version": "20.14.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.7.tgz", - "integrity": "sha512-uTr2m2IbJJucF3KUxgnGOZvYbN0QgkGyWxG6973HCpMYFy2KfcgYuIwkJQMQkt1VbBMlvWRbpshFTLxnxCZjKQ==", + "node_modules/@poolzfinance/vault-manager/node_modules/@types/node": { + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", "dependencies": { "undici-types": "~5.26.4" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/eslint-plugin": { + "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/eslint-plugin": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", @@ -2643,7 +3650,7 @@ } } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/parser": { + "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/parser": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", @@ -2669,7 +3676,7 @@ } } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/scope-manager": { + "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/scope-manager": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", @@ -2685,7 +3692,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/types": { + "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/types": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", @@ -2697,7 +3704,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/typescript-estree": { + "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/typescript-estree": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", @@ -2723,7 +3730,7 @@ } } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/visitor-keys": { + "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/visitor-keys": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", @@ -2739,7 +3746,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/eslint-visitor-keys": { + "node_modules/@poolzfinance/vault-manager/node_modules/eslint-visitor-keys": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", @@ -2750,7 +3757,7 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/fs-extra": { + "node_modules/@poolzfinance/vault-manager/node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", @@ -2763,7 +3770,7 @@ "node": ">=12" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/hardhat-gas-reporter": { + "node_modules/@poolzfinance/vault-manager/node_modules/hardhat-gas-reporter": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", @@ -2776,7 +3783,7 @@ "hardhat": "^2.0.2" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/jsonfile": { + "node_modules/@poolzfinance/vault-manager/node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", @@ -2787,7 +3794,7 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/semver": { + "node_modules/@poolzfinance/vault-manager/node_modules/semver": { "version": "7.6.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", @@ -2798,7 +3805,7 @@ "node": ">=10" } }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/universalify": { + "node_modules/@poolzfinance/vault-manager/node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", @@ -2806,46 +3813,23 @@ "node": ">= 10.0.0" } }, - "node_modules/@poolzfinance/refund-provider": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@poolzfinance/refund-provider/-/refund-provider-0.8.0.tgz", - "integrity": "sha512-WmOoSQp2zkqf/TWdiw5zkFpOxhLLxN1A6eZn84Z71vABE6ueCtmGCyQW/8/3bxpR8SxuZbpR9vw7W26PoopyuA==", + "node_modules/@poolzfinance/whitelist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@poolzfinance/whitelist/-/whitelist-1.0.0.tgz", + "integrity": "sha512-En/mpsesleurc9KlBWJQxJYjYZVxjecFxucK0tetpvJjRXbv/7x4FzgJ1+qMmc3tjQr2avIZL7c92ANtWc5vKw==", "dependencies": { "@ironblocks/firewall-consumer": "^1.0.5", - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/collateral-provider": "^0.8.1", - "@poolzfinance/lockdeal-nft": "^0.8.0", - "@poolzfinance/poolz-helper-v2": "^2.3.5" - } - }, - "node_modules/@poolzfinance/refund-provider/node_modules/@poolzfinance/lockdeal-nft": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-0.8.1.tgz", - "integrity": "sha512-+y2WkgCpwqlW5NRu+IYb0qirISsWV4BtfS2xcaDewUyhgg8HQrCitfGz7QBUA1qcHa/mYWTPUC1tDkttbLGuwQ==", - "dependencies": { - "@ironblocks/firewall-consumer": "1.0.4", - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/poolz-helper-v2": "^2.3.5" - } - }, - "node_modules/@poolzfinance/refund-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@ironblocks/firewall-consumer": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@ironblocks/firewall-consumer/-/firewall-consumer-1.0.4.tgz", - "integrity": "sha512-TI2NH2o1EChLAMxX0lnj1rzkjHaRR1wNcZNAimWH5f3/3VI72uZ84jGUw4aG7vsHockx0i13c2ZUy14mgCzUOA==", - "dependencies": { - "@nomiclabs/hardhat-etherscan": "^3.1.6", - "@openzeppelin/contracts": "^4.7.3", - "@openzeppelin/contracts-upgradeable": "^4.8.0-rc.1", - "@openzeppelin/hardhat-upgrades": "^1.21.0" + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/poolz-helper-v2": "^3.0.0" } }, - "node_modules/@poolzfinance/vault-manager": { - "version": "0.0.4-ironblocks", - "resolved": "https://registry.npmjs.org/@poolzfinance/vault-manager/-/vault-manager-0.0.4-ironblocks.tgz", - "integrity": "sha512-6zs1153fBrDLsCwpetVSPkDWRWVDV+NalS+OSqps4/wahNB2Y75jbajM1SM3gmTPa2aPuNwOOsFYobI86TRh5g==", + "node_modules/@poolzfinance/whitelist-router": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@poolzfinance/whitelist-router/-/whitelist-router-1.0.0.tgz", + "integrity": "sha512-ruG/HNquM9bu2bWq9sAwaU5I2H9FUSRa4QOzzY0gfYSs8CoIIKmTNkn+OQ9UrBKzN0CmrN6/s9x+ch66JZ+fSA==", "dependencies": { - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/poolz-helper-v2": "^2.1.14" + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/poolz-helper-v2": "^3.0.0" } }, "node_modules/@scure/base": { @@ -10024,9 +11008,9 @@ } }, "node_modules/hardhat-gas-reporter/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -11864,13 +12848,13 @@ } }, "node_modules/mocha": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.4.0.tgz", - "integrity": "sha512-eqhGB8JKapEYcC4ytX/xrzKforgEc3j1pGlAXVy3eRwrtAy5/nIfT1SvgGzfN0XZZxeLq0aQWkOUAmqIJiv+bA==", + "version": "10.5.1", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.5.1.tgz", + "integrity": "sha512-eq5tEnaz2kM9ade8cuGJBMh5fBb9Ih/TB+ddlmPR+wLQmwLhUwa0ovqDlg7OTfKquW0BI7NUcNWX7DH8sC+3gw==", "dependencies": { "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.5.3", + "chokidar": "^3.5.3", "debug": "4.3.4", "diff": "5.0.0", "escape-string-regexp": "4.0.0", @@ -11918,32 +12902,6 @@ "balanced-match": "^1.0.0" } }, - "node_modules/mocha/node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, "node_modules/mocha/node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -12422,9 +13380,12 @@ } }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -12510,6 +13471,11 @@ "node": ">=6" } }, + "node_modules/openzeppelin-solidity": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/openzeppelin-solidity/-/openzeppelin-solidity-3.4.2.tgz", + "integrity": "sha512-mpk74A6Bo+/ISfalUqtD8bAfINQgkGH2yInUFn/uBYz1pXbefwMTApjlnCYr+HpQpeOgO7nO8deJYrzBGDFDMA==" + }, "node_modules/optionator": { "version": "0.9.4", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", diff --git a/package.json b/package.json index e6f61dd..c82d58b 100644 --- a/package.json +++ b/package.json @@ -56,12 +56,16 @@ }, "dependencies": { "@ironblocks/firewall-consumer": "^1.0.13", - "@openzeppelin/contracts": "^4.8.3", + "@openzeppelin/contracts": "^5.0.2", "@poolzfinance/builders": "1.2.2", - "@poolzfinance/collateral-provider": "^0.8.1", - "@poolzfinance/lockdeal-nft": "^1.0.2", - "@poolzfinance/poolz-helper-v2": "^2.4.3", - "@poolzfinance/refund-provider": "^0.8.0", + "@poolzfinance/collateral-provider": "^1.0.3", + "@poolzfinance/lockdeal-nft": "^1.0.4", + "@poolzfinance/whitelist": "^1.0.0", + "@poolzfinance/whitelist-router": "^1.0.0", + "@poolzfinance/invest-provider": "^1.0.0", + "@poolzfinance/dispenser-provider": "^1.0.0", + "@poolzfinance/poolz-helper-v2": "^3.0.0", + "@poolzfinance/refund-provider": "^1.0.3", "@poolzfinance/vault-manager": "0.0.4-ironblocks" } } From e80e3db3612bea638e5f6b0c51ebf49ed6f008fb Mon Sep 17 00:00:00 2001 From: Andrew Dmytrenko Date: Thu, 27 Jun 2024 11:17:11 +0300 Subject: [PATCH 2/2] fix contracts compatibility --- hardhat.config.ts | 2 +- package-lock.json | 821 +++++++--------------------------------------- package.json | 2 +- 3 files changed, 112 insertions(+), 713 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index fdf0486..bf106c3 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -12,7 +12,7 @@ const config: HardhatUserConfig = { solidity: { version: "0.8.24", settings: { - evmVersion: "byzantium", + evmVersion: 'istanbul', optimizer: { enabled: true, runs: 200, diff --git a/package-lock.json b/package-lock.json index 4b03ce7..7f8dd2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@poolzfinance/lockdeal-nft": "^1.0.4", "@poolzfinance/poolz-helper-v2": "^3.0.0", "@poolzfinance/refund-provider": "^1.0.3", - "@poolzfinance/vault-manager": "0.0.4-ironblocks", + "@poolzfinance/vault-manager": "^1.0.0", "@poolzfinance/whitelist": "^1.0.0", "@poolzfinance/whitelist-router": "^1.0.0" }, @@ -2578,19 +2578,30 @@ } }, "node_modules/@poolzfinance/dispenser-provider": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@poolzfinance/dispenser-provider/-/dispenser-provider-1.0.1.tgz", + "integrity": "sha512-l1rt1lmJLaHiL0aPuBneUvo2ZJsBM/xw86rI3Ct1NA1aH/6tOmGBCvzld4lVXJH/7GKNl7yXCdqJ15iiAiknqg==", + "dependencies": { + "@ironblocks/firewall-consumer": "^1.0.13", + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/collateral-provider": "^1.0.3", + "@poolzfinance/lockdeal-nft": "^1.0.4", + "@poolzfinance/poolz-helper-v2": "^3.0.0", + "@poolzfinance/refund-provider": "^1.0.3" + } + }, + "node_modules/@poolzfinance/invest-provider": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@poolzfinance/dispenser-provider/-/dispenser-provider-1.0.0.tgz", - "integrity": "sha512-6HdTB7MSH16tZ/w2nTay46OmOjMTu7Qi0FOQb+oPt+Aq5IEuM5qSPM105uKjAZTljgih8wbQZdDSrypwWGmOaQ==", + "resolved": "https://registry.npmjs.org/@poolzfinance/invest-provider/-/invest-provider-1.0.0.tgz", + "integrity": "sha512-a7EqMylEtPAQrpClzT3UbpH3zsyS4uQ+KGKjYOLhsOsoJ0yuSQNWMvRgajgVZO/AE/J8ZlQF2AvRPIxVVnkS9w==", "dependencies": { "@ironblocks/firewall-consumer": "^1.0.5", - "@openzeppelin/contracts": "^4.9.6", - "@poolzfinance/collateral-provider": "^0.8.1", - "@poolzfinance/lockdeal-nft": "^0.8.0", - "@poolzfinance/poolz-helper-v2": "^2.3.5", - "@poolzfinance/refund-provider": "^0.8.0" + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/lockdeal-nft": "^0.8.1", + "openzeppelin-solidity": "^3.4.2" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@nomicfoundation/hardhat-toolbox": { + "node_modules/@poolzfinance/invest-provider/node_modules/@nomicfoundation/hardhat-toolbox": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", @@ -2616,23 +2627,7 @@ "typescript": ">=4.5.0" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@openzeppelin/contracts": { - "version": "4.9.6", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", - "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" - }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/collateral-provider": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@poolzfinance/collateral-provider/-/collateral-provider-0.8.1.tgz", - "integrity": "sha512-I0p6TkmWnYLkW3y4MIlBV7yyBszVFjsUrab+ZRaufICoEPjnC9aXy3CtWDzIcP5WI9GsXkPm33p2k6BghVeOUw==", - "dependencies": { - "@ironblocks/firewall-consumer": "^1.0.5", - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/lockdeal-nft": "^0.8.0", - "@poolzfinance/poolz-helper-v2": "^2.3.5" - } - }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/lockdeal-nft": { + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-0.8.1.tgz", "integrity": "sha512-+y2WkgCpwqlW5NRu+IYb0qirISsWV4BtfS2xcaDewUyhgg8HQrCitfGz7QBUA1qcHa/mYWTPUC1tDkttbLGuwQ==", @@ -2642,7 +2637,7 @@ "@poolzfinance/poolz-helper-v2": "^2.3.5" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@ironblocks/firewall-consumer": { + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@ironblocks/firewall-consumer": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@ironblocks/firewall-consumer/-/firewall-consumer-1.0.4.tgz", "integrity": "sha512-TI2NH2o1EChLAMxX0lnj1rzkjHaRR1wNcZNAimWH5f3/3VI72uZ84jGUw4aG7vsHockx0i13c2ZUy14mgCzUOA==", @@ -2653,7 +2648,12 @@ "@openzeppelin/hardhat-upgrades": "^1.21.0" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/poolz-helper-v2": { + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + }, + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/poolz-helper-v2": { "version": "2.4.3", "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-2.4.3.tgz", "integrity": "sha512-1yzFGiY+/w8e1EclO013tGDwtomyhgAreIvhCQdwUBLgYLamZXoSxii+p9LWvocCAM6whdRahm5g5367MdWcJA==", @@ -2692,24 +2692,17 @@ "typescript": "^4.9.3" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@poolzfinance/refund-provider": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@poolzfinance/refund-provider/-/refund-provider-0.8.0.tgz", - "integrity": "sha512-WmOoSQp2zkqf/TWdiw5zkFpOxhLLxN1A6eZn84Z71vABE6ueCtmGCyQW/8/3bxpR8SxuZbpR9vw7W26PoopyuA==", - "dependencies": { - "@ironblocks/firewall-consumer": "^1.0.5", - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/collateral-provider": "^0.8.1", - "@poolzfinance/lockdeal-nft": "^0.8.0", - "@poolzfinance/poolz-helper-v2": "^2.3.5" - } + "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/poolz-helper-v2/node_modules/@openzeppelin/contracts": { + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", + "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@types/mocha": { + "node_modules/@poolzfinance/invest-provider/node_modules/@types/mocha": { "version": "10.0.7", "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@types/node": { + "node_modules/@poolzfinance/invest-provider/node_modules/@types/node": { "version": "20.14.9", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", @@ -2717,7 +2710,7 @@ "undici-types": "~5.26.4" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/eslint-plugin": { + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/eslint-plugin": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", @@ -2750,7 +2743,7 @@ } } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/parser": { + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/parser": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", @@ -2776,7 +2769,7 @@ } } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/scope-manager": { + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/scope-manager": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", @@ -2792,7 +2785,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/types": { + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/types": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", @@ -2804,7 +2797,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/typescript-estree": { + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/typescript-estree": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", @@ -2830,7 +2823,7 @@ } } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/@typescript-eslint/visitor-keys": { + "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/visitor-keys": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", @@ -2846,7 +2839,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/eslint-visitor-keys": { + "node_modules/@poolzfinance/invest-provider/node_modules/eslint-visitor-keys": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", @@ -2857,7 +2850,7 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/fs-extra": { + "node_modules/@poolzfinance/invest-provider/node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", @@ -2870,7 +2863,7 @@ "node": ">=12" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/hardhat-gas-reporter": { + "node_modules/@poolzfinance/invest-provider/node_modules/hardhat-gas-reporter": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", @@ -2883,7 +2876,7 @@ "hardhat": "^2.0.2" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/jsonfile": { + "node_modules/@poolzfinance/invest-provider/node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", @@ -2894,7 +2887,7 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/semver": { + "node_modules/@poolzfinance/invest-provider/node_modules/semver": { "version": "7.6.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", @@ -2905,7 +2898,7 @@ "node": ">=10" } }, - "node_modules/@poolzfinance/dispenser-provider/node_modules/universalify": { + "node_modules/@poolzfinance/invest-provider/node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", @@ -2913,73 +2906,20 @@ "node": ">= 10.0.0" } }, - "node_modules/@poolzfinance/invest-provider": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@poolzfinance/invest-provider/-/invest-provider-1.0.0.tgz", - "integrity": "sha512-a7EqMylEtPAQrpClzT3UbpH3zsyS4uQ+KGKjYOLhsOsoJ0yuSQNWMvRgajgVZO/AE/J8ZlQF2AvRPIxVVnkS9w==", - "dependencies": { - "@ironblocks/firewall-consumer": "^1.0.5", - "@openzeppelin/contracts": "^5.0.2", - "@poolzfinance/lockdeal-nft": "^0.8.1", - "openzeppelin-solidity": "^3.4.2" - } - }, - "node_modules/@poolzfinance/invest-provider/node_modules/@nomicfoundation/hardhat-toolbox": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", - "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", - "peerDependencies": { - "@ethersproject/abi": "^5.4.7", - "@ethersproject/providers": "^5.4.7", - "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", - "@nomicfoundation/hardhat-network-helpers": "^1.0.0", - "@nomiclabs/hardhat-ethers": "^2.0.0", - "@nomiclabs/hardhat-etherscan": "^3.0.0", - "@typechain/ethers-v5": "^10.1.0", - "@typechain/hardhat": "^6.1.2", - "@types/chai": "^4.2.0", - "@types/mocha": ">=9.1.0", - "@types/node": ">=12.0.0", - "chai": "^4.2.0", - "ethers": "^5.4.7", - "hardhat": "^2.11.0", - "hardhat-gas-reporter": "^1.0.8", - "solidity-coverage": "^0.8.1", - "ts-node": ">=8.0.0", - "typechain": "^8.1.0", - "typescript": ">=4.5.0" - } - }, - "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-0.8.1.tgz", - "integrity": "sha512-+y2WkgCpwqlW5NRu+IYb0qirISsWV4BtfS2xcaDewUyhgg8HQrCitfGz7QBUA1qcHa/mYWTPUC1tDkttbLGuwQ==", - "dependencies": { - "@ironblocks/firewall-consumer": "1.0.4", - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/poolz-helper-v2": "^2.3.5" - } - }, - "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@ironblocks/firewall-consumer": { + "node_modules/@poolzfinance/lockdeal-nft": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@ironblocks/firewall-consumer/-/firewall-consumer-1.0.4.tgz", - "integrity": "sha512-TI2NH2o1EChLAMxX0lnj1rzkjHaRR1wNcZNAimWH5f3/3VI72uZ84jGUw4aG7vsHockx0i13c2ZUy14mgCzUOA==", + "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-1.0.4.tgz", + "integrity": "sha512-S+aS+k1I5M7cS1HRH/szbPEsVTNWDiVejxLGcUCx1GQi1B4QfZzqZ8MBxSkVC7NE0AKU7BRQNdhNBYyf1YIgIQ==", "dependencies": { - "@nomiclabs/hardhat-etherscan": "^3.1.6", - "@openzeppelin/contracts": "^4.7.3", - "@openzeppelin/contracts-upgradeable": "^4.8.0-rc.1", - "@openzeppelin/hardhat-upgrades": "^1.21.0" + "@ironblocks/firewall-consumer": "^1.0.13", + "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/poolz-helper-v2": "^3.0.0" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/lockdeal-nft/node_modules/@openzeppelin/contracts": { - "version": "4.9.6", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", - "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" - }, - "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/poolz-helper-v2": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-2.4.3.tgz", - "integrity": "sha512-1yzFGiY+/w8e1EclO013tGDwtomyhgAreIvhCQdwUBLgYLamZXoSxii+p9LWvocCAM6whdRahm5g5367MdWcJA==", + "node_modules/@poolzfinance/poolz-helper-v2": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-3.0.1.tgz", + "integrity": "sha512-Jka+6Dz1duqltxkkcshM4NexAebnc1yxv7QMJAigaToRKQCsKn6WnZIUyUKP82akh9DFUlwCsd3rfHKHkS+4ZA==", "dependencies": { "@ethersproject/bignumber": "^5.7.0", "@ironblocks/firewall-consumer": "^1.0.4", @@ -2988,7 +2928,7 @@ "@nomicfoundation/hardhat-toolbox": "^2.0.0", "@nomiclabs/hardhat-ethers": "^2.2.1", "@nomiclabs/hardhat-etherscan": "^3.1.2", - "@openzeppelin/contracts": "^4.8.3", + "@openzeppelin/contracts": "^5.0.2", "@openzeppelin/test-helpers": "^0.5.16", "@trivago/prettier-plugin-sort-imports": "^4.0.0", "@typechain/ethers-v5": "^10.1.1", @@ -3015,17 +2955,38 @@ "typescript": "^4.9.3" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@poolzfinance/poolz-helper-v2/node_modules/@openzeppelin/contracts": { - "version": "4.9.6", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", - "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@nomicfoundation/hardhat-toolbox": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", + "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", + "peerDependencies": { + "@ethersproject/abi": "^5.4.7", + "@ethersproject/providers": "^5.4.7", + "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", + "@nomicfoundation/hardhat-network-helpers": "^1.0.0", + "@nomiclabs/hardhat-ethers": "^2.0.0", + "@nomiclabs/hardhat-etherscan": "^3.0.0", + "@typechain/ethers-v5": "^10.1.0", + "@typechain/hardhat": "^6.1.2", + "@types/chai": "^4.2.0", + "@types/mocha": ">=9.1.0", + "@types/node": ">=12.0.0", + "chai": "^4.2.0", + "ethers": "^5.4.7", + "hardhat": "^2.11.0", + "hardhat-gas-reporter": "^1.0.8", + "solidity-coverage": "^0.8.1", + "ts-node": ">=8.0.0", + "typechain": "^8.1.0", + "typescript": ">=4.5.0" + } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@types/mocha": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@types/mocha": { "version": "10.0.7", "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" }, - "node_modules/@poolzfinance/invest-provider/node_modules/@types/node": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@types/node": { "version": "20.14.9", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", @@ -3033,7 +2994,7 @@ "undici-types": "~5.26.4" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/eslint-plugin": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/eslint-plugin": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", @@ -3066,7 +3027,7 @@ } } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/parser": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/parser": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", @@ -3092,7 +3053,7 @@ } } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/scope-manager": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/scope-manager": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", @@ -3108,7 +3069,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/types": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/types": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", @@ -3120,7 +3081,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/typescript-estree": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/typescript-estree": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", @@ -3146,7 +3107,7 @@ } } }, - "node_modules/@poolzfinance/invest-provider/node_modules/@typescript-eslint/visitor-keys": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/visitor-keys": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", @@ -3162,7 +3123,7 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/eslint-visitor-keys": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/eslint-visitor-keys": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", @@ -3173,7 +3134,7 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/fs-extra": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", @@ -3186,7 +3147,7 @@ "node": ">=12" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/hardhat-gas-reporter": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/hardhat-gas-reporter": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", @@ -3199,7 +3160,7 @@ "hardhat": "^2.0.2" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/jsonfile": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", @@ -3210,7 +3171,7 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/semver": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/semver": { "version": "7.6.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", @@ -3221,7 +3182,7 @@ "node": ">=10" } }, - "node_modules/@poolzfinance/invest-provider/node_modules/universalify": { + "node_modules/@poolzfinance/poolz-helper-v2/node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", @@ -3229,590 +3190,28 @@ "node": ">= 10.0.0" } }, - "node_modules/@poolzfinance/lockdeal-nft": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@poolzfinance/lockdeal-nft/-/lockdeal-nft-1.0.4.tgz", - "integrity": "sha512-S+aS+k1I5M7cS1HRH/szbPEsVTNWDiVejxLGcUCx1GQi1B4QfZzqZ8MBxSkVC7NE0AKU7BRQNdhNBYyf1YIgIQ==", + "node_modules/@poolzfinance/refund-provider": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@poolzfinance/refund-provider/-/refund-provider-1.0.3.tgz", + "integrity": "sha512-36f4GySNo6SdZgl8pFjyUq164Vu/48tBKXP3JLlR1yUnij13bd4SgrAHaOU/biD1DdFbgWLFz7DXFKh1V9BYRw==", "dependencies": { "@ironblocks/firewall-consumer": "^1.0.13", "@openzeppelin/contracts": "^5.0.2", + "@poolzfinance/collateral-provider": "^1.0.3", + "@poolzfinance/lockdeal-nft": "^1.0.4", "@poolzfinance/poolz-helper-v2": "^3.0.0" } }, - "node_modules/@poolzfinance/poolz-helper-v2": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-3.0.1.tgz", - "integrity": "sha512-Jka+6Dz1duqltxkkcshM4NexAebnc1yxv7QMJAigaToRKQCsKn6WnZIUyUKP82akh9DFUlwCsd3rfHKHkS+4ZA==", + "node_modules/@poolzfinance/vault-manager": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@poolzfinance/vault-manager/-/vault-manager-1.0.1.tgz", + "integrity": "sha512-dJQ8YedI8n4ZmyK3icQgYIYoOSrekeXajM6zyOfXi4WAe7T8w2MEWqOcAxKvLAStd0qMcCfTJG1HYbGthdJZGg==", "dependencies": { - "@ethersproject/bignumber": "^5.7.0", - "@ironblocks/firewall-consumer": "^1.0.4", - "@nomicfoundation/hardhat-chai-matchers": "^1.0.4", - "@nomicfoundation/hardhat-network-helpers": "^1.0.6", - "@nomicfoundation/hardhat-toolbox": "^2.0.0", - "@nomiclabs/hardhat-ethers": "^2.2.1", - "@nomiclabs/hardhat-etherscan": "^3.1.2", + "@ironblocks/firewall-consumer": "^1.0.13", "@openzeppelin/contracts": "^5.0.2", - "@openzeppelin/test-helpers": "^0.5.16", - "@trivago/prettier-plugin-sort-imports": "^4.0.0", - "@typechain/ethers-v5": "^10.1.1", - "@typechain/hardhat": "^6.1.4", - "@types/adm-zip": "^0.5.5", - "@types/chai": "^4.3.4", - "@types/fs-extra": "^9.0.13", - "@types/mocha": "^10.0.0", - "@types/node": "^20.10.4", - "@typescript-eslint/eslint-plugin": "^5.44.0", - "@typescript-eslint/parser": "^5.44.0", - "chai": "^4.3.7", - "ethers": "^5.7.2", - "fs-extra": "^10.1.0", - "hardhat": "^2.15.0", - "hardhat-gas-reporter": "^1.0.9", - "lodash": "^4.17.21", - "mocha": "^10.1.0", - "rimraf": "^4.1.2", - "solidity-coverage": "^0.8.2", - "ts-generator": "^0.1.1", - "ts-node": "^10.9.1", - "typechain": "^8.1.1", - "typescript": "^4.9.3" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@nomicfoundation/hardhat-toolbox": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", - "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", - "peerDependencies": { - "@ethersproject/abi": "^5.4.7", - "@ethersproject/providers": "^5.4.7", - "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", - "@nomicfoundation/hardhat-network-helpers": "^1.0.0", - "@nomiclabs/hardhat-ethers": "^2.0.0", - "@nomiclabs/hardhat-etherscan": "^3.0.0", - "@typechain/ethers-v5": "^10.1.0", - "@typechain/hardhat": "^6.1.2", - "@types/chai": "^4.2.0", - "@types/mocha": ">=9.1.0", - "@types/node": ">=12.0.0", - "chai": "^4.2.0", - "ethers": "^5.4.7", - "hardhat": "^2.11.0", - "hardhat-gas-reporter": "^1.0.8", - "solidity-coverage": "^0.8.1", - "ts-node": ">=8.0.0", - "typechain": "^8.1.0", - "typescript": ">=4.5.0" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@types/mocha": { - "version": "10.0.7", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", - "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@types/node": { - "version": "20.14.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", - "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", - "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", - "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/type-utils": "5.62.0", - "@typescript-eslint/utils": "5.62.0", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/parser": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", - "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", - "dependencies": { - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "debug": "^4.3.4" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/scope-manager": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", - "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/types": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", - "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", - "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", - "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/hardhat-gas-reporter": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", - "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", - "dependencies": { - "array-uniq": "1.0.3", - "eth-gas-reporter": "^0.2.25", - "sha1": "^1.1.1" - }, - "peerDependencies": { - "hardhat": "^2.0.2" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@poolzfinance/poolz-helper-v2/node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/@poolzfinance/refund-provider": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@poolzfinance/refund-provider/-/refund-provider-1.0.3.tgz", - "integrity": "sha512-36f4GySNo6SdZgl8pFjyUq164Vu/48tBKXP3JLlR1yUnij13bd4SgrAHaOU/biD1DdFbgWLFz7DXFKh1V9BYRw==", - "dependencies": { - "@ironblocks/firewall-consumer": "^1.0.13", - "@openzeppelin/contracts": "^5.0.2", - "@poolzfinance/collateral-provider": "^1.0.3", - "@poolzfinance/lockdeal-nft": "^1.0.4", "@poolzfinance/poolz-helper-v2": "^3.0.0" } }, - "node_modules/@poolzfinance/vault-manager": { - "version": "0.0.4-ironblocks", - "resolved": "https://registry.npmjs.org/@poolzfinance/vault-manager/-/vault-manager-0.0.4-ironblocks.tgz", - "integrity": "sha512-6zs1153fBrDLsCwpetVSPkDWRWVDV+NalS+OSqps4/wahNB2Y75jbajM1SM3gmTPa2aPuNwOOsFYobI86TRh5g==", - "dependencies": { - "@openzeppelin/contracts": "^4.8.3", - "@poolzfinance/poolz-helper-v2": "^2.1.14" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@nomicfoundation/hardhat-toolbox": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@nomicfoundation/hardhat-toolbox/-/hardhat-toolbox-2.0.2.tgz", - "integrity": "sha512-vnN1AzxbvpSx9pfdRHbUzTRIXpMLPXnUlkW855VaDk6N1pwRaQ2gNzEmFAABk4lWf11E00PKwFd/q27HuwYrYg==", - "peerDependencies": { - "@ethersproject/abi": "^5.4.7", - "@ethersproject/providers": "^5.4.7", - "@nomicfoundation/hardhat-chai-matchers": "^1.0.0", - "@nomicfoundation/hardhat-network-helpers": "^1.0.0", - "@nomiclabs/hardhat-ethers": "^2.0.0", - "@nomiclabs/hardhat-etherscan": "^3.0.0", - "@typechain/ethers-v5": "^10.1.0", - "@typechain/hardhat": "^6.1.2", - "@types/chai": "^4.2.0", - "@types/mocha": ">=9.1.0", - "@types/node": ">=12.0.0", - "chai": "^4.2.0", - "ethers": "^5.4.7", - "hardhat": "^2.11.0", - "hardhat-gas-reporter": "^1.0.8", - "solidity-coverage": "^0.8.1", - "ts-node": ">=8.0.0", - "typechain": "^8.1.0", - "typescript": ">=4.5.0" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@openzeppelin/contracts": { - "version": "4.9.6", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.9.6.tgz", - "integrity": "sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==" - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@poolzfinance/poolz-helper-v2": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/@poolzfinance/poolz-helper-v2/-/poolz-helper-v2-2.4.3.tgz", - "integrity": "sha512-1yzFGiY+/w8e1EclO013tGDwtomyhgAreIvhCQdwUBLgYLamZXoSxii+p9LWvocCAM6whdRahm5g5367MdWcJA==", - "dependencies": { - "@ethersproject/bignumber": "^5.7.0", - "@ironblocks/firewall-consumer": "^1.0.4", - "@nomicfoundation/hardhat-chai-matchers": "^1.0.4", - "@nomicfoundation/hardhat-network-helpers": "^1.0.6", - "@nomicfoundation/hardhat-toolbox": "^2.0.0", - "@nomiclabs/hardhat-ethers": "^2.2.1", - "@nomiclabs/hardhat-etherscan": "^3.1.2", - "@openzeppelin/contracts": "^4.8.3", - "@openzeppelin/test-helpers": "^0.5.16", - "@trivago/prettier-plugin-sort-imports": "^4.0.0", - "@typechain/ethers-v5": "^10.1.1", - "@typechain/hardhat": "^6.1.4", - "@types/adm-zip": "^0.5.5", - "@types/chai": "^4.3.4", - "@types/fs-extra": "^9.0.13", - "@types/mocha": "^10.0.0", - "@types/node": "^20.10.4", - "@typescript-eslint/eslint-plugin": "^5.44.0", - "@typescript-eslint/parser": "^5.44.0", - "chai": "^4.3.7", - "ethers": "^5.7.2", - "fs-extra": "^10.1.0", - "hardhat": "^2.15.0", - "hardhat-gas-reporter": "^1.0.9", - "lodash": "^4.17.21", - "mocha": "^10.1.0", - "rimraf": "^4.1.2", - "solidity-coverage": "^0.8.2", - "ts-generator": "^0.1.1", - "ts-node": "^10.9.1", - "typechain": "^8.1.1", - "typescript": "^4.9.3" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@types/mocha": { - "version": "10.0.7", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", - "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==" - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@types/node": { - "version": "20.14.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", - "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", - "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", - "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/type-utils": "5.62.0", - "@typescript-eslint/utils": "5.62.0", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/parser": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", - "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", - "dependencies": { - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "debug": "^4.3.4" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/scope-manager": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", - "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/types": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", - "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", - "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", - "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/hardhat-gas-reporter": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.10.tgz", - "integrity": "sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==", - "dependencies": { - "array-uniq": "1.0.3", - "eth-gas-reporter": "^0.2.25", - "sha1": "^1.1.1" - }, - "peerDependencies": { - "hardhat": "^2.0.2" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@poolzfinance/vault-manager/node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "engines": { - "node": ">= 10.0.0" - } - }, "node_modules/@poolzfinance/whitelist": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@poolzfinance/whitelist/-/whitelist-1.0.0.tgz", @@ -12848,9 +12247,9 @@ } }, "node_modules/mocha": { - "version": "10.5.1", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.5.1.tgz", - "integrity": "sha512-eq5tEnaz2kM9ade8cuGJBMh5fBb9Ih/TB+ddlmPR+wLQmwLhUwa0ovqDlg7OTfKquW0BI7NUcNWX7DH8sC+3gw==", + "version": "10.5.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.5.2.tgz", + "integrity": "sha512-9btlN3JKCefPf+vKd/kcKz2SXxi12z6JswkGfaAF0saQvnsqLJk504ZmbxhSoENge08E9dsymozKgFMTl5PQsA==", "dependencies": { "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", diff --git a/package.json b/package.json index c82d58b..ecd7042 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,6 @@ "@poolzfinance/dispenser-provider": "^1.0.0", "@poolzfinance/poolz-helper-v2": "^3.0.0", "@poolzfinance/refund-provider": "^1.0.3", - "@poolzfinance/vault-manager": "0.0.4-ironblocks" + "@poolzfinance/vault-manager": "^1.0.0" } }