forked from ghoul652/clishclash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
39 lines (37 loc) · 952 Bytes
/
hardhat.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require('@nomiclabs/hardhat-ethers');
require('@nomiclabs/hardhat-etherscan');
require('@nomicfoundation/hardhat-chai-matchers');
require('solidity-coverage');
require('hardhat-dependency-compiler');
require('hardhat-deploy');
require('hardhat-gas-reporter');
require('dotenv').config();
const { networks, etherscan } = require('./hardhat.networks');
module.exports = {
etherscan,
solidity: {
version: '0.8.17',
settings: {
optimizer: {
enabled: true,
runs: 1000000,
},
},
},
networks,
namedAccounts: {
deployer: {
default: 0,
},
},
gasReporter: {
enable: true,
currency: 'USD',
},
dependencyCompiler: {
paths: [
'@1inch/solidity-utils/contracts/mocks/TokenCustomDecimalsMock.sol',
'@1inch/solidity-utils/contracts/mocks/TokenMock.sol',
],
},
};