@merkl/contracts 0.11.10 → 0.11.11

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 (37) hide show
  1. package/dist/src/BorrowerOperationGravita.d.ts +563 -0
  2. package/dist/src/BorrowerOperationGravita.js +2 -0
  3. package/dist/src/BorrowerOperationGravita.js.map +1 -0
  4. package/dist/src/BorrowerOperationsLiquity.d.ts +893 -0
  5. package/dist/src/BorrowerOperationsLiquity.js +2 -0
  6. package/dist/src/BorrowerOperationsLiquity.js.map +1 -0
  7. package/dist/src/GravitaStability.d.ts +801 -0
  8. package/dist/src/GravitaStability.js +2 -0
  9. package/dist/src/GravitaStability.js.map +1 -0
  10. package/dist/src/PancakeSwapv3Pool.d.ts +810 -0
  11. package/dist/src/PancakeSwapv3Pool.js +2 -0
  12. package/dist/src/PancakeSwapv3Pool.js.map +1 -0
  13. package/dist/src/VesselManager.d.ts +1227 -0
  14. package/dist/src/VesselManager.js +2 -0
  15. package/dist/src/VesselManager.js.map +1 -0
  16. package/dist/src/factories/BorrowerOperationGravita__factory.d.ts +600 -0
  17. package/dist/src/factories/BorrowerOperationGravita__factory.js +777 -0
  18. package/dist/src/factories/BorrowerOperationGravita__factory.js.map +1 -0
  19. package/dist/src/factories/BorrowerOperationsLiquity__factory.d.ts +1092 -0
  20. package/dist/src/factories/BorrowerOperationsLiquity__factory.js +1405 -0
  21. package/dist/src/factories/BorrowerOperationsLiquity__factory.js.map +1 -0
  22. package/dist/src/factories/GravitaStability__factory.d.ts +932 -0
  23. package/dist/src/factories/GravitaStability__factory.js +1214 -0
  24. package/dist/src/factories/GravitaStability__factory.js.map +1 -0
  25. package/dist/src/factories/PancakeSwapv3Pool__factory.d.ts +821 -0
  26. package/dist/src/factories/PancakeSwapv3Pool__factory.js +1053 -0
  27. package/dist/src/factories/PancakeSwapv3Pool__factory.js.map +1 -0
  28. package/dist/src/factories/VesselManager__factory.d.ts +1539 -0
  29. package/dist/src/factories/VesselManager__factory.js +2015 -0
  30. package/dist/src/factories/VesselManager__factory.js.map +1 -0
  31. package/dist/src/factories/index.d.ts +5 -0
  32. package/dist/src/factories/index.js +5 -0
  33. package/dist/src/factories/index.js.map +1 -1
  34. package/dist/src/index.d.ts +677 -667
  35. package/dist/src/index.js +677 -667
  36. package/dist/src/index.js.map +1 -1
  37. package/package.json +1 -1
