diff --git a/hardhat.config.js b/hardhat.config.js index 957233d9..c8ac8740 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -3,6 +3,7 @@ require("dotenv").config() require("@nomiclabs/hardhat-etherscan") require("@nomiclabs/hardhat-waffle") require("@openzeppelin/hardhat-upgrades") +require("@xtools-at/hardhat-sourcify") require("hardhat-deploy") require("hardhat-deploy-ethers") require("solidity-coverage") diff --git a/package.json b/package.json index e7802ed4..01a440d9 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "@nomiclabs/hardhat-ethers": "^2.0.3", "@nomiclabs/hardhat-etherscan": "^3.1.0", "@nomiclabs/hardhat-waffle": "^2.0.1", + "@xtools-at/hardhat-sourcify": "^0.2.0", "chai": "^4.3.4", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^3.4.1", diff --git a/yarn.lock b/yarn.lock index 3b3183d9..2bc07761 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1271,6 +1271,13 @@ resolved "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz" integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== +"@types/node@^18.15.7": + version "18.19.26" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.26.tgz#18991279d0a0e53675285e8cf4a0823766349729" + integrity sha512-+wiMJsIwLOYCvUqSdKTrfkS8mpTp+MPINe6+Np4TAGFWWRWiBQ5kSq9nZGCSPkzx9mvT+uEukzpX4MOSCydcvw== + dependencies: + undici-types "~5.26.4" + "@types/node@^8.0.0": version "8.10.66" resolved "https://registry.npmjs.org/@types/node/-/node-8.10.66.tgz" @@ -1373,6 +1380,15 @@ "@uniswap/lib" "1.1.1" "@uniswap/v2-core" "1.0.0" +"@xtools-at/hardhat-sourcify@^0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@xtools-at/hardhat-sourcify/-/hardhat-sourcify-0.2.0.tgz#5ba6005eaab565ea5c8437b2a8b45239b75936b0" + integrity sha512-M4Km/y3hRmJMQWyyTD5zE4nkwo7bDi7eHROZaxuE7C6tnYpKR/FzpdV1Xv9rcD+SSymkvGgiLy1pKsJ2VzhkWw== + dependencies: + "@types/node" "^18.15.7" + axios "^1.3.4" + form-data "^4.0.0" + "@yarnpkg/lockfile@^1.1.0": version "1.1.0" resolved "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz" @@ -1797,6 +1813,15 @@ axios@^0.21.1: dependencies: follow-redirects "^1.14.0" +axios@^1.3.4: + version "1.6.8" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.8.tgz#66d294951f5d988a00e87a0ffb955316a619ea66" + integrity sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ== + dependencies: + follow-redirects "^1.15.6" + form-data "^4.0.0" + proxy-from-env "^1.1.0" + babel-code-frame@^6.26.0: version "6.26.0" resolved "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz" @@ -4646,7 +4671,7 @@ follow-redirects@^1.12.1: resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz" integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA== -follow-redirects@^1.14.0: +follow-redirects@^1.14.0, follow-redirects@^1.15.6: version "1.15.6" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== @@ -7694,6 +7719,11 @@ proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" +proxy-from-env@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== + prr@~1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz" @@ -9390,6 +9420,11 @@ underscore@1.9.1: resolved "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz" integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg== +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + undici@^5.4.0: version "5.8.0" resolved "https://registry.npmjs.org/undici/-/undici-5.8.0.tgz"