@@ -10,6 +10,7 @@ require('@nomiclabs/hardhat-etherscan');
10
10
require ( './tasks/deploy/ampleforth' ) ;
11
11
require ( './tasks/deploy/chain_bridge' ) ;
12
12
require ( './tasks/deploy/matic' ) ;
13
+ require ( './tasks/deploy/arbitrum' ) ;
13
14
require ( './tasks/deploy/rebase_reporter' ) ;
14
15
15
16
require ( './tasks/ops/rebase' ) ;
@@ -26,94 +27,114 @@ module.exports = {
26
27
solidity : {
27
28
compilers : [
28
29
{
29
- version : '0.4.24'
30
+ version : '0.4.24' ,
30
31
} ,
31
32
{
32
- version : '0.7.6'
33
+ version : '0.5.12' ,
33
34
} ,
34
35
{
35
- version : '0.6.4'
36
+ version : '0.6.4' ,
36
37
} ,
37
38
{
38
- version : '0.6.8'
39
+ version : '0.6.8' ,
39
40
} ,
40
41
{
41
- version : '0.5.12'
42
+ version : '0.6.11' ,
43
+ settings : {
44
+ optimizer : {
45
+ enabled : true ,
46
+ runs : 200 ,
47
+ } ,
48
+ } ,
42
49
} ,
43
50
{
44
51
version : '0.7.3' ,
45
52
settings : {
46
53
optimizer : {
47
54
enabled : true ,
48
- runs : 200
49
- }
50
- }
51
- }
52
- ]
55
+ runs : 200 ,
56
+ } ,
57
+ } ,
58
+ } ,
59
+ {
60
+ version : '0.7.6' ,
61
+ settings : {
62
+ optimizer : {
63
+ enabled : true ,
64
+ runs : 200 ,
65
+ } ,
66
+ } ,
67
+ } ,
68
+ ] ,
53
69
} ,
54
70
mocha : {
55
- timeout : 1000000
71
+ timeout : 1000000 ,
56
72
} ,
57
73
gasReporter : {
58
74
currency : 'USD' ,
59
75
enabled : ! ! process . env . REPORT_GAS ,
60
76
excludeContracts : [ '_mocks' , '_external' , 'uFragments' ] ,
61
- coinmarketcap : process . env . COINMARKETCAP_API_KEY
77
+ coinmarketcap : process . env . COINMARKETCAP_API_KEY ,
62
78
} ,
63
79
64
80
etherscan : {
65
- apiKey : process . env . ETHERSCAN_API_KEY
81
+ apiKey : process . env . ETHERSCAN_API_KEY ,
66
82
} ,
67
83
68
84
bscscan : {
69
- apiKey : process . env . BSCSCAN_API_KEY
85
+ apiKey : process . env . BSCSCAN_API_KEY ,
70
86
} ,
71
87
72
88
networks : {
73
89
localGethBaseChain : {
74
- url : 'http://localhost:7545'
90
+ url : 'http://localhost:7545' ,
75
91
} ,
76
92
localGethSatChain1 : {
77
- url : 'http://localhost:7550'
93
+ url : 'http://localhost:7550' ,
78
94
} ,
79
95
localGethSatChain2 : {
80
- url : 'http://localhost:7555'
96
+ url : 'http://localhost:7555' ,
81
97
} ,
82
98
83
99
// meter-passport
84
100
dev1RopstenBaseChain : {
85
- url : 'https://eth-ropsten.alchemyapi.io/v2/' + process . env . ALCHEMY_SECRET
101
+ url : 'https://eth-ropsten.alchemyapi.io/v2/' + process . env . ALCHEMY_SECRET ,
86
102
} ,
87
103
dev1BscTestnetSatChain : {
88
- url : 'https://data-seed-prebsc-1-s1.binance.org:8545'
104
+ url : 'https://data-seed-prebsc-1-s1.binance.org:8545' ,
89
105
} ,
90
106
dev1MeterTestnetSatChain : {
91
- url : 'https://rpctest.meter.io'
107
+ url : 'https://rpctest.meter.io' ,
92
108
} ,
93
109
94
110
// matic
95
111
dev2GoerliBaseChain : {
96
- url : 'https://eth-goerli.alchemyapi.io/v2/' + process . env . ALCHEMY_SECRET
112
+ url : 'https://eth-goerli.alchemyapi.io/v2/' + process . env . ALCHEMY_SECRET ,
97
113
} ,
98
114
dev2MumbaiSatChain : {
99
- url : 'https://polygon-mumbai.infura.io/v3/' + process . env . INFURA_SECRET
115
+ url : 'https://polygon-mumbai.infura.io/v3/' + process . env . INFURA_SECRET ,
116
+ } ,
117
+
118
+ // arbitrum
119
+ dev3RinkebyBaseChain : {
120
+ url : 'https://eth-rinkeby.alchemyapi.io/v2/' + process . env . ALCHEMY_SECRET ,
121
+ } ,
122
+ dev3RinkebyArbitrumSatChain : {
123
+ url : 'https://rinkeby.arbitrum.io/rpc' ,
100
124
} ,
101
125
102
126
// prod
103
127
prodEthereumBaseChain : {
104
- url : 'https://mainnet.infura.io/v3/' + process . env . INFURA_SECRET
128
+ url : 'https://mainnet.infura.io/v3/' + process . env . INFURA_SECRET ,
105
129
} ,
106
130
prodBscSatChain : {
107
- url : 'https://bsc-dataseed.binance.org'
108
- } ,
109
- prodAvaxSatChain : {
110
- url : 'https://api.avax.network/ext/bc/C/rpc'
131
+ url : 'https://bsc-dataseed.binance.org' ,
111
132
} ,
112
133
prodMeterSatChain : {
113
- url : 'https://rpc.meter.io'
134
+ url : 'https://rpc.meter.io' ,
114
135
} ,
115
136
prodMaticSatChain : {
116
- url : 'https://polygon-mainnet.infura.io/v3/' + process . env . INFURA_SECRET
117
- }
118
- }
137
+ url : 'https://polygon-mainnet.infura.io/v3/' + process . env . INFURA_SECRET ,
138
+ } ,
139
+ } ,
119
140
} ;
0 commit comments