@cryptorubic/web3 0.0.35 → 0.2.1

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.
Files changed (45) hide show
  1. package/package.json +15 -2
  2. package/src/lib/adapter/adapters/abstract-adapter.d.ts +2 -2
  3. package/src/lib/adapter/adapters/abstract-adapter.js +0 -2
  4. package/src/lib/adapter/adapters/constants/erc20-token-abi.js +12 -12
  5. package/src/lib/adapter/adapters/constants/trc-20-contract-abi.js +15 -15
  6. package/src/lib/adapter/adapters/constants/tron-multicall-abi.js +6 -6
  7. package/src/lib/adapter/adapters/evm-adapter.d.ts +7 -7
  8. package/src/lib/adapter/adapters/evm-adapter.js +48 -34
  9. package/src/lib/adapter/adapters/models/approve-adapter.d.ts +2 -2
  10. package/src/lib/adapter/adapters/models/evm-adapter-options.d.ts +1 -1
  11. package/src/lib/adapter/adapters/models/ton-adapter-config.d.ts +2 -2
  12. package/src/lib/adapter/adapters/solana-adapter.d.ts +3 -3
  13. package/src/lib/adapter/adapters/solana-adapter.js +1 -1
  14. package/src/lib/adapter/adapters/ton-adapter.d.ts +6 -6
  15. package/src/lib/adapter/adapters/ton-adapter.js +8 -8
  16. package/src/lib/adapter/adapters/tron-adapter.d.ts +8 -8
  17. package/src/lib/adapter/adapters/tron-adapter.js +36 -23
  18. package/src/lib/adapter/adapters/utils/ton-api.service.d.ts +3 -3
  19. package/src/lib/adapter/adapters/utils/ton-api.service.js +4 -3
  20. package/src/lib/adapter/blockchain-adapter-factory.service.d.ts +5 -5
  21. package/src/lib/adapter/blockchain-adapter-factory.service.js +20 -13
  22. package/src/lib/adapter/constants/chain-configs/chain-configs.d.ts +1 -1
  23. package/src/lib/adapter/constants/chain-configs/chain-configs.js +589 -299
  24. package/src/lib/adapter/constants/models/wallet-provider.d.ts +3 -3
  25. package/src/lib/adapter/constants/viem-blockchain-mapping.d.ts +1 -1
  26. package/src/lib/adapter/constants/viem-blockchain-mapping.js +1 -1
  27. package/src/lib/utils/constants/changenow-api-blockchain.js +2 -2
  28. package/src/lib/utils/constants/web3-pure-store.d.ts +2 -2
  29. package/src/lib/utils/constants/web3-pure-store.js +33 -33
  30. package/src/lib/utils/models/contract-multicall-response.d.ts +1 -1
  31. package/src/lib/utils/models/primitive-types.d.ts +1 -1
  32. package/src/lib/utils/models/tron-transaction-config.d.ts +1 -1
  33. package/src/lib/utils/web3-pure.d.ts +2 -2
  34. package/src/lib/utils/web3-pure.js +6 -7
  35. package/src/lib/utils/web3-types/bitcoin-web3-pure.d.ts +1 -1
  36. package/src/lib/utils/web3-types/common-web3-pure.js +0 -2
  37. package/src/lib/utils/web3-types/evm-web3-pure.d.ts +1 -1
  38. package/src/lib/utils/web3-types/icp-web3-pure.d.ts +1 -1
  39. package/src/lib/utils/web3-types/icp-web3-pure.js +2 -1
  40. package/src/lib/utils/web3-types/solana-web3-pure.d.ts +1 -1
  41. package/src/lib/utils/web3-types/solana-web3-pure.js +1 -1
  42. package/src/lib/utils/web3-types/ton-web3-pure.d.ts +1 -1
  43. package/src/lib/utils/web3-types/ton-web3-pure.js +1 -1
  44. package/src/lib/utils/web3-types/tron-web3-pure.d.ts +6 -6
  45. package/src/lib/utils/web3-types/tron-web3-pure.js +10 -8
@@ -8,26 +8,32 @@ exports.viemConfig = {
8
8
  default: {
9
9
  apiUrl: 'https://explorer-test.arthera.net',
10
10
  name: 'Arthera Explorer',
11
- url: 'https://explorer-test.arthera.net'
12
- }
11
+ url: 'https://explorer-test.arthera.net',
12
+ },
13
13
  },
14
14
  id: 10242,
15
15
  name: 'Arthera',
16
16
  nativeCurrency: { decimals: 18, name: 'Arthera', symbol: 'AA' },
17
17
  rpcUrls: {
18
18
  default: {
19
- http: ['https://rpc.arthera.net']
20
- }
19
+ http: ['https://rpc.arthera.net'],
20
+ },
21
21
  },
22
22
  testnet: true,
23
23
  contracts: {
24
24
  multicall3: {
25
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
26
- }
27
- }
25
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
26
+ },
27
+ },
28
28
  }),
29
29
  AVALANCHE: (0, viem_1.defineChain)({
30
- blockExplorers: { default: { apiUrl: 'https://snowtrace.io/', name: 'AVALANCHE Explorer', url: 'https://snowtrace.io/' } },
30
+ blockExplorers: {
31
+ default: {
32
+ apiUrl: 'https://snowtrace.io/',
33
+ name: 'AVALANCHE Explorer',
34
+ url: 'https://snowtrace.io/',
35
+ },
36
+ },
31
37
  id: 43114,
32
38
  name: 'Avalanche Mainnet',
33
39
  nativeCurrency: { decimals: 18, name: 'AVAX', symbol: 'AVAX' },
@@ -35,13 +41,17 @@ exports.viemConfig = {
35
41
  testnet: false,
36
42
  contracts: {
37
43
  multicall3: {
38
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
39
- }
40
- }
44
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
45
+ },
46
+ },
41
47
  }),
42
48
  BERACHAIN: (0, viem_1.defineChain)({
43
49
  blockExplorers: {
44
- default: { apiUrl: 'https://artio.beratrail.io/', name: 'BERACHAIN Explorer', url: 'https://artio.beratrail.io/' }
50
+ default: {
51
+ apiUrl: 'https://artio.beratrail.io/',
52
+ name: 'BERACHAIN Explorer',
53
+ url: 'https://artio.beratrail.io/',
54
+ },
45
55
  },
46
56
  id: 80084,
47
57
  name: 'Berachain Testnet',
@@ -50,13 +60,17 @@ exports.viemConfig = {
50
60
  testnet: true,
51
61
  contracts: {
52
62
  multicall3: {
53
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
54
- }
55
- }
63
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
64
+ },
65
+ },
56
66
  }),
57
67
  BLAST_TESTNET: (0, viem_1.defineChain)({
58
68
  blockExplorers: {
59
- default: { apiUrl: 'https://testnet.blastscan.io/', name: 'BLAST_TESTNET Explorer', url: 'https://testnet.blastscan.io/' }
69
+ default: {
70
+ apiUrl: 'https://testnet.blastscan.io/',
71
+ name: 'BLAST_TESTNET Explorer',
72
+ url: 'https://testnet.blastscan.io/',
73
+ },
60
74
  },
61
75
  id: 168587773,
62
76
  name: 'Blast Testnet',
@@ -65,13 +79,17 @@ exports.viemConfig = {
65
79
  testnet: true,
66
80
  contracts: {
67
81
  multicall3: {
68
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
69
- }
70
- }
82
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
83
+ },
84
+ },
71
85
  }),
72
86
  BSCT: (0, viem_1.defineChain)({
73
87
  blockExplorers: {
74
- default: { apiUrl: 'https://testnet.bscscan.com/', name: 'BSCT Explorer', url: 'https://testnet.bscscan.com/' }
88
+ default: {
89
+ apiUrl: 'https://testnet.bscscan.com/',
90
+ name: 'BSCT Explorer',
91
+ url: 'https://testnet.bscscan.com/',
92
+ },
75
93
  },
76
94
  id: 87,
77
95
  name: 'BSC Testnet',
@@ -80,12 +98,18 @@ exports.viemConfig = {
80
98
  testnet: true,
81
99
  contracts: {
82
100
  multicall3: {
83
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
84
- }
85
- }
101
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
102
+ },
103
+ },
86
104
  }),
