forked from TrueFi-Protocol/contracts-fluorine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
46 lines (44 loc) · 854 Bytes
/
hardhat.config.ts
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
40
41
42
43
44
45
46
import '@typechain/hardhat'
import 'hardhat-waffle-dev'
import 'solidity-docgen'
import './abi-exporter'
import mocharc from './.mocharc.json'
import compiler from './.compiler.json'
module.exports = {
docgen: {
pages: 'files',
templates: './templates',
exclude: ['mocks', 'proxy', 'test'],
},
paths: {
sources: './contracts',
artifacts: './build',
cache: './build',
},
abiExporter: {
path: './build',
flat: true,
spacing: 2,
},
networks: {
hardhat: {
initialDate: '2020-01-01T00:00:00',
allowUnlimitedContractSize: true,
},
},
typechain: {
outDir: 'build/types',
target: 'ethers-v5',
},
solidity: {
compilers: [compiler],
},
mocha: {
...mocharc,
timeout: 400000,
},
waffle: {
skipEstimateGas: '0xB71B00',
injectCallHistory: true,
},
}