essential-eth 0.4.5 → 0.4.8
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/lib/cjs/classes/test/Contract/ens-abi.d.ts +2 -0
- package/lib/cjs/classes/test/Contract/ens-abi.js +453 -0
- package/lib/cjs/classes/utils/clean-block.js +1 -0
- package/lib/cjs/classes/utils/encode-decode-transaction.js +5 -0
- package/lib/cjs/providers/utils/chains-info.d.ts +107 -1
- package/lib/cjs/providers/utils/chains-info.js +327 -9
- package/lib/cjs/types/Contract.types.d.ts +3 -1
- package/lib/esm/classes/test/Contract/ens-abi.d.ts +2 -0
- package/lib/esm/classes/test/Contract/ens-abi.js +435 -0
- package/lib/esm/classes/utils/clean-block.js +1 -0
- package/lib/esm/classes/utils/encode-decode-transaction.js +5 -0
- package/lib/esm/providers/utils/chains-info.d.ts +107 -1
- package/lib/esm/providers/utils/chains-info.js +327 -9
- package/lib/esm/types/Contract.types.d.ts +3 -1
- package/package.json +21 -19
- package/readme.md +11 -2
|
@@ -72,6 +72,24 @@ export default {
|
|
|
72
72
|
"23": [
|
|
73
73
|
"eladidt"
|
|
74
74
|
],
|
|
75
|
+
"24": [
|
|
76
|
+
"dthmainnet"
|
|
77
|
+
],
|
|
78
|
+
"25": [
|
|
79
|
+
"cro"
|
|
80
|
+
],
|
|
81
|
+
"26": [
|
|
82
|
+
"L1test"
|
|
83
|
+
],
|
|
84
|
+
"27": [
|
|
85
|
+
"shib"
|
|
86
|
+
],
|
|
87
|
+
"28": [
|
|
88
|
+
"Boba Rinkeby"
|
|
89
|
+
],
|
|
90
|
+
"29": [
|
|
91
|
+
"L1"
|
|
92
|
+
],
|
|
75
93
|
"30": [
|
|
76
94
|
"rsk"
|
|
77
95
|
],
|
|
@@ -84,6 +102,9 @@ export default {
|
|
|
84
102
|
"33": [
|
|
85
103
|
"GooD"
|
|
86
104
|
],
|
|
105
|
+
"34": [
|
|
106
|
+
"dth"
|
|
107
|
+
],
|
|
87
108
|
"35": [
|
|
88
109
|
"tbwg"
|
|
89
110
|
],
|
|
@@ -100,11 +121,14 @@ export default {
|
|
|
100
121
|
"kov"
|
|
101
122
|
],
|
|
102
123
|
"43": [
|
|
103
|
-
"
|
|
124
|
+
"pangolin"
|
|
104
125
|
],
|
|
105
126
|
"44": [
|
|
106
127
|
"crab"
|
|
107
128
|
],
|
|
129
|
+
"45": [
|
|
130
|
+
"pangoro"
|
|
131
|
+
],
|
|
108
132
|
"50": [
|
|
109
133
|
"xdc"
|
|
110
134
|
],
|
|
@@ -117,9 +141,15 @@ export default {
|
|
|
117
141
|
"53": [
|
|
118
142
|
"tcet"
|
|
119
143
|
],
|
|
144
|
+
"55": [
|
|
145
|
+
"ZYX"
|
|
146
|
+
],
|
|
120
147
|
"56": [
|
|
121
148
|
"bnb"
|
|
122
149
|
],
|
|
150
|
+
"57": [
|
|
151
|
+
"sys"
|
|
152
|
+
],
|
|
123
153
|
"58": [
|
|
124
154
|
"Ontology Mainnet"
|
|
125
155
|
],
|
|
@@ -156,11 +186,17 @@ export default {
|
|
|
156
186
|
"69": [
|
|
157
187
|
"okov"
|
|
158
188
|
],
|
|
189
|
+
"71": [
|
|
190
|
+
"cfxtest"
|
|
191
|
+
],
|
|
192
|
+
"74": [
|
|
193
|
+
"idchain"
|
|
194
|
+
],
|
|
159
195
|
"76": [
|
|
160
196
|
"mix"
|
|
161
197
|
],
|
|
162
198
|
"77": [
|
|
163
|
-
"
|
|
199
|
+
"spoa"
|
|
164
200
|
],
|
|
165
201
|
"78": [
|
|
166
202
|
"primuschain"
|
|
@@ -171,26 +207,50 @@ export default {
|
|
|
171
207
|
"82": [
|
|
172
208
|
"Meter"
|
|
173
209
|
],
|
|
210
|
+
"83": [
|
|
211
|
+
"MeterTest"
|
|
212
|
+
],
|
|
174
213
|
"85": [
|
|
175
214
|
"gttest"
|
|
176
215
|
],
|
|
177
216
|
"86": [
|
|
178
217
|
"gt"
|
|
179
218
|
],
|
|
219
|
+
"87": [
|
|
220
|
+
"nnw"
|
|
221
|
+
],
|
|
180
222
|
"88": [
|
|
181
223
|
"tomo"
|
|
182
224
|
],
|
|
225
|
+
"89": [
|
|
226
|
+
"tomot"
|
|
227
|
+
],
|
|
228
|
+
"90": [
|
|
229
|
+
"gar-s0"
|
|
230
|
+
],
|
|
231
|
+
"91": [
|
|
232
|
+
"gar-s1"
|
|
233
|
+
],
|
|
234
|
+
"92": [
|
|
235
|
+
"gar-s2"
|
|
236
|
+
],
|
|
237
|
+
"93": [
|
|
238
|
+
"gar-s3"
|
|
239
|
+
],
|
|
183
240
|
"95": [
|
|
184
241
|
"Kylin Testnet"
|
|
185
242
|
],
|
|
243
|
+
"96": [
|
|
244
|
+
"nsc"
|
|
245
|
+
],
|
|
186
246
|
"97": [
|
|
187
247
|
"bnbt"
|
|
188
248
|
],
|
|
189
249
|
"99": [
|
|
190
|
-
"
|
|
250
|
+
"poa"
|
|
191
251
|
],
|
|
192
252
|
"100": [
|
|
193
|
-
"
|
|
253
|
+
"gno"
|
|
194
254
|
],
|
|
195
255
|
"101": [
|
|
196
256
|
"eti"
|
|
@@ -201,6 +261,9 @@ export default {
|
|
|
201
261
|
"106": [
|
|
202
262
|
"vlx"
|
|
203
263
|
],
|
|
264
|
+
"107": [
|
|
265
|
+
"ntn"
|
|
266
|
+
],
|
|
204
267
|
"108": [
|
|
205
268
|
"TT"
|
|
206
269
|
],
|
|
@@ -213,9 +276,18 @@ export default {
|
|
|
213
276
|
"122": [
|
|
214
277
|
"fuse"
|
|
215
278
|
],
|
|
279
|
+
"123": [
|
|
280
|
+
"spark"
|
|
281
|
+
],
|
|
216
282
|
"124": [
|
|
217
283
|
"dwu"
|
|
218
284
|
],
|
|
285
|
+
"125": [
|
|
286
|
+
"oychain testnet"
|
|
287
|
+
],
|
|
288
|
+
"126": [
|
|
289
|
+
"oychain mainnet"
|
|
290
|
+
],
|
|
219
291
|
"127": [
|
|
220
292
|
"feth"
|
|
221
293
|
],
|
|
@@ -240,6 +312,18 @@ export default {
|
|
|
240
312
|
"172": [
|
|
241
313
|
"resil"
|
|
242
314
|
],
|
|
315
|
+
"186": [
|
|
316
|
+
"Seele"
|
|
317
|
+
],
|
|
318
|
+
"188": [
|
|
319
|
+
"BMC"
|
|
320
|
+
],
|
|
321
|
+
"189": [
|
|
322
|
+
"BMCT"
|
|
323
|
+
],
|
|
324
|
+
"199": [
|
|
325
|
+
"BTT"
|
|
326
|
+
],
|
|
243
327
|
"200": [
|
|
244
328
|
"aox"
|
|
245
329
|
],
|
|
@@ -264,12 +348,18 @@ export default {
|
|
|
264
348
|
"269": [
|
|
265
349
|
"hpb"
|
|
266
350
|
],
|
|
351
|
+
"288": [
|
|
352
|
+
"Boba"
|
|
353
|
+
],
|
|
267
354
|
"321": [
|
|
268
355
|
"kcs"
|
|
269
356
|
],
|
|
270
357
|
"322": [
|
|
271
358
|
"kcst"
|
|
272
359
|
],
|
|
360
|
+
"333": [
|
|
361
|
+
"w3q"
|
|
362
|
+
],
|
|
273
363
|
"336": [
|
|
274
364
|
"sdn"
|
|
275
365
|
],
|
|
@@ -300,15 +390,33 @@ export default {
|
|
|
300
390
|
"499": [
|
|
301
391
|
"rupx"
|
|
302
392
|
],
|
|
393
|
+
"555": [
|
|
394
|
+
"CLASS"
|
|
395
|
+
],
|
|
303
396
|
"558": [
|
|
304
397
|
"tao"
|
|
305
398
|
],
|
|
399
|
+
"588": [
|
|
400
|
+
"metis-stardust"
|
|
401
|
+
],
|
|
306
402
|
"595": [
|
|
307
403
|
"maca"
|
|
308
404
|
],
|
|
405
|
+
"600": [
|
|
406
|
+
"mesh-chain-testnet"
|
|
407
|
+
],
|
|
408
|
+
"666": [
|
|
409
|
+
"pixie-chain-testnet"
|
|
410
|
+
],
|
|
309
411
|
"686": [
|
|
310
412
|
"kar"
|
|
311
413
|
],
|
|
414
|
+
"707": [
|
|
415
|
+
"bcs"
|
|
416
|
+
],
|
|
417
|
+
"708": [
|
|
418
|
+
"tbcs"
|
|
419
|
+
],
|
|
312
420
|
"721": [
|
|
313
421
|
"tfeth"
|
|
314
422
|
],
|
|
@@ -327,15 +435,33 @@ export default {
|
|
|
327
435
|
"821": [
|
|
328
436
|
"tclo"
|
|
329
437
|
],
|
|
438
|
+
"880": [
|
|
439
|
+
"ambros"
|
|
440
|
+
],
|
|
330
441
|
"888": [
|
|
331
442
|
"wan"
|
|
332
443
|
],
|
|
444
|
+
"900": [
|
|
445
|
+
"gar-test-s0"
|
|
446
|
+
],
|
|
447
|
+
"901": [
|
|
448
|
+
"gar-test-s1"
|
|
449
|
+
],
|
|
450
|
+
"902": [
|
|
451
|
+
"gar-test-s2"
|
|
452
|
+
],
|
|
453
|
+
"903": [
|
|
454
|
+
"gar-test-s3"
|
|
455
|
+
],
|
|
333
456
|
"940": [
|
|
334
457
|
"tpls"
|
|
335
458
|
],
|
|
336
459
|
"977": [
|
|
337
460
|
"yeti"
|
|
338
461
|
],
|
|
462
|
+
"998": [
|
|
463
|
+
"ln"
|
|
464
|
+
],
|
|
339
465
|
"999": [
|
|
340
466
|
"twan"
|
|
341
467
|
],
|
|
@@ -360,26 +486,50 @@ export default {
|
|
|
360
486
|
"1024": [
|
|
361
487
|
"clv"
|
|
362
488
|
],
|
|
489
|
+
"1028": [
|
|
490
|
+
"tbtt"
|
|
491
|
+
],
|
|
492
|
+
"1030": [
|
|
493
|
+
"cfx"
|
|
494
|
+
],
|
|
495
|
+
"1088": [
|
|
496
|
+
"metis-andromeda"
|
|
497
|
+
],
|
|
363
498
|
"1139": [
|
|
364
499
|
"MATH"
|
|
365
500
|
],
|
|
366
501
|
"1140": [
|
|
367
502
|
"tMATH"
|
|
368
503
|
],
|
|
504
|
+
"1197": [
|
|
505
|
+
"iora"
|
|
506
|
+
],
|
|
507
|
+
"1201": [
|
|
508
|
+
"avis"
|
|
509
|
+
],
|
|
510
|
+
"1202": [
|
|
511
|
+
"wtt"
|
|
512
|
+
],
|
|
513
|
+
"1213": [
|
|
514
|
+
"popcat"
|
|
515
|
+
],
|
|
516
|
+
"1214": [
|
|
517
|
+
"enter"
|
|
518
|
+
],
|
|
519
|
+
"1280": [
|
|
520
|
+
"HO"
|
|
521
|
+
],
|
|
369
522
|
"1284": [
|
|
370
523
|
"mbeam"
|
|
371
524
|
],
|
|
372
525
|
"1285": [
|
|
373
526
|
"mriver"
|
|
374
527
|
],
|
|
375
|
-
"1286": [
|
|
376
|
-
"mrock"
|
|
377
|
-
],
|
|
378
528
|
"1287": [
|
|
379
529
|
"mbase"
|
|
380
530
|
],
|
|
381
531
|
"1288": [
|
|
382
|
-
"
|
|
532
|
+
"mrock"
|
|
383
533
|
],
|
|
384
534
|
"1618": [
|
|
385
535
|
"cate"
|
|
@@ -405,15 +555,30 @@ export default {
|
|
|
405
555
|
"2022": [
|
|
406
556
|
"edgt"
|
|
407
557
|
],
|
|
558
|
+
"2025": [
|
|
559
|
+
"rpg"
|
|
560
|
+
],
|
|
408
561
|
"2100": [
|
|
409
562
|
"eco"
|
|
410
563
|
],
|
|
411
564
|
"2101": [
|
|
412
565
|
"esp"
|
|
413
566
|
],
|
|
567
|
+
"2213": [
|
|
568
|
+
"evanesco"
|
|
569
|
+
],
|
|
414
570
|
"2559": [
|
|
415
571
|
"ktoc"
|
|
416
572
|
],
|
|
573
|
+
"3331": [
|
|
574
|
+
"zcrbeach"
|
|
575
|
+
],
|
|
576
|
+
"3333": [
|
|
577
|
+
"w3q-t"
|
|
578
|
+
],
|
|
579
|
+
"3690": [
|
|
580
|
+
"btx"
|
|
581
|
+
],
|
|
417
582
|
"4002": [
|
|
418
583
|
"tftm"
|
|
419
584
|
],
|
|
@@ -426,6 +591,9 @@ export default {
|
|
|
426
591
|
"5197": [
|
|
427
592
|
"es"
|
|
428
593
|
],
|
|
594
|
+
"5315": [
|
|
595
|
+
"UZMI"
|
|
596
|
+
],
|
|
429
597
|
"5700": [
|
|
430
598
|
"tsys"
|
|
431
599
|
],
|
|
@@ -435,6 +603,21 @@ export default {
|
|
|
435
603
|
"5869": [
|
|
436
604
|
"rbd"
|
|
437
605
|
],
|
|
606
|
+
"6626": [
|
|
607
|
+
"pixie-chain"
|
|
608
|
+
],
|
|
609
|
+
"7341": [
|
|
610
|
+
"shyft"
|
|
611
|
+
],
|
|
612
|
+
"7878": [
|
|
613
|
+
"tscas"
|
|
614
|
+
],
|
|
615
|
+
"8000": [
|
|
616
|
+
"teleport"
|
|
617
|
+
],
|
|
618
|
+
"8001": [
|
|
619
|
+
"teleport-testnet"
|
|
620
|
+
],
|
|
438
621
|
"8029": [
|
|
439
622
|
"mdgl"
|
|
440
623
|
],
|
|
@@ -453,11 +636,26 @@ export default {
|
|
|
453
636
|
"8724": [
|
|
454
637
|
"tolo"
|
|
455
638
|
],
|
|
639
|
+
"8888": [
|
|
640
|
+
"ambrostestnet"
|
|
641
|
+
],
|
|
456
642
|
"8995": [
|
|
457
643
|
"berg"
|
|
458
644
|
],
|
|
459
645
|
"9000": [
|
|
460
|
-
"evmos-
|
|
646
|
+
"evmos-testnet"
|
|
647
|
+
],
|
|
648
|
+
"9001": [
|
|
649
|
+
"evmos"
|
|
650
|
+
],
|
|
651
|
+
"9100": [
|
|
652
|
+
"GENEC"
|
|
653
|
+
],
|
|
654
|
+
"9527": [
|
|
655
|
+
"trpg"
|
|
656
|
+
],
|
|
657
|
+
"9999": [
|
|
658
|
+
"myn"
|
|
461
659
|
],
|
|
462
660
|
"10000": [
|
|
463
661
|
"smartbch"
|
|
@@ -468,12 +666,30 @@ export default {
|
|
|
468
666
|
"10101": [
|
|
469
667
|
"GEN"
|
|
470
668
|
],
|
|
669
|
+
"11111": [
|
|
670
|
+
"WAGMI"
|
|
671
|
+
],
|
|
672
|
+
"11437": [
|
|
673
|
+
"shyftt"
|
|
674
|
+
],
|
|
675
|
+
"12051": [
|
|
676
|
+
"tZERO"
|
|
677
|
+
],
|
|
678
|
+
"12052": [
|
|
679
|
+
"ZERO"
|
|
680
|
+
],
|
|
681
|
+
"13381": [
|
|
682
|
+
"Phoenix"
|
|
683
|
+
],
|
|
471
684
|
"16000": [
|
|
472
685
|
"mtt"
|
|
473
686
|
],
|
|
474
687
|
"16001": [
|
|
475
688
|
"mtttest"
|
|
476
689
|
],
|
|
690
|
+
"19845": [
|
|
691
|
+
"btcix"
|
|
692
|
+
],
|
|
477
693
|
"24484": [
|
|
478
694
|
"web"
|
|
479
695
|
],
|
|
@@ -501,6 +717,12 @@ export default {
|
|
|
501
717
|
"42220": [
|
|
502
718
|
"CELO"
|
|
503
719
|
],
|
|
720
|
+
"42261": [
|
|
721
|
+
"emerald"
|
|
722
|
+
],
|
|
723
|
+
"42262": [
|
|
724
|
+
"oasis"
|
|
725
|
+
],
|
|
504
726
|
"43110": [
|
|
505
727
|
"avaeth"
|
|
506
728
|
],
|
|
@@ -513,12 +735,51 @@ export default {
|
|
|
513
735
|
"44787": [
|
|
514
736
|
"ALFA"
|
|
515
737
|
],
|
|
738
|
+
"47805": [
|
|
739
|
+
"REI"
|
|
740
|
+
],
|
|
516
741
|
"49797": [
|
|
517
742
|
"tnrg"
|
|
518
743
|
],
|
|
744
|
+
"55555": [
|
|
745
|
+
"rei"
|
|
746
|
+
],
|
|
747
|
+
"55556": [
|
|
748
|
+
"trei"
|
|
749
|
+
],
|
|
750
|
+
"60000": [
|
|
751
|
+
"TKM-test0"
|
|
752
|
+
],
|
|
753
|
+
"60001": [
|
|
754
|
+
"TKM-test1"
|
|
755
|
+
],
|
|
756
|
+
"60002": [
|
|
757
|
+
"TKM-test2"
|
|
758
|
+
],
|
|
759
|
+
"60103": [
|
|
760
|
+
"TKM-test103"
|
|
761
|
+
],
|
|
519
762
|
"62320": [
|
|
520
763
|
"BKLV"
|
|
521
764
|
],
|
|
765
|
+
"63000": [
|
|
766
|
+
"ecs"
|
|
767
|
+
],
|
|
768
|
+
"63001": [
|
|
769
|
+
"ecs-testnet"
|
|
770
|
+
],
|
|
771
|
+
"70000": [
|
|
772
|
+
"TKM0"
|
|
773
|
+
],
|
|
774
|
+
"70001": [
|
|
775
|
+
"TKM1"
|
|
776
|
+
],
|
|
777
|
+
"70002": [
|
|
778
|
+
"TKM2"
|
|
779
|
+
],
|
|
780
|
+
"70103": [
|
|
781
|
+
"TKM103"
|
|
782
|
+
],
|
|
522
783
|
"71393": [
|
|
523
784
|
"ckb"
|
|
524
785
|
],
|
|
@@ -531,6 +792,12 @@ export default {
|
|
|
531
792
|
"80001": [
|
|
532
793
|
"maticmum"
|
|
533
794
|
],
|
|
795
|
+
"99998": [
|
|
796
|
+
"usctest"
|
|
797
|
+
],
|
|
798
|
+
"99999": [
|
|
799
|
+
"usc"
|
|
800
|
+
],
|
|
534
801
|
"100000": [
|
|
535
802
|
"qkc-r"
|
|
536
803
|
],
|
|
@@ -558,6 +825,9 @@ export default {
|
|
|
558
825
|
"100008": [
|
|
559
826
|
"qkc-s7"
|
|
560
827
|
],
|
|
828
|
+
"108801": [
|
|
829
|
+
"bro"
|
|
830
|
+
],
|
|
561
831
|
"110000": [
|
|
562
832
|
"qkc-d-r"
|
|
563
833
|
],
|
|
@@ -588,12 +858,27 @@ export default {
|
|
|
588
858
|
"200625": [
|
|
589
859
|
"aka"
|
|
590
860
|
],
|
|
861
|
+
"201018": [
|
|
862
|
+
"alaya"
|
|
863
|
+
],
|
|
864
|
+
"201030": [
|
|
865
|
+
"alayadev"
|
|
866
|
+
],
|
|
867
|
+
"210309": [
|
|
868
|
+
"platondev"
|
|
869
|
+
],
|
|
870
|
+
"210425": [
|
|
871
|
+
"platon"
|
|
872
|
+
],
|
|
591
873
|
"246529": [
|
|
592
874
|
"ats"
|
|
593
875
|
],
|
|
594
876
|
"246785": [
|
|
595
877
|
"atstau"
|
|
596
878
|
],
|
|
879
|
+
"281121": [
|
|
880
|
+
"SoChain"
|
|
881
|
+
],
|
|
597
882
|
"333888": [
|
|
598
883
|
"sparta"
|
|
599
884
|
],
|
|
@@ -603,6 +888,12 @@ export default {
|
|
|
603
888
|
"421611": [
|
|
604
889
|
"arb-rinkeby"
|
|
605
890
|
],
|
|
891
|
+
"666666": [
|
|
892
|
+
"vpioneer"
|
|
893
|
+
],
|
|
894
|
+
"888888": [
|
|
895
|
+
"vision"
|
|
896
|
+
],
|
|
606
897
|
"955305": [
|
|
607
898
|
"elv"
|
|
608
899
|
],
|
|
@@ -612,9 +903,15 @@ export default {
|
|
|
612
903
|
"1313500": [
|
|
613
904
|
"xero"
|
|
614
905
|
],
|
|
906
|
+
"1337702": [
|
|
907
|
+
"kintsugi"
|
|
908
|
+
],
|
|
615
909
|
"7762959": [
|
|
616
910
|
"music"
|
|
617
911
|
],
|
|
912
|
+
"11155111": [
|
|
913
|
+
"sep"
|
|
914
|
+
],
|
|
618
915
|
"13371337": [
|
|
619
916
|
"tpep"
|
|
620
917
|
],
|
|
@@ -636,6 +933,9 @@ export default {
|
|
|
636
933
|
"99415706": [
|
|
637
934
|
"TOYS"
|
|
638
935
|
],
|
|
936
|
+
"192837465": [
|
|
937
|
+
"GTH"
|
|
938
|
+
],
|
|
639
939
|
"245022926": [
|
|
640
940
|
"neonevm-devnet"
|
|
641
941
|
],
|
|
@@ -648,6 +948,12 @@ export default {
|
|
|
648
948
|
"311752642": [
|
|
649
949
|
"oneledger"
|
|
650
950
|
],
|
|
951
|
+
"356256156": [
|
|
952
|
+
"tGTH"
|
|
953
|
+
],
|
|
954
|
+
"486217935": [
|
|
955
|
+
"dGTH"
|
|
956
|
+
],
|
|
651
957
|
"1122334455": [
|
|
652
958
|
"ipos"
|
|
653
959
|
],
|
|
@@ -684,6 +990,9 @@ export default {
|
|
|
684
990
|
"1666700003": [
|
|
685
991
|
"hmy-b-s3"
|
|
686
992
|
],
|
|
993
|
+
"2021121117": [
|
|
994
|
+
"hop"
|
|
995
|
+
],
|
|
687
996
|
"3125659152": [
|
|
688
997
|
"pirl"
|
|
689
998
|
],
|
|
@@ -695,5 +1004,14 @@ export default {
|
|
|
695
1004
|
],
|
|
696
1005
|
"11297108109": [
|
|
697
1006
|
"palm"
|
|
1007
|
+
],
|
|
1008
|
+
"197710212030": [
|
|
1009
|
+
"ntt"
|
|
1010
|
+
],
|
|
1011
|
+
"197710212031": [
|
|
1012
|
+
"ntt-haradev"
|
|
1013
|
+
],
|
|
1014
|
+
"6022140761023": [
|
|
1015
|
+
"mole"
|
|
698
1016
|
]
|
|
699
1017
|
};
|
|
@@ -16,7 +16,9 @@ export declare type JSONABIArgument = {
|
|
|
16
16
|
type: ContractTypes;
|
|
17
17
|
}[];
|
|
18
18
|
stateMutability?: 'view' | 'nonpayable' | string;
|
|
19
|
-
type: 'function' | 'event' | 'constructor' | 'error';
|
|
19
|
+
type: 'function' | 'event' | 'constructor' | 'error' | 'fallback';
|
|
20
20
|
gas?: number;
|
|
21
|
+
constant?: boolean;
|
|
22
|
+
payable?: boolean;
|
|
21
23
|
};
|
|
22
24
|
export declare type JSONABI = JSONABIArgument[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "essential-eth",
|
|
3
3
|
"description": "Ultralight JS library for Ethereum utilities",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./lib/cjs/index.js",
|
|
@@ -26,49 +26,51 @@
|
|
|
26
26
|
"jest": "jest",
|
|
27
27
|
"build:chains-info": "npx ts-node scripts/fetch-chains-info.ts # used in getNetwork()",
|
|
28
28
|
"build:website": "sh scripts/build-website.sh",
|
|
29
|
-
"build:website:new-version": "typedoc --options typedoc/options-new-version.js"
|
|
29
|
+
"build:website:new-version": "typedoc --options typedoc/options-new-version.js",
|
|
30
|
+
"pre-commit": "sh scripts/pre-commit.sh"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
33
|
"@ethersproject/keccak256": "^5.4.0",
|
|
33
34
|
"@types/body-parser": "^1.19.1",
|
|
34
|
-
"@types/eslint": "^
|
|
35
|
+
"@types/eslint": "^8.4.1",
|
|
35
36
|
"@types/express": "^4.17.13",
|
|
36
|
-
"@types/jest": "^27.
|
|
37
|
+
"@types/jest": "^27.4.1",
|
|
37
38
|
"@types/jest-dev-server": "^5.0.0",
|
|
38
39
|
"@types/node": "^16.10.1",
|
|
39
40
|
"@types/prettier": "^2.4.0",
|
|
40
41
|
"@types/supertest": "^2.0.11",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
42
|
-
"@typescript-eslint/parser": "^5.
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
|
43
|
+
"@typescript-eslint/parser": "^5.13.0",
|
|
43
44
|
"body-parser": "^1.19.0",
|
|
44
|
-
"
|
|
45
|
-
"eslint
|
|
46
|
-
"
|
|
45
|
+
"dotenv": "^16.0.0",
|
|
46
|
+
"eslint": "^8.10.0",
|
|
47
|
+
"eslint-plugin-jest": "^26.1.1",
|
|
48
|
+
"ethers": "^5.5.4",
|
|
47
49
|
"express": "^4.17.1",
|
|
48
50
|
"husky": "^4.3.0",
|
|
49
|
-
"jest": "^27.
|
|
50
|
-
"jest-dev-server": "^6.0.
|
|
51
|
+
"jest": "^27.5.1",
|
|
52
|
+
"jest-dev-server": "^6.0.3",
|
|
51
53
|
"just-omit": "^1.2.0",
|
|
52
|
-
"lint-staged": "^
|
|
54
|
+
"lint-staged": "^12.3.4",
|
|
53
55
|
"npm-run-all": "^4.1.5",
|
|
54
|
-
"prettier": "^2.
|
|
56
|
+
"prettier": "^2.5.1",
|
|
55
57
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
56
58
|
"supertest": "^6.1.6",
|
|
57
|
-
"ts-jest": "^27.
|
|
59
|
+
"ts-jest": "^27.1.3",
|
|
58
60
|
"ts-node": "^10.2.1",
|
|
59
|
-
"typedoc": "^0.22.
|
|
60
|
-
"typescript": "^4.
|
|
61
|
-
"web3": "^1.
|
|
61
|
+
"typedoc": "^0.22.12",
|
|
62
|
+
"typescript": "^4.6.2",
|
|
63
|
+
"web3": "^1.7.1"
|
|
62
64
|
},
|
|
63
65
|
"dependencies": {
|
|
64
|
-
"@types/big.js": "^6.1.
|
|
66
|
+
"@types/big.js": "^6.1.3",
|
|
65
67
|
"big.js": "^6.1.1",
|
|
66
68
|
"isomorphic-unfetch": "^3.1.0",
|
|
67
69
|
"sha3": "^2.1.4"
|
|
68
70
|
},
|
|
69
71
|
"husky": {
|
|
70
72
|
"hooks": {
|
|
71
|
-
"pre-commit": "lint-staged &&
|
|
73
|
+
"pre-commit": "lint-staged && run-p pre-commit test build:website build:chains-info"
|
|
72
74
|
}
|
|
73
75
|
},
|
|
74
76
|
"lint-staged": {
|