87
105
  BSC: (0, viem_1.defineChain)({
88
- blockExplorers: { default: { apiUrl: 'https://bscscan.com/', name: 'BSC Explorer', url: 'https://bscscan.com/' } },
106
+ blockExplorers: {
107
+ default: {
108
+ apiUrl: 'https://bscscan.com/',
109
+ name: 'BSC Explorer',
110
+ url: 'https://bscscan.com/',
111
+ },
112
+ },
89
113
  id: 56,
90
114
  name: 'Binance Smart Chain Mainnet',
91
115
  nativeCurrency: { decimals: 18, name: 'Binance Coin', symbol: 'BNB' },
@@ -93,17 +117,17 @@ exports.viemConfig = {
93
117
  testnet: false,
94
118
  contracts: {
95
119
  multicall3: {
96
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
97
- }
98
- }
120
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
121
+ },
122
+ },
99
123
  }),
100
124
  AURORA: (0, viem_1.defineChain)({
101
125
  blockExplorers: {
102
126
  default: {
103
127
  apiUrl: 'https://explorer.mainnet.aurora.dev/',
104
128
  name: 'AURORA Explorer',
105
- url: 'https://explorer.mainnet.aurora.dev/'
106
- }
129
+ url: 'https://explorer.mainnet.aurora.dev/',
130
+ },
107
131
  },
108
132
  id: 1313161554,
109
133
  name: 'Aurora MainNet',
@@ -112,12 +136,18 @@ exports.viemConfig = {
112
136
  testnet: false,
113
137
  contracts: {
114
138
  multicall3: {
115
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
116
- }
117
- }
139
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
140
+ },
141
+ },
118
142
  }),
119
143
  ETH: (0, viem_1.defineChain)({
120
- blockExplorers: { default: { apiUrl: 'https://etherscan.io/', name: 'ETH Explorer', url: 'https://etherscan.io/' } },
144
+ blockExplorers: {
145
+ default: {
146
+ apiUrl: 'https://etherscan.io/',
147
+ name: 'ETH Explorer',
148
+ url: 'https://etherscan.io/',
149
+ },
150
+ },
121
151
  id: 1,
122
152
  name: 'Ethereum Mainnet',
123
153
  nativeCurrency: { decimals: 18, name: 'Ethereum', symbol: 'ETH' },
@@ -125,12 +155,18 @@ exports.viemConfig = {
125
155
  testnet: false,
126
156
  contracts: {
127
157
  multicall3: {
128
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
129
- }
130
- }
158
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
159
+ },
160
+ },
131
161
  }),
132
162
  FANTOM: (0, viem_1.defineChain)({
133
- blockExplorers: { default: { apiUrl: 'https://ftmscan.com/', name: 'FANTOM Explorer', url: 'https://ftmscan.com/' } },
163
+ blockExplorers: {
164
+ default: {
165
+ apiUrl: 'https://ftmscan.com/',
166
+ name: 'FANTOM Explorer',
167
+ url: 'https://ftmscan.com/',
168
+ },
169
+ },
134
170
  id: 250,
135
171
  name: 'Fantom Opera',
136
172
  nativeCurrency: { decimals: 18, name: 'FTM', symbol: 'FTM' },
@@ -138,12 +174,18 @@ exports.viemConfig = {
138
174
  testnet: false,
139
175
  contracts: {
140
176
  multicall3: {
141
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
142
- }
143
- }
177
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
178
+ },
179
+ },
144
180
  }),
145
181
  ARBITRUM: (0, viem_1.defineChain)({
146
- blockExplorers: { default: { apiUrl: 'https://arbiscan.io/', name: 'ARBITRUM Explorer', url: 'https://arbiscan.io/' } },
182
+ blockExplorers: {
183
+ default: {
184
+ apiUrl: 'https://arbiscan.io/',
185
+ name: 'ARBITRUM Explorer',
186
+ url: 'https://arbiscan.io/',
187
+ },
188
+ },
147
189
  id: 42161,
148
190
  name: 'Arbitrum One',
149
191
  nativeCurrency: { decimals: 18, name: 'AETH', symbol: 'AETH' },
@@ -151,28 +193,38 @@ exports.viemConfig = {
151
193
  testnet: false,
152
194
  contracts: {
153
195
  multicall3: {
154
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
155
- }
156
- }
196
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
197
+ },
198
+ },
157
199
  }),
158
200
  FUJI: (0, viem_1.defineChain)({
159
201
  blockExplorers: {
160
- default: { apiUrl: 'https://testnet.snowtrace.io/', name: 'FUJI Explorer', url: 'https://testnet.snowtrace.io/' }
202
+ default: {
203
+ apiUrl: 'https://testnet.snowtrace.io/',
204
+ name: 'FUJI Explorer',
205
+ url: 'https://testnet.snowtrace.io/',
206
+ },
161
207
  },
162
208
  id: 43113,
163
209
  name: 'Fuji Testnet',
164
210
  nativeCurrency: { decimals: 18, name: 'AVAX', symbol: 'AVAX' },
165
- rpcUrls: { default: { http: ['https://endpoints.omniatech.io/v1/avax/fuji/public'] } },
211
+ rpcUrls: {
212
+ default: { http: ['https://endpoints.omniatech.io/v1/avax/fuji/public'] },
213
+ },
166
214
  testnet: true,
167
215
  contracts: {
168
216
  multicall3: {
169
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
170
- }
171
- }
217
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
218
+ },
219
+ },
172
220
  }),
173
221
  GOERLI: (0, viem_1.defineChain)({
174
222
  blockExplorers: {
175
- default: { apiUrl: 'https://goerli.etherscan.io//', name: 'GOERLI Explorer', url: 'https://goerli.etherscan.io//' }
223
+ default: {
224
+ apiUrl: 'https://goerli.etherscan.io//',
225
+ name: 'GOERLI Explorer',
226
+ url: 'https://goerli.etherscan.io//',
227
+ },
176
228
  },
177
229
  id: 5,
178
230
  name: 'Goerli Testnet',
@@ -181,12 +233,18 @@ exports.viemConfig = {
181
233
  testnet: true,
182
234
  contracts: {
183
235
  multicall3: {
184
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
185
- }
186
- }
236
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
237
+ },
238
+ },
187
239
  }),
188
240
  CRONOS: (0, viem_1.defineChain)({
189
- blockExplorers: { default: { apiUrl: 'https://cronoscan.com/', name: 'CRONOS Explorer', url: 'https://cronoscan.com/' } },
241
+ blockExplorers: {
242
+ default: {
243
+ apiUrl: 'https://cronoscan.com/',
244
+ name: 'CRONOS Explorer',
245
+ url: 'https://cronoscan.com/',
246
+ },
247
+ },
190
248
  id: 25,
191
249
  name: 'Cronos Mainnet Beta',
192
250
  nativeCurrency: { decimals: 18, name: 'CRO', symbol: 'CRO' },
@@ -194,32 +252,38 @@ exports.viemConfig = {
194
252
  testnet: false,
195
253
  contracts: {
196
254
  multicall3: {
197
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
198
- }
199
- }
255
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
256
+ },
257
+ },
200
258
  }),
201
259
  MUMBAI: (0, viem_1.defineChain)({
202
260
  blockExplorers: {
203
- default: { apiUrl: 'https://mumbai.polygonscan.com/', name: 'MUMBAI Explorer', url: 'https://mumbai.polygonscan.com/' }
261
+ default: {
262
+ apiUrl: 'https://mumbai.polygonscan.com/',
263
+ name: 'MUMBAI Explorer',
264
+ url: 'https://mumbai.polygonscan.com/',
265
+ },
204
266
  },
205
267
  id: 80001,
206
268
  name: 'Mumbai Testnet',
207
269
  nativeCurrency: { decimals: 18, name: 'Matic Network', symbol: 'MATIC' },
208
- rpcUrls: { default: { http: ['https://polygon-testnet.public.blastapi.io'] } },
270
+ rpcUrls: {
271
+ default: { http: ['https://polygon-testnet.public.blastapi.io'] },
272
+ },
209
273
  testnet: true,
210
274
  contracts: {
211
275
  multicall3: {
212
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
213
- }
214
- }
276
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
277
+ },
278
+ },
215
279
  }),
