-
Notifications
You must be signed in to change notification settings - Fork 5
/
hardhat.config.ts
63 lines (60 loc) · 1.19 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
56
57
58
59
60
61
62
63
import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-etherscan'
import '@nomiclabs/hardhat-waffle'
import 'hardhat-gas-reporter'
import 'solidity-coverage'
import { HardhatUserConfig } from 'hardhat/types'
import './task/hello'
import './task/market'
import './task/broker'
import './task/yield'
import './task/farmer'
import './task/upgrade'
import './task/bouncer'
import './task/lockbox'
export default {
networks: {
hardhat: {
allowUnlimitedContractSize: true,
forking: {
url: process.env.ETHEREUM_ARCHIVE_URL,
},
},
paradigm: {
url: process.env.PARADIGM_RPC,
accounts: [process.env.PARADIGM_PRIVATE_KEY],
},
},
solidity: {
compilers: [
{
version: '0.8.0',
},
{
version: '0.7.6',
},
{
version: '0.7.0',
},
{
version: '0.6.12',
},
{
version: '0.5.12',
},
{
version: '0.4.24',
},
{
version: '0.4.16',
},
],
},
etherscan: {
apiKey: process.env.ETHERSCAN_APIKEY,
},
gasReporter: {
currency: 'ETH',
enabled: process.env.REPORT_GAS ? true : false,
},
} as HardhatUserConfig