Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
wighawag committed Jun 25, 2023
1 parent bc736ad commit 4fc8b7e
Show file tree
Hide file tree
Showing 9 changed files with 490 additions and 558 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cache/
artifacts/

coverage*
typechain/
typechain-types/

.vscode/*
!.vscode/settings.json.default
Expand Down
2 changes: 1 addition & 1 deletion deploy/001_deploy_simple_erc20.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {HardhatRuntimeEnvironment} from 'hardhat/types';
import {DeployFunction} from 'hardhat-deploy/types';
import {parseEther} from 'ethers/lib/utils';
import {parseEther} from 'ethers';

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const {deployments, getNamedAccounts} = hre;
Expand Down
16 changes: 8 additions & 8 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import 'dotenv/config';
import {HardhatUserConfig} from 'hardhat/types';
import 'hardhat-deploy';
import '@nomiclabs/hardhat-ethers';
import 'hardhat-deploy-ethers';
import 'hardhat-gas-reporter';

import '@nomicfoundation/hardhat-chai-matchers';
import '@nomicfoundation/hardhat-ethers';
import '@typechain/hardhat';
import 'hardhat-gas-reporter';
import 'solidity-coverage';

import 'hardhat-deploy';
import 'hardhat-deploy-ethers';
import 'hardhat-deploy-tenderly';

import {node_url, accounts, addForkConfiguration} from './utils/network';

const config: HardhatUserConfig = {
Expand Down Expand Up @@ -70,10 +74,6 @@ const config: HardhatUserConfig = {
coinmarketcap: process.env.COINMARKETCAP_API_KEY,
maxMethodDiff: 10,
},
typechain: {
outDir: 'typechain',
target: 'ethers-v5',
},
mocha: {
timeout: 0,
},
Expand Down
36 changes: 16 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,29 @@
"version": "0.0.1",
"description": "",
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@openzeppelin/contracts": "^4.8.1",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.3.4",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.1",
"@nomicfoundation/hardhat-ethers": "^3.0.2",
"@openzeppelin/contracts": "^4.9.2",
"@typechain/hardhat": "^8.0.0",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.13.0",
"@types/node": "^20.3.1",
"chai": "^4.3.7",
"chai-ethers": "^0.0.1",
"cross-env": "^7.0.2",
"dotenv": "^16.0.3",
"ethers": "^5.7.0",
"fs-extra": "^11.1.0",
"hardhat": "^2.12.7",
"hardhat-deploy": "^0.11.23",
"hardhat-deploy-ethers": "0.4.0-next.0",
"dotenv": "^16.3.1",
"ethers": "^6.6.1",
"fs-extra": "^11.1.1",
"hardhat": "^2.16.0",
"hardhat-deploy": "^0.11.34",
"hardhat-deploy-ethers": "^0.4.0",
"hardhat-deploy-tenderly": "^0.2.0",
"hardhat-gas-reporter": "^1.0.9",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"prettier-plugin-solidity": "^1.1.2",
"solidity-coverage": "^0.8.1",
"ts-generator": "^0.1.1",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solidity-coverage": "^0.8.3",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "^4.9.5"
"typescript": "^5.1.3"
},
"scripts": {
"prepare": "node ./.setup.js && hardhat typechain",
Expand Down
Loading

0 comments on commit 4fc8b7e

Please sign in to comment.