216
280
  GNOSIS: (0, viem_1.defineChain)({
217
281
  blockExplorers: {
218
282
  default: {
219
283
  apiUrl: 'https://blockscout.com/xdai/mainnet/',
220
284
  name: 'GNOSIS Explorer',
221
- url: 'https://blockscout.com/xdai/mainnet/'
222
- }
285
+ url: 'https://blockscout.com/xdai/mainnet/',
286
+ },
223
287
  },
224
288
  id: 100,
225
289
  name: 'Gnosis Chain',
@@ -228,13 +292,17 @@ exports.viemConfig = {
228
292
  testnet: false,
229
293
  contracts: {
230
294
  multicall3: {
231
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
232
- }
233
- }
295
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
296
+ },
297
+ },
234
298
  }),
235
299
  HARMONY: (0, viem_1.defineChain)({
236
300
  blockExplorers: {
237
- default: { apiUrl: 'https://explorer.harmony.one/', name: 'HARMONY Explorer', url: 'https://explorer.harmony.one/' }
301
+ default: {
302
+ apiUrl: 'https://explorer.harmony.one/',
303
+ name: 'HARMONY Explorer',
304
+ url: 'https://explorer.harmony.one/',
305
+ },
238
306
  },
239
307
  id: 1666600000,
240
308
  name: 'Harmony Mainnet Shard 0',
@@ -243,12 +311,18 @@ exports.viemConfig = {
243
311
  testnet: false,
244
312
  contracts: {
245
313
  multicall3: {
246
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
247
- }
248
- }
314
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
315
+ },
316
+ },
249
317
  }),
250
318
  FUSE: (0, viem_1.defineChain)({
251
- blockExplorers: { default: { apiUrl: 'https://explorer.fuse.io/', name: 'FUSE Explorer', url: 'https://explorer.fuse.io/' } },
319
+ blockExplorers: {
320
+ default: {
321
+ apiUrl: 'https://explorer.fuse.io/',
322
+ name: 'FUSE Explorer',
323
+ url: 'https://explorer.fuse.io/',
324
+ },
325
+ },
252
326
  id: 122,
253
327
  name: 'Fuse Mainnet',
254
328
  nativeCurrency: { decimals: 18, name: 'FUSE', symbol: 'FUSE' },
@@ -256,17 +330,17 @@ exports.viemConfig = {
256
330
  testnet: false,
257
331
  contracts: {
258
332
  multicall3: {
259
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
260
- }
261
- }
333
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
334
+ },
335
+ },
262
336
  }),
263
337
  SCROLL_SEPOLIA: (0, viem_1.defineChain)({
264
338
  blockExplorers: {
265
339
  default: {
266
340
  apiUrl: 'https://sepolia-blockscout.scroll.io/',
267
341
  name: 'SCROLL_SEPOLIA Explorer',
268
- url: 'https://sepolia-blockscout.scroll.io/'
269
- }
342
+ url: 'https://sepolia-blockscout.scroll.io/',
343
+ },
270
344
  },
271
345
  id: 534351,
272
346
  name: 'ScrollSepolia Testnet',
@@ -275,12 +349,18 @@ exports.viemConfig = {
275
349
  testnet: true,
276
350
  contracts: {
277
351
  multicall3: {
278
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
279
- }
280
- }
352
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
353
+ },
354
+ },
281
355
  }),
282
356
  CELO: (0, viem_1.defineChain)({
283
- blockExplorers: { default: { apiUrl: 'https://explorer.celo.org/', name: 'CELO Explorer', url: 'https://explorer.celo.org/' } },
357
+ blockExplorers: {
358
+ default: {
359
+ apiUrl: 'https://explorer.celo.org/',
360
+ name: 'CELO Explorer',
361
+ url: 'https://explorer.celo.org/',
362
+ },
363
+ },
284
364
  id: 42220,
285
365
  name: 'Celo Mainnet',
286
366
  nativeCurrency: { decimals: 18, name: 'CELO', symbol: 'CELO' },
@@ -288,27 +368,39 @@ exports.viemConfig = {
288
368
  testnet: false,
289
369
  contracts: {
290
370
  multicall3: {
291
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
292
- }
293
- }
371
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
372
+ },
373
+ },
294
374
  }),
295
375
  SEPOLIA: (0, viem_1.defineChain)({
296
376
  blockExplorers: {
297
- default: { apiUrl: 'https://sepolia.etherscan.io/', name: 'SEPOLIA Explorer', url: 'https://sepolia.etherscan.io/' }
377
+ default: {
378
+ apiUrl: 'https://sepolia.etherscan.io/',
379
+ name: 'SEPOLIA Explorer',
380
+ url: 'https://sepolia.etherscan.io/',
381
+ },
298
382
  },
299
383
  id: 11155111,
300
384
  name: 'Sepolia Testnet',
301
385
  nativeCurrency: { decimals: 18, name: 'Ether', symbol: 'ETH' },
302
- rpcUrls: { default: { http: ['wss://ethereum-sepolia-rpc.publicnode.com'] } },
386
+ rpcUrls: {
387
+ default: { http: ['wss://ethereum-sepolia-rpc.publicnode.com'] },
388
+ },
303
389
  testnet: true,
304
390
  contracts: {
305
391
  multicall3: {
306
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
307
- }
308
- }
392
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
393
+ },
394
+ },
309
395
  }),
310
396
  BOBA: (0, viem_1.defineChain)({
311
- blockExplorers: { default: { apiUrl: 'https://bobascan.com/', name: 'BOBA Explorer', url: 'https://bobascan.com/' } },
397
+ blockExplorers: {
398
+ default: {
399
+ apiUrl: 'https://bobascan.com/',
400
+ name: 'BOBA Explorer',
401
+ url: 'https://bobascan.com/',
402
+ },
403
+ },
312
404
  id: 288,
313
405
  name: 'Boba',
314
406
  nativeCurrency: { decimals: 18, name: 'BOBA', symbol: 'BOBA' },
@@ -316,13 +408,17 @@ exports.viemConfig = {
316
408
  testnet: false,
317
409
  contracts: {
318
410
  multicall3: {
319
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
320
- }
321
- }
411
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
412
+ },
413
+ },
322
414
  }),
323
415
  ASTAR_EVM: (0, viem_1.defineChain)({
324
416
  blockExplorers: {
325
- default: { apiUrl: 'https://blockscout.com/astar/', name: 'ASTAR_EVM Explorer', url: 'https://blockscout.com/astar/' }
417
+ default: {
418
+ apiUrl: 'https://blockscout.com/astar/',
419
+ name: 'ASTAR_EVM Explorer',
420
+ url: 'https://blockscout.com/astar/',
421
+ },
326
422
  },
327
423
  id: 592,
328
424
  name: 'Astar EVM',
@@ -331,27 +427,39 @@ exports.viemConfig = {
331
427
  testnet: false,
332
428
  contracts: {
333
429
  multicall3: {
334
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
335
- }
336
- }
430
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
431
+ },
432
+ },
337
433
  }),
338
434
  HOLESKY: (0, viem_1.defineChain)({
339
435
  blockExplorers: {
340
- default: { apiUrl: 'https://holesky.etherscan.io/', name: 'HOLESKY Explorer', url: 'https://holesky.etherscan.io/' }
436
+ default: {
437
+ apiUrl: 'https://holesky.etherscan.io/',
438
+ name: 'HOLESKY Explorer',
439
+ url: 'https://holesky.etherscan.io/',
440
+ },
341
441
  },
342
442
  id: 17000,
343
443
  name: 'Holesky Testnet',
344
444
  nativeCurrency: { decimals: 18, name: 'Ether', symbol: 'ETH' },
345
- rpcUrls: { default: { http: ['https://ethereum-holesky-rpc.publicnode.com'] } },
445
+ rpcUrls: {
446
+ default: { http: ['https://ethereum-holesky-rpc.publicnode.com'] },
447
+ },
346
448
  testnet: true,
347
449
  contracts: {
348
450
  multicall3: {
349
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
350
- }
351
- }
451
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
452
+ },
453
+ },
352
454
  }),
