forked from mstable/mStable-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
40 lines (38 loc) · 951 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
require("hardhat-gas-reporter");
require("solidity-coverage");
require("@nomiclabs/hardhat-truffle5");
require("hardhat-typechain");
require("@tenderly/hardhat-tenderly");
require("ts-node/register");
require("tsconfig-paths/register");
export default {
networks: {
hardhat: { allowUnlimitedContractSize: true },
localhost: { url: "http://localhost:8545" },
fork: { url: "http://localhost:7545" },
},
solidity: {
version: "0.5.16",
settings: {
optimizer: {
enabled: true,
},
},
},
paths: { artifacts: "./build/contracts" },
gasReporter: {
currency: "USD",
gasPrice: 30,
},
mocha: {
timeout: 240000, // 4 min timeout
},
typechain: {
outDir: "types/generated",
target: "truffle-v5",
},
tenderly: {
username: "mStable",
project: "mStable-contracts",
},
};