@@ -17,91 +17,91 @@ const mnemonic = process.env.DEPLOYER_MNEMONIC as string;
1717const ganacheMnemonic = process . env . GANACHE_MNEMONIC as string ;
1818
1919const config : HardhatUserConfig = {
20- //@ts -ignore
21- namedAccounts : {
22- deployer : {
23- default : 0 , // here this will by default take the first account as deployer
24- } ,
25- } ,
26- solidity : {
27- compilers : [
28- {
29- version : "0.7.5" ,
30- settings : { optimizer : { enabled : true , runs : 200 } } ,
31- } ,
32- {
33- version : "0.8.26" ,
34- settings : { viaIR : true , optimizer : { enabled : true , runs : 200 } } ,
35- } ,
36- ]
37- } ,
38- networks : {
39- hardhat : {
40- forking : {
41- url : process . env . MAINNET_API_URL as string ,
42- } ,
43- } ,
44- mainnet : {
45- url : process . env . MAINNET_API_URL ,
46- accounts : { mnemonic : mnemonic } ,
47- } ,
48- polygon : {
49- url : process . env . POLYGON_API_URL ,
50- accounts : { mnemonic : mnemonic } ,
51- } ,
52- ganache : {
53- url : "http://127.0.0.1:8545" ,
54- accounts : { mnemonic : ganacheMnemonic } ,
55- } ,
56- ropsten : {
57- url : process . env . ROPSTEN_API_URL ,
58- accounts : { mnemonic : mnemonic } ,
59- } ,
60- rinkeby : {
61- url : process . env . RINKEBY_API_URL ,
62- accounts : { mnemonic : mnemonic } ,
63- } ,
64- goerli : {
65- url : process . env . GOERLI_API_URL ,
66- accounts : { mnemonic : mnemonic } ,
67- } ,
68- kovan : {
69- url : process . env . KOVAN_API_URL ,
70- accounts : { mnemonic : mnemonic } ,
71- } ,
72- optimismKovan : {
73- url : process . env . OPTIMISM_KOVAN_API_URL ,
74- accounts : { mnemonic : mnemonic } ,
75- } ,
76- optimism : {
77- url : process . env . OPTIMISM_API_URL ,
78- accounts : { mnemonic : mnemonic } ,
79- } ,
80- mumbai : {
81- url : process . env . MUMBAI_API_URL ,
82- accounts : { mnemonic : mnemonic } ,
83- } ,
84- arbitrumGoerli : {
85- url : process . env . ARBITRUM_GOERLI_API_URL ,
86- accounts : { mnemonic : mnemonic } ,
87- } ,
20+ //@ts -ignore
21+ namedAccounts : {
22+ deployer : {
23+ default : 0 , // here this will by default take the first account as deployer
24+ } ,
25+ } ,
26+ solidity : {
27+ compilers : [
28+ {
29+ version : "0.7.5" ,
30+ settings : { optimizer : { enabled : true , runs : 200 } } ,
31+ } ,
32+ {
33+ version : "0.8.26" ,
34+ settings : { viaIR : true , optimizer : { enabled : true , runs : 200 } } ,
35+ } ,
36+ ]
37+ } ,
38+ networks : {
39+ hardhat : {
40+ } ,
41+ anvil : {
42+ url : "http://127.0.0.1:8545" ,
43+ } ,
44+ mainnet : {
45+ url : process . env . MAINNET_API_URL ,
46+ accounts : { mnemonic : mnemonic } ,
47+ } ,
48+ polygon : {
49+ url : process . env . POLYGON_API_URL ,
50+ accounts : { mnemonic : mnemonic } ,
51+ } ,
52+ ganache : {
53+ url : "http://127.0.0.1:8545" ,
54+ accounts : { mnemonic : ganacheMnemonic } ,
55+ } ,
56+ ropsten : {
57+ url : process . env . ROPSTEN_API_URL ,
58+ accounts : { mnemonic : mnemonic } ,
59+ } ,
60+ rinkeby : {
61+ url : process . env . RINKEBY_API_URL ,
62+ accounts : { mnemonic : mnemonic } ,
63+ } ,
64+ goerli : {
65+ url : process . env . GOERLI_API_URL ,
66+ accounts : { mnemonic : mnemonic } ,
67+ } ,
68+ kovan : {
69+ url : process . env . KOVAN_API_URL ,
70+ accounts : { mnemonic : mnemonic } ,
71+ } ,
72+ optimismKovan : {
73+ url : process . env . OPTIMISM_KOVAN_API_URL ,
74+ accounts : { mnemonic : mnemonic } ,
75+ } ,
76+ optimism : {
77+ url : process . env . OPTIMISM_API_URL ,
78+ accounts : { mnemonic : mnemonic } ,
79+ } ,
80+ mumbai : {
81+ url : process . env . MUMBAI_API_URL ,
82+ accounts : { mnemonic : mnemonic } ,
83+ } ,
84+ arbitrumGoerli : {
85+ url : process . env . ARBITRUM_GOERLI_API_URL ,
86+ accounts : { mnemonic : mnemonic } ,
87+ } ,
8888 arbitrum : {
89- url : process . env . ARBITRUM_API_URL ,
90- accounts : { mnemonic : mnemonic } ,
91- }
92- } ,
93- etherscan : {
94- apiKey : process . env . ETHERSCAN_API_KEY as string ,
95- } ,
96- gasReporter : {
97- enabled : process . env . REPORT_GAS == "true" ,
98- currency : "USD" ,
99- gasPrice : 152 ,
100- coinmarketcap : process . env . COIN_API as string ,
101- } ,
102- mocha : {
103- timeout : 100000 ,
104- } ,
89+ url : process . env . ARBITRUM_API_URL ,
90+ accounts : { mnemonic : mnemonic } ,
91+ }
92+ } ,
93+ etherscan : {
94+ apiKey : process . env . ETHERSCAN_API_KEY as string ,
95+ } ,
96+ gasReporter : {
97+ enabled : process . env . REPORT_GAS == "true" ,
98+ currency : "USD" ,
99+ gasPrice : 152 ,
100+ coinmarketcap : process . env . COIN_API as string ,
101+ } ,
102+ mocha : {
103+ timeout : 100000 ,
104+ } ,
105105 verify : {
106106 etherscan : {
107107 apiKey : process . env . ETHERSCAN_API_KEY as string ,
0 commit comments