353
455
  BITGERT: (0, viem_1.defineChain)({
354
- blockExplorers: { default: { apiUrl: 'https://brisescan.com/', name: 'BITGERT Explorer', url: 'https://brisescan.com/' } },
456
+ blockExplorers: {
457
+ default: {
458
+ apiUrl: 'https://brisescan.com/',
459
+ name: 'BITGERT Explorer',
460
+ url: 'https://brisescan.com/',
461
+ },
462
+ },
355
463
  id: 32520,
356
464
  name: 'Bitgert',
357
465
  nativeCurrency: { decimals: 18, name: 'Brise', symbol: 'BRISE' },
@@ -359,12 +467,18 @@ exports.viemConfig = {
359
467
  testnet: false,
360
468
  contracts: {
361
469
  multicall3: {
362
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
363
- }
364
- }
470
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
471
+ },
472
+ },
365
473
  }),
366
474
  POLYGON: (0, viem_1.defineChain)({
367
- blockExplorers: { default: { apiUrl: 'https://polygonscan.com/', name: 'POLYGON Explorer', url: 'https://polygonscan.com/' } },
475
+ blockExplorers: {
476
+ default: {
477
+ apiUrl: 'https://polygonscan.com/',
478
+ name: 'POLYGON Explorer',
479
+ url: 'https://polygonscan.com/',
480
+ },
481
+ },
368
482
  id: 137,
369
483
  name: 'Polygon Mainnet',
370
484
  nativeCurrency: { decimals: 18, name: 'Matic Network', symbol: 'MATIC' },
@@ -372,17 +486,17 @@ exports.viemConfig = {
372
486
  testnet: false,
373
487
  contracts: {
374
488
  multicall3: {
375
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
376
- }
377
- }
489
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
490
+ },
491
+ },
378
492
  }),
379
493
  BOBA_BSC: (0, viem_1.defineChain)({
380
494
  blockExplorers: {
381
495
  default: {
382
496
  apiUrl: 'https://blockexplorer.bnb.boba.network/',
383
497
  name: 'BOBA_BSC Explorer',
384
- url: 'https://blockexplorer.bnb.boba.network/'
385
- }
498
+ url: 'https://blockexplorer.bnb.boba.network/',
499
+ },
386
500
  },
387
501
  id: 56288,
388
502
  name: 'Boba BSC',
@@ -391,13 +505,17 @@ exports.viemConfig = {
391
505
  testnet: false,
392
506
  contracts: {
393
507
  multicall3: {
394
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
395
- }
396
- }
508
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
509
+ },
510
+ },
397
511
  }),
398
512
  POLYGON_ZKEVM: (0, viem_1.defineChain)({
399
513
  blockExplorers: {
400
- default: { apiUrl: 'https://zkevm.polygonscan.com/', name: 'POLYGON_ZKEVM Explorer', url: 'https://zkevm.polygonscan.com/' }
514
+ default: {
515
+ apiUrl: 'https://zkevm.polygonscan.com/',
516
+ name: 'POLYGON_ZKEVM Explorer',
517
+ url: 'https://zkevm.polygonscan.com/',
518
+ },
401
519
  },
402
520
  id: 1101,
403
521
  name: 'Polygon zkEVM',
@@ -406,17 +524,17 @@ exports.viemConfig = {
406
524
  testnet: false,
407
525
  contracts: {
408
526
  multicall3: {
409
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
410
- }
411
- }
527
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
528
+ },
529
+ },
412
530
  }),
413
531
  ETHEREUM_CLASSIC: (0, viem_1.defineChain)({
414
532
  blockExplorers: {
415
533
  default: {
416
534
  apiUrl: 'https://blockscout.com/etc/mainnet/',
417
535
  name: 'ETHEREUM_CLASSIC Explorer',
418
- url: 'https://blockscout.com/etc/mainnet/'
419
- }
536
+ url: 'https://blockscout.com/etc/mainnet/',
537
+ },
420
538
  },
421
539
  id: 61,
422
540
  name: 'Ethereum Classic',
@@ -425,13 +543,17 @@ exports.viemConfig = {
425
543
  testnet: false,
426
544
  contracts: {
427
545
  multicall3: {
428
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
429
- }
430
- }
546
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
547
+ },
548
+ },
431
549
  }),
432
550
  MOONRIVER: (0, viem_1.defineChain)({
433
551
  blockExplorers: {
434
- default: { apiUrl: 'https://moonriver.moonscan.io/', name: 'MOONRIVER Explorer', url: 'https://moonriver.moonscan.io/' }
552
+ default: {
553
+ apiUrl: 'https://moonriver.moonscan.io/',
554
+ name: 'MOONRIVER Explorer',
555
+ url: 'https://moonriver.moonscan.io/',
556
+ },
435
557
  },
436
558
  id: 1285,
437
559
  name: 'Moonriver',
@@ -440,51 +562,61 @@ exports.viemConfig = {
440
562
  testnet: false,
441
563
  contracts: {
442
564
  multicall3: {
443
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
444
- }
445
- }
565
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
566
+ },
567
+ },
446
568
  }),
447
569
  DEFIKINGDOMS: (0, viem_1.defineChain)({
448
570
  blockExplorers: {
449
571
  default: {
450
572
  apiUrl: 'https://subnets.avax.network/defi-kingdoms/dfk-chain/explorer/',
451
573
  name: 'DEFIKINGDOMS Explorer',
452
- url: 'https://subnets.avax.network/defi-kingdoms/dfk-chain/explorer/'
453
- }
574
+ url: 'https://subnets.avax.network/defi-kingdoms/dfk-chain/explorer/',
575
+ },
454
576
  },
455
577
  id: 53935,
456
578
  name: 'DeFi Kingdoms',
457
579
  nativeCurrency: { decimals: 18, name: 'JEWEL', symbol: 'JEWEL' },
458
- rpcUrls: { default: { http: ['https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc'] } },
580
+ rpcUrls: {
581
+ default: {
582
+ http: ['https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc'],
583
+ },
584
+ },
459
585
  testnet: false,
460
586
  contracts: {
461
587
  multicall3: {
462
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
463
- }
464
- }
588
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
589
+ },
590
+ },
465
591
  }),
466
592
  FLARE: (0, viem_1.defineChain)({
467
593
  blockExplorers: {
468
594
  default: {
469
595
  apiUrl: 'https://flare-explorer.flare.network/',
470
596
  name: 'FLARE Explorer',
471
- url: 'https://flare-explorer.flare.network/'
472
- }
597
+ url: 'https://flare-explorer.flare.network/',
598
+ },
473
599
  },
474
600
  id: 14,
475
601
  name: 'Flare',
476
602
  nativeCurrency: { decimals: 18, name: 'FLR', symbol: 'FLR' },
477
- rpcUrls: { default: { http: ['https://flare-api.flare.network/ext/C/rpc'] } },
603
+ rpcUrls: {
604
+ default: { http: ['https://flare-api.flare.network/ext/C/rpc'] },
605
+ },
478
606
  testnet: false,
479
607
  contracts: {
480
608
  multicall3: {
481
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
482
- }
483
- }
609
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
610
+ },
611
+ },
484
612
  }),
485
613
  ETHW: (0, viem_1.defineChain)({
486
614
  blockExplorers: {
487
- default: { apiUrl: 'https://www.oklink.com/en/ethw/', name: 'ETHW Explorer', url: 'https://www.oklink.com/en/ethw/' }
615
+ default: {
616
+ apiUrl: 'https://www.oklink.com/en/ethw/',
617
+ name: 'ETHW Explorer',
618
+ url: 'https://www.oklink.com/en/ethw/',
619
+ },
488
620
  },
489
621
  id: 10001,
490
622
  name: 'Ethereum POW',
@@ -493,13 +625,17 @@ exports.viemConfig = {
493
625
  testnet: false,
494
626
  contracts: {
495
627
  multicall3: {
496
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
497
- }
498
- }
628
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
629
+ },
630
+ },
499
631
  }),