@@ -0,0 +1,1405 @@
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: "contract IAddressesRegistry",
10
+ name: "_addressesRegistry",
11
+ type: "address",
12
+ },
13
+ ],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ inputs: [],
19
+ name: "AnnualManagementFeeTooHigh",
20
+ type: "error",
21
+ },
22
+ {
23
+ inputs: [],
24
+ name: "BatchInterestRateChangePeriodNotPassed",
25
+ type: "error",
26
+ },
27
+ {
28
+ inputs: [],
29
+ name: "BatchManagerExists",
30
+ type: "error",
31
+ },
32
+ {
33
+ inputs: [],
34
+ name: "BatchManagerNotNew",
35
+ type: "error",
36
+ },
37
+ {
38
+ inputs: [],
39
+ name: "BatchSharesRatioTooLow",
40
+ type: "error",
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: "CallerNotPriceFeed",
45
+ type: "error",
46
+ },
47
+ {
48
+ inputs: [],
49
+ name: "CallerNotTroveManager",
50
+ type: "error",
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: "CollWithdrawalTooHigh",
55
+ type: "error",
56
+ },
57
+ {
58
+ inputs: [],
59
+ name: "DebtBelowMin",
60
+ type: "error",
61
+ },
62
+ {
63
+ inputs: [],
64
+ name: "DelegateInterestRateChangePeriodNotPassed",
65
+ type: "error",
66
+ },
67
+ {
68
+ inputs: [],
69
+ name: "EmptyManager",
70
+ type: "error",
71
+ },
72
+ {
73
+ inputs: [],
74
+ name: "ICRBelowMCR",
75
+ type: "error",
76
+ },
77
+ {
78
+ inputs: [],
79
+ name: "ICRBelowMCRPlusBCR",
80
+ type: "error",
81
+ },
82
+ {
83
+ inputs: [],
84
+ name: "InterestNotInRange",
85
+ type: "error",
86
+ },
87
+ {
88
+ inputs: [],
89
+ name: "InterestRateNotNew",
90
+ type: "error",
91
+ },
92
+ {
93
+ inputs: [],
94
+ name: "InterestRateTooHigh",
95
+ type: "error",
96
+ },
97
+ {
98
+ inputs: [],
99
+ name: "InterestRateTooLow",
100
+ type: "error",
101
+ },
102
+ {
103
+ inputs: [],
104
+ name: "InvalidInterestBatchManager",
105
+ type: "error",
106
+ },
107
+ {
108
+ inputs: [],
109
+ name: "IsShutDown",
110
+ type: "error",
111
+ },
112
+ {
113
+ inputs: [],
114
+ name: "MinGeMax",
115
+ type: "error",
116
+ },
117
+ {
118
+ inputs: [],
119
+ name: "MinInterestRateChangePeriodTooLow",
120
+ type: "error",
121
+ },
122
+ {
123
+ inputs: [],
124
+ name: "NewFeeNotLower",
125
+ type: "error",
126
+ },
127
+ {
128
+ inputs: [],
129
+ name: "NewOracleFailureDetected",
130
+ type: "error",
131
+ },
132
+ {
133
+ inputs: [],
134
+ name: "NotBorrower",
135
+ type: "error",
136
+ },
137
+ {
138
+ inputs: [],
139
+ name: "NotEnoughBoldBalance",
140
+ type: "error",
141
+ },
142
+ {
143
+ inputs: [],
144
+ name: "NotOwnerNorAddManager",
145
+ type: "error",
146
+ },
147
+ {
148
+ inputs: [],
149
+ name: "NotOwnerNorInterestManager",
150
+ type: "error",
151
+ },
152
+ {
153
+ inputs: [],
154
+ name: "NotOwnerNorRemoveManager",
155
+ type: "error",
156
+ },
157
+ {
158
+ inputs: [],
159
+ name: "RepaymentNotMatchingCollWithdrawal",
160
+ type: "error",
161
+ },
162
+ {
163
+ inputs: [],
164
+ name: "TCRBelowCCR",
165
+ type: "error",
166
+ },
167
+ {
168
+ inputs: [],
169
+ name: "TCRNotBelowSCR",
170
+ type: "error",
171
+ },
172
+ {
173
+ inputs: [],
174
+ name: "TroveExists",
175
+ type: "error",
176
+ },
177
+ {
178
+ inputs: [],
179
+ name: "TroveInBatch",
180
+ type: "error",
181
+ },
182
+ {
183
+ inputs: [],
184
+ name: "TroveNotActive",
185
+ type: "error",
186
+ },
187
+ {
188
+ inputs: [],
189
+ name: "TroveNotInBatch",
190
+ type: "error",
191
+ },
192
+ {
193
+ inputs: [],
194
+ name: "TroveNotOpen",
195
+ type: "error",
196
+ },
197
+ {
198
+ inputs: [],
199
+ name: "TroveNotZombie",
200
+ type: "error",
201
+ },
202
+ {
203
+ inputs: [],
204
+ name: "TroveWithZeroDebt",
205
+ type: "error",
206
+ },
207
+ {
208
+ inputs: [],
209
+ name: "UpfrontFeeTooHigh",
210
+ type: "error",
211
+ },
212
+ {
213
+ inputs: [],
214
+ name: "ZeroAdjustment",
215
+ type: "error",
216
+ },
217
+ {
218
+ anonymous: false,
219
+ inputs: [
220
+ {
221
+ indexed: false,
222
+ internalType: "address",
223
+ name: "_newActivePoolAddress",
224
+ type: "address",
225
+ },
226
+ ],
227
+ name: "ActivePoolAddressChanged",
228
+ type: "event",
229
+ },
230
+ {
231
+ anonymous: false,
232
+ inputs: [
233
+ {
234
+ indexed: true,
235
+ internalType: "uint256",
236
+ name: "_troveId",
237
+ type: "uint256",
238
+ },
239
+ {
240
+ indexed: false,
241
+ internalType: "address",
242
+ name: "_newAddManager",
243
+ type: "address",
244
+ },
245
+ ],
246
+ name: "AddManagerUpdated",
247
+ type: "event",
248
+ },
249
+ {
250
+ anonymous: false,
251
+ inputs: [
252
+ {
253
+ indexed: false,
254
+ internalType: "address",
255
+ name: "_boldTokenAddress",
256
+ type: "address",
257
+ },
258
+ ],
259
+ name: "BoldTokenAddressChanged",
260
+ type: "event",
261
+ },
262
+ {
263
+ anonymous: false,
264
+ inputs: [
265
+ {
266
+ indexed: false,
267
+ internalType: "address",
268
+ name: "_collSurplusPoolAddress",
269
+ type: "address",
270
+ },
271
+ ],
272
+ name: "CollSurplusPoolAddressChanged",
273
+ type: "event",
274
+ },
275
+ {
276
+ anonymous: false,
277
+ inputs: [
278
+ {
279
+ indexed: false,
280
+ internalType: "address",
281
+ name: "_newDefaultPoolAddress",
282
+ type: "address",
283
+ },
284
+ ],
285
+ name: "DefaultPoolAddressChanged",
286
+ type: "event",
287
+ },
288
+ {
289
+ anonymous: false,
290
+ inputs: [
291
+ {
292
+ indexed: false,
293
+ internalType: "address",
294
+ name: "_gasPoolAddress",
295
+ type: "address",
296
+ },
297
+ ],
298
+ name: "GasPoolAddressChanged",
299
+ type: "event",
300
+ },
301
+ {
302
+ anonymous: false,
303
+ inputs: [
304
+ {
305
+ indexed: false,
306
+ internalType: "address",
307
+ name: "_newPriceFeedAddress",
308
+ type: "address",
309
+ },
310
+ ],
311
+ name: "PriceFeedAddressChanged",
312
+ type: "event",
313
+ },
314
+ {
315
+ anonymous: false,
316
+ inputs: [
317
+ {
318
+ indexed: true,
319
+ internalType: "uint256",
320
+ name: "_troveId",
321
+ type: "uint256",
322
+ },
323
+ {
324
+ indexed: false,
325
+ internalType: "address",
326
+ name: "_newRemoveManager",
327
+ type: "address",
328
+ },
329
+ {
330
+ indexed: false,
331
+ internalType: "address",
332
+ name: "_newReceiver",
333
+ type: "address",
334
+ },
335
+ ],
336
+ name: "RemoveManagerAndReceiverUpdated",
337
+ type: "event",
338
+ },
339
+ {
340
+ anonymous: false,
341
+ inputs: [
342
+ {
343
+ indexed: false,
344
+ internalType: "uint256",
345
+ name: "_tcr",
346
+ type: "uint256",
347
+ },
348
+ ],
349
+ name: "ShutDown",
350
+ type: "event",
351
+ },
352
+ {
353
+ anonymous: false,
354
+ inputs: [
355
+ {
356
+ indexed: false,
357
+ internalType: "address",
358
+ name: "_sortedTrovesAddress",
359
+ type: "address",
360
+ },
361
+ ],
362
+ name: "SortedTrovesAddressChanged",
363
+ type: "event",
364
+ },
365
+ {
366
+ anonymous: false,
367
+ inputs: [
368
+ {
369
+ indexed: false,
370
+ internalType: "address",
371
+ name: "_newTroveManagerAddress",
372
+ type: "address",
373
+ },
374
+ ],
375
+ name: "TroveManagerAddressChanged",
376
+ type: "event",
377
+ },
378
+ {
379
+ anonymous: false,
380
+ inputs: [
381
+ {
382
+ indexed: false,
383
+ internalType: "address",
384
+ name: "_newTroveNFTAddress",
385
+ type: "address",
386
+ },
387
+ ],
388
+ name: "TroveNFTAddressChanged",
389
+ type: "event",
390
+ },
391
+ {
392
+ inputs: [],
393
+ name: "BCR",
394
+ outputs: [
395
+ {
396
+ internalType: "uint256",
397
+ name: "",
398
+ type: "uint256",
399
+ },
400
+ ],
401
+ stateMutability: "view",
402
+ type: "function",
403
+ },
404
+ {
405
+ inputs: [],
406
+ name: "CCR",
407
+ outputs: [
408
+ {
409
+ internalType: "uint256",
410
+ name: "",
411
+ type: "uint256",
412
+ },
413
+ ],
414
+ stateMutability: "view",
415
+ type: "function",
416
+ },
417
+ {
418
+ inputs: [],
419
+ name: "MCR",
420
+ outputs: [
421
+ {
422
+ internalType: "uint256",
423
+ name: "",
424
+ type: "uint256",
425
+ },
426
+ ],
427
+ stateMutability: "view",
428
+ type: "function",
429
+ },
430
+ {
431
+ inputs: [],
432
+ name: "SCR",
433
+ outputs: [
434
+ {
435
+ internalType: "uint256",
436
+ name: "",
437
+ type: "uint256",
438
+ },
439
+ ],
440
+ stateMutability: "view",
441
+ type: "function",
442
+ },
443
+ {
444
+ inputs: [],
445
+ name: "activePool",
446
+ outputs: [
447
+ {
448
+ internalType: "contract IActivePool",
449
+ name: "",
450
+ type: "address",
451
+ },
452
+ ],
453
+ stateMutability: "view",
454
+ type: "function",
455
+ },
456
+ {
457
+ inputs: [
458
+ {
459
+ internalType: "uint256",
460
+ name: "_troveId",
461
+ type: "uint256",
462
+ },
463
+ {
464
+ internalType: "uint256",
465
+ name: "_collAmount",
466
+ type: "uint256",
467
+ },
468
+ ],
469
+ name: "addColl",
470
+ outputs: [],
471
+ stateMutability: "nonpayable",
472
+ type: "function",
473
+ },
474
+ {
475
+ inputs: [
476
+ {
477
+ internalType: "uint256",
478
+ name: "",
479
+ type: "uint256",
480
+ },
481
+ ],
482
+ name: "addManagerOf",
483
+ outputs: [
484
+ {
485
+ internalType: "address",
486
+ name: "",
487
+ type: "address",
488
+ },
489
+ ],
490
+ stateMutability: "view",
491
+ type: "function",
492
+ },
493
+ {
494
+ inputs: [
495
+ {
496
+ internalType: "uint256",
497
+ name: "_troveId",
498
+ type: "uint256",
499
+ },
500
+ {
501
+ internalType: "uint256",
502
+ name: "_collChange",
503
+ type: "uint256",
504
+ },
505
+ {
506
+ internalType: "bool",
507
+ name: "_isCollIncrease",
508
+ type: "bool",
509
+ },
510
+ {
511
+ internalType: "uint256",
512
+ name: "_boldChange",
513
+ type: "uint256",
514
+ },
515
+ {
516
+ internalType: "bool",
517
+ name: "_isDebtIncrease",
518
+ type: "bool",
519
+ },
520
+ {
521
+ internalType: "uint256",
522
+ name: "_maxUpfrontFee",
523
+ type: "uint256",
524
+ },
525
+ ],
526
+ name: "adjustTrove",
527
+ outputs: [],
528
+ stateMutability: "nonpayable",
529
+ type: "function",
530
+ },
531
+ {
532
+ inputs: [
533
+ {
534
+ internalType: "uint256",
535
+ name: "_troveId",
536
+ type: "uint256",
537
+ },
538
+ {
539
+ internalType: "uint256",
540
+ name: "_newAnnualInterestRate",
541
+ type: "uint256",
542
+ },
543
+ {
544
+ internalType: "uint256",
545
+ name: "_upperHint",
546
+ type: "uint256",
547
+ },
548
+ {
549
+ internalType: "uint256",
550
+ name: "_lowerHint",
551
+ type: "uint256",
552
+ },
553
+ {
554
+ internalType: "uint256",
555
+ name: "_maxUpfrontFee",
556
+ type: "uint256",
557
+ },
558
+ ],
559
+ name: "adjustTroveInterestRate",
560
+ outputs: [],
561
+ stateMutability: "nonpayable",
562
+ type: "function",
563
+ },
564
+ {
565
+ inputs: [
566
+ {
567
+ internalType: "uint256",
568
+ name: "_troveId",
569
+ type: "uint256",
570
+ },
571
+ {
572
+ internalType: "uint256",
573
+ name: "_collChange",
574
+ type: "uint256",
575
+ },
576
+ {
577
+ internalType: "bool",
578
+ name: "_isCollIncrease",
579
+ type: "bool",
580
+ },
581
+ {
582
+ internalType: "uint256",
583
+ name: "_boldChange",
584
+ type: "uint256",
585
+ },
586
+ {
587
+ internalType: "bool",
588
+ name: "_isDebtIncrease",
589
+ type: "bool",
590
+ },
591
+ {
592
+ internalType: "uint256",
593
+ name: "_upperHint",
594
+ type: "uint256",
595
+ },
596
+ {
597
+ internalType: "uint256",
598
+ name: "_lowerHint",
599
+ type: "uint256",
600
+ },
601
+ {
602
+ internalType: "uint256",
603
+ name: "_maxUpfrontFee",
604
+ type: "uint256",
605
+ },
606
+ ],
607
+ name: "adjustZombieTrove",
608
+ outputs: [],
609
+ stateMutability: "nonpayable",
610
+ type: "function",
611
+ },
612
+ {
613
+ inputs: [
614
+ {
615
+ internalType: "uint256",
616
+ name: "_troveId",
617
+ type: "uint256",
618
+ },
619
+ {
620
+ internalType: "uint256",
621
+ name: "_lowerHint",
622
+ type: "uint256",
623
+ },
624
+ {
625
+ internalType: "uint256",
626
+ name: "_upperHint",
627
+ type: "uint256",
628
+ },
629
+ ],
630
+ name: "applyPendingDebt",
631
+ outputs: [],
632
+ stateMutability: "nonpayable",
633
+ type: "function",
634
+ },
635
+ {
636
+ inputs: [
637
+ {
638
+ internalType: "address",
639
+ name: "_batchManager",
640
+ type: "address",
641
+ },
642
+ ],
643
+ name: "checkBatchManagerExists",
644
+ outputs: [
645
+ {
646
+ internalType: "bool",
647
+ name: "",
648
+ type: "bool",
649
+ },
650
+ ],
651
+ stateMutability: "view",
652
+ type: "function",
653
+ },
654
+ {
655
+ inputs: [],
656
+ name: "claimCollateral",
657
+ outputs: [],
658
+ stateMutability: "nonpayable",
659
+ type: "function",
660
+ },
661
+ {
662
+ inputs: [
663
+ {
664
+ internalType: "uint256",
665
+ name: "_troveId",
666
+ type: "uint256",
667
+ },
668
+ ],
669
+ name: "closeTrove",
670
+ outputs: [],
671
+ stateMutability: "nonpayable",
672
+ type: "function",
673
+ },
674
+ {
675
+ inputs: [],
676
+ name: "getEntireBranchColl",
677
+ outputs: [
678
+ {
679
+ internalType: "uint256",
680
+ name: "entireSystemColl",
681
+ type: "uint256",
682
+ },
683
+ ],
684
+ stateMutability: "view",
685
+ type: "function",
686
+ },
687
+ {
688
+ inputs: [],
689
+ name: "getEntireBranchDebt",
690
+ outputs: [
691
+ {
692
+ internalType: "uint256",
693
+ name: "entireSystemDebt",
694
+ type: "uint256",
695
+ },
696
+ ],
697
+ stateMutability: "view",
698
+ type: "function",
699
+ },
700
+ {
701
+ inputs: [
702
+ {
703
+ internalType: "address",
704
+ name: "_account",
705
+ type: "address",
706
+ },
707
+ ],
708
+ name: "getInterestBatchManager",
709
+ outputs: [
710
+ {
711
+ components: [
712
+ {
713
+ internalType: "uint128",
714
+ name: "minInterestRate",
715
+ type: "uint128",
716
+ },
717
+ {
718
+ internalType: "uint128",
719
+ name: "maxInterestRate",
720
+ type: "uint128",
721
+ },
722
+ {
723
+ internalType: "uint256",
724
+ name: "minInterestRateChangePeriod",
725
+ type: "uint256",
726
+ },
727
+ ],
728
+ internalType: "struct IBorrowerOperations.InterestBatchManager",
729
+ name: "",
730
+ type: "tuple",
731
+ },
732
+ ],
733
+ stateMutability: "view",
734
+ type: "function",
735
+ },
736
+ {
737
+ inputs: [
738
+ {
739
+ internalType: "uint256",
740
+ name: "_troveId",
741
+ type: "uint256",
742
+ },
743
+ ],
744
+ name: "getInterestIndividualDelegateOf",
745
+ outputs: [
746
+ {
747
+ components: [
748
+ {
749
+ internalType: "address",
750
+ name: "account",
751
+ type: "address",
752
+ },
753
+ {
754
+ internalType: "uint128",
755
+ name: "minInterestRate",
756
+ type: "uint128",
757
+ },
758
+ {
759
+ internalType: "uint128",
760
+ name: "maxInterestRate",
761
+ type: "uint128",
762
+ },
763
+ {
764
+ internalType: "uint256",
765
+ name: "minInterestRateChangePeriod",
766
+ type: "uint256",
767
+ },
768
+ ],
769
+ internalType: "struct IBorrowerOperations.InterestIndividualDelegate",
770
+ name: "",
771
+ type: "tuple",
772
+ },
773
+ ],
774
+ stateMutability: "view",
775
+ type: "function",
776
+ },
777
+ {
778
+ inputs: [],
779
+ name: "hasBeenShutDown",
780
+ outputs: [
781
+ {
782
+ internalType: "bool",
783
+ name: "",
784
+ type: "bool",
785
+ },
786
+ ],
787
+ stateMutability: "view",
788
+ type: "function",
789
+ },
790
+ {
791
+ inputs: [
792
+ {
793
+ internalType: "uint256",
794
+ name: "",
795
+ type: "uint256",
796
+ },
797
+ ],
798
+ name: "interestBatchManagerOf",
799
+ outputs: [
800
+ {
801
+ internalType: "address",
802
+ name: "",
803
+ type: "address",
804
+ },
805
+ ],
806
+ stateMutability: "view",
807
+ type: "function",
808
+ },
809
+ {
810
+ inputs: [
811
+ {
812
+ internalType: "uint256",
813
+ name: "_troveId",
814
+ type: "uint256",
815
+ },
816
+ {
817
+ internalType: "uint256",
818
+ name: "_upperHint",
819
+ type: "uint256",
820
+ },
821
+ {
822
+ internalType: "uint256",
823
+ name: "_lowerHint",
824
+ type: "uint256",
825
+ },
826
+ ],
827
+ name: "kickFromBatch",
828
+ outputs: [],
829
+ stateMutability: "nonpayable",
830
+ type: "function",
831
+ },
832
+ {
833
+ inputs: [
834
+ {
835
+ internalType: "uint256",
836
+ name: "_newAnnualManagementFee",
837
+ type: "uint256",
838
+ },
839
+ ],
840
+ name: "lowerBatchManagementFee",
841
+ outputs: [],
842
+ stateMutability: "nonpayable",
843
+ type: "function",
844
+ },
845
+ {
846
+ inputs: [
847
+ {
848
+ internalType: "uint256",
849
+ name: "_troveId",
850
+ type: "uint256",
851
+ },
852
+ ],
853
+ name: "onLiquidateTrove",
854
+ outputs: [],
855
+ stateMutability: "nonpayable",
856
+ type: "function",
857
+ },
858
+ {
859
+ inputs: [
860
+ {
861
+ internalType: "address",
862
+ name: "_owner",
863
+ type: "address",
864
+ },
865
+ {
866
+ internalType: "uint256",
867
+ name: "_ownerIndex",
868
+ type: "uint256",
869
+ },
870
+ {
871
+ internalType: "uint256",
872
+ name: "_collAmount",
873
+ type: "uint256",
874
+ },
875
+ {
876
+ internalType: "uint256",
877
+ name: "_boldAmount",
878
+ type: "uint256",
879
+ },
880
+ {
881
+ internalType: "uint256",
882
+ name: "_upperHint",
883
+ type: "uint256",
884
+ },
885
+ {
886
+ internalType: "uint256",
887
+ name: "_lowerHint",
888
+ type: "uint256",
889
+ },
890
+ {
891
+ internalType: "uint256",
892
+ name: "_annualInterestRate",
893
+ type: "uint256",
894
+ },
895
+ {
896
+ internalType: "uint256",
897
+ name: "_maxUpfrontFee",
898
+ type: "uint256",
899
+ },
900
+ {
901
+ internalType: "address",
902
+ name: "_addManager",
903
+ type: "address",
904
+ },
905
+ {
906
+ internalType: "address",
907
+ name: "_removeManager",
908
+ type: "address",
909
+ },
910
+ {
911
+ internalType: "address",
912
+ name: "_receiver",
913
+ type: "address",
914
+ },
915
+ ],
916
+ name: "openTrove",
917
+ outputs: [
918
+ {
919
+ internalType: "uint256",
920
+ name: "",
921
+ type: "uint256",
922
+ },
923
+ ],
924
+ stateMutability: "nonpayable",
925
+ type: "function",
926
+ },
927
+ {
928
+ inputs: [
929
+ {
930
+ components: [
931
+ {
932
+ internalType: "address",
933
+ name: "owner",
934
+ type: "address",
935
+ },
936
+ {
937
+ internalType: "uint256",
938
+ name: "ownerIndex",
939
+ type: "uint256",
940
+ },
941
+ {
942
+ internalType: "uint256",
943
+ name: "collAmount",
944
+ type: "uint256",
945
+ },
946
+ {
947
+ internalType: "uint256",
948
+ name: "boldAmount",
949
+ type: "uint256",
950
+ },
951
+ {
952
+ internalType: "uint256",
953
+ name: "upperHint",
954
+ type: "uint256",
955
+ },
956
+ {
957
+ internalType: "uint256",
958
+ name: "lowerHint",
959
+ type: "uint256",
960
+ },
961
+ {
962
+ internalType: "address",
963
+ name: "interestBatchManager",
964
+ type: "address",
965
+ },
966
+ {
967
+ internalType: "uint256",
968
+ name: "maxUpfrontFee",
969
+ type: "uint256",
970
+ },
971
+ {
972
+ internalType: "address",
973
+ name: "addManager",
974
+ type: "address",
975
+ },
976
+ {
977
+ internalType: "address",
978
+ name: "removeManager",
979
+ type: "address",
980
+ },
981
+ {
982
+ internalType: "address",
983
+ name: "receiver",
984
+ type: "address",
985
+ },
986
+ ],
987
+ internalType: "struct IBorrowerOperations.OpenTroveAndJoinInterestBatchManagerParams",
988
+ name: "_params",
989
+ type: "tuple",
990
+ },
991
+ ],
992
+ name: "openTroveAndJoinInterestBatchManager",
993
+ outputs: [
994
+ {
995
+ internalType: "uint256",
996
+ name: "",
997
+ type: "uint256",
998
+ },
999
+ ],
1000
+ stateMutability: "nonpayable",
1001
+ type: "function",
1002
+ },
1003
+ {
1004
+ inputs: [
1005
+ {
1006
+ internalType: "uint128",
1007
+ name: "_minInterestRate",
1008
+ type: "uint128",
1009
+ },
1010
+ {
1011
+ internalType: "uint128",
1012
+ name: "_maxInterestRate",
1013
+ type: "uint128",
1014
+ },
1015
+ {
1016
+ internalType: "uint128",
1017
+ name: "_currentInterestRate",
1018
+ type: "uint128",
1019
+ },
1020
+ {
1021
+ internalType: "uint128",
1022
+ name: "_annualManagementFee",
1023
+ type: "uint128",
1024
+ },
1025
+ {
1026
+ internalType: "uint128",
1027
+ name: "_minInterestRateChangePeriod",
1028
+ type: "uint128",
1029
+ },
1030
+ ],
1031
+ name: "registerBatchManager",
1032
+ outputs: [],
1033
+ stateMutability: "nonpayable",
1034
+ type: "function",
1035
+ },
1036
+ {
1037
+ inputs: [
1038
+ {
1039
+ internalType: "uint256",
1040
+ name: "_troveId",
1041
+ type: "uint256",
1042
+ },
1043
+ {
1044
+ internalType: "uint256",
1045
+ name: "_newAnnualInterestRate",
1046
+ type: "uint256",
1047
+ },
1048
+ {
1049
+ internalType: "uint256",
1050
+ name: "_upperHint",
1051
+ type: "uint256",
1052
+ },
1053
+ {
1054
+ internalType: "uint256",
1055
+ name: "_lowerHint",
1056
+ type: "uint256",
1057
+ },
1058
+ {
1059
+ internalType: "uint256",
1060
+ name: "_maxUpfrontFee",
1061
+ type: "uint256",
1062
+ },
1063
+ ],
1064
+ name: "removeFromBatch",
1065
+ outputs: [],
1066
+ stateMutability: "nonpayable",
1067
+ type: "function",
1068
+ },
1069
+ {
1070
+ inputs: [
1071
+ {
1072
+ internalType: "uint256",
1073
+ name: "_troveId",
1074
+ type: "uint256",
1075
+ },
1076
+ ],
1077
+ name: "removeInterestIndividualDelegate",
1078
+ outputs: [],
1079
+ stateMutability: "nonpayable",
1080
+ type: "function",
1081
+ },
1082
+ {
1083
+ inputs: [
1084
+ {
1085
+ internalType: "uint256",
1086
+ name: "",
1087
+ type: "uint256",
1088
+ },
1089
+ ],
1090
+ name: "removeManagerReceiverOf",
1091
+ outputs: [
1092
+ {
1093
+ internalType: "address",
1094
+ name: "manager",
1095
+ type: "address",
1096
+ },
1097
+ {
1098
+ internalType: "address",
1099
+ name: "receiver",
1100
+ type: "address",
1101
+ },
1102
+ ],
1103
+ stateMutability: "view",
1104
+ type: "function",
1105
+ },
1106
+ {
1107
+ inputs: [
1108
+ {
1109
+ internalType: "uint256",
1110
+ name: "_troveId",
1111
+ type: "uint256",
1112
+ },
1113
+ {
1114
+ internalType: "uint256",
1115
+ name: "_boldAmount",
1116
+ type: "uint256",
1117
+ },
1118
+ ],
1119
+ name: "repayBold",
1120
+ outputs: [],
1121
+ stateMutability: "nonpayable",
1122
+ type: "function",
1123
+ },
1124
+ {
1125
+ inputs: [
1126
+ {
1127
+ internalType: "uint256",
1128
+ name: "_troveId",
1129
+ type: "uint256",
1130
+ },
1131
+ {
1132
+ internalType: "address",
1133
+ name: "_manager",
1134
+ type: "address",
1135
+ },
1136
+ ],
1137
+ name: "setAddManager",
1138
+ outputs: [],
1139
+ stateMutability: "nonpayable",
1140
+ type: "function",
1141
+ },
1142
+ {
1143
+ inputs: [
1144
+ {
1145
+ internalType: "uint128",
1146
+ name: "_newAnnualInterestRate",
1147
+ type: "uint128",
1148
+ },
1149
+ {
1150
+ internalType: "uint256",
1151
+ name: "_upperHint",
1152
+ type: "uint256",
1153
+ },
1154
+ {
1155
+ internalType: "uint256",
1156
+ name: "_lowerHint",
1157
+ type: "uint256",
1158
+ },
1159
+ {
1160
+ internalType: "uint256",
1161
+ name: "_maxUpfrontFee",
1162
+ type: "uint256",
1163
+ },
1164
+ ],
1165
+ name: "setBatchManagerAnnualInterestRate",
1166
+ outputs: [],
1167
+ stateMutability: "nonpayable",
1168
+ type: "function",
1169
+ },
1170
+ {
1171
+ inputs: [
1172
+ {
1173
+ internalType: "uint256",
1174
+ name: "_troveId",
1175
+ type: "uint256",
1176
+ },
1177
+ {
1178
+ internalType: "address",
1179
+ name: "_newBatchManager",
1180
+ type: "address",
1181
+ },
1182
+ {
1183
+ internalType: "uint256",
1184
+ name: "_upperHint",
1185
+ type: "uint256",
1186
+ },
1187
+ {
1188
+ internalType: "uint256",
1189
+ name: "_lowerHint",
1190
+ type: "uint256",
1191
+ },
1192
+ {
1193
+ internalType: "uint256",
1194
+ name: "_maxUpfrontFee",
1195
+ type: "uint256",
1196
+ },
1197
+ ],
1198
+ name: "setInterestBatchManager",
1199
+ outputs: [],
1200
+ stateMutability: "nonpayable",
1201
+ type: "function",
1202
+ },
1203
+ {
1204
+ inputs: [
1205
+ {
1206
+ internalType: "uint256",
1207
+ name: "_troveId",
1208
+ type: "uint256",
1209
+ },
1210
+ {
1211
+ internalType: "address",
1212
+ name: "_delegate",
1213
+ type: "address",
1214
+ },
1215
+ {
1216
+ internalType: "uint128",
1217
+ name: "_minInterestRate",
1218
+ type: "uint128",
1219
+ },
1220
+ {
1221
+ internalType: "uint128",
1222
+ name: "_maxInterestRate",
1223
+ type: "uint128",
1224
+ },
1225
+ {
1226
+ internalType: "uint256",
1227
+ name: "_newAnnualInterestRate",
1228
+ type: "uint256",
1229
+ },
1230
+ {
1231
+ internalType: "uint256",
1232
+ name: "_upperHint",
1233
+ type: "uint256",
1234
+ },
1235
+ {
1236
+ internalType: "uint256",
1237
+ name: "_lowerHint",
1238
+ type: "uint256",
1239
+ },
1240
+ {
1241
+ internalType: "uint256",
1242
+ name: "_maxUpfrontFee",
1243
+ type: "uint256",
1244
+ },
1245
+ {
1246
+ internalType: "uint256",
1247
+ name: "_minInterestRateChangePeriod",
1248
+ type: "uint256",
1249
+ },
1250
+ ],
1251
+ name: "setInterestIndividualDelegate",
1252
+ outputs: [],
1253
+ stateMutability: "nonpayable",
1254
+ type: "function",
1255
+ },
1256
+ {
1257
+ inputs: [
1258
+ {
1259
+ internalType: "uint256",
1260
+ name: "_troveId",
1261
+ type: "uint256",
1262
+ },
1263
+ {
1264
+ internalType: "address",
1265
+ name: "_manager",
1266
+ type: "address",
1267
+ },
1268
+ ],
1269
+ name: "setRemoveManager",
1270
+ outputs: [],
1271
+ stateMutability: "nonpayable",
1272
+ type: "function",
1273
+ },
1274
+ {
1275
+ inputs: [
1276
+ {
1277
+ internalType: "uint256",
1278
+ name: "_troveId",
1279
+ type: "uint256",
1280
+ },
1281
+ {
1282
+ internalType: "address",
1283
+ name: "_manager",
1284
+ type: "address",
1285
+ },
1286
+ {
1287
+ internalType: "address",
1288
+ name: "_receiver",
1289
+ type: "address",
1290
+ },
1291
+ ],
1292
+ name: "setRemoveManagerWithReceiver",
1293
+ outputs: [],
1294
+ stateMutability: "nonpayable",
1295
+ type: "function",
1296
+ },
1297
+ {
1298
+ inputs: [],
1299
+ name: "shutdown",
1300
+ outputs: [],
1301
+ stateMutability: "nonpayable",
1302
+ type: "function",
1303
+ },
1304
+ {
1305
+ inputs: [],
1306
+ name: "shutdownFromOracleFailure",
1307
+ outputs: [],
1308
+ stateMutability: "nonpayable",
1309
+ type: "function",
1310
+ },
1311
+ {
1312
+ inputs: [
1313
+ {
1314
+ internalType: "uint256",
1315
+ name: "_troveId",
1316
+ type: "uint256",
1317
+ },
1318
+ {
1319
+ internalType: "uint256",
1320
+ name: "_removeUpperHint",
1321
+ type: "uint256",
1322
+ },
1323
+ {
1324
+ internalType: "uint256",
1325
+ name: "_removeLowerHint",
1326
+ type: "uint256",
1327
+ },
1328
+ {
1329
+ internalType: "address",
1330
+ name: "_newBatchManager",
1331
+ type: "address",
1332
+ },
1333
+ {
1334
+ internalType: "uint256",
1335
+ name: "_addUpperHint",
1336
+ type: "uint256",
1337
+ },
1338
+ {
1339
+ internalType: "uint256",
1340
+ name: "_addLowerHint",
1341
+ type: "uint256",
1342
+ },
1343
+ {
1344
+ internalType: "uint256",
1345
+ name: "_maxUpfrontFee",
1346
+ type: "uint256",
1347
+ },
1348
+ ],
1349
+ name: "switchBatchManager",
1350
+ outputs: [],
1351
+ stateMutability: "nonpayable",
1352
+ type: "function",
1353
+ },
1354
+ {
1355
+ inputs: [
1356
+ {
1357
+ internalType: "uint256",
1358
+ name: "_troveId",
1359
+ type: "uint256",
1360
+ },
1361
+ {
1362
+ internalType: "uint256",
1363
+ name: "_boldAmount",
1364
+ type: "uint256",
1365
+ },
1366
+ {
1367
+ internalType: "uint256",
1368
+ name: "_maxUpfrontFee",
1369
+ type: "uint256",
1370
+ },
1371
+ ],
1372
+ name: "withdrawBold",
1373
+ outputs: [],
1374
+ stateMutability: "nonpayable",
1375
+ type: "function",
1376
+ },
1377
+ {
1378
+ inputs: [
1379
+ {
1380
+ internalType: "uint256",
1381
+ name: "_troveId",
1382
+ type: "uint256",
1383
+ },
1384
+ {
1385
+ internalType: "uint256",
1386
+ name: "_collWithdrawal",
1387
+ type: "uint256",
1388
+ },
1389
+ ],
1390
+ name: "withdrawColl",
1391
+ outputs: [],
1392
+ stateMutability: "nonpayable",
1393
+ type: "function",
1394
+ },
1395
+ ];
1396
+ export class BorrowerOperationsLiquity__factory {
1397
+ static abi = _abi;
1398
+ static createInterface() {
1399
+ return new utils.Interface(_abi);
1400
+ }
1401
+ static connect(address, signerOrProvider) {
1402
+ return new Contract(address, _abi, signerOrProvider);
1403
+ }
1404
+ }
1405
+ //# sourceMappingURL=BorrowerOperationsLiquity__factory.js.map