impermax-sdk 2.1.528 → 2.1.530

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 (44) hide show
  1. package/lib/abis/contracts/ImpermaxV3ConfigManager.json +911 -0
  2. package/lib/config/contracts/impermax-config-manager.d.ts +1 -0
  3. package/lib/config/contracts/impermax-config-manager.js +28 -2
  4. package/lib/config/nftlp.js +1 -1
  5. package/lib/config/subgraphs.d.ts +25 -0
  6. package/lib/config/subgraphs.js +30 -5
  7. package/lib/offchain/account/lendingPool/nftlp/offchainAccountNftlpAeroCL.js +1 -3
  8. package/lib/offchain/configManager/offchainConfigManagerInitializer.d.ts +2 -2
  9. package/lib/offchain/configManager/offchainConfigManagerInitializer.js +22 -7
  10. package/lib/offchain/configManager/offchainPairConfig.js +1 -1
  11. package/lib/offchain/configManager/v3/index.d.ts +5 -0
  12. package/lib/offchain/configManager/v3/index.js +12 -0
  13. package/lib/offchain/configManager/v3/offchainConfigManagerInitializer.d.ts +6 -0
  14. package/lib/offchain/configManager/v3/offchainConfigManagerInitializer.js +51 -0
  15. package/lib/offchain/configManager/v3/offchainConfigManagerV3.d.ts +25 -0
  16. package/lib/offchain/configManager/v3/offchainConfigManagerV3.js +63 -0
  17. package/lib/offchain/configManager/v3/offchainPairConfig.d.ts +40 -0
  18. package/lib/offchain/configManager/v3/offchainPairConfig.js +63 -0
  19. package/lib/offchain/configManager/v3/offchainProposal.d.ts +17 -0
  20. package/lib/offchain/configManager/v3/offchainProposal.js +36 -0
  21. package/lib/offchain/offchain.d.ts +3 -0
  22. package/lib/offchain/offchain.js +4 -0
  23. package/lib/offchain/offchainAPRHelper.js +1 -1
  24. package/lib/offchain/offchainTypes.d.ts +18 -5
  25. package/lib/onchain/configManager/onchainPairConfig.d.ts +0 -3
  26. package/lib/onchain/configManager/onchainPairConfig.js +3 -7
  27. package/lib/onchain/configManager/v3/index.d.ts +5 -0
  28. package/lib/onchain/configManager/v3/index.js +12 -0
  29. package/lib/onchain/configManager/v3/onchainConfigManager.d.ts +12 -0
  30. package/lib/onchain/configManager/v3/onchainConfigManager.js +38 -0
  31. package/lib/onchain/configManager/v3/onchainPairConfig.d.ts +38 -0
  32. package/lib/onchain/configManager/v3/onchainPairConfig.js +62 -0
  33. package/lib/onchain/configManager/v3/onchainProposal.d.ts +17 -0
  34. package/lib/onchain/configManager/v3/onchainProposal.js +40 -0
  35. package/lib/onchain/interactions/onchainInteractions.d.ts +3 -0
  36. package/lib/onchain/interactions/onchainInteractions.js +3 -0
  37. package/lib/onchain/interactions/onchainInteractionsConfigManagerV3.d.ts +17 -0
  38. package/lib/onchain/interactions/onchainInteractionsConfigManagerV3.js +29 -0
  39. package/lib/onchain/onchain.d.ts +3 -0
  40. package/lib/onchain/onchain.js +3 -0
  41. package/lib/onchain/onchainContractsHelper.d.ts +1 -0
  42. package/lib/onchain/onchainContractsHelper.js +2 -0
  43. package/lib/utils/position/solidlyStable/index.js +0 -3
  44. package/package.json +1 -1