500
632
  OPTIMISM: (0, viem_1.defineChain)({
501
633
  blockExplorers: {
502
- default: { apiUrl: 'https://optimism.blockscout.com/', name: 'OPTIMISM Explorer', url: 'https://optimism.blockscout.com/' }
634
+ default: {
635
+ apiUrl: 'https://optimism.blockscout.com/',
636
+ name: 'OPTIMISM Explorer',
637
+ url: 'https://optimism.blockscout.com/',
638
+ },
503
639
  },
504
640
  id: 10,
505
641
  name: 'Optimism',
@@ -508,9 +644,9 @@ exports.viemConfig = {
508
644
  testnet: false,
509
645
  contracts: {
510
646
  multicall3: {
511
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
512
- }
513
- }
647
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
648
+ },
649
+ },
514
650
  }),
515
651
  // BITCOIN_CASH:
516
652
  // defineChain({
@@ -533,7 +669,13 @@ exports.viemConfig = {
533
669
  // }
534
670
  // }),
535
671
  TELOS: (0, viem_1.defineChain)({
536
- blockExplorers: { default: { apiUrl: 'https://www.teloscan.io/', name: 'TELOS Explorer', url: 'https://www.teloscan.io/' } },
672
+ blockExplorers: {
673
+ default: {
674
+ apiUrl: 'https://www.teloscan.io/',
675
+ name: 'TELOS Explorer',
676
+ url: 'https://www.teloscan.io/',
677
+ },
678
+ },
537
679
  id: 40,
538
680
  name: 'Telos EVM Mainnet',
539
681
  nativeCurrency: { decimals: 18, name: 'TLOS', symbol: 'TLOS' },
@@ -541,12 +683,18 @@ exports.viemConfig = {
541
683
  testnet: false,
542
684
  contracts: {
543
685
  multicall3: {
544
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
545
- }
546
- }
686
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
687
+ },
688
+ },
547
689
  }),
548
690
  IOTEX: (0, viem_1.defineChain)({
549
- blockExplorers: { default: { apiUrl: 'https://iotexscan.io/', name: 'IOTEX Explorer', url: 'https://iotexscan.io/' } },
691
+ blockExplorers: {
692
+ default: {
693
+ apiUrl: 'https://iotexscan.io/',
694
+ name: 'IOTEX Explorer',
695
+ url: 'https://iotexscan.io/',
696
+ },
697
+ },
550
698
  id: 4689,
551
699
  name: 'Iotex',
552
700
  nativeCurrency: { decimals: 18, name: 'IoTex', symbol: 'IOTX' },
@@ -554,13 +702,17 @@ exports.viemConfig = {
554
702
  testnet: false,
555
703
  contracts: {
556
704
  multicall3: {
557
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
558
- }
559
- }
705
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
706
+ },
707
+ },
560
708
  }),
561
709
  OKX: (0, viem_1.defineChain)({
562
710
  blockExplorers: {
563
- default: { apiUrl: 'https://www.oklink.com/en/okc/', name: 'OKX Explorer', url: 'https://www.oklink.com/en/okc/' }
711
+ default: {
712
+ apiUrl: 'https://www.oklink.com/en/okc/',
713
+ name: 'OKX Explorer',
714
+ url: 'https://www.oklink.com/en/okc/',
715
+ },
564
716
  },
565
717
  id: 66,
566
718
  name: 'OKXChain Mainnet',
@@ -569,13 +721,17 @@ exports.viemConfig = {
569
721
  testnet: false,
570
722
  contracts: {
571
723
  multicall3: {
572
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
573
- }
574
- }
724
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
725
+ },
726
+ },
575
727
  }),
576
728
  BASE: (0, viem_1.defineChain)({
577
729
  blockExplorers: {
578
- default: { apiUrl: 'https://base.blockscout.com/', name: 'BASE Explorer', url: 'https://base.blockscout.com/' }
730
+ default: {
731
+ apiUrl: 'https://base.blockscout.com/',
732
+ name: 'BASE Explorer',
733
+ url: 'https://base.blockscout.com/',
734
+ },
579
735
  },
580
736
  id: 8453,
581
737
  name: 'Base',
@@ -584,12 +740,18 @@ exports.viemConfig = {
584
740
  testnet: false,
585
741
  contracts: {
586
742
  multicall3: {
587
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
588
- }
589
- }
743
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
744
+ },
745
+ },
590
746
  }),
591
747
  KAVA: (0, viem_1.defineChain)({
592
- blockExplorers: { default: { apiUrl: 'https://explorer.kava.io/', name: 'KAVA Explorer', url: 'https://explorer.kava.io/' } },
748
+ blockExplorers: {
749
+ default: {
750
+ apiUrl: 'https://explorer.kava.io/',
751
+ name: 'KAVA Explorer',
752
+ url: 'https://explorer.kava.io/',
753
+ },
754
+ },
593
755
  id: 2222,
594
756
  name: 'Kava EVM',
595
757
  nativeCurrency: { decimals: 18, name: 'KAVA', symbol: 'KAVA' },
@@ -597,12 +759,18 @@ exports.viemConfig = {
597
759
  testnet: false,
598
760
  contracts: {
599
761
  multicall3: {
600
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
601
- }
602
- }
762
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
763
+ },
764
+ },
603
765
  }),
604
766
  MOONBEAM: (0, viem_1.defineChain)({
605
- blockExplorers: { default: { apiUrl: 'https://moonscan.io/', name: 'MOONBEAM Explorer', url: 'https://moonscan.io/' } },
767
+ blockExplorers: {
768
+ default: {
769
+ apiUrl: 'https://moonscan.io/',
770
+ name: 'MOONBEAM Explorer',
771
+ url: 'https://moonscan.io/',
772
+ },
773
+ },
606
774
  id: 1284,
607
775
  name: 'Moonbeam',
608
776
  nativeCurrency: { decimals: 18, name: 'GLMR', symbol: 'GLMR' },
@@ -610,12 +778,18 @@ exports.viemConfig = {
610
778
  testnet: false,
611
779
  contracts: {
612
780
  multicall3: {
613
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
614
- }
615
- }
781
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
782
+ },
783
+ },
616
784
  }),
617
785
  KLAYTN: (0, viem_1.defineChain)({
618
- blockExplorers: { default: { apiUrl: 'https://scope.klaytn.com/', name: 'KLAYTN Explorer', url: 'https://scope.klaytn.com/' } },
786
+ blockExplorers: {
787
+ default: {
788
+ apiUrl: 'https://scope.klaytn.com/',
789
+ name: 'KLAYTN Explorer',
790
+ url: 'https://scope.klaytn.com/',
791
+ },
792
+ },
619
793
  id: 8217,
620
794
  name: 'Klaytn',
621
795
  nativeCurrency: { decimals: 18, name: 'Klaytn', symbol: 'KLAY' },
@@ -623,12 +797,18 @@ exports.viemConfig = {
623
797
  testnet: false,
624
798
  contracts: {
625
799
  multicall3: {
626
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
627
- }
628
- }
800
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
801
+ },
802
+ },
629
803
  }),
630
804
  LINEA: (0, viem_1.defineChain)({
631
- blockExplorers: { default: { apiUrl: 'https://lineascan.build/', name: 'LINEA Explorer', url: 'https://lineascan.build/' } },
805
+ blockExplorers: {
806
+ default: {
807
+ apiUrl: 'https://lineascan.build/',
808
+ name: 'LINEA Explorer',
809
+ url: 'https://lineascan.build/',
810
+ },
811
+ },
632
812
  id: 59144,
633
813
  name: 'Linea',
634
814
  nativeCurrency: { decimals: 18, name: 'ETH', symbol: 'ETH' },
@@ -636,12 +816,18 @@ exports.viemConfig = {
636
816
  testnet: false,
637
817
  contracts: {
638
818
  multicall3: {
639
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
640
- }
641
- }
819
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
820
+ },
821
+ },
642
822
  }),
643
823
  BLAST: (0, viem_1.defineChain)({
644
- blockExplorers: { default: { apiUrl: 'https://blastscan.io/', name: 'BLAST Explorer', url: 'https://blastscan.io/' } },
824
+ blockExplorers: {
825
+ default: {
826
+ apiUrl: 'https://blastscan.io/',
827
+ name: 'BLAST Explorer',
828
+ url: 'https://blastscan.io/',
829
+ },
830
+ },
645
831
  id: 81457,
646
832
  name: 'Blast',
647
833
  nativeCurrency: { decimals: 18, name: 'Ether', symbol: 'ETH' },
@@ -649,17 +835,17 @@ exports.viemConfig = {
649
835
  testnet: false,
650
836
  contracts: {
651
837
  multicall3: {
652
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
653
- }
654
- }
838
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
839
+ },
840
+ },
655
841
  }),
