forked from alchemix-finance/alchemix-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
55 lines (53 loc) · 1.32 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 "@nomiclabs/hardhat-waffle";
import "@nomiclabs/hardhat-ethers";
import "hardhat-typechain";
import "solidity-coverage";
require('dotenv').config()
export default {
namedAccounts: {
deployer: 0,
governance: 0,
rewards: 0,
sentinel: 1,
newGovernance: 0,
user: 0,
dai: {
1: '0x6B175474E89094C44Da98b954EedeAC495271d0F', //mainnet dai address
1337: '0x6B175474E89094C44Da98b954EedeAC495271d0F', //mainnet dai address
3: '0xad6d458402f60fd3bd25163575031acdce07538d'
},
yearnVault: {
1: '0x19D3364A399d251E894aC732651be8B0E4e85001', // mainnet yearn daivault address
1337: '0x19D3364A399d251E894aC732651be8B0E4e85001', // mainnet yearn daivault address
3: '0xdbfb15bc9beaaacda989ce3a6864af262166ac06'
},
linkOracleAddress: {
1: '0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9',
1337: '0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9'
}
},
networks: {
coverage: {
url: "http://localhost:8555",
gas: 20000000,
},
hardhat: {
chainId: 1337,
allowUnlimitedContractSize: false,
blockGasLimit: 25000000
}
},
solidity: {
version: "0.6.12",
settings: {
optimizer: {
enabled: true,
runs: 999999,
},
},
},
typechain: {
outDir: "types",
target: "ethers-v5"
},
};