forked from nutsfinance/tapio-eth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
55 lines (51 loc) · 1.16 KB
/
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
47
48
49
50
51
52
53
54
55
import { HardhatUserConfig } from "hardhat/config";
import "@openzeppelin/hardhat-upgrades";
import "@nomiclabs/hardhat-web3";
import "@nomicfoundation/hardhat-toolbox";
import "@primitivefi/hardhat-dodoc";
import "solidity-coverage";
import * as dotenv from "dotenv";
dotenv.config();
const config: HardhatUserConfig = {
solidity: {
version: "0.8.18",
settings: {
viaIR: true,
optimizer: {
enabled: true,
runs: 1000,
details: {
yul: true,
yulDetails: {
optimizerSteps: "u",
},
},
},
},
},
networks: {
goerli: {
url: "https://goerli.infura.io/v3/2a15ac43eb8c4cfa94809ff08d84274d",
accounts: {
mnemonic: process.env.MNEMONIC,
},
chainId: 5,
},
},
etherscan: {
apiKey: "ZVS7QS6TGF6VNAEA267A9KP2KRCDSNRP1G",
},
dodoc: {
outputDir: "./docs",
include: [
"contracts/governance",
"contracts/interfaces",
"contracts/misc",
"contracts/reth",
"contracts/StableAsset.sol",
"contracts/StableAssetApplication.sol",
"contracts/StableAssetToken.sol"
]
},
};
export default config;