@warptoad/skinny-fat-imt-js 0.0.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/src/abis.ts ADDED
@@ -0,0 +1,1313 @@
1
+ // AUTOGENERATED by scripts/genAbis.mjs — do not edit by hand.
2
+ // Regenerate with `pnpm gen:abis` after changing the contracts.
3
+
4
+ /** ABI of `SkinnyIMTReadableStorage`. */
5
+ export const skinnyStorageAbi = [
6
+ {
7
+ "inputs": [],
8
+ "name": "NotInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "treeId",
16
+ "type": "uint256"
17
+ }
18
+ ],
19
+ "name": "getSkinnyDepth",
20
+ "outputs": [
21
+ {
22
+ "internalType": "uint256",
23
+ "name": "",
24
+ "type": "uint256"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "uint256",
34
+ "name": "treeId",
35
+ "type": "uint256"
36
+ },
37
+ {
38
+ "internalType": "uint256",
39
+ "name": "firstIndex",
40
+ "type": "uint256"
41
+ },
42
+ {
43
+ "internalType": "uint256",
44
+ "name": "endIndex",
45
+ "type": "uint256"
46
+ }
47
+ ],
48
+ "name": "getSkinnyLeaves",
49
+ "outputs": [
50
+ {
51
+ "internalType": "uint256[]",
52
+ "name": "",
53
+ "type": "uint256[]"
54
+ }
55
+ ],
56
+ "stateMutability": "view",
57
+ "type": "function"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "uint256",
63
+ "name": "treeId",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "getSkinnyLeavesBaseSlot",
68
+ "outputs": [
69
+ {
70
+ "internalType": "uint256",
71
+ "name": "",
72
+ "type": "uint256"
73
+ }
74
+ ],
75
+ "stateMutability": "view",
76
+ "type": "function"
77
+ },
78
+ {
79
+ "inputs": [
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "treeId",
83
+ "type": "uint256"
84
+ }
85
+ ],
86
+ "name": "getSkinnyRoot",
87
+ "outputs": [
88
+ {
89
+ "internalType": "uint256",
90
+ "name": "",
91
+ "type": "uint256"
92
+ }
93
+ ],
94
+ "stateMutability": "view",
95
+ "type": "function"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "treeId",
102
+ "type": "uint256"
103
+ },
104
+ {
105
+ "internalType": "uint256",
106
+ "name": "firstIndex",
107
+ "type": "uint256"
108
+ },
109
+ {
110
+ "internalType": "uint256",
111
+ "name": "endIndex",
112
+ "type": "uint256"
113
+ }
114
+ ],
115
+ "name": "getSkinnySideNodes",
116
+ "outputs": [
117
+ {
118
+ "internalType": "uint256[]",
119
+ "name": "",
120
+ "type": "uint256[]"
121
+ }
122
+ ],
123
+ "stateMutability": "view",
124
+ "type": "function"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "treeId",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "name": "getSkinnySize",
135
+ "outputs": [
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "bytes4",
149
+ "name": "interfaceId",
150
+ "type": "bytes4"
151
+ }
152
+ ],
153
+ "name": "supportsInterface",
154
+ "outputs": [
155
+ {
156
+ "internalType": "bool",
157
+ "name": "",
158
+ "type": "bool"
159
+ }
160
+ ],
161
+ "stateMutability": "view",
162
+ "type": "function"
163
+ }
164
+ ] as const;
165
+
166
+ /** ABI of `SkinnyIMTReadableEvent`. */
167
+ export const skinnyEventAbi = [
168
+ {
169
+ "inputs": [],
170
+ "name": "NotInitialized",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "uint256",
177
+ "name": "treeId",
178
+ "type": "uint256"
179
+ }
180
+ ],
181
+ "name": "getSkinnyDepth",
182
+ "outputs": [
183
+ {
184
+ "internalType": "uint256",
185
+ "name": "",
186
+ "type": "uint256"
187
+ }
188
+ ],
189
+ "stateMutability": "view",
190
+ "type": "function"
191
+ },
192
+ {
193
+ "inputs": [
194
+ {
195
+ "internalType": "uint256",
196
+ "name": "treeId",
197
+ "type": "uint256"
198
+ }
199
+ ],
200
+ "name": "getSkinnyRoot",
201
+ "outputs": [
202
+ {
203
+ "internalType": "uint256",
204
+ "name": "",
205
+ "type": "uint256"
206
+ }
207
+ ],
208
+ "stateMutability": "view",
209
+ "type": "function"
210
+ },
211
+ {
212
+ "inputs": [
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "treeId",
216
+ "type": "uint256"
217
+ },
218
+ {
219
+ "internalType": "uint256",
220
+ "name": "firstIndex",
221
+ "type": "uint256"
222
+ },
223
+ {
224
+ "internalType": "uint256",
225
+ "name": "endIndex",
226
+ "type": "uint256"
227
+ }
228
+ ],
229
+ "name": "getSkinnySideNodes",
230
+ "outputs": [
231
+ {
232
+ "internalType": "uint256[]",
233
+ "name": "",
234
+ "type": "uint256[]"
235
+ }
236
+ ],
237
+ "stateMutability": "view",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "treeId",
245
+ "type": "uint256"
246
+ }
247
+ ],
248
+ "name": "getSkinnySize",
249
+ "outputs": [
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "",
253
+ "type": "uint256"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "bytes4",
263
+ "name": "interfaceId",
264
+ "type": "bytes4"
265
+ }
266
+ ],
267
+ "name": "supportsInterface",
268
+ "outputs": [
269
+ {
270
+ "internalType": "bool",
271
+ "name": "",
272
+ "type": "bool"
273
+ }
274
+ ],
275
+ "stateMutability": "view",
276
+ "type": "function"
277
+ }
278
+ ] as const;
279
+
280
+ /** ABI of `FatIMTReadableStorage`. */
281
+ export const fatStorageAbi = [
282
+ {
283
+ "inputs": [],
284
+ "name": "EndIndexOutOfRange",
285
+ "type": "error"
286
+ },
287
+ {
288
+ "inputs": [],
289
+ "name": "LevelOutOfRange",
290
+ "type": "error"
291
+ },
292
+ {
293
+ "inputs": [],
294
+ "name": "NotInitialized",
295
+ "type": "error"
296
+ },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "uint256",
301
+ "name": "treeId",
302
+ "type": "uint256"
303
+ }
304
+ ],
305
+ "name": "getFatDepth",
306
+ "outputs": [
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "",
310
+ "type": "uint256"
311
+ }
312
+ ],
313
+ "stateMutability": "view",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "uint256",
320
+ "name": "treeId",
321
+ "type": "uint256"
322
+ },
323
+ {
324
+ "internalType": "uint256",
325
+ "name": "firstIndex",
326
+ "type": "uint256"
327
+ },
328
+ {
329
+ "internalType": "uint256",
330
+ "name": "endIndex",
331
+ "type": "uint256"
332
+ }
333
+ ],
334
+ "name": "getFatLeaves",
335
+ "outputs": [
336
+ {
337
+ "internalType": "uint256[]",
338
+ "name": "",
339
+ "type": "uint256[]"
340
+ }
341
+ ],
342
+ "stateMutability": "view",
343
+ "type": "function"
344
+ },
345
+ {
346
+ "inputs": [
347
+ {
348
+ "internalType": "uint256",
349
+ "name": "treeId",
350
+ "type": "uint256"
351
+ }
352
+ ],
353
+ "name": "getFatLeavesBaseSlot",
354
+ "outputs": [
355
+ {
356
+ "internalType": "uint256",
357
+ "name": "",
358
+ "type": "uint256"
359
+ }
360
+ ],
361
+ "stateMutability": "view",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [
366
+ {
367
+ "internalType": "uint256",
368
+ "name": "treeId",
369
+ "type": "uint256"
370
+ },
371
+ {
372
+ "internalType": "uint256",
373
+ "name": "firstIndex",
374
+ "type": "uint256"
375
+ },
376
+ {
377
+ "internalType": "uint256",
378
+ "name": "endIndex",
379
+ "type": "uint256"
380
+ },
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "level",
384
+ "type": "uint256"
385
+ }
386
+ ],
387
+ "name": "getFatNodes",
388
+ "outputs": [
389
+ {
390
+ "internalType": "uint256[]",
391
+ "name": "",
392
+ "type": "uint256[]"
393
+ }
394
+ ],
395
+ "stateMutability": "view",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "inputs": [
400
+ {
401
+ "internalType": "uint256",
402
+ "name": "treeId",
403
+ "type": "uint256"
404
+ }
405
+ ],
406
+ "name": "getFatRoot",
407
+ "outputs": [
408
+ {
409
+ "internalType": "uint256",
410
+ "name": "",
411
+ "type": "uint256"
412
+ }
413
+ ],
414
+ "stateMutability": "view",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [
419
+ {
420
+ "internalType": "uint256",
421
+ "name": "treeId",
422
+ "type": "uint256"
423
+ }
424
+ ],
425
+ "name": "getFatSize",
426
+ "outputs": [
427
+ {
428
+ "internalType": "uint256",
429
+ "name": "",
430
+ "type": "uint256"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "bytes4",
440
+ "name": "interfaceId",
441
+ "type": "bytes4"
442
+ }
443
+ ],
444
+ "name": "supportsInterface",
445
+ "outputs": [
446
+ {
447
+ "internalType": "bool",
448
+ "name": "",
449
+ "type": "bool"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ }
455
+ ] as const;
456
+
457
+ /** ABI of `FatIMTReadableEvent`. */
458
+ export const fatEventAbi = [
459
+ {
460
+ "inputs": [],
461
+ "name": "EndIndexOutOfRange",
462
+ "type": "error"
463
+ },
464
+ {
465
+ "inputs": [],
466
+ "name": "LevelOutOfRange",
467
+ "type": "error"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "NotInitialized",
472
+ "type": "error"
473
+ },
474
+ {
475
+ "inputs": [
476
+ {
477
+ "internalType": "uint256",
478
+ "name": "treeId",
479
+ "type": "uint256"
480
+ }
481
+ ],
482
+ "name": "getFatDepth",
483
+ "outputs": [
484
+ {
485
+ "internalType": "uint256",
486
+ "name": "",
487
+ "type": "uint256"
488
+ }
489
+ ],
490
+ "stateMutability": "view",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [
495
+ {
496
+ "internalType": "uint256",
497
+ "name": "treeId",
498
+ "type": "uint256"
499
+ },
500
+ {
501
+ "internalType": "uint256",
502
+ "name": "firstIndex",
503
+ "type": "uint256"
504
+ },
505
+ {
506
+ "internalType": "uint256",
507
+ "name": "endIndex",
508
+ "type": "uint256"
509
+ }
510
+ ],
511
+ "name": "getFatLeaves",
512
+ "outputs": [
513
+ {
514
+ "internalType": "uint256[]",
515
+ "name": "",
516
+ "type": "uint256[]"
517
+ }
518
+ ],
519
+ "stateMutability": "view",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [
524
+ {
525
+ "internalType": "uint256",
526
+ "name": "treeId",
527
+ "type": "uint256"
528
+ },
529
+ {
530
+ "internalType": "uint256",
531
+ "name": "firstIndex",
532
+ "type": "uint256"
533
+ },
534
+ {
535
+ "internalType": "uint256",
536
+ "name": "endIndex",
537
+ "type": "uint256"
538
+ },
539
+ {
540
+ "internalType": "uint256",
541
+ "name": "level",
542
+ "type": "uint256"
543
+ }
544
+ ],
545
+ "name": "getFatNodes",
546
+ "outputs": [
547
+ {
548
+ "internalType": "uint256[]",
549
+ "name": "",
550
+ "type": "uint256[]"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [
558
+ {
559
+ "internalType": "uint256",
560
+ "name": "treeId",
561
+ "type": "uint256"
562
+ }
563
+ ],
564
+ "name": "getFatRoot",
565
+ "outputs": [
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "",
569
+ "type": "uint256"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "internalType": "uint256",
579
+ "name": "treeId",
580
+ "type": "uint256"
581
+ }
582
+ ],
583
+ "name": "getFatSize",
584
+ "outputs": [
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "",
588
+ "type": "uint256"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [
596
+ {
597
+ "internalType": "bytes4",
598
+ "name": "interfaceId",
599
+ "type": "bytes4"
600
+ }
601
+ ],
602
+ "name": "supportsInterface",
603
+ "outputs": [
604
+ {
605
+ "internalType": "bool",
606
+ "name": "",
607
+ "type": "bool"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ }
613
+ ] as const;
614
+
615
+ /** ABI of `IIMTEvents`. */
616
+ export const iimtEventsAbi = [
617
+ {
618
+ "anonymous": false,
619
+ "inputs": [
620
+ {
621
+ "indexed": true,
622
+ "internalType": "uint256",
623
+ "name": "treeId",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "indexed": true,
628
+ "internalType": "uint256",
629
+ "name": "index",
630
+ "type": "uint256"
631
+ },
632
+ {
633
+ "indexed": true,
634
+ "internalType": "uint256",
635
+ "name": "leaf",
636
+ "type": "uint256"
637
+ }
638
+ ],
639
+ "name": "NewLeaf",
640
+ "type": "event"
641
+ },
642
+ {
643
+ "anonymous": false,
644
+ "inputs": [
645
+ {
646
+ "indexed": true,
647
+ "internalType": "uint256",
648
+ "name": "treeId",
649
+ "type": "uint256"
650
+ },
651
+ {
652
+ "indexed": true,
653
+ "internalType": "uint256",
654
+ "name": "root",
655
+ "type": "uint256"
656
+ },
657
+ {
658
+ "indexed": false,
659
+ "internalType": "uint256",
660
+ "name": "size",
661
+ "type": "uint256"
662
+ }
663
+ ],
664
+ "name": "NewRoot",
665
+ "type": "event"
666
+ },
667
+ {
668
+ "anonymous": false,
669
+ "inputs": [
670
+ {
671
+ "indexed": true,
672
+ "internalType": "uint256",
673
+ "name": "treeId",
674
+ "type": "uint256"
675
+ }
676
+ ],
677
+ "name": "NewTree",
678
+ "type": "event"
679
+ },
680
+ {
681
+ "anonymous": false,
682
+ "inputs": [
683
+ {
684
+ "indexed": true,
685
+ "internalType": "uint256",
686
+ "name": "treeId",
687
+ "type": "uint256"
688
+ },
689
+ {
690
+ "indexed": true,
691
+ "internalType": "uint256",
692
+ "name": "startIndex",
693
+ "type": "uint256"
694
+ },
695
+ {
696
+ "indexed": false,
697
+ "internalType": "uint256",
698
+ "name": "nextIndex",
699
+ "type": "uint256"
700
+ },
701
+ {
702
+ "indexed": true,
703
+ "internalType": "uint256",
704
+ "name": "leaf",
705
+ "type": "uint256"
706
+ }
707
+ ],
708
+ "name": "RepeatedLeafs",
709
+ "type": "event"
710
+ },
711
+ {
712
+ "anonymous": false,
713
+ "inputs": [
714
+ {
715
+ "indexed": true,
716
+ "internalType": "uint256",
717
+ "name": "treeId",
718
+ "type": "uint256"
719
+ },
720
+ {
721
+ "indexed": true,
722
+ "internalType": "uint256",
723
+ "name": "index",
724
+ "type": "uint256"
725
+ },
726
+ {
727
+ "indexed": true,
728
+ "internalType": "uint256",
729
+ "name": "newLeaf",
730
+ "type": "uint256"
731
+ },
732
+ {
733
+ "indexed": false,
734
+ "internalType": "uint256",
735
+ "name": "oldLeaf",
736
+ "type": "uint256"
737
+ }
738
+ ],
739
+ "name": "UpdatedLeaf",
740
+ "type": "event"
741
+ }
742
+ ] as const;
743
+
744
+ /** ABI of `ISkinnyIMTReadableEvent`. */
745
+ export const iSkinnyEventAbi = [
746
+ {
747
+ "inputs": [
748
+ {
749
+ "internalType": "uint256",
750
+ "name": "treeId",
751
+ "type": "uint256"
752
+ }
753
+ ],
754
+ "name": "getSkinnyDepth",
755
+ "outputs": [
756
+ {
757
+ "internalType": "uint256",
758
+ "name": "",
759
+ "type": "uint256"
760
+ }
761
+ ],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [
767
+ {
768
+ "internalType": "uint256",
769
+ "name": "treeId",
770
+ "type": "uint256"
771
+ }
772
+ ],
773
+ "name": "getSkinnyRoot",
774
+ "outputs": [
775
+ {
776
+ "internalType": "uint256",
777
+ "name": "",
778
+ "type": "uint256"
779
+ }
780
+ ],
781
+ "stateMutability": "view",
782
+ "type": "function"
783
+ },
784
+ {
785
+ "inputs": [
786
+ {
787
+ "internalType": "uint256",
788
+ "name": "treeId",
789
+ "type": "uint256"
790
+ },
791
+ {
792
+ "internalType": "uint256",
793
+ "name": "firstIndex",
794
+ "type": "uint256"
795
+ },
796
+ {
797
+ "internalType": "uint256",
798
+ "name": "endIndex",
799
+ "type": "uint256"
800
+ }
801
+ ],
802
+ "name": "getSkinnySideNodes",
803
+ "outputs": [
804
+ {
805
+ "internalType": "uint256[]",
806
+ "name": "",
807
+ "type": "uint256[]"
808
+ }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [
815
+ {
816
+ "internalType": "uint256",
817
+ "name": "treeId",
818
+ "type": "uint256"
819
+ }
820
+ ],
821
+ "name": "getSkinnySize",
822
+ "outputs": [
823
+ {
824
+ "internalType": "uint256",
825
+ "name": "",
826
+ "type": "uint256"
827
+ }
828
+ ],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "bytes4",
836
+ "name": "interfaceId",
837
+ "type": "bytes4"
838
+ }
839
+ ],
840
+ "name": "supportsInterface",
841
+ "outputs": [
842
+ {
843
+ "internalType": "bool",
844
+ "name": "",
845
+ "type": "bool"
846
+ }
847
+ ],
848
+ "stateMutability": "view",
849
+ "type": "function"
850
+ }
851
+ ] as const;
852
+
853
+ /** ABI of `ISkinnyIMTReadableStorage`. */
854
+ export const iSkinnyStorageAbi = [
855
+ {
856
+ "inputs": [
857
+ {
858
+ "internalType": "uint256",
859
+ "name": "treeId",
860
+ "type": "uint256"
861
+ }
862
+ ],
863
+ "name": "getSkinnyDepth",
864
+ "outputs": [
865
+ {
866
+ "internalType": "uint256",
867
+ "name": "",
868
+ "type": "uint256"
869
+ }
870
+ ],
871
+ "stateMutability": "view",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "uint256",
878
+ "name": "treeId",
879
+ "type": "uint256"
880
+ },
881
+ {
882
+ "internalType": "uint256",
883
+ "name": "firstIndex",
884
+ "type": "uint256"
885
+ },
886
+ {
887
+ "internalType": "uint256",
888
+ "name": "endIndex",
889
+ "type": "uint256"
890
+ }
891
+ ],
892
+ "name": "getSkinnyLeaves",
893
+ "outputs": [
894
+ {
895
+ "internalType": "uint256[]",
896
+ "name": "",
897
+ "type": "uint256[]"
898
+ }
899
+ ],
900
+ "stateMutability": "view",
901
+ "type": "function"
902
+ },
903
+ {
904
+ "inputs": [
905
+ {
906
+ "internalType": "uint256",
907
+ "name": "treeId",
908
+ "type": "uint256"
909
+ }
910
+ ],
911
+ "name": "getSkinnyLeavesBaseSlot",
912
+ "outputs": [
913
+ {
914
+ "internalType": "uint256",
915
+ "name": "",
916
+ "type": "uint256"
917
+ }
918
+ ],
919
+ "stateMutability": "view",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "treeId",
927
+ "type": "uint256"
928
+ }
929
+ ],
930
+ "name": "getSkinnyRoot",
931
+ "outputs": [
932
+ {
933
+ "internalType": "uint256",
934
+ "name": "",
935
+ "type": "uint256"
936
+ }
937
+ ],
938
+ "stateMutability": "view",
939
+ "type": "function"
940
+ },
941
+ {
942
+ "inputs": [
943
+ {
944
+ "internalType": "uint256",
945
+ "name": "treeId",
946
+ "type": "uint256"
947
+ },
948
+ {
949
+ "internalType": "uint256",
950
+ "name": "firstIndex",
951
+ "type": "uint256"
952
+ },
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "endIndex",
956
+ "type": "uint256"
957
+ }
958
+ ],
959
+ "name": "getSkinnySideNodes",
960
+ "outputs": [
961
+ {
962
+ "internalType": "uint256[]",
963
+ "name": "",
964
+ "type": "uint256[]"
965
+ }
966
+ ],
967
+ "stateMutability": "view",
968
+ "type": "function"
969
+ },
970
+ {
971
+ "inputs": [
972
+ {
973
+ "internalType": "uint256",
974
+ "name": "treeId",
975
+ "type": "uint256"
976
+ }
977
+ ],
978
+ "name": "getSkinnySize",
979
+ "outputs": [
980
+ {
981
+ "internalType": "uint256",
982
+ "name": "",
983
+ "type": "uint256"
984
+ }
985
+ ],
986
+ "stateMutability": "view",
987
+ "type": "function"
988
+ },
989
+ {
990
+ "inputs": [
991
+ {
992
+ "internalType": "bytes4",
993
+ "name": "interfaceId",
994
+ "type": "bytes4"
995
+ }
996
+ ],
997
+ "name": "supportsInterface",
998
+ "outputs": [
999
+ {
1000
+ "internalType": "bool",
1001
+ "name": "",
1002
+ "type": "bool"
1003
+ }
1004
+ ],
1005
+ "stateMutability": "view",
1006
+ "type": "function"
1007
+ }
1008
+ ] as const;
1009
+
1010
+ /** ABI of `IFatIMTReadableEvent`. */
1011
+ export const iFatEventAbi = [
1012
+ {
1013
+ "inputs": [
1014
+ {
1015
+ "internalType": "uint256",
1016
+ "name": "treeId",
1017
+ "type": "uint256"
1018
+ }
1019
+ ],
1020
+ "name": "getFatDepth",
1021
+ "outputs": [
1022
+ {
1023
+ "internalType": "uint256",
1024
+ "name": "",
1025
+ "type": "uint256"
1026
+ }
1027
+ ],
1028
+ "stateMutability": "view",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [
1033
+ {
1034
+ "internalType": "uint256",
1035
+ "name": "treeId",
1036
+ "type": "uint256"
1037
+ },
1038
+ {
1039
+ "internalType": "uint256",
1040
+ "name": "firstIndex",
1041
+ "type": "uint256"
1042
+ },
1043
+ {
1044
+ "internalType": "uint256",
1045
+ "name": "endIndex",
1046
+ "type": "uint256"
1047
+ }
1048
+ ],
1049
+ "name": "getFatLeaves",
1050
+ "outputs": [
1051
+ {
1052
+ "internalType": "uint256[]",
1053
+ "name": "",
1054
+ "type": "uint256[]"
1055
+ }
1056
+ ],
1057
+ "stateMutability": "view",
1058
+ "type": "function"
1059
+ },
1060
+ {
1061
+ "inputs": [
1062
+ {
1063
+ "internalType": "uint256",
1064
+ "name": "treeId",
1065
+ "type": "uint256"
1066
+ },
1067
+ {
1068
+ "internalType": "uint256",
1069
+ "name": "firstIndex",
1070
+ "type": "uint256"
1071
+ },
1072
+ {
1073
+ "internalType": "uint256",
1074
+ "name": "endIndex",
1075
+ "type": "uint256"
1076
+ },
1077
+ {
1078
+ "internalType": "uint256",
1079
+ "name": "level",
1080
+ "type": "uint256"
1081
+ }
1082
+ ],
1083
+ "name": "getFatNodes",
1084
+ "outputs": [
1085
+ {
1086
+ "internalType": "uint256[]",
1087
+ "name": "",
1088
+ "type": "uint256[]"
1089
+ }
1090
+ ],
1091
+ "stateMutability": "view",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [
1096
+ {
1097
+ "internalType": "uint256",
1098
+ "name": "treeId",
1099
+ "type": "uint256"
1100
+ }
1101
+ ],
1102
+ "name": "getFatRoot",
1103
+ "outputs": [
1104
+ {
1105
+ "internalType": "uint256",
1106
+ "name": "",
1107
+ "type": "uint256"
1108
+ }
1109
+ ],
1110
+ "stateMutability": "view",
1111
+ "type": "function"
1112
+ },
1113
+ {
1114
+ "inputs": [
1115
+ {
1116
+ "internalType": "uint256",
1117
+ "name": "treeId",
1118
+ "type": "uint256"
1119
+ }
1120
+ ],
1121
+ "name": "getFatSize",
1122
+ "outputs": [
1123
+ {
1124
+ "internalType": "uint256",
1125
+ "name": "",
1126
+ "type": "uint256"
1127
+ }
1128
+ ],
1129
+ "stateMutability": "view",
1130
+ "type": "function"
1131
+ },
1132
+ {
1133
+ "inputs": [
1134
+ {
1135
+ "internalType": "bytes4",
1136
+ "name": "interfaceId",
1137
+ "type": "bytes4"
1138
+ }
1139
+ ],
1140
+ "name": "supportsInterface",
1141
+ "outputs": [
1142
+ {
1143
+ "internalType": "bool",
1144
+ "name": "",
1145
+ "type": "bool"
1146
+ }
1147
+ ],
1148
+ "stateMutability": "view",
1149
+ "type": "function"
1150
+ }
1151
+ ] as const;
1152
+
1153
+ /** ABI of `IFatIMTReadableStorage`. */
1154
+ export const iFatStorageAbi = [
1155
+ {
1156
+ "inputs": [
1157
+ {
1158
+ "internalType": "uint256",
1159
+ "name": "treeId",
1160
+ "type": "uint256"
1161
+ }
1162
+ ],
1163
+ "name": "getFatDepth",
1164
+ "outputs": [
1165
+ {
1166
+ "internalType": "uint256",
1167
+ "name": "",
1168
+ "type": "uint256"
1169
+ }
1170
+ ],
1171
+ "stateMutability": "view",
1172
+ "type": "function"
1173
+ },
1174
+ {
1175
+ "inputs": [
1176
+ {
1177
+ "internalType": "uint256",
1178
+ "name": "treeId",
1179
+ "type": "uint256"
1180
+ },
1181
+ {
1182
+ "internalType": "uint256",
1183
+ "name": "firstIndex",
1184
+ "type": "uint256"
1185
+ },
1186
+ {
1187
+ "internalType": "uint256",
1188
+ "name": "endIndex",
1189
+ "type": "uint256"
1190
+ }
1191
+ ],
1192
+ "name": "getFatLeaves",
1193
+ "outputs": [
1194
+ {
1195
+ "internalType": "uint256[]",
1196
+ "name": "",
1197
+ "type": "uint256[]"
1198
+ }
1199
+ ],
1200
+ "stateMutability": "view",
1201
+ "type": "function"
1202
+ },
1203
+ {
1204
+ "inputs": [
1205
+ {
1206
+ "internalType": "uint256",
1207
+ "name": "treeId",
1208
+ "type": "uint256"
1209
+ }
1210
+ ],
1211
+ "name": "getFatLeavesBaseSlot",
1212
+ "outputs": [
1213
+ {
1214
+ "internalType": "uint256",
1215
+ "name": "",
1216
+ "type": "uint256"
1217
+ }
1218
+ ],
1219
+ "stateMutability": "view",
1220
+ "type": "function"
1221
+ },
1222
+ {
1223
+ "inputs": [
1224
+ {
1225
+ "internalType": "uint256",
1226
+ "name": "treeId",
1227
+ "type": "uint256"
1228
+ },
1229
+ {
1230
+ "internalType": "uint256",
1231
+ "name": "firstIndex",
1232
+ "type": "uint256"
1233
+ },
1234
+ {
1235
+ "internalType": "uint256",
1236
+ "name": "endIndex",
1237
+ "type": "uint256"
1238
+ },
1239
+ {
1240
+ "internalType": "uint256",
1241
+ "name": "level",
1242
+ "type": "uint256"
1243
+ }
1244
+ ],
1245
+ "name": "getFatNodes",
1246
+ "outputs": [
1247
+ {
1248
+ "internalType": "uint256[]",
1249
+ "name": "",
1250
+ "type": "uint256[]"
1251
+ }
1252
+ ],
1253
+ "stateMutability": "view",
1254
+ "type": "function"
1255
+ },
1256
+ {
1257
+ "inputs": [
1258
+ {
1259
+ "internalType": "uint256",
1260
+ "name": "treeId",
1261
+ "type": "uint256"
1262
+ }
1263
+ ],
1264
+ "name": "getFatRoot",
1265
+ "outputs": [
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "",
1269
+ "type": "uint256"
1270
+ }
1271
+ ],
1272
+ "stateMutability": "view",
1273
+ "type": "function"
1274
+ },
1275
+ {
1276
+ "inputs": [
1277
+ {
1278
+ "internalType": "uint256",
1279
+ "name": "treeId",
1280
+ "type": "uint256"
1281
+ }
1282
+ ],
1283
+ "name": "getFatSize",
1284
+ "outputs": [
1285
+ {
1286
+ "internalType": "uint256",
1287
+ "name": "",
1288
+ "type": "uint256"
1289
+ }
1290
+ ],
1291
+ "stateMutability": "view",
1292
+ "type": "function"
1293
+ },
1294
+ {
1295
+ "inputs": [
1296
+ {
1297
+ "internalType": "bytes4",
1298
+ "name": "interfaceId",
1299
+ "type": "bytes4"
1300
+ }
1301
+ ],
1302
+ "name": "supportsInterface",
1303
+ "outputs": [
1304
+ {
1305
+ "internalType": "bool",
1306
+ "name": "",
1307
+ "type": "bool"
1308
+ }
1309
+ ],
1310
+ "stateMutability": "view",
1311
+ "type": "function"
1312
+ }
1313
+ ] as const;