@wagmi/core 0.4.0-test.2 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chains/dist/wagmi-core-chains.cjs.dev.js +2 -2
- package/chains/dist/wagmi-core-chains.cjs.prod.js +2 -2
- package/chains/dist/wagmi-core-chains.esm.js +2 -2
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.dev.js +9 -7
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.prod.js +9 -7
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.esm.js +9 -7
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.dev.js +7 -5
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.prod.js +7 -5
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.esm.js +7 -5
- package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.dev.js +12 -8
- package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.prod.js +12 -8
- package/connectors/mock/dist/wagmi-core-connectors-mock.esm.js +7 -7
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.dev.js +19 -18
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.prod.js +19 -18
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.esm.js +19 -18
- package/dist/base-2d484f6c.cjs.prod.js +329 -0
- package/dist/base-e66f9622.esm.js +303 -0
- package/dist/base-e71ae4b2.cjs.dev.js +329 -0
- package/dist/{chains-7e369752.cjs.dev.js → chains-865492ea.cjs.prod.js} +79 -16
- package/dist/{chains-fa406563.esm.js → chains-c389721d.esm.js} +79 -16
- package/dist/{chains-d045862c.cjs.prod.js → chains-d970ee8d.cjs.dev.js} +79 -16
- package/dist/{client-42cf11b7.cjs.dev.js → client-1feb9121.cjs.prod.js} +29 -46
- package/dist/{client-ed3aaa6a.cjs.prod.js → client-53f2119c.cjs.dev.js} +29 -46
- package/dist/{client-60ee0298.esm.js → client-ffba0e25.esm.js} +29 -46
- package/dist/declarations/src/actions/accounts/getAccount.d.ts +31 -2
- package/dist/declarations/src/actions/accounts/getNetwork.d.ts +1 -2
- package/dist/declarations/src/actions/accounts/signTypedData.d.ts +17 -15
- package/dist/declarations/src/actions/accounts/watchAccount.d.ts +9 -1
- package/dist/declarations/src/actions/accounts/watchNetwork.d.ts +8 -1
- package/dist/declarations/src/actions/contracts/index.d.ts +5 -3
- package/dist/declarations/src/actions/contracts/multicall.d.ts +21 -0
- package/dist/declarations/src/actions/contracts/readContract.d.ts +7 -4
- package/dist/declarations/src/actions/contracts/readContracts.d.ts +19 -0
- package/dist/declarations/src/actions/contracts/watchContractEvent.d.ts +3 -3
- package/dist/declarations/src/actions/contracts/watchReadContract.d.ts +2 -3
- package/dist/declarations/src/actions/contracts/watchReadContracts.d.ts +6 -0
- package/dist/declarations/src/actions/contracts/writeContract.d.ts +10 -4
- package/dist/declarations/src/actions/index.d.ts +1 -1
- package/dist/declarations/src/actions/transactions/sendTransaction.d.ts +6 -1
- package/dist/declarations/src/client.d.ts +6 -11
- package/dist/declarations/src/connectors/base.d.ts +4 -3
- package/dist/declarations/src/connectors/mock/connector.d.ts +2 -9
- package/dist/declarations/src/connectors/mock/provider.d.ts +2 -1
- package/dist/declarations/src/connectors/walletConnect.d.ts +5 -4
- package/dist/declarations/src/constants/index.d.ts +2 -1
- package/dist/declarations/src/constants/multicall.d.ts +25 -0
- package/dist/declarations/src/constants/rpcs.d.ts +3 -1
- package/dist/declarations/src/errors.d.ts +27 -5
- package/dist/declarations/src/index.d.ts +5 -5
- package/dist/declarations/src/providers/alchemy.d.ts +2 -2
- package/dist/declarations/src/providers/infura.d.ts +2 -2
- package/dist/declarations/src/providers/jsonRpc.d.ts +2 -2
- package/dist/declarations/src/providers/public.d.ts +2 -2
- package/dist/declarations/src/types/index.d.ts +17 -5
- package/dist/declarations/src/utils/configureChains.d.ts +10 -4
- package/dist/declarations/src/utils/normalizeChainId.d.ts +1 -1
- package/dist/{rpcs-9c4eb960.cjs.dev.js → rpcs-1fd0a12f.cjs.prod.js} +14 -0
- package/dist/{rpcs-7cfbd91c.esm.js → rpcs-b73a8f60.esm.js} +14 -1
- package/dist/{rpcs-b3c52116.cjs.prod.js → rpcs-f1d24f0e.cjs.dev.js} +14 -0
- package/dist/wagmi-core.cjs.dev.js +611 -234
- package/dist/wagmi-core.cjs.prod.js +611 -234
- package/dist/wagmi-core.esm.js +608 -242
- package/package.json +15 -3
- package/providers/alchemy/dist/wagmi-core-providers-alchemy.cjs.dev.js +1 -1
- package/providers/alchemy/dist/wagmi-core-providers-alchemy.cjs.prod.js +1 -1
- package/providers/alchemy/dist/wagmi-core-providers-alchemy.esm.js +1 -1
- package/providers/infura/dist/wagmi-core-providers-infura.cjs.dev.js +1 -1
- package/providers/infura/dist/wagmi-core-providers-infura.cjs.prod.js +1 -1
- package/providers/infura/dist/wagmi-core-providers-infura.esm.js +1 -1
- package/providers/jsonRpc/dist/wagmi-core-providers-jsonRpc.cjs.dev.js +3 -1
- package/providers/jsonRpc/dist/wagmi-core-providers-jsonRpc.cjs.prod.js +3 -1
- package/providers/jsonRpc/dist/wagmi-core-providers-jsonRpc.esm.js +3 -1
- package/connectors/injected/dist/wagmi-core-connectors-injected.cjs.d.ts +0 -1
- package/connectors/injected/dist/wagmi-core-connectors-injected.cjs.dev.js +0 -200
- package/connectors/injected/dist/wagmi-core-connectors-injected.cjs.js +0 -7
- package/connectors/injected/dist/wagmi-core-connectors-injected.cjs.prod.js +0 -200
- package/connectors/injected/dist/wagmi-core-connectors-injected.esm.js +0 -196
- package/connectors/walletLink/dist/wagmi-core-connectors-walletLink.cjs.d.ts +0 -11
- package/connectors/walletLink/dist/wagmi-core-connectors-walletLink.cjs.js +0 -16
- package/dist/base-7f682723.cjs.prod.js +0 -623
- package/dist/base-ae774f26.cjs.dev.js +0 -623
- package/dist/base-c546f171.esm.js +0 -603
- package/dist/declarations/src/utils/eventemitter.d.ts +0 -135
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var rpcs = require('./rpcs-
|
|
3
|
+
var rpcs = require('./rpcs-1fd0a12f.cjs.prod.js');
|
|
4
4
|
|
|
5
5
|
const etherscanBlockExplorers = {
|
|
6
6
|
mainnet: {
|
|
@@ -69,7 +69,6 @@ const mainnet = {
|
|
|
69
69
|
id: chainId.mainnet,
|
|
70
70
|
name: 'Ethereum',
|
|
71
71
|
network: 'homestead',
|
|
72
|
-
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
|
|
73
72
|
nativeCurrency: {
|
|
74
73
|
name: 'Ether',
|
|
75
74
|
symbol: 'ETH',
|
|
@@ -77,19 +76,26 @@ const mainnet = {
|
|
|
77
76
|
},
|
|
78
77
|
rpcUrls: {
|
|
79
78
|
alchemy: rpcs.alchemyRpcUrls.mainnet,
|
|
79
|
+
default: rpcs.publicRpcUrls.mainnet,
|
|
80
80
|
infura: rpcs.infuraRpcUrls.mainnet,
|
|
81
|
-
|
|
81
|
+
public: rpcs.publicRpcUrls.mainnet
|
|
82
82
|
},
|
|
83
83
|
blockExplorers: {
|
|
84
84
|
etherscan: etherscanBlockExplorers.mainnet,
|
|
85
85
|
default: etherscanBlockExplorers.mainnet
|
|
86
|
+
},
|
|
87
|
+
ens: {
|
|
88
|
+
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'
|
|
89
|
+
},
|
|
90
|
+
multicall: {
|
|
91
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
92
|
+
blockCreated: 14353601
|
|
86
93
|
}
|
|
87
94
|
};
|
|
88
95
|
const ropsten = {
|
|
89
96
|
id: chainId.ropsten,
|
|
90
97
|
name: 'Ropsten',
|
|
91
98
|
network: 'ropsten',
|
|
92
|
-
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
|
|
93
99
|
nativeCurrency: {
|
|
94
100
|
name: 'Ropsten Ether',
|
|
95
101
|
symbol: 'ROP',
|
|
@@ -97,20 +103,27 @@ const ropsten = {
|
|
|
97
103
|
},
|
|
98
104
|
rpcUrls: {
|
|
99
105
|
alchemy: rpcs.alchemyRpcUrls.ropsten,
|
|
106
|
+
default: rpcs.publicRpcUrls.ropsten,
|
|
100
107
|
infura: rpcs.infuraRpcUrls.ropsten,
|
|
101
|
-
|
|
108
|
+
public: rpcs.publicRpcUrls.ropsten
|
|
102
109
|
},
|
|
103
110
|
blockExplorers: {
|
|
104
111
|
etherscan: etherscanBlockExplorers.ropsten,
|
|
105
112
|
default: etherscanBlockExplorers.ropsten
|
|
106
113
|
},
|
|
114
|
+
ens: {
|
|
115
|
+
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'
|
|
116
|
+
},
|
|
117
|
+
multicall: {
|
|
118
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
119
|
+
blockCreated: 12063863
|
|
120
|
+
},
|
|
107
121
|
testnet: true
|
|
108
122
|
};
|
|
109
123
|
const rinkeby = {
|
|
110
124
|
id: chainId.rinkeby,
|
|
111
125
|
name: 'Rinkeby',
|
|
112
126
|
network: 'rinkeby',
|
|
113
|
-
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
|
|
114
127
|
nativeCurrency: {
|
|
115
128
|
name: 'Rinkeby Ether',
|
|
116
129
|
symbol: 'RIN',
|
|
@@ -118,20 +131,27 @@ const rinkeby = {
|
|
|
118
131
|
},
|
|
119
132
|
rpcUrls: {
|
|
120
133
|
alchemy: rpcs.alchemyRpcUrls.rinkeby,
|
|
134
|
+
default: rpcs.publicRpcUrls.rinkeby,
|
|
121
135
|
infura: rpcs.infuraRpcUrls.rinkeby,
|
|
122
|
-
|
|
136
|
+
public: rpcs.publicRpcUrls.rinkeby
|
|
123
137
|
},
|
|
124
138
|
blockExplorers: {
|
|
125
139
|
etherscan: etherscanBlockExplorers.rinkeby,
|
|
126
140
|
default: etherscanBlockExplorers.rinkeby
|
|
127
141
|
},
|
|
142
|
+
ens: {
|
|
143
|
+
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'
|
|
144
|
+
},
|
|
145
|
+
multicall: {
|
|
146
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
147
|
+
blockCreated: 10299530
|
|
148
|
+
},
|
|
128
149
|
testnet: true
|
|
129
150
|
};
|
|
130
151
|
const goerli = {
|
|
131
152
|
id: chainId.goerli,
|
|
132
153
|
name: 'Goerli',
|
|
133
154
|
network: 'goerli',
|
|
134
|
-
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
|
|
135
155
|
nativeCurrency: {
|
|
136
156
|
name: 'Goerli Ether',
|
|
137
157
|
symbol: 'GOR',
|
|
@@ -139,13 +159,21 @@ const goerli = {
|
|
|
139
159
|
},
|
|
140
160
|
rpcUrls: {
|
|
141
161
|
alchemy: rpcs.alchemyRpcUrls.goerli,
|
|
162
|
+
default: rpcs.publicRpcUrls.goerli,
|
|
142
163
|
infura: rpcs.infuraRpcUrls.goerli,
|
|
143
|
-
|
|
164
|
+
public: rpcs.publicRpcUrls.goerli
|
|
144
165
|
},
|
|
145
166
|
blockExplorers: {
|
|
146
167
|
etherscan: etherscanBlockExplorers.goerli,
|
|
147
168
|
default: etherscanBlockExplorers.goerli
|
|
148
169
|
},
|
|
170
|
+
ens: {
|
|
171
|
+
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'
|
|
172
|
+
},
|
|
173
|
+
multicall: {
|
|
174
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
175
|
+
blockCreated: 6507670
|
|
176
|
+
},
|
|
149
177
|
testnet: true
|
|
150
178
|
};
|
|
151
179
|
const kovan = {
|
|
@@ -159,13 +187,18 @@ const kovan = {
|
|
|
159
187
|
},
|
|
160
188
|
rpcUrls: {
|
|
161
189
|
alchemy: rpcs.alchemyRpcUrls.kovan,
|
|
190
|
+
default: rpcs.publicRpcUrls.kovan,
|
|
162
191
|
infura: rpcs.infuraRpcUrls.kovan,
|
|
163
|
-
|
|
192
|
+
public: rpcs.publicRpcUrls.kovan
|
|
164
193
|
},
|
|
165
194
|
blockExplorers: {
|
|
166
195
|
etherscan: etherscanBlockExplorers.kovan,
|
|
167
196
|
default: etherscanBlockExplorers.kovan
|
|
168
197
|
},
|
|
198
|
+
multicall: {
|
|
199
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
200
|
+
blockCreated: 30285908
|
|
201
|
+
},
|
|
169
202
|
testnet: true
|
|
170
203
|
};
|
|
171
204
|
const optimism = {
|
|
@@ -179,12 +212,17 @@ const optimism = {
|
|
|
179
212
|
},
|
|
180
213
|
rpcUrls: {
|
|
181
214
|
alchemy: rpcs.alchemyRpcUrls.optimism,
|
|
215
|
+
default: rpcs.publicRpcUrls.optimism,
|
|
182
216
|
infura: rpcs.infuraRpcUrls.optimism,
|
|
183
|
-
|
|
217
|
+
public: rpcs.publicRpcUrls.optimism
|
|
184
218
|
},
|
|
185
219
|
blockExplorers: {
|
|
186
220
|
etherscan: etherscanBlockExplorers.optimism,
|
|
187
221
|
default: etherscanBlockExplorers.optimism
|
|
222
|
+
},
|
|
223
|
+
multicall: {
|
|
224
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
225
|
+
blockCreated: 4286263
|
|
188
226
|
}
|
|
189
227
|
};
|
|
190
228
|
const optimismKovan = {
|
|
@@ -198,13 +236,18 @@ const optimismKovan = {
|
|
|
198
236
|
},
|
|
199
237
|
rpcUrls: {
|
|
200
238
|
alchemy: rpcs.alchemyRpcUrls.optimismKovan,
|
|
239
|
+
default: rpcs.publicRpcUrls.optimismKovan,
|
|
201
240
|
infura: rpcs.infuraRpcUrls.optimismKovan,
|
|
202
|
-
|
|
241
|
+
public: rpcs.publicRpcUrls.optimismKovan
|
|
203
242
|
},
|
|
204
243
|
blockExplorers: {
|
|
205
244
|
etherscan: etherscanBlockExplorers.optimismKovan,
|
|
206
245
|
default: etherscanBlockExplorers.optimismKovan
|
|
207
246
|
},
|
|
247
|
+
multicall: {
|
|
248
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
249
|
+
blockCreated: 1418387
|
|
250
|
+
},
|
|
208
251
|
testnet: true
|
|
209
252
|
};
|
|
210
253
|
const polygon = {
|
|
@@ -218,12 +261,17 @@ const polygon = {
|
|
|
218
261
|
},
|
|
219
262
|
rpcUrls: {
|
|
220
263
|
alchemy: rpcs.alchemyRpcUrls.polygon,
|
|
264
|
+
default: rpcs.publicRpcUrls.polygon,
|
|
221
265
|
infura: rpcs.infuraRpcUrls.polygon,
|
|
222
|
-
|
|
266
|
+
public: rpcs.publicRpcUrls.polygon
|
|
223
267
|
},
|
|
224
268
|
blockExplorers: {
|
|
225
269
|
etherscan: etherscanBlockExplorers.polygon,
|
|
226
270
|
default: etherscanBlockExplorers.polygon
|
|
271
|
+
},
|
|
272
|
+
multicall: {
|
|
273
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
274
|
+
blockCreated: 25770160
|
|
227
275
|
}
|
|
228
276
|
};
|
|
229
277
|
const polygonMumbai = {
|
|
@@ -237,13 +285,18 @@ const polygonMumbai = {
|
|
|
237
285
|
},
|
|
238
286
|
rpcUrls: {
|
|
239
287
|
alchemy: rpcs.alchemyRpcUrls.polygonMumbai,
|
|
288
|
+
default: rpcs.publicRpcUrls.polygonMumbai,
|
|
240
289
|
infura: rpcs.infuraRpcUrls.polygonMumbai,
|
|
241
|
-
|
|
290
|
+
public: rpcs.publicRpcUrls.polygonMumbai
|
|
242
291
|
},
|
|
243
292
|
blockExplorers: {
|
|
244
293
|
etherscan: etherscanBlockExplorers.polygonMumbai,
|
|
245
294
|
default: etherscanBlockExplorers.polygonMumbai
|
|
246
295
|
},
|
|
296
|
+
multicall: {
|
|
297
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
298
|
+
blockCreated: 25444704
|
|
299
|
+
},
|
|
247
300
|
testnet: true
|
|
248
301
|
};
|
|
249
302
|
const arbitrum = {
|
|
@@ -257,8 +310,9 @@ const arbitrum = {
|
|
|
257
310
|
},
|
|
258
311
|
rpcUrls: {
|
|
259
312
|
alchemy: rpcs.alchemyRpcUrls.arbitrum,
|
|
313
|
+
default: rpcs.publicRpcUrls.arbitrum,
|
|
260
314
|
infura: rpcs.infuraRpcUrls.arbitrum,
|
|
261
|
-
|
|
315
|
+
public: rpcs.publicRpcUrls.arbitrum
|
|
262
316
|
},
|
|
263
317
|
blockExplorers: {
|
|
264
318
|
arbitrum: {
|
|
@@ -267,6 +321,10 @@ const arbitrum = {
|
|
|
267
321
|
},
|
|
268
322
|
etherscan: etherscanBlockExplorers.arbitrum,
|
|
269
323
|
default: etherscanBlockExplorers.arbitrum
|
|
324
|
+
},
|
|
325
|
+
multicall: {
|
|
326
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
327
|
+
blockCreated: 7654707
|
|
270
328
|
}
|
|
271
329
|
};
|
|
272
330
|
const arbitrumRinkeby = {
|
|
@@ -280,8 +338,9 @@ const arbitrumRinkeby = {
|
|
|
280
338
|
},
|
|
281
339
|
rpcUrls: {
|
|
282
340
|
alchemy: rpcs.alchemyRpcUrls.arbitrumRinkeby,
|
|
341
|
+
default: rpcs.publicRpcUrls.arbitrumRinkeby,
|
|
283
342
|
infura: rpcs.infuraRpcUrls.arbitrumRinkeby,
|
|
284
|
-
|
|
343
|
+
public: rpcs.publicRpcUrls.arbitrumRinkeby
|
|
285
344
|
},
|
|
286
345
|
blockExplorers: {
|
|
287
346
|
arbitrum: {
|
|
@@ -291,6 +350,10 @@ const arbitrumRinkeby = {
|
|
|
291
350
|
etherscan: etherscanBlockExplorers.arbitrumRinkeby,
|
|
292
351
|
default: etherscanBlockExplorers.arbitrumRinkeby
|
|
293
352
|
},
|
|
353
|
+
multicall: {
|
|
354
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
355
|
+
blockCreated: 10228837
|
|
356
|
+
},
|
|
294
357
|
testnet: true
|
|
295
358
|
};
|
|
296
359
|
const localhost = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as alchemyRpcUrls,
|
|
1
|
+
import { a as alchemyRpcUrls, p as publicRpcUrls, i as infuraRpcUrls } from './rpcs-b73a8f60.esm.js';
|
|
2
2
|
|
|
3
3
|
const etherscanBlockExplorers = {
|
|
4
4
|
mainnet: {
|
|
@@ -67,7 +67,6 @@ const mainnet = {
|
|
|
67
67
|
id: chainId.mainnet,
|
|
68
68
|
name: 'Ethereum',
|
|
69
69
|
network: 'homestead',
|
|
70
|
-
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
|
|
71
70
|
nativeCurrency: {
|
|
72
71
|
name: 'Ether',
|
|
73
72
|
symbol: 'ETH',
|
|
@@ -75,19 +74,26 @@ const mainnet = {
|
|
|
75
74
|
},
|
|
76
75
|
rpcUrls: {
|
|
77
76
|
alchemy: alchemyRpcUrls.mainnet,
|
|
77
|
+
default: publicRpcUrls.mainnet,
|
|
78
78
|
infura: infuraRpcUrls.mainnet,
|
|
79
|
-
|
|
79
|
+
public: publicRpcUrls.mainnet
|
|
80
80
|
},
|
|
81
81
|
blockExplorers: {
|
|
82
82
|
etherscan: etherscanBlockExplorers.mainnet,
|
|
83
83
|
default: etherscanBlockExplorers.mainnet
|
|
84
|
+
},
|
|
85
|
+
ens: {
|
|
86
|
+
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'
|
|
87
|
+
},
|
|
88
|
+
multicall: {
|
|
89
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
90
|
+
blockCreated: 14353601
|
|
84
91
|
}
|
|
85
92
|
};
|
|
86
93
|
const ropsten = {
|
|
87
94
|
id: chainId.ropsten,
|
|
88
95
|
name: 'Ropsten',
|
|
89
96
|
network: 'ropsten',
|
|
90
|
-
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
|
|
91
97
|
nativeCurrency: {
|
|
92
98
|
name: 'Ropsten Ether',
|
|
93
99
|
symbol: 'ROP',
|
|
@@ -95,20 +101,27 @@ const ropsten = {
|
|
|
95
101
|
},
|
|
96
102
|
rpcUrls: {
|
|
97
103
|
alchemy: alchemyRpcUrls.ropsten,
|
|
104
|
+
default: publicRpcUrls.ropsten,
|
|
98
105
|
infura: infuraRpcUrls.ropsten,
|
|
99
|
-
|
|
106
|
+
public: publicRpcUrls.ropsten
|
|
100
107
|
},
|
|
101
108
|
blockExplorers: {
|
|
102
109
|
etherscan: etherscanBlockExplorers.ropsten,
|
|
103
110
|
default: etherscanBlockExplorers.ropsten
|
|
104
111
|
},
|
|
112
|
+
ens: {
|
|
113
|
+
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'
|
|
114
|
+
},
|
|
115
|
+
multicall: {
|
|
116
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
117
|
+
blockCreated: 12063863
|
|
118
|
+
},
|
|
105
119
|
testnet: true
|
|
106
120
|
};
|
|
107
121
|
const rinkeby = {
|
|
108
122
|
id: chainId.rinkeby,
|
|
109
123
|
name: 'Rinkeby',
|
|
110
124
|
network: 'rinkeby',
|
|
111
|
-
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
|
|
112
125
|
nativeCurrency: {
|
|
113
126
|
name: 'Rinkeby Ether',
|
|
114
127
|
symbol: 'RIN',
|
|
@@ -116,20 +129,27 @@ const rinkeby = {
|
|
|
116
129
|
},
|
|
117
130
|
rpcUrls: {
|
|
118
131
|
alchemy: alchemyRpcUrls.rinkeby,
|
|
132
|
+
default: publicRpcUrls.rinkeby,
|
|
119
133
|
infura: infuraRpcUrls.rinkeby,
|
|
120
|
-
|
|
134
|
+
public: publicRpcUrls.rinkeby
|
|
121
135
|
},
|
|
122
136
|
blockExplorers: {
|
|
123
137
|
etherscan: etherscanBlockExplorers.rinkeby,
|
|
124
138
|
default: etherscanBlockExplorers.rinkeby
|
|
125
139
|
},
|
|
140
|
+
ens: {
|
|
141
|
+
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'
|
|
142
|
+
},
|
|
143
|
+
multicall: {
|
|
144
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
145
|
+
blockCreated: 10299530
|
|
146
|
+
},
|
|
126
147
|
testnet: true
|
|
127
148
|
};
|
|
128
149
|
const goerli = {
|
|
129
150
|
id: chainId.goerli,
|
|
130
151
|
name: 'Goerli',
|
|
131
152
|
network: 'goerli',
|
|
132
|
-
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
|
|
133
153
|
nativeCurrency: {
|
|
134
154
|
name: 'Goerli Ether',
|
|
135
155
|
symbol: 'GOR',
|
|
@@ -137,13 +157,21 @@ const goerli = {
|
|
|
137
157
|
},
|
|
138
158
|
rpcUrls: {
|
|
139
159
|
alchemy: alchemyRpcUrls.goerli,
|
|
160
|
+
default: publicRpcUrls.goerli,
|
|
140
161
|
infura: infuraRpcUrls.goerli,
|
|
141
|
-
|
|
162
|
+
public: publicRpcUrls.goerli
|
|
142
163
|
},
|
|
143
164
|
blockExplorers: {
|
|
144
165
|
etherscan: etherscanBlockExplorers.goerli,
|
|
145
166
|
default: etherscanBlockExplorers.goerli
|
|
146
167
|
},
|
|
168
|
+
ens: {
|
|
169
|
+
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'
|
|
170
|
+
},
|
|
171
|
+
multicall: {
|
|
172
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
173
|
+
blockCreated: 6507670
|
|
174
|
+
},
|
|
147
175
|
testnet: true
|
|
148
176
|
};
|
|
149
177
|
const kovan = {
|
|
@@ -157,13 +185,18 @@ const kovan = {
|
|
|
157
185
|
},
|
|
158
186
|
rpcUrls: {
|
|
159
187
|
alchemy: alchemyRpcUrls.kovan,
|
|
188
|
+
default: publicRpcUrls.kovan,
|
|
160
189
|
infura: infuraRpcUrls.kovan,
|
|
161
|
-
|
|
190
|
+
public: publicRpcUrls.kovan
|
|
162
191
|
},
|
|
163
192
|
blockExplorers: {
|
|
164
193
|
etherscan: etherscanBlockExplorers.kovan,
|
|
165
194
|
default: etherscanBlockExplorers.kovan
|
|
166
195
|
},
|
|
196
|
+
multicall: {
|
|
197
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
198
|
+
blockCreated: 30285908
|
|
199
|
+
},
|
|
167
200
|
testnet: true
|
|
168
201
|
};
|
|
169
202
|
const optimism = {
|
|
@@ -177,12 +210,17 @@ const optimism = {
|
|
|
177
210
|
},
|
|
178
211
|
rpcUrls: {
|
|
179
212
|
alchemy: alchemyRpcUrls.optimism,
|
|
213
|
+
default: publicRpcUrls.optimism,
|
|
180
214
|
infura: infuraRpcUrls.optimism,
|
|
181
|
-
|
|
215
|
+
public: publicRpcUrls.optimism
|
|
182
216
|
},
|
|
183
217
|
blockExplorers: {
|
|
184
218
|
etherscan: etherscanBlockExplorers.optimism,
|
|
185
219
|
default: etherscanBlockExplorers.optimism
|
|
220
|
+
},
|
|
221
|
+
multicall: {
|
|
222
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
223
|
+
blockCreated: 4286263
|
|
186
224
|
}
|
|
187
225
|
};
|
|
188
226
|
const optimismKovan = {
|
|
@@ -196,13 +234,18 @@ const optimismKovan = {
|
|
|
196
234
|
},
|
|
197
235
|
rpcUrls: {
|
|
198
236
|
alchemy: alchemyRpcUrls.optimismKovan,
|
|
237
|
+
default: publicRpcUrls.optimismKovan,
|
|
199
238
|
infura: infuraRpcUrls.optimismKovan,
|
|
200
|
-
|
|
239
|
+
public: publicRpcUrls.optimismKovan
|
|
201
240
|
},
|
|
202
241
|
blockExplorers: {
|
|
203
242
|
etherscan: etherscanBlockExplorers.optimismKovan,
|
|
204
243
|
default: etherscanBlockExplorers.optimismKovan
|
|
205
244
|
},
|
|
245
|
+
multicall: {
|
|
246
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
247
|
+
blockCreated: 1418387
|
|
248
|
+
},
|
|
206
249
|
testnet: true
|
|
207
250
|
};
|
|
208
251
|
const polygon = {
|
|
@@ -216,12 +259,17 @@ const polygon = {
|
|
|
216
259
|
},
|
|
217
260
|
rpcUrls: {
|
|
218
261
|
alchemy: alchemyRpcUrls.polygon,
|
|
262
|
+
default: publicRpcUrls.polygon,
|
|
219
263
|
infura: infuraRpcUrls.polygon,
|
|
220
|
-
|
|
264
|
+
public: publicRpcUrls.polygon
|
|
221
265
|
},
|
|
222
266
|
blockExplorers: {
|
|
223
267
|
etherscan: etherscanBlockExplorers.polygon,
|
|
224
268
|
default: etherscanBlockExplorers.polygon
|
|
269
|
+
},
|
|
270
|
+
multicall: {
|
|
271
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
272
|
+
blockCreated: 25770160
|
|
225
273
|
}
|
|
226
274
|
};
|
|
227
275
|
const polygonMumbai = {
|
|
@@ -235,13 +283,18 @@ const polygonMumbai = {
|
|
|
235
283
|
},
|
|
236
284
|
rpcUrls: {
|
|
237
285
|
alchemy: alchemyRpcUrls.polygonMumbai,
|
|
286
|
+
default: publicRpcUrls.polygonMumbai,
|
|
238
287
|
infura: infuraRpcUrls.polygonMumbai,
|
|
239
|
-
|
|
288
|
+
public: publicRpcUrls.polygonMumbai
|
|
240
289
|
},
|
|
241
290
|
blockExplorers: {
|
|
242
291
|
etherscan: etherscanBlockExplorers.polygonMumbai,
|
|
243
292
|
default: etherscanBlockExplorers.polygonMumbai
|
|
244
293
|
},
|
|
294
|
+
multicall: {
|
|
295
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
296
|
+
blockCreated: 25444704
|
|
297
|
+
},
|
|
245
298
|
testnet: true
|
|
246
299
|
};
|
|
247
300
|
const arbitrum = {
|
|
@@ -255,8 +308,9 @@ const arbitrum = {
|
|
|
255
308
|
},
|
|
256
309
|
rpcUrls: {
|
|
257
310
|
alchemy: alchemyRpcUrls.arbitrum,
|
|
311
|
+
default: publicRpcUrls.arbitrum,
|
|
258
312
|
infura: infuraRpcUrls.arbitrum,
|
|
259
|
-
|
|
313
|
+
public: publicRpcUrls.arbitrum
|
|
260
314
|
},
|
|
261
315
|
blockExplorers: {
|
|
262
316
|
arbitrum: {
|
|
@@ -265,6 +319,10 @@ const arbitrum = {
|
|
|
265
319
|
},
|
|
266
320
|
etherscan: etherscanBlockExplorers.arbitrum,
|
|
267
321
|
default: etherscanBlockExplorers.arbitrum
|
|
322
|
+
},
|
|
323
|
+
multicall: {
|
|
324
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
325
|
+
blockCreated: 7654707
|
|
268
326
|
}
|
|
269
327
|
};
|
|
270
328
|
const arbitrumRinkeby = {
|
|
@@ -278,8 +336,9 @@ const arbitrumRinkeby = {
|
|
|
278
336
|
},
|
|
279
337
|
rpcUrls: {
|
|
280
338
|
alchemy: alchemyRpcUrls.arbitrumRinkeby,
|
|
339
|
+
default: publicRpcUrls.arbitrumRinkeby,
|
|
281
340
|
infura: infuraRpcUrls.arbitrumRinkeby,
|
|
282
|
-
|
|
341
|
+
public: publicRpcUrls.arbitrumRinkeby
|
|
283
342
|
},
|
|
284
343
|
blockExplorers: {
|
|
285
344
|
arbitrum: {
|
|
@@ -289,6 +348,10 @@ const arbitrumRinkeby = {
|
|
|
289
348
|
etherscan: etherscanBlockExplorers.arbitrumRinkeby,
|
|
290
349
|
default: etherscanBlockExplorers.arbitrumRinkeby
|
|
291
350
|
},
|
|
351
|
+
multicall: {
|
|
352
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
353
|
+
blockCreated: 10228837
|
|
354
|
+
},
|
|
292
355
|
testnet: true
|
|
293
356
|
};
|
|
294
357
|
const localhost = {
|