656
842
  MANTA_PACIFIC: (0, viem_1.defineChain)({
657
843
  blockExplorers: {
658
844
  default: {
659
845
  apiUrl: 'https://pacific-explorer.manta.network/',
660
846
  name: 'MANTA_PACIFIC Explorer',
661
- url: 'https://pacific-explorer.manta.network/'
662
- }
847
+ url: 'https://pacific-explorer.manta.network/',
848
+ },
663
849
  },
664
850
  id: 169,
665
851
  name: 'Manta Pacific',
@@ -668,17 +854,17 @@ exports.viemConfig = {
668
854
  testnet: false,
669
855
  contracts: {
670
856
  multicall3: {
671
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
672
- }
673
- }
857
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
858
+ },
859
+ },
674
860
  }),
675
861
  HORIZEN_EON: (0, viem_1.defineChain)({
676
862
  blockExplorers: {
677
863
  default: {
678
864
  apiUrl: 'https://eon-explorer.horizenlabs.io/',
679
865
  name: 'HORIZEN_EON Explorer',
680
- url: 'https://eon-explorer.horizenlabs.io/'
681
- }
866
+ url: 'https://eon-explorer.horizenlabs.io/',
867
+ },
682
868
  },
683
869
  id: 7332,
684
870
  name: 'Horizen EON',
@@ -687,17 +873,17 @@ exports.viemConfig = {
687
873
  testnet: false,
688
874
  contracts: {
689
875
  multicall3: {
690
- address: '0x4ea6779581bDAcd376724A52070bE89FfB74eC39'
691
- }
692
- }
876
+ address: '0x4ea6779581bDAcd376724A52070bE89FfB74eC39',
877
+ },
878
+ },
693
879
  }),
694
880
  METIS: (0, viem_1.defineChain)({
695
881
  blockExplorers: {
696
882
  default: {
697
883
  apiUrl: 'https://andromeda-explorer.metis.io/',
698
884
  name: 'METIS Explorer',
699
- url: 'https://andromeda-explorer.metis.io/'
700
- }
885
+ url: 'https://andromeda-explorer.metis.io/',
886
+ },
701
887
  },
702
888
  id: 1088,
703
889
  name: 'Metis',
@@ -706,12 +892,18 @@ exports.viemConfig = {
706
892
  testnet: false,
707
893
  contracts: {
708
894
  multicall3: {
709
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
710
- }
711
- }
895
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
896
+ },
897
+ },
712
898
  }),
713
899
  KROMA: (0, viem_1.defineChain)({
714
- blockExplorers: { default: { apiUrl: 'https://kromascan.com/', name: 'KROMA Explorer', url: 'https://kromascan.com/' } },
900
+ blockExplorers: {
901
+ default: {
902
+ apiUrl: 'https://kromascan.com/',
903
+ name: 'KROMA Explorer',
904
+ url: 'https://kromascan.com/',
905
+ },
906
+ },
715
907
  id: 255,
716
908
  name: 'Kroma',
717
909
  nativeCurrency: { decimals: 18, name: 'ETH', symbol: 'ETH' },
@@ -719,17 +911,17 @@ exports.viemConfig = {
719
911
  testnet: false,
720
912
  contracts: {
721
913
  multicall3: {
722
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
723
- }
724
- }
914
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
915
+ },
916
+ },
725
917
  }),
726
918
  OASIS: (0, viem_1.defineChain)({
727
919
  blockExplorers: {
728
920
  default: {
729
921
  apiUrl: 'https://explorer.emerald.oasis.dev/',
730
922
  name: 'OASIS Explorer',
731
- url: 'https://explorer.emerald.oasis.dev/'
732
- }
923
+ url: 'https://explorer.emerald.oasis.dev/',
924
+ },
733
925
  },
734
926
  id: 42262,
735
927
  name: 'Oasis',
@@ -738,13 +930,17 @@ exports.viemConfig = {
738
930
  testnet: false,
739
931
  contracts: {
740
932
  multicall3: {
741
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
742
- }
743
- }
933
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
934
+ },
935
+ },
744
936
  }),
745
937
  MANTLE: (0, viem_1.defineChain)({
746
938
  blockExplorers: {
747
- default: { apiUrl: 'https://explorer.mantle.xyz/', name: 'MANTLE Explorer', url: 'https://explorer.mantle.xyz/' }
939
+ default: {
940
+ apiUrl: 'https://explorer.mantle.xyz/',
941
+ name: 'MANTLE Explorer',
942
+ url: 'https://explorer.mantle.xyz/',
943
+ },
748
944
  },
749
945
  id: 5000,
750
946
  name: 'Mantle',
@@ -753,13 +949,17 @@ exports.viemConfig = {
753
949
  testnet: false,
754
950
  contracts: {
755
951
  multicall3: {
756
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
757
- }
758
- }
952
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
953
+ },
954
+ },
759
955
  }),
760
956
  SYSCOIN: (0, viem_1.defineChain)({
761
957
  blockExplorers: {
762
- default: { apiUrl: 'https://explorer.syscoin.org/', name: 'SYSCOIN Explorer', url: 'https://explorer.syscoin.org/' }
958
+ default: {
959
+ apiUrl: 'https://explorer.syscoin.org/',
960
+ name: 'SYSCOIN Explorer',
961
+ url: 'https://explorer.syscoin.org/',
962
+ },
763
963
  },
764
964
  id: 57,
765
965
  name: 'Syscoin',
@@ -768,13 +968,17 @@ exports.viemConfig = {
768
968
  testnet: false,
769
969
  contracts: {
770
970
  multicall3: {
771
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
772
- }
773
- }
971
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
972
+ },
973
+ },
774
974
  }),
775
975
  MERLIN: (0, viem_1.defineChain)({
776
976
  blockExplorers: {
777
- default: { apiUrl: 'https://scan.merlinchain.io/', name: 'MERLIN Explorer', url: 'https://scan.merlinchain.io/' }
977
+ default: {
978
+ apiUrl: 'https://scan.merlinchain.io/',
979
+ name: 'MERLIN Explorer',
980
+ url: 'https://scan.merlinchain.io/',
981
+ },
778
982
  },
779
983
  id: 4200,
780
984
  name: 'Merlin',
@@ -783,13 +987,17 @@ exports.viemConfig = {
783
987
  testnet: false,
784
988
  contracts: {
785
989
  multicall3: {
786
- address: '0xeF65be81CF435238E742487De1fc27f1940D8B26'
787
- }
788
- }
990
+ address: '0xeF65be81CF435238E742487De1fc27f1940D8B26',
991
+ },
992
+ },
789
993
  }),
790
994
  VELAS: (0, viem_1.defineChain)({
791
995
  blockExplorers: {
792
- default: { apiUrl: 'https://evmexplorer.velas.com/', name: 'VELAS Explorer', url: 'https://evmexplorer.velas.com/' }
996
+ default: {
997
+ apiUrl: 'https://evmexplorer.velas.com/',
998
+ name: 'VELAS Explorer',
999
+ url: 'https://evmexplorer.velas.com/',
1000
+ },
793
1001
  },
794
1002
  id: 106,
795
1003
  name: 'Velas',
@@ -798,13 +1006,17 @@ exports.viemConfig = {
798
1006
  testnet: false,
799
1007
  contracts: {
800
1008
  multicall3: {
801
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
802
- }
803
- }
1009
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1010
+ },
1011
+ },
804
1012
  }),
