@merkl/contracts 0.9.29 → 0.9.31

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.
@@ -0,0 +1,1077 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "address",
10
+ name: "addressProvider_",
11
+ type: "address",
12
+ },
13
+ ],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ inputs: [],
19
+ name: "addressProvider",
20
+ outputs: [
21
+ {
22
+ internalType: "address",
23
+ name: "",
24
+ type: "address",
25
+ },
26
+ ],
27
+ stateMutability: "view",
28
+ type: "function",
29
+ },
30
+ {
31
+ inputs: [],
32
+ name: "contractType",
33
+ outputs: [
34
+ {
35
+ internalType: "bytes32",
36
+ name: "",
37
+ type: "bytes32",
38
+ },
39
+ ],
40
+ stateMutability: "view",
41
+ type: "function",
42
+ },
43
+ {
44
+ inputs: [
45
+ {
46
+ internalType: "address",
47
+ name: "creditManager",
48
+ type: "address",
49
+ },
50
+ {
51
+ components: [
52
+ {
53
+ internalType: "address",
54
+ name: "owner",
55
+ type: "address",
56
+ },
57
+ {
58
+ internalType: "bool",
59
+ name: "includeZeroDebt",
60
+ type: "bool",
61
+ },
62
+ {
63
+ internalType: "uint256",
64
+ name: "minHealthFactor",
65
+ type: "uint256",
66
+ },
67
+ {
68
+ internalType: "uint256",
69
+ name: "maxHealthFactor",
70
+ type: "uint256",
71
+ },
72
+ {
73
+ internalType: "bool",
74
+ name: "reverting",
75
+ type: "bool",
76
+ },
77
+ ],
78
+ internalType: "struct CreditAccountFilter",
79
+ name: "caFilter",
80
+ type: "tuple",
81
+ },
82
+ ],
83
+ name: "countCreditAccounts",
84
+ outputs: [
85
+ {
86
+ internalType: "uint256",
87
+ name: "",
88
+ type: "uint256",
89
+ },
90
+ ],
91
+ stateMutability: "view",
92
+ type: "function",
93
+ },
94
+ {
95
+ inputs: [
96
+ {
97
+ components: [
98
+ {
99
+ internalType: "address[]",
100
+ name: "configurators",
101
+ type: "address[]",
102
+ },
103
+ {
104
+ internalType: "address[]",
105
+ name: "creditManagers",
106
+ type: "address[]",
107
+ },
108
+ {
109
+ internalType: "address[]",
110
+ name: "pools",
111
+ type: "address[]",
112
+ },
113
+ {
114
+ internalType: "address",
115
+ name: "underlying",
116
+ type: "address",
117
+ },
118
+ ],
119
+ internalType: "struct CreditManagerFilter",
120
+ name: "cmFilter",
121
+ type: "tuple",
122
+ },
123
+ {
124
+ components: [
125
+ {
126
+ internalType: "address",
127
+ name: "owner",
128
+ type: "address",
129
+ },
130
+ {
131
+ internalType: "bool",
132
+ name: "includeZeroDebt",
133
+ type: "bool",
134
+ },
135
+ {
136
+ internalType: "uint256",
137
+ name: "minHealthFactor",
138
+ type: "uint256",
139
+ },
140
+ {
141
+ internalType: "uint256",
142
+ name: "maxHealthFactor",
143
+ type: "uint256",
144
+ },
145
+ {
146
+ internalType: "bool",
147
+ name: "reverting",
148
+ type: "bool",
149
+ },
150
+ ],
151
+ internalType: "struct CreditAccountFilter",
152
+ name: "caFilter",
153
+ type: "tuple",
154
+ },
155
+ ],
156
+ name: "countCreditAccounts",
157
+ outputs: [
158
+ {
159
+ internalType: "uint256",
160
+ name: "",
161
+ type: "uint256",
162
+ },
163
+ ],
164
+ stateMutability: "view",
165
+ type: "function",
166
+ },
167
+ {
168
+ inputs: [
169
+ {
170
+ internalType: "address",
171
+ name: "creditAccount",
172
+ type: "address",
173
+ },
174
+ ],
175
+ name: "getCreditAccountData",
176
+ outputs: [
177
+ {
178
+ components: [
179
+ {
180
+ internalType: "address",
181
+ name: "creditAccount",
182
+ type: "address",
183
+ },
184
+ {
185
+ internalType: "address",
186
+ name: "creditManager",
187
+ type: "address",
188
+ },
189
+ {
190
+ internalType: "address",
191
+ name: "creditFacade",
192
+ type: "address",
193
+ },
194
+ {
195
+ internalType: "address",
196
+ name: "underlying",
197
+ type: "address",
198
+ },
199
+ {
200
+ internalType: "address",
201
+ name: "owner",
202
+ type: "address",
203
+ },
204
+ {
205
+ internalType: "uint40",
206
+ name: "expirationDate",
207
+ type: "uint40",
208
+ },
209
+ {
210
+ internalType: "uint256",
211
+ name: "enabledTokensMask",
212
+ type: "uint256",
213
+ },
214
+ {
215
+ internalType: "uint256",
216
+ name: "debt",
217
+ type: "uint256",
218
+ },
219
+ {
220
+ internalType: "uint256",
221
+ name: "accruedInterest",
222
+ type: "uint256",
223
+ },
224
+ {
225
+ internalType: "uint256",
226
+ name: "accruedFees",
227
+ type: "uint256",
228
+ },
229
+ {
230
+ internalType: "uint256",
231
+ name: "totalDebtUSD",
232
+ type: "uint256",
233
+ },
234
+ {
235
+ internalType: "uint256",
236
+ name: "totalValueUSD",
237
+ type: "uint256",
238
+ },
239
+ {
240
+ internalType: "uint256",
241
+ name: "twvUSD",
242
+ type: "uint256",
243
+ },
244
+ {
245
+ internalType: "uint256",
246
+ name: "totalValue",
247
+ type: "uint256",
248
+ },
249
+ {
250
+ internalType: "uint256",
251
+ name: "healthFactor",
252
+ type: "uint256",
253
+ },
254
+ {
255
+ internalType: "bool",
256
+ name: "success",
257
+ type: "bool",
258
+ },
259
+ {
260
+ components: [
261
+ {
262
+ internalType: "address",
263
+ name: "token",
264
+ type: "address",
265
+ },
266
+ {
267
+ internalType: "uint256",
268
+ name: "mask",
269
+ type: "uint256",
270
+ },
271
+ {
272
+ internalType: "uint256",
273
+ name: "balance",
274
+ type: "uint256",
275
+ },
276
+ {
277
+ internalType: "uint256",
278
+ name: "quota",
279
+ type: "uint256",
280
+ },
281
+ {
282
+ internalType: "bool",
283
+ name: "success",
284
+ type: "bool",
285
+ },
286
+ ],
287
+ internalType: "struct TokenInfo[]",
288
+ name: "tokens",
289
+ type: "tuple[]",
290
+ },
291
+ ],
292
+ internalType: "struct CreditAccountData",
293
+ name: "",
294
+ type: "tuple",
295
+ },
296
+ ],
297
+ stateMutability: "view",
298
+ type: "function",
299
+ },
300
+ {
301
+ inputs: [
302
+ {
303
+ components: [
304
+ {
305
+ internalType: "address[]",
306
+ name: "configurators",
307
+ type: "address[]",
308
+ },
309
+ {
310
+ internalType: "address[]",
311
+ name: "creditManagers",
312
+ type: "address[]",
313
+ },
314
+ {
315
+ internalType: "address[]",
316
+ name: "pools",
317
+ type: "address[]",
318
+ },
319
+ {
320
+ internalType: "address",
321
+ name: "underlying",
322
+ type: "address",
323
+ },
324
+ ],
325
+ internalType: "struct CreditManagerFilter",
326
+ name: "cmFilter",
327
+ type: "tuple",
328
+ },
329
+ {
330
+ components: [
331
+ {
332
+ internalType: "address",
333
+ name: "owner",
334
+ type: "address",
335
+ },
336
+ {
337
+ internalType: "bool",
338
+ name: "includeZeroDebt",
339
+ type: "bool",
340
+ },
341
+ {
342
+ internalType: "uint256",
343
+ name: "minHealthFactor",
344
+ type: "uint256",
345
+ },
346
+ {
347
+ internalType: "uint256",
348
+ name: "maxHealthFactor",
349
+ type: "uint256",
350
+ },
351
+ {
352
+ internalType: "bool",
353
+ name: "reverting",
354
+ type: "bool",
355
+ },
356
+ ],
357
+ internalType: "struct CreditAccountFilter",
358
+ name: "caFilter",
359
+ type: "tuple",
360
+ },
361
+ {
362
+ internalType: "uint256",
363
+ name: "offset",
364
+ type: "uint256",
365
+ },
366
+ {
367
+ internalType: "uint256",
368
+ name: "limit",
369
+ type: "uint256",
370
+ },
371
+ ],
372
+ name: "getCreditAccounts",
373
+ outputs: [
374
+ {
375
+ components: [
376
+ {
377
+ internalType: "address",
378
+ name: "creditAccount",
379
+ type: "address",
380
+ },
381
+ {
382
+ internalType: "address",
383
+ name: "creditManager",
384
+ type: "address",
385
+ },
386
+ {
387
+ internalType: "address",
388
+ name: "creditFacade",
389
+ type: "address",
390
+ },
391
+ {
392
+ internalType: "address",
393
+ name: "underlying",
394
+ type: "address",
395
+ },
396
+ {
397
+ internalType: "address",
398
+ name: "owner",
399
+ type: "address",
400
+ },
401
+ {
402
+ internalType: "uint40",
403
+ name: "expirationDate",
404
+ type: "uint40",
405
+ },
406
+ {
407
+ internalType: "uint256",
408
+ name: "enabledTokensMask",
409
+ type: "uint256",
410
+ },
411
+ {
412
+ internalType: "uint256",
413
+ name: "debt",
414
+ type: "uint256",
415
+ },
416
+ {
417
+ internalType: "uint256",
418
+ name: "accruedInterest",
419
+ type: "uint256",
420
+ },
421
+ {
422
+ internalType: "uint256",
423
+ name: "accruedFees",
424
+ type: "uint256",
425
+ },
426
+ {
427
+ internalType: "uint256",
428
+ name: "totalDebtUSD",
429
+ type: "uint256",
430
+ },
431
+ {
432
+ internalType: "uint256",
433
+ name: "totalValueUSD",
434
+ type: "uint256",
435
+ },
436
+ {
437
+ internalType: "uint256",
438
+ name: "twvUSD",
439
+ type: "uint256",
440
+ },
441
+ {
442
+ internalType: "uint256",
443
+ name: "totalValue",
444
+ type: "uint256",
445
+ },
446
+ {
447
+ internalType: "uint256",
448
+ name: "healthFactor",
449
+ type: "uint256",
450
+ },
451
+ {
452
+ internalType: "bool",
453
+ name: "success",
454
+ type: "bool",
455
+ },
456
+ {
457
+ components: [
458
+ {
459
+ internalType: "address",
460
+ name: "token",
461
+ type: "address",
462
+ },
463
+ {
464
+ internalType: "uint256",
465
+ name: "mask",
466
+ type: "uint256",
467
+ },
468
+ {
469
+ internalType: "uint256",
470
+ name: "balance",
471
+ type: "uint256",
472
+ },
473
+ {
474
+ internalType: "uint256",
475
+ name: "quota",
476
+ type: "uint256",
477
+ },
478
+ {
479
+ internalType: "bool",
480
+ name: "success",
481
+ type: "bool",
482
+ },
483
+ ],
484
+ internalType: "struct TokenInfo[]",
485
+ name: "tokens",
486
+ type: "tuple[]",
487
+ },
488
+ ],
489
+ internalType: "struct CreditAccountData[]",
490
+ name: "data",
491
+ type: "tuple[]",
492
+ },
493
+ {
494
+ internalType: "uint256",
495
+ name: "nextOffset",
496
+ type: "uint256",
497
+ },
498
+ ],
499
+ stateMutability: "view",
500
+ type: "function",
501
+ },
502
+ {
503
+ inputs: [
504
+ {
505
+ internalType: "address",
506
+ name: "creditManager",
507
+ type: "address",
508
+ },
509
+ {
510
+ components: [
511
+ {
512
+ internalType: "address",
513
+ name: "owner",
514
+ type: "address",
515
+ },
516
+ {
517
+ internalType: "bool",
518
+ name: "includeZeroDebt",
519
+ type: "bool",
520
+ },
521
+ {
522
+ internalType: "uint256",
523
+ name: "minHealthFactor",
524
+ type: "uint256",
525
+ },
526
+ {
527
+ internalType: "uint256",
528
+ name: "maxHealthFactor",
529
+ type: "uint256",
530
+ },
531
+ {
532
+ internalType: "bool",
533
+ name: "reverting",
534
+ type: "bool",
535
+ },
536
+ ],
537
+ internalType: "struct CreditAccountFilter",
538
+ name: "caFilter",
539
+ type: "tuple",
540
+ },
541
+ {
542
+ internalType: "uint256",
543
+ name: "offset",
544
+ type: "uint256",
545
+ },
546
+ ],
547
+ name: "getCreditAccounts",
548
+ outputs: [
549
+ {
550
+ components: [
551
+ {
552
+ internalType: "address",
553
+ name: "creditAccount",
554
+ type: "address",
555
+ },
556
+ {
557
+ internalType: "address",
558
+ name: "creditManager",
559
+ type: "address",
560
+ },
561
+ {
562
+ internalType: "address",
563
+ name: "creditFacade",
564
+ type: "address",
565
+ },
566
+ {
567
+ internalType: "address",
568
+ name: "underlying",
569
+ type: "address",
570
+ },
571
+ {
572
+ internalType: "address",
573
+ name: "owner",
574
+ type: "address",
575
+ },
576
+ {
577
+ internalType: "uint40",
578
+ name: "expirationDate",
579
+ type: "uint40",
580
+ },
581
+ {
582
+ internalType: "uint256",
583
+ name: "enabledTokensMask",
584
+ type: "uint256",
585
+ },
586
+ {
587
+ internalType: "uint256",
588
+ name: "debt",
589
+ type: "uint256",
590
+ },
591
+ {
592
+ internalType: "uint256",
593
+ name: "accruedInterest",
594
+ type: "uint256",
595
+ },
596
+ {
597
+ internalType: "uint256",
598
+ name: "accruedFees",
599
+ type: "uint256",
600
+ },
601
+ {
602
+ internalType: "uint256",
603
+ name: "totalDebtUSD",
604
+ type: "uint256",
605
+ },
606
+ {
607
+ internalType: "uint256",
608
+ name: "totalValueUSD",
609
+ type: "uint256",
610
+ },
611
+ {
612
+ internalType: "uint256",
613
+ name: "twvUSD",
614
+ type: "uint256",
615
+ },
616
+ {
617
+ internalType: "uint256",
618
+ name: "totalValue",
619
+ type: "uint256",
620
+ },
621
+ {
622
+ internalType: "uint256",
623
+ name: "healthFactor",
624
+ type: "uint256",
625
+ },
626
+ {
627
+ internalType: "bool",
628
+ name: "success",
629
+ type: "bool",
630
+ },
631
+ {
632
+ components: [
633
+ {
634
+ internalType: "address",
635
+ name: "token",
636
+ type: "address",
637
+ },
638
+ {
639
+ internalType: "uint256",
640
+ name: "mask",
641
+ type: "uint256",
642
+ },
643
+ {
644
+ internalType: "uint256",
645
+ name: "balance",
646
+ type: "uint256",
647
+ },
648
+ {
649
+ internalType: "uint256",
650
+ name: "quota",
651
+ type: "uint256",
652
+ },
653
+ {
654
+ internalType: "bool",
655
+ name: "success",
656
+ type: "bool",
657
+ },
658
+ ],
659
+ internalType: "struct TokenInfo[]",
660
+ name: "tokens",
661
+ type: "tuple[]",
662
+ },
663
+ ],
664
+ internalType: "struct CreditAccountData[]",
665
+ name: "data",
666
+ type: "tuple[]",
667
+ },
668
+ {
669
+ internalType: "uint256",
670
+ name: "nextOffset",
671
+ type: "uint256",
672
+ },
673
+ ],
674
+ stateMutability: "view",
675
+ type: "function",
676
+ },
677
+ {
678
+ inputs: [
679
+ {
680
+ internalType: "address",
681
+ name: "creditManager",
682
+ type: "address",
683
+ },
684
+ {
685
+ components: [
686
+ {
687
+ internalType: "address",
688
+ name: "owner",
689
+ type: "address",
690
+ },
691
+ {
692
+ internalType: "bool",
693
+ name: "includeZeroDebt",
694
+ type: "bool",
695
+ },
696
+ {
697
+ internalType: "uint256",
698
+ name: "minHealthFactor",
699
+ type: "uint256",
700
+ },
701
+ {
702
+ internalType: "uint256",
703
+ name: "maxHealthFactor",
704
+ type: "uint256",
705
+ },
706
+ {
707
+ internalType: "bool",
708
+ name: "reverting",
709
+ type: "bool",
710
+ },
711
+ ],
712
+ internalType: "struct CreditAccountFilter",
713
+ name: "caFilter",
714
+ type: "tuple",
715
+ },
716
+ {
717
+ internalType: "uint256",
718
+ name: "offset",
719
+ type: "uint256",
720
+ },
721
+ {
722
+ internalType: "uint256",
723
+ name: "limit",
724
+ type: "uint256",
725
+ },
726
+ ],
727
+ name: "getCreditAccounts",
728
+ outputs: [
729
+ {
730
+ components: [
731
+ {
732
+ internalType: "address",
733
+ name: "creditAccount",
734
+ type: "address",
735
+ },
736
+ {
737
+ internalType: "address",
738
+ name: "creditManager",
739
+ type: "address",
740
+ },
741
+ {
742
+ internalType: "address",
743
+ name: "creditFacade",
744
+ type: "address",
745
+ },
746
+ {
747
+ internalType: "address",
748
+ name: "underlying",
749
+ type: "address",
750
+ },
751
+ {
752
+ internalType: "address",
753
+ name: "owner",
754
+ type: "address",
755
+ },
756
+ {
757
+ internalType: "uint40",
758
+ name: "expirationDate",
759
+ type: "uint40",
760
+ },
761
+ {
762
+ internalType: "uint256",
763
+ name: "enabledTokensMask",
764
+ type: "uint256",
765
+ },
766
+ {
767
+ internalType: "uint256",
768
+ name: "debt",
769
+ type: "uint256",
770
+ },
771
+ {
772
+ internalType: "uint256",
773
+ name: "accruedInterest",
774
+ type: "uint256",
775
+ },
776
+ {
777
+ internalType: "uint256",
778
+ name: "accruedFees",
779
+ type: "uint256",
780
+ },
781
+ {
782
+ internalType: "uint256",
783
+ name: "totalDebtUSD",
784
+ type: "uint256",
785
+ },
786
+ {
787
+ internalType: "uint256",
788
+ name: "totalValueUSD",
789
+ type: "uint256",
790
+ },
791
+ {
792
+ internalType: "uint256",
793
+ name: "twvUSD",
794
+ type: "uint256",
795
+ },
796
+ {
797
+ internalType: "uint256",
798
+ name: "totalValue",
799
+ type: "uint256",
800
+ },
801
+ {
802
+ internalType: "uint256",
803
+ name: "healthFactor",
804
+ type: "uint256",
805
+ },
806
+ {
807
+ internalType: "bool",
808
+ name: "success",
809
+ type: "bool",
810
+ },
811
+ {
812
+ components: [
813
+ {
814
+ internalType: "address",
815
+ name: "token",
816
+ type: "address",
817
+ },
818
+ {
819
+ internalType: "uint256",
820
+ name: "mask",
821
+ type: "uint256",
822
+ },
823
+ {
824
+ internalType: "uint256",
825
+ name: "balance",
826
+ type: "uint256",
827
+ },
828
+ {
829
+ internalType: "uint256",
830
+ name: "quota",
831
+ type: "uint256",
832
+ },
833
+ {
834
+ internalType: "bool",
835
+ name: "success",
836
+ type: "bool",
837
+ },
838
+ ],
839
+ internalType: "struct TokenInfo[]",
840
+ name: "tokens",
841
+ type: "tuple[]",
842
+ },
843
+ ],
844
+ internalType: "struct CreditAccountData[]",
845
+ name: "data",
846
+ type: "tuple[]",
847
+ },
848
+ {
849
+ internalType: "uint256",
850
+ name: "nextOffset",
851
+ type: "uint256",
852
+ },
853
+ ],
854
+ stateMutability: "view",
855
+ type: "function",
856
+ },
857
+ {
858
+ inputs: [
859
+ {
860
+ components: [
861
+ {
862
+ internalType: "address[]",
863
+ name: "configurators",
864
+ type: "address[]",
865
+ },
866
+ {
867
+ internalType: "address[]",
868
+ name: "creditManagers",
869
+ type: "address[]",
870
+ },
871
+ {
872
+ internalType: "address[]",
873
+ name: "pools",
874
+ type: "address[]",
875
+ },
876
+ {
877
+ internalType: "address",
878
+ name: "underlying",
879
+ type: "address",
880
+ },
881
+ ],
882
+ internalType: "struct CreditManagerFilter",
883
+ name: "cmFilter",
884
+ type: "tuple",
885
+ },
886
+ {
887
+ components: [
888
+ {
889
+ internalType: "address",
890
+ name: "owner",
891
+ type: "address",
892
+ },
893
+ {
894
+ internalType: "bool",
895
+ name: "includeZeroDebt",
896
+ type: "bool",
897
+ },
898
+ {
899
+ internalType: "uint256",
900
+ name: "minHealthFactor",
901
+ type: "uint256",
902
+ },
903
+ {
904
+ internalType: "uint256",
905
+ name: "maxHealthFactor",
906
+ type: "uint256",
907
+ },
908
+ {
909
+ internalType: "bool",
910
+ name: "reverting",
911
+ type: "bool",
912
+ },
913
+ ],
914
+ internalType: "struct CreditAccountFilter",
915
+ name: "caFilter",
916
+ type: "tuple",
917
+ },
918
+ {
919
+ internalType: "uint256",
920
+ name: "offset",
921
+ type: "uint256",
922
+ },
923
+ ],
924
+ name: "getCreditAccounts",
925
+ outputs: [
926
+ {
927
+ components: [
928
+ {
929
+ internalType: "address",
930
+ name: "creditAccount",
931
+ type: "address",
932
+ },
933
+ {
934
+ internalType: "address",
935
+ name: "creditManager",
936
+ type: "address",
937
+ },
938
+ {
939
+ internalType: "address",
940
+ name: "creditFacade",
941
+ type: "address",
942
+ },
943
+ {
944
+ internalType: "address",
945
+ name: "underlying",
946
+ type: "address",
947
+ },
948
+ {
949
+ internalType: "address",
950
+ name: "owner",
951
+ type: "address",
952
+ },
953
+ {
954
+ internalType: "uint40",
955
+ name: "expirationDate",
956
+ type: "uint40",
957
+ },
958
+ {
959
+ internalType: "uint256",
960
+ name: "enabledTokensMask",
961
+ type: "uint256",
962
+ },
963
+ {
964
+ internalType: "uint256",
965
+ name: "debt",
966
+ type: "uint256",
967
+ },
968
+ {
969
+ internalType: "uint256",
970
+ name: "accruedInterest",
971
+ type: "uint256",
972
+ },
973
+ {
974
+ internalType: "uint256",
975
+ name: "accruedFees",
976
+ type: "uint256",
977
+ },
978
+ {
979
+ internalType: "uint256",
980
+ name: "totalDebtUSD",
981
+ type: "uint256",
982
+ },
983
+ {
984
+ internalType: "uint256",
985
+ name: "totalValueUSD",
986
+ type: "uint256",
987
+ },
988
+ {
989
+ internalType: "uint256",
990
+ name: "twvUSD",
991
+ type: "uint256",
992
+ },
993
+ {
994
+ internalType: "uint256",
995
+ name: "totalValue",
996
+ type: "uint256",
997
+ },
998
+ {
999
+ internalType: "uint256",
1000
+ name: "healthFactor",
1001
+ type: "uint256",
1002
+ },
1003
+ {
1004
+ internalType: "bool",
1005
+ name: "success",
1006
+ type: "bool",
1007
+ },
1008
+ {
1009
+ components: [
1010
+ {
1011
+ internalType: "address",
1012
+ name: "token",
1013
+ type: "address",
1014
+ },
1015
+ {
1016
+ internalType: "uint256",
1017
+ name: "mask",
1018
+ type: "uint256",
1019
+ },
1020
+ {
1021
+ internalType: "uint256",
1022
+ name: "balance",
1023
+ type: "uint256",
1024
+ },
1025
+ {
1026
+ internalType: "uint256",
1027
+ name: "quota",
1028
+ type: "uint256",
1029
+ },
1030
+ {
1031
+ internalType: "bool",
1032
+ name: "success",
1033
+ type: "bool",
1034
+ },
1035
+ ],
1036
+ internalType: "struct TokenInfo[]",
1037
+ name: "tokens",
1038
+ type: "tuple[]",
1039
+ },
1040
+ ],
1041
+ internalType: "struct CreditAccountData[]",
1042
+ name: "data",
1043
+ type: "tuple[]",
1044
+ },
1045
+ {
1046
+ internalType: "uint256",
1047
+ name: "nextOffset",
1048
+ type: "uint256",
1049
+ },
1050
+ ],
1051
+ stateMutability: "view",
1052
+ type: "function",
1053
+ },
1054
+ {
1055
+ inputs: [],
1056
+ name: "version",
1057
+ outputs: [
1058
+ {
1059
+ internalType: "uint256",
1060
+ name: "",
1061
+ type: "uint256",
1062
+ },
1063
+ ],
1064
+ stateMutability: "view",
1065
+ type: "function",
1066
+ },
1067
+ ];
1068
+ export class AddressProviderGearbox__factory {
1069
+ static abi = _abi;
1070
+ static createInterface() {
1071
+ return new utils.Interface(_abi);
1072
+ }
1073
+ static connect(address, signerOrProvider) {
1074
+ return new Contract(address, _abi, signerOrProvider);
1075
+ }
1076
+ }
1077
+ //# sourceMappingURL=AddressProviderGearbox__factory.js.map