@@ -0,0 +1,911 @@
1
+ {
2
+ "contractName": "ImpermaxV3ConfigManager",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "_admin",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "internalType": "address",
13
+ "name": "_whitelist",
14
+ "type": "address"
15
+ }
16
+ ],
17
+ "payable": false,
18
+ "stateMutability": "nonpayable",
19
+ "type": "constructor"
20
+ },
21
+ {
22
+ "anonymous": false,
23
+ "inputs": [
24
+ {
25
+ "indexed": true,
26
+ "internalType": "uint256",
27
+ "name": "index",
28
+ "type": "uint256"
29
+ },
30
+ {
31
+ "components": [
32
+ {
33
+ "internalType": "address",
34
+ "name": "factory",
35
+ "type": "address"
36
+ },
37
+ {
38
+ "internalType": "address",
39
+ "name": "pair",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "components": [
44
+ {
45
+ "internalType": "uint256",
46
+ "name": "safetyMarginSqrt",
47
+ "type": "uint256"
48
+ },
49
+ {
50
+ "internalType": "uint256",
51
+ "name": "liquidationIncentive",
52
+ "type": "uint256"
53
+ },
54
+ {
55
+ "internalType": "uint256",
56
+ "name": "liquidationFee",
57
+ "type": "uint256"
58
+ }
59
+ ],
60
+ "internalType": "struct IImpermaxConfigManager.CollateralConfig",
61
+ "name": "collateralConfig",
62
+ "type": "tuple"
63
+ },
64
+ {
65
+ "components": [
66
+ {
67
+ "internalType": "uint256",
68
+ "name": "reserveFactor",
69
+ "type": "uint256"
70
+ },
71
+ {
72
+ "internalType": "uint256",
73
+ "name": "kinkUtilizationRate",
74
+ "type": "uint256"
75
+ },
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "adjustSpeed",
79
+ "type": "uint256"
80
+ },
81
+ {
82
+ "internalType": "uint256",
83
+ "name": "debtCeiling",
84
+ "type": "uint256"
85
+ }
86
+ ],
87
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
88
+ "name": "borrowable0Config",
89
+ "type": "tuple"
90
+ },
91
+ {
92
+ "components": [
93
+ {
94
+ "internalType": "uint256",
95
+ "name": "reserveFactor",
96
+ "type": "uint256"
97
+ },
98
+ {
99
+ "internalType": "uint256",
100
+ "name": "kinkUtilizationRate",
101
+ "type": "uint256"
102
+ },
103
+ {
104
+ "internalType": "uint256",
105
+ "name": "adjustSpeed",
106
+ "type": "uint256"
107
+ },
108
+ {
109
+ "internalType": "uint256",
110
+ "name": "debtCeiling",
111
+ "type": "uint256"
112
+ }
113
+ ],
114
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
115
+ "name": "borrowable1Config",
116
+ "type": "tuple"
117
+ },
118
+ {
119
+ "internalType": "enum IImpermaxWhitelist.State",
120
+ "name": "whitelistState",
121
+ "type": "uint8"
122
+ }
123
+ ],
124
+ "indexed": false,
125
+ "internalType": "struct IImpermaxConfigManager.PairConfig[]",
126
+ "name": "proposal",
127
+ "type": "tuple[]"
128
+ }
129
+ ],
130
+ "name": "ApprovedProposal",
131
+ "type": "event"
132
+ },
133
+ {
134
+ "anonymous": false,
135
+ "inputs": [
136
+ {
137
+ "indexed": false,
138
+ "internalType": "address",
139
+ "name": "factory",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "BecomeContractAdmin",
144
+ "type": "event"
145
+ },
146
+ {
147
+ "anonymous": false,
148
+ "inputs": [
149
+ {
150
+ "indexed": false,
151
+ "internalType": "address",
152
+ "name": "oldAdmin",
153
+ "type": "address"
154
+ },
155
+ {
156
+ "indexed": false,
157
+ "internalType": "address",
158
+ "name": "newAdmin",
159
+ "type": "address"
160
+ }
161
+ ],
162
+ "name": "NewAdmin",
163
+ "type": "event"
164
+ },
165
+ {
166
+ "anonymous": false,
167
+ "inputs": [
168
+ {
169
+ "indexed": false,
170
+ "internalType": "address",
171
+ "name": "oldPendingAdmin",
172
+ "type": "address"
173
+ },
174
+ {
175
+ "indexed": false,
176
+ "internalType": "address",
177
+ "name": "newPendingAdmin",
178
+ "type": "address"
179
+ }
180
+ ],
181
+ "name": "NewPendingAdmin",
182
+ "type": "event"
183
+ },
184
+ {
185
+ "anonymous": false,
186
+ "inputs": [
187
+ {
188
+ "indexed": true,
189
+ "internalType": "uint256",
190
+ "name": "index",
191
+ "type": "uint256"
192
+ },
193
+ {
194
+ "components": [
195
+ {
196
+ "internalType": "address",
197
+ "name": "factory",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "internalType": "address",
202
+ "name": "pair",
203
+ "type": "address"
204
+ },
205
+ {
206
+ "components": [
207
+ {
208
+ "internalType": "uint256",
209
+ "name": "safetyMarginSqrt",
210
+ "type": "uint256"
211
+ },
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "liquidationIncentive",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "liquidationFee",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "internalType": "struct IImpermaxConfigManager.CollateralConfig",
224
+ "name": "collateralConfig",
225
+ "type": "tuple"
226
+ },
227
+ {
228
+ "components": [
229
+ {
230
+ "internalType": "uint256",
231
+ "name": "reserveFactor",
232
+ "type": "uint256"
233
+ },
234
+ {
235
+ "internalType": "uint256",
236
+ "name": "kinkUtilizationRate",
237
+ "type": "uint256"
238
+ },
239
+ {
240
+ "internalType": "uint256",
241
+ "name": "adjustSpeed",
242
+ "type": "uint256"
243
+ },
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "debtCeiling",
247
+ "type": "uint256"
248
+ }
249
+ ],
250
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
251
+ "name": "borrowable0Config",
252
+ "type": "tuple"
253
+ },
254
+ {
255
+ "components": [
256
+ {
257
+ "internalType": "uint256",
258
+ "name": "reserveFactor",
259
+ "type": "uint256"
260
+ },
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "kinkUtilizationRate",
264
+ "type": "uint256"
265
+ },
266
+ {
267
+ "internalType": "uint256",
268
+ "name": "adjustSpeed",
269
+ "type": "uint256"
270
+ },
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "debtCeiling",
274
+ "type": "uint256"
275
+ }
276
+ ],
277
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
278
+ "name": "borrowable1Config",
279
+ "type": "tuple"
280
+ },
281
+ {
282
+ "internalType": "enum IImpermaxWhitelist.State",
283
+ "name": "whitelistState",
284
+ "type": "uint8"
285
+ }
286
+ ],
287
+ "indexed": false,
288
+ "internalType": "struct IImpermaxConfigManager.PairConfig[]",
289
+ "name": "proposal",
290
+ "type": "tuple[]"
291
+ }
292
+ ],
293
+ "name": "NewProposal",
294
+ "type": "event"
295
+ },
296
+ {
297
+ "anonymous": false,
298
+ "inputs": [
299
+ {
300
+ "indexed": true,
301
+ "internalType": "uint256",
302
+ "name": "index",
303
+ "type": "uint256"
304
+ },
305
+ {
306
+ "components": [
307
+ {
308
+ "internalType": "address",
309
+ "name": "factory",
310
+ "type": "address"
311
+ },
312
+ {
313
+ "internalType": "address",
314
+ "name": "pair",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "components": [
319
+ {
320
+ "internalType": "uint256",
321
+ "name": "safetyMarginSqrt",
322
+ "type": "uint256"
323
+ },
324
+ {
325
+ "internalType": "uint256",
326
+ "name": "liquidationIncentive",
327
+ "type": "uint256"
328
+ },
329
+ {
330
+ "internalType": "uint256",
331
+ "name": "liquidationFee",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "internalType": "struct IImpermaxConfigManager.CollateralConfig",
336
+ "name": "collateralConfig",
337
+ "type": "tuple"
338
+ },
339
+ {
340
+ "components": [
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "reserveFactor",
344
+ "type": "uint256"
345
+ },
346
+ {
347
+ "internalType": "uint256",
348
+ "name": "kinkUtilizationRate",
349
+ "type": "uint256"
350
+ },
351
+ {
352
+ "internalType": "uint256",
353
+ "name": "adjustSpeed",
354
+ "type": "uint256"
355
+ },
356
+ {
357
+ "internalType": "uint256",
358
+ "name": "debtCeiling",
359
+ "type": "uint256"
360
+ }
361
+ ],
362
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
363
+ "name": "borrowable0Config",
364
+ "type": "tuple"
365
+ },
366
+ {
367
+ "components": [
368
+ {
369
+ "internalType": "uint256",
370
+ "name": "reserveFactor",
371
+ "type": "uint256"
372
+ },
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "kinkUtilizationRate",
376
+ "type": "uint256"
377
+ },
378
+ {
379
+ "internalType": "uint256",
380
+ "name": "adjustSpeed",
381
+ "type": "uint256"
382
+ },
383
+ {
384
+ "internalType": "uint256",
385
+ "name": "debtCeiling",
386
+ "type": "uint256"
387
+ }
388
+ ],
389
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
390
+ "name": "borrowable1Config",
391
+ "type": "tuple"
392
+ },
393
+ {
394
+ "internalType": "enum IImpermaxWhitelist.State",
395
+ "name": "whitelistState",
396
+ "type": "uint8"
397
+ }
398
+ ],
399
+ "indexed": false,
400
+ "internalType": "struct IImpermaxConfigManager.PairConfig[]",
401
+ "name": "proposal",
402
+ "type": "tuple[]"
403
+ }
404
+ ],
405
+ "name": "RejectedProposal",
406
+ "type": "event"
407
+ },
408
+ {
409
+ "anonymous": false,
410
+ "inputs": [
411
+ {
412
+ "indexed": false,
413
+ "internalType": "address",
414
+ "name": "factory",
415
+ "type": "address"
416
+ },
417
+ {
418
+ "indexed": false,
419
+ "internalType": "address",
420
+ "name": "newPendingAdmin",
421
+ "type": "address"
422
+ }
423
+ ],
424
+ "name": "TransferContractOwnership",
425
+ "type": "event"
426
+ },
427
+ {
428
+ "constant": false,
429
+ "inputs": [],
430
+ "name": "_acceptAdmin",
431
+ "outputs": [],
432
+ "payable": false,
433
+ "stateMutability": "nonpayable",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "constant": false,
438
+ "inputs": [
439
+ {
440
+ "internalType": "address",
441
+ "name": "ownableContract",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "name": "_becomeContractAdmin",
446
+ "outputs": [],
447
+ "payable": false,
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "constant": false,
453
+ "inputs": [
454
+ {
455
+ "internalType": "address",
456
+ "name": "ownableContract",
457
+ "type": "address"
458
+ },
459
+ {
460
+ "internalType": "address",
461
+ "name": "newPendingAdmin",
462
+ "type": "address"
463
+ }
464
+ ],
465
+ "name": "_setContractAdmin",
466
+ "outputs": [],
467
+ "payable": false,
468
+ "stateMutability": "nonpayable",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "constant": false,
473
+ "inputs": [
474
+ {
475
+ "internalType": "address",
476
+ "name": "newPendingAdmin",
477
+ "type": "address"
478
+ }
479
+ ],
480
+ "name": "_setPendingAdmin",
481
+ "outputs": [],
482
+ "payable": false,
483
+ "stateMutability": "nonpayable",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "constant": true,
488
+ "inputs": [],
489
+ "name": "admin",
490
+ "outputs": [
491
+ {
492
+ "internalType": "address",
493
+ "name": "",
494
+ "type": "address"
495
+ }
496
+ ],
497
+ "payable": false,
498
+ "stateMutability": "view",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "constant": false,
503
+ "inputs": [
504
+ {
505
+ "internalType": "uint256",
506
+ "name": "index",
507
+ "type": "uint256"
508
+ }
509
+ ],
510
+ "name": "approveProposal",
511
+ "outputs": [],
512
+ "payable": false,
513
+ "stateMutability": "nonpayable",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "constant": true,
518
+ "inputs": [
519
+ {
520
+ "internalType": "uint256",
521
+ "name": "index",
522
+ "type": "uint256"
523
+ }
524
+ ],
525
+ "name": "getProposal",
526
+ "outputs": [
527
+ {
528
+ "components": [
529
+ {
530
+ "internalType": "address",
531
+ "name": "factory",
532
+ "type": "address"
533
+ },
534
+ {
535
+ "internalType": "address",
536
+ "name": "pair",
537
+ "type": "address"
538
+ },
539
+ {
540
+ "components": [
541
+ {
542
+ "internalType": "uint256",
543
+ "name": "safetyMarginSqrt",
544
+ "type": "uint256"
545
+ },
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "liquidationIncentive",
549
+ "type": "uint256"
550
+ },
551
+ {
552
+ "internalType": "uint256",
553
+ "name": "liquidationFee",
554
+ "type": "uint256"
555
+ }
556
+ ],
557
+ "internalType": "struct IImpermaxConfigManager.CollateralConfig",
558
+ "name": "collateralConfig",
559
+ "type": "tuple"
560
+ },
561
+ {
562
+ "components": [
563
+ {
564
+ "internalType": "uint256",
565
+ "name": "reserveFactor",
566
+ "type": "uint256"
567
+ },
568
+ {
569
+ "internalType": "uint256",
570
+ "name": "kinkUtilizationRate",
571
+ "type": "uint256"
572
+ },
573
+ {
574
+ "internalType": "uint256",
575
+ "name": "adjustSpeed",
576
+ "type": "uint256"
577
+ },
578
+ {
579
+ "internalType": "uint256",
580
+ "name": "debtCeiling",
581
+ "type": "uint256"
582
+ }
583
+ ],
584
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
585
+ "name": "borrowable0Config",
586
+ "type": "tuple"
587
+ },
588
+ {
589
+ "components": [
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "reserveFactor",
593
+ "type": "uint256"
594
+ },
595
+ {
596
+ "internalType": "uint256",
597
+ "name": "kinkUtilizationRate",
598
+ "type": "uint256"
599
+ },
600
+ {
601
+ "internalType": "uint256",
602
+ "name": "adjustSpeed",
603
+ "type": "uint256"
604
+ },
605
+ {
606
+ "internalType": "uint256",
607
+ "name": "debtCeiling",
608
+ "type": "uint256"
609
+ }
610
+ ],
611
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
612
+ "name": "borrowable1Config",
613
+ "type": "tuple"
614
+ },
615
+ {
616
+ "internalType": "enum IImpermaxWhitelist.State",
617
+ "name": "whitelistState",
618
+ "type": "uint8"
619
+ }
620
+ ],
621
+ "internalType": "struct IImpermaxConfigManager.PairConfig[]",
622
+ "name": "",
623
+ "type": "tuple[]"
624
+ }
625
+ ],
626
+ "payable": false,
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "constant": false,
632
+ "inputs": [
633
+ {
634
+ "components": [
635
+ {
636
+ "internalType": "address",
637
+ "name": "factory",
638
+ "type": "address"
639
+ },
640
+ {
641
+ "internalType": "address",
642
+ "name": "pair",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "components": [
647
+ {
648
+ "internalType": "uint256",
649
+ "name": "safetyMarginSqrt",
650
+ "type": "uint256"
651
+ },
652
+ {
653
+ "internalType": "uint256",
654
+ "name": "liquidationIncentive",
655
+ "type": "uint256"
656
+ },
657
+ {
658
+ "internalType": "uint256",
659
+ "name": "liquidationFee",
660
+ "type": "uint256"
661
+ }
662
+ ],
663
+ "internalType": "struct IImpermaxConfigManager.CollateralConfig",
664
+ "name": "collateralConfig",
665
+ "type": "tuple"
666
+ },
667
+ {
668
+ "components": [
669
+ {
670
+ "internalType": "uint256",
671
+ "name": "reserveFactor",
672
+ "type": "uint256"
673
+ },
674
+ {
675
+ "internalType": "uint256",
676
+ "name": "kinkUtilizationRate",
677
+ "type": "uint256"
678
+ },
679
+ {
680
+ "internalType": "uint256",
681
+ "name": "adjustSpeed",
682
+ "type": "uint256"
683
+ },
684
+ {
685
+ "internalType": "uint256",
686
+ "name": "debtCeiling",
687
+ "type": "uint256"
688
+ }
689
+ ],
690
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
691
+ "name": "borrowable0Config",
692
+ "type": "tuple"
693
+ },
694
+ {
695
+ "components": [
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "reserveFactor",
699
+ "type": "uint256"
700
+ },
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "kinkUtilizationRate",
704
+ "type": "uint256"
705
+ },
706
+ {
707
+ "internalType": "uint256",
708
+ "name": "adjustSpeed",
709
+ "type": "uint256"
710
+ },
711
+ {
712
+ "internalType": "uint256",
713
+ "name": "debtCeiling",
714
+ "type": "uint256"
715
+ }
716
+ ],
717
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
718
+ "name": "borrowable1Config",
719
+ "type": "tuple"
720
+ },
721
+ {
722
+ "internalType": "enum IImpermaxWhitelist.State",
723
+ "name": "whitelistState",
724
+ "type": "uint8"
725
+ }
726
+ ],
727
+ "internalType": "struct IImpermaxConfigManager.PairConfig[]",
728
+ "name": "proposal",
729
+ "type": "tuple[]"
730
+ }
731
+ ],
732
+ "name": "makeProposal",
733
+ "outputs": [],
734
+ "payable": false,
735
+ "stateMutability": "nonpayable",
736
+ "type": "function"
737
+ },
738
+ {
739
+ "constant": true,
740
+ "inputs": [],
741
+ "name": "pendingAdmin",
742
+ "outputs": [
743
+ {
744
+ "internalType": "address",
745
+ "name": "",
746
+ "type": "address"
747
+ }
748
+ ],
749
+ "payable": false,
750
+ "stateMutability": "view",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "constant": true,
755
+ "inputs": [
756
+ {
757
+ "internalType": "uint256",
758
+ "name": "",
759
+ "type": "uint256"
760
+ },
761
+ {
762
+ "internalType": "uint256",
763
+ "name": "",
764
+ "type": "uint256"
765
+ }
766
+ ],
767
+ "name": "proposals",
768
+ "outputs": [
769
+ {
770
+ "internalType": "address",
771
+ "name": "factory",
772
+ "type": "address"
773
+ },
774
+ {
775
+ "internalType": "address",
776
+ "name": "pair",
777
+ "type": "address"
778
+ },
779
+ {
780
+ "components": [
781
+ {
782
+ "internalType": "uint256",
783
+ "name": "safetyMarginSqrt",
784
+ "type": "uint256"
785
+ },
786
+ {
787
+ "internalType": "uint256",
788
+ "name": "liquidationIncentive",
789
+ "type": "uint256"
790
+ },
791
+ {
792
+ "internalType": "uint256",
793
+ "name": "liquidationFee",
794
+ "type": "uint256"
795
+ }
796
+ ],
797
+ "internalType": "struct IImpermaxConfigManager.CollateralConfig",
798
+ "name": "collateralConfig",
799
+ "type": "tuple"
800
+ },
801
+ {
802
+ "components": [
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "reserveFactor",
806
+ "type": "uint256"
807
+ },
808
+ {
809
+ "internalType": "uint256",
810
+ "name": "kinkUtilizationRate",
811
+ "type": "uint256"
812
+ },
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "adjustSpeed",
816
+ "type": "uint256"
817
+ },
818
+ {
819
+ "internalType": "uint256",
820
+ "name": "debtCeiling",
821
+ "type": "uint256"
822
+ }
823
+ ],
824
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
825
+ "name": "borrowable0Config",
826
+ "type": "tuple"
827
+ },
828
+ {
829
+ "components": [
830
+ {
831
+ "internalType": "uint256",
832
+ "name": "reserveFactor",
833
+ "type": "uint256"
834
+ },
835
+ {
836
+ "internalType": "uint256",
837
+ "name": "kinkUtilizationRate",
838
+ "type": "uint256"
839
+ },
840
+ {
841
+ "internalType": "uint256",
842
+ "name": "adjustSpeed",
843
+ "type": "uint256"
844
+ },
845
+ {
846
+ "internalType": "uint256",
847
+ "name": "debtCeiling",
848
+ "type": "uint256"
849
+ }
850
+ ],
851
+ "internalType": "struct IImpermaxConfigManager.BorrowableConfig",
852
+ "name": "borrowable1Config",
853
+ "type": "tuple"
854
+ },
855
+ {
856
+ "internalType": "enum IImpermaxWhitelist.State",
857
+ "name": "whitelistState",
858
+ "type": "uint8"
859
+ }
860
+ ],
861
+ "payable": false,
862
+ "stateMutability": "view",
863
+ "type": "function"
864
+ },
865
+ {
866
+ "constant": true,
867
+ "inputs": [],
868
+ "name": "proposalsLength",
869
+ "outputs": [
870
+ {
871
+ "internalType": "uint256",
872
+ "name": "",
873
+ "type": "uint256"
874
+ }
875
+ ],
876
+ "payable": false,
877
+ "stateMutability": "view",
878
+ "type": "function"
879
+ },
880
+ {
881
+ "constant": false,
882
+ "inputs": [
883
+ {
884
+ "internalType": "uint256",
885
+ "name": "index",
886
+ "type": "uint256"
887
+ }
888
+ ],
889
+ "name": "rejectProposal",
890
+ "outputs": [],
891
+ "payable": false,
892
+ "stateMutability": "nonpayable",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "constant": true,
897
+ "inputs": [],
898
+ "name": "whitelist",
899
+ "outputs": [
900
+ {
901
+ "internalType": "address",
902
+ "name": "",
903
+ "type": "address"
904
+ }
905
+ ],
906
+ "payable": false,
907
+ "stateMutability": "view",
908
+ "type": "function"
909
+ }
910
+ ]
911
+ }