805
1013
  MODE: (0, viem_1.defineChain)({
806
1014
  blockExplorers: {
807
- default: { apiUrl: 'https://explorer.mode.network/', name: 'MODE Explorer', url: 'https://explorer.mode.network/' }
1015
+ default: {
1016
+ apiUrl: 'https://explorer.mode.network/',
1017
+ name: 'MODE Explorer',
1018
+ url: 'https://explorer.mode.network/',
1019
+ },
808
1020
  },
809
1021
  id: 34443,
810
1022
  name: 'Mode',
@@ -813,12 +1025,18 @@ exports.viemConfig = {
813
1025
  testnet: false,
814
1026
  contracts: {
815
1027
  multicall3: {
816
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
817
- }
818
- }
1028
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1029
+ },
1030
+ },
819
1031
  }),
820
1032
  BAHAMUT: (0, viem_1.defineChain)({
821
- blockExplorers: { default: { apiUrl: 'https://www.ftnscan.com/', name: 'BAHAMUT Explorer', url: 'https://www.ftnscan.com/' } },
1033
+ blockExplorers: {
1034
+ default: {
1035
+ apiUrl: 'https://www.ftnscan.com/',
1036
+ name: 'BAHAMUT Explorer',
1037
+ url: 'https://www.ftnscan.com/',
1038
+ },
1039
+ },
822
1040
  id: 5165,
823
1041
  name: 'Bahamut',
824
1042
  nativeCurrency: { decimals: 18, name: 'FTN', symbol: 'FTN' },
@@ -826,13 +1044,17 @@ exports.viemConfig = {
826
1044
  testnet: false,
827
1045
  contracts: {
828
1046
  multicall3: {
829
- address: '0x1AA0663FBA06B1D5482E7CaA675aa12fB04F4D0f'
830
- }
831
- }
1047
+ address: '0x1AA0663FBA06B1D5482E7CaA675aa12fB04F4D0f',
1048
+ },
1049
+ },
832
1050
  }),
833
1051
  PULSECHAIN: (0, viem_1.defineChain)({
834
1052
  blockExplorers: {
835
- default: { apiUrl: 'https://otter.pulsechain.com/', name: 'PULSECHAIN Explorer', url: 'https://otter.pulsechain.com/' }
1053
+ default: {
1054
+ apiUrl: 'https://otter.pulsechain.com/',
1055
+ name: 'PULSECHAIN Explorer',
1056
+ url: 'https://otter.pulsechain.com/',
1057
+ },
836
1058
  },
837
1059
  id: 369,
838
1060
  name: 'Pulsechain',
@@ -841,12 +1063,18 @@ exports.viemConfig = {
841
1063
  testnet: false,
842
1064
  contracts: {
843
1065
  multicall3: {
844
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
845
- }
846
- }
1066
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1067
+ },
1068
+ },
847
1069
  }),
848
1070
  CORE: (0, viem_1.defineChain)({
849
- blockExplorers: { default: { apiUrl: 'https://scan.coredao.org/', name: 'CORE Explorer', url: 'https://scan.coredao.org/' } },
1071
+ blockExplorers: {
1072
+ default: {
1073
+ apiUrl: 'https://scan.coredao.org/',
1074
+ name: 'CORE Explorer',
1075
+ url: 'https://scan.coredao.org/',
1076
+ },
1077
+ },
850
1078
  id: 1116,
851
1079
  name: 'CORE',
852
1080
  nativeCurrency: { decimals: 18, name: 'CORE', symbol: 'CORE' },
@@ -854,13 +1082,17 @@ exports.viemConfig = {
854
1082
  testnet: false,
855
1083
  contracts: {
856
1084
  multicall3: {
857
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
858
- }
859
- }
1085
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1086
+ },
1087
+ },
860
1088
  }),
861
1089
  ROOTSTOCK: (0, viem_1.defineChain)({
862
1090
  blockExplorers: {
863
- default: { apiUrl: 'https://explorer.rsk.co/', name: 'ROOTSTOCK Explorer', url: 'https://explorer.rsk.co/' }
1091
+ default: {
1092
+ apiUrl: 'https://explorer.rsk.co/',
1093
+ name: 'ROOTSTOCK Explorer',
1094
+ url: 'https://explorer.rsk.co/',
1095
+ },
864
1096
  },
865
1097
  id: 30,
866
1098
  name: 'Rootstock',
@@ -869,13 +1101,17 @@ exports.viemConfig = {
869
1101
  testnet: false,
870
1102
  contracts: {
871
1103
  multicall3: {
872
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
873
- }
874
- }
1104
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1105
+ },
1106
+ },
875
1107
  }),
876
1108
  ZK_SYNC: (0, viem_1.defineChain)({
877
1109
  blockExplorers: {
878
- default: { apiUrl: 'https://explorer.zksync.io/', name: 'ZK_SYNC Explorer', url: 'https://explorer.zksync.io/' }
1110
+ default: {
1111
+ apiUrl: 'https://explorer.zksync.io/',
1112
+ name: 'ZK_SYNC Explorer',
1113
+ url: 'https://explorer.zksync.io/',
1114
+ },
879
1115
  },
880
1116
  id: 324,
881
1117
  name: 'zkSync Era',
@@ -884,12 +1120,18 @@ exports.viemConfig = {
884
1120
  testnet: false,
885
1121
  contracts: {
886
1122
  multicall3: {
887
- address: '0xF9cda624FBC7e059355ce98a31693d299FACd963'
888
- }
889
- }
1123
+ address: '0xF9cda624FBC7e059355ce98a31693d299FACd963',
1124
+ },
1125
+ },
890
1126
  }),
891
1127
  SCROLL: (0, viem_1.defineChain)({
892
- blockExplorers: { default: { apiUrl: 'https://scrollscan.com/', name: 'SCROLL Explorer', url: 'https://scrollscan.com/' } },
1128
+ blockExplorers: {
1129
+ default: {
1130
+ apiUrl: 'https://scrollscan.com/',
1131
+ name: 'SCROLL Explorer',
1132
+ url: 'https://scrollscan.com/',
1133
+ },
1134
+ },
893
1135
  id: 534352,
894
1136
  name: 'Scroll',
895
1137
  nativeCurrency: { decimals: 18, name: 'ETH', symbol: 'ETH' },
@@ -897,17 +1139,17 @@ exports.viemConfig = {
897
1139
  testnet: false,
898
1140
  contracts: {
899
1141
  multicall3: {
900
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
901
- }
902
- }
1142
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1143
+ },
1144
+ },
903
1145
  }),
904
1146
  SEI: (0, viem_1.defineChain)({
905
1147
  blockExplorers: {
906
1148
  default: {
907
1149
  apiUrl: 'https://seitrace.com/?chain=pacific-1/',
908
1150
  name: 'SEI Explorer',
909
- url: 'https://seitrace.com/?chain=pacific-1/'
910
- }
1151
+ url: 'https://seitrace.com/?chain=pacific-1/',
1152
+ },
911
1153
  },
912
1154
  id: 1329,
913
1155
  name: 'Sei',
@@ -916,12 +1158,18 @@ exports.viemConfig = {
916
1158
  testnet: false,
917
1159
  contracts: {
918
1160
  multicall3: {
919
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
920
- }
921
- }
1161
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1162
+ },
1163
+ },
922
1164
  }),
923
1165
  TAIKO: (0, viem_1.defineChain)({
924
- blockExplorers: { default: { apiUrl: 'https://taikoscan.io/', name: 'TAIKO Explorer', url: 'https://taikoscan.io/' } },
1166
+ blockExplorers: {
1167
+ default: {
1168
+ apiUrl: 'https://taikoscan.io/',
1169
+ name: 'TAIKO Explorer',
1170
+ url: 'https://taikoscan.io/',
1171
+ },
1172
+ },
925
1173
  id: 167000,
926
1174
  name: 'Taiko',
927
1175
  nativeCurrency: { decimals: 18, name: 'Ether', symbol: 'ETH' },
@@ -929,17 +1177,17 @@ exports.viemConfig = {
929
1177
  testnet: false,
930
1178
  contracts: {
931
1179
  multicall3: {
932
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
933
- }
934
- }
1180
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1181
+ },
1182
+ },
935
1183
  }),
