@merkl/contracts 0.1.101 → 0.1.103

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