936
1184
  XLAYER: (0, viem_1.defineChain)({
937
1185
  blockExplorers: {
938
1186
  default: {
939
1187
  apiUrl: 'https://www.okx.com/ru/explorer/xlayer/',
940
1188
  name: 'XLAYER Explorer',
941
- url: 'https://www.okx.com/ru/explorer/xlayer/'
942
- }
1189
+ url: 'https://www.okx.com/ru/explorer/xlayer/',
1190
+ },
943
1191
  },
944
1192
  id: 196,
945
1193
  name: 'X Layer',
@@ -948,31 +1196,41 @@ exports.viemConfig = {
948
1196
  testnet: false,
949
1197
  contracts: {
950
1198
  multicall3: {
951
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
952
- }
953
- }
1199
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1200
+ },
1201
+ },
954
1202
  }),
955
1203
  ZETACHAIN: (0, viem_1.defineChain)({
956
1204
  blockExplorers: {
957
1205
  default: {
958
1206
  apiUrl: 'https://zetachain.blockscout.com/',
959
1207
  name: 'ZETACHAIN Explorer',
960
- url: 'https://zetachain.blockscout.com/'
961
- }
1208
+ url: 'https://zetachain.blockscout.com/',
1209
+ },
962
1210
  },
963
1211
  id: 7000,
964
1212
  name: 'Zetachain',
965
1213
  nativeCurrency: { decimals: 18, name: 'Zeta', symbol: 'ZETA' },
966
- rpcUrls: { default: { http: ['https://zetachain-evm.blockpi.network/v1/rpc/public'] } },
1214
+ rpcUrls: {
1215
+ default: {
1216
+ http: ['https://zetachain-evm.blockpi.network/v1/rpc/public'],
1217
+ },
1218
+ },
967
1219
  testnet: false,
968
1220
  contracts: {
969
1221
  multicall3: {
970
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
971
- }
972
- }
1222
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1223
+ },
1224
+ },
973
1225
  }),
974
1226
  ZK_FAIR: (0, viem_1.defineChain)({
975
- blockExplorers: { default: { apiUrl: 'https://scan.zkfair.io/', name: 'ZK_FAIR Explorer', url: 'https://scan.zkfair.io/' } },
1227
+ blockExplorers: {
1228
+ default: {
1229
+ apiUrl: 'https://scan.zkfair.io/',
1230
+ name: 'ZK_FAIR Explorer',
1231
+ url: 'https://scan.zkfair.io/',
1232
+ },
1233
+ },
976
1234
  id: 42766,
977
1235
  name: 'zkFair',
978
1236
  nativeCurrency: { decimals: 18, name: 'USDC', symbol: 'USDC' },
@@ -980,78 +1238,110 @@ exports.viemConfig = {
980
1238
  testnet: false,
981
1239
  contracts: {
982
1240
  multicall3: {
983
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
984
- }
985
- }
1241
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1242
+ },
1243
+ },
986
1244
  }),
987
1245
  // unknown Multicall3
988
1246
  ZK_LINK: (0, viem_1.defineChain)({
989
1247
  blockExplorers: {
990
- default: { apiUrl: 'https://explorer.zklink.io/', name: 'ZK_LINK Explorer', url: 'https://explorer.zklink.io/' }
1248
+ default: {
1249
+ apiUrl: 'https://explorer.zklink.io/',
1250
+ name: 'ZK_LINK Explorer',
1251
+ url: 'https://explorer.zklink.io/',
1252
+ },
991
1253
  },
992
1254
  id: 810180,
993
1255
  name: 'zkLink',
994
1256
  nativeCurrency: { decimals: 18, name: 'ETH', symbol: 'ETH' },
995
1257
  rpcUrls: { default: { http: ['https://rpc.zklink.io'] } },
996
- testnet: false
1258
+ testnet: false,
997
1259
  }),
998
1260
  THETA: (0, viem_1.defineChain)({
999
1261
  blockExplorers: {
1000
- default: { apiUrl: 'https://explorer.thetatoken.org/', name: 'THETA Explorer', url: 'https://explorer.thetatoken.org/' }
1262
+ default: {
1263
+ apiUrl: 'https://explorer.thetatoken.org/',
1264
+ name: 'THETA Explorer',
1265
+ url: 'https://explorer.thetatoken.org/',
1266
+ },
1001
1267
  },
1002
1268
  id: 361,
1003
1269
  name: 'Theta',
1004
1270
  nativeCurrency: { decimals: 18, name: 'Theta', symbol: 'THETA' },
1005
1271
  rpcUrls: { default: { http: ['https://eth-rpc-api.thetatoken.org/rpc'] } },
1006
- testnet: false
1272
+ testnet: false,
1007
1273
  }),
1008
1274
  STARKNET: (0, viem_1.defineChain)({
1009
1275
  blockExplorers: {
1010
- default: { apiUrl: 'https://starkscan.co/', name: 'STARKNET Explorer', url: 'https://starkscan.co/' }
1276
+ default: {
1277
+ apiUrl: 'https://starkscan.co/',
1278
+ name: 'STARKNET Explorer',
1279
+ url: 'https://starkscan.co/',
1280
+ },
1011
1281
  },
1012
1282
  id: NaN,
1013
1283
  name: 'starknet',
1014
1284
  nativeCurrency: { decimals: 18, name: 'STRK', symbol: 'STRK' },
1015
- rpcUrls: { default: { http: [
1285
+ rpcUrls: {
1286
+ default: {
1287
+ http: [
1016
1288
  'https://rpc.starknet.lava.build',
1017
1289
  'https://starknet-mainnet.public.blastapi.io',
1018
- 'https://data.voyager.online/'
1019
- ] } },
1020
- testnet: false
1290
+ 'https://data.voyager.online/',
1291
+ ],
1292
+ },
1293
+ },
1294
+ testnet: false,
1021
1295
  }),
1022
1296
  BITLAYER: (0, viem_1.defineChain)({
1023
- blockExplorers: { default: { apiUrl: 'https://btrscan.com/', name: 'Bitlayer Explorer', url: 'https://btrscan.com/' } },
1297
+ blockExplorers: {
1298
+ default: {
1299
+ apiUrl: 'https://btrscan.com/',
1300
+ name: 'Bitlayer Explorer',
1301
+ url: 'https://btrscan.com/',
1302
+ },
1303
+ },
1024
1304
  id: 200901,
1025
1305
  name: 'Bitlayer',
1026
1306
  nativeCurrency: { decimals: 18, name: 'Bitcoin', symbol: 'BTC' },
1027
- rpcUrls: { default: { http: [
1307
+ rpcUrls: {
1308
+ default: {
1309
+ http: [
1028
1310
  'https://rpc.bitlayer.org',
1029
1311
  'https://rpc.ankr.com/bitlayer',
1030
1312
  'https://rpc-bitlayer.rockx.com',
1031
- 'https://rpc.bitlayer-rpc.com'
1032
- ] } },
1313
+ 'https://rpc.bitlayer-rpc.com',
1314
+ ],
1315
+ },
1316
+ },
1033
1317
  testnet: false,
1034
1318
  contracts: {
1035
1319
  multicall3: {
1036
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1037
- }
1038
- }
1320
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1321
+ },
1322
+ },
1039
1323
  }),
1040
1324
  GRAVITY: (0, viem_1.defineChain)({
1041
- blockExplorers: { default: { apiUrl: 'https://gscan.xyz/', name: 'Gravity Explorer', url: 'https://gscan.xyz/' } },
1325
+ blockExplorers: {
1326
+ default: {
1327
+ apiUrl: 'https://gscan.xyz/',
1328
+ name: 'Gravity Explorer',
1329
+ url: 'https://gscan.xyz/',
1330
+ },
1331
+ },
1042
1332
  id: 1625,
1043
1333
  name: 'Gravity',
1044
1334
  nativeCurrency: { decimals: 18, name: 'Gravity', symbol: 'G' },
1045
1335
  rpcUrls: {
1046
1336
  default: {
1047
- http: ['https://mainnet.gravity-rpc.com', 'https://rpc.gravity.xyz']
1048
- }
1337
+ http: ['https://mainnet.gravity-rpc.com', 'https://rpc.gravity.xyz'],
1338
+ },
1049
1339
  },
1050
1340
  testnet: false,
1051
1341
  contracts: {
1052
1342
  multicall3: {
1053
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1054
- }
1055
- }
1056
- })
1343
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11',
1344
+ },
1345
+ },
1346
+ }),
1057
1347
  };