@pearcurve/sdk 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +17 -18
  2. package/dist/abis.js +19 -19
  3. package/dist/abis.js.map +1 -1
  4. package/package.json +5 -5
  5. package/dist/abis/json/collateralTokenRegistry.json +0 -257
  6. package/dist/abis/json/errors.json +0 -1034
  7. package/dist/abis/json/feeManager.json +0 -668
  8. package/dist/abis/json/intentRegistry.json +0 -1169
  9. package/dist/abis/json/intentRegistryViews.json +0 -958
  10. package/dist/abis/json/loanAssetRegistry.json +0 -220
  11. package/dist/abis/json/loanHealthViewer.json +0 -176
  12. package/dist/abis/json/loanManager.json +0 -1404
  13. package/dist/abis/json/loanMarketCaps.json +0 -1642
  14. package/dist/abis/json/loanPositionToken.json +0 -650
  15. package/dist/abis/json/main.json +0 -1951
  16. package/dist/abis/json/matchingEngine.json +0 -2060
  17. package/dist/abis/json/priceOracle.json +0 -453
  18. package/dist/abis/json/protocolViewer.json +0 -959
  19. package/dist/abis/json/secondaryMarket.json +0 -1348
  20. package/dist/abis/json/strategyRegistry.json +0 -237
  21. package/dist/abis/json/termCurveOracle.json +0 -346
  22. package/dist/abis/json/yieldSource.json +0 -298
  23. package/dist/abis/json/yieldSourceRegistry.json +0 -295
  24. package/src/abis/json/collateralTokenRegistry.json +0 -257
  25. package/src/abis/json/errors.json +0 -1034
  26. package/src/abis/json/feeManager.json +0 -668
  27. package/src/abis/json/intentRegistry.json +0 -1169
  28. package/src/abis/json/intentRegistryViews.json +0 -958
  29. package/src/abis/json/loanAssetRegistry.json +0 -220
  30. package/src/abis/json/loanHealthViewer.json +0 -176
  31. package/src/abis/json/loanManager.json +0 -1404
  32. package/src/abis/json/loanMarketCaps.json +0 -1642
  33. package/src/abis/json/loanPositionToken.json +0 -650
  34. package/src/abis/json/main.json +0 -1951
  35. package/src/abis/json/matchingEngine.json +0 -2060
  36. package/src/abis/json/priceOracle.json +0 -453
  37. package/src/abis/json/protocolViewer.json +0 -959
  38. package/src/abis/json/secondaryMarket.json +0 -1348
  39. package/src/abis/json/strategyRegistry.json +0 -237
  40. package/src/abis/json/termCurveOracle.json +0 -346
  41. package/src/abis/json/yieldSource.json +0 -298
  42. package/src/abis/json/yieldSourceRegistry.json +0 -295
@@ -1,1951 +0,0 @@
1
- [
2
- {
3
- "type": "constructor",
4
- "inputs": [
5
- {
6
- "name": "governor_",
7
- "type": "address",
8
- "internalType": "address"
9
- },
10
- {
11
- "name": "_feeManager",
12
- "type": "address",
13
- "internalType": "address"
14
- },
15
- {
16
- "name": "_intentRegistry",
17
- "type": "address",
18
- "internalType": "address"
19
- },
20
- {
21
- "name": "_loanAssetRegistry",
22
- "type": "address",
23
- "internalType": "address"
24
- },
25
- {
26
- "name": "_loanManager",
27
- "type": "address",
28
- "internalType": "address"
29
- },
30
- {
31
- "name": "_loanMarketCaps",
32
- "type": "address",
33
- "internalType": "address"
34
- },
35
- {
36
- "name": "_loanPositionToken",
37
- "type": "address",
38
- "internalType": "address"
39
- },
40
- {
41
- "name": "_matchingEngine",
42
- "type": "address",
43
- "internalType": "address"
44
- },
45
- {
46
- "name": "_strategyRegistry",
47
- "type": "address",
48
- "internalType": "address"
49
- },
50
- {
51
- "name": "_yieldSourceRegistry",
52
- "type": "address",
53
- "internalType": "address"
54
- }
55
- ],
56
- "stateMutability": "nonpayable"
57
- },
58
- {
59
- "type": "function",
60
- "name": "acceptGovernance",
61
- "inputs": [],
62
- "outputs": [],
63
- "stateMutability": "nonpayable"
64
- },
65
- {
66
- "type": "function",
67
- "name": "cancelIntent",
68
- "inputs": [
69
- {
70
- "name": "id",
71
- "type": "uint256",
72
- "internalType": "uint256"
73
- },
74
- {
75
- "name": "intentType",
76
- "type": "uint8",
77
- "internalType": "enum IntentType"
78
- }
79
- ],
80
- "outputs": [],
81
- "stateMutability": "nonpayable"
82
- },
83
- {
84
- "type": "function",
85
- "name": "claimLenderPayout",
86
- "inputs": [
87
- {
88
- "name": "asset",
89
- "type": "address",
90
- "internalType": "address"
91
- },
92
- {
93
- "name": "to",
94
- "type": "address",
95
- "internalType": "address"
96
- }
97
- ],
98
- "outputs": [
99
- {
100
- "name": "amount",
101
- "type": "uint256",
102
- "internalType": "uint256"
103
- }
104
- ],
105
- "stateMutability": "nonpayable"
106
- },
107
- {
108
- "type": "function",
109
- "name": "delistFromSale",
110
- "inputs": [
111
- {
112
- "name": "loanId",
113
- "type": "uint256",
114
- "internalType": "uint256"
115
- }
116
- ],
117
- "outputs": [],
118
- "stateMutability": "nonpayable"
119
- },
120
- {
121
- "type": "function",
122
- "name": "depositToYieldSource",
123
- "inputs": [
124
- {
125
- "name": "yieldSource",
126
- "type": "address",
127
- "internalType": "address"
128
- },
129
- {
130
- "name": "asset",
131
- "type": "address",
132
- "internalType": "address"
133
- },
134
- {
135
- "name": "amount",
136
- "type": "uint256",
137
- "internalType": "uint256"
138
- }
139
- ],
140
- "outputs": [],
141
- "stateMutability": "nonpayable"
142
- },
143
- {
144
- "type": "function",
145
- "name": "feeManager",
146
- "inputs": [],
147
- "outputs": [
148
- {
149
- "name": "",
150
- "type": "address",
151
- "internalType": "address"
152
- }
153
- ],
154
- "stateMutability": "view"
155
- },
156
- {
157
- "type": "function",
158
- "name": "getAllYieldSourceBalances",
159
- "inputs": [
160
- {
161
- "name": "owner",
162
- "type": "address",
163
- "internalType": "address"
164
- },
165
- {
166
- "name": "asset",
167
- "type": "address",
168
- "internalType": "address"
169
- }
170
- ],
171
- "outputs": [
172
- {
173
- "name": "sources",
174
- "type": "address[]",
175
- "internalType": "address[]"
176
- },
177
- {
178
- "name": "balances",
179
- "type": "uint256[]",
180
- "internalType": "uint256[]"
181
- }
182
- ],
183
- "stateMutability": "view"
184
- },
185
- {
186
- "type": "function",
187
- "name": "getYieldSourceBalance",
188
- "inputs": [
189
- {
190
- "name": "owner",
191
- "type": "address",
192
- "internalType": "address"
193
- },
194
- {
195
- "name": "asset",
196
- "type": "address",
197
- "internalType": "address"
198
- },
199
- {
200
- "name": "source",
201
- "type": "address",
202
- "internalType": "address"
203
- }
204
- ],
205
- "outputs": [
206
- {
207
- "name": "",
208
- "type": "uint256",
209
- "internalType": "uint256"
210
- }
211
- ],
212
- "stateMutability": "view"
213
- },
214
- {
215
- "type": "function",
216
- "name": "governor",
217
- "inputs": [],
218
- "outputs": [
219
- {
220
- "name": "",
221
- "type": "address",
222
- "internalType": "address"
223
- }
224
- ],
225
- "stateMutability": "view"
226
- },
227
- {
228
- "type": "function",
229
- "name": "intentRegistry",
230
- "inputs": [],
231
- "outputs": [
232
- {
233
- "name": "",
234
- "type": "address",
235
- "internalType": "address"
236
- }
237
- ],
238
- "stateMutability": "view"
239
- },
240
- {
241
- "type": "function",
242
- "name": "isMarketFeaturePaused",
243
- "inputs": [
244
- {
245
- "name": "market",
246
- "type": "address",
247
- "internalType": "address"
248
- },
249
- {
250
- "name": "feature",
251
- "type": "uint8",
252
- "internalType": "enum MarketFeature"
253
- }
254
- ],
255
- "outputs": [
256
- {
257
- "name": "",
258
- "type": "bool",
259
- "internalType": "bool"
260
- }
261
- ],
262
- "stateMutability": "view"
263
- },
264
- {
265
- "type": "function",
266
- "name": "isMarketPaused",
267
- "inputs": [
268
- {
269
- "name": "market",
270
- "type": "address",
271
- "internalType": "address"
272
- }
273
- ],
274
- "outputs": [
275
- {
276
- "name": "",
277
- "type": "bool",
278
- "internalType": "bool"
279
- }
280
- ],
281
- "stateMutability": "view"
282
- },
283
- {
284
- "type": "function",
285
- "name": "listForSale",
286
- "inputs": [
287
- {
288
- "name": "loanId",
289
- "type": "uint256",
290
- "internalType": "uint256"
291
- }
292
- ],
293
- "outputs": [],
294
- "stateMutability": "nonpayable"
295
- },
296
- {
297
- "type": "function",
298
- "name": "loanAssetRegistry",
299
- "inputs": [],
300
- "outputs": [
301
- {
302
- "name": "",
303
- "type": "address",
304
- "internalType": "address"
305
- }
306
- ],
307
- "stateMutability": "view"
308
- },
309
- {
310
- "type": "function",
311
- "name": "loanManager",
312
- "inputs": [],
313
- "outputs": [
314
- {
315
- "name": "",
316
- "type": "address",
317
- "internalType": "address"
318
- }
319
- ],
320
- "stateMutability": "view"
321
- },
322
- {
323
- "type": "function",
324
- "name": "loanMarketCaps",
325
- "inputs": [],
326
- "outputs": [
327
- {
328
- "name": "",
329
- "type": "address",
330
- "internalType": "address"
331
- }
332
- ],
333
- "stateMutability": "view"
334
- },
335
- {
336
- "type": "function",
337
- "name": "loanPositionToken",
338
- "inputs": [],
339
- "outputs": [
340
- {
341
- "name": "",
342
- "type": "address",
343
- "internalType": "address"
344
- }
345
- ],
346
- "stateMutability": "view"
347
- },
348
- {
349
- "type": "function",
350
- "name": "matchAutoOnChainWithNewBorrower",
351
- "inputs": [
352
- {
353
- "name": "p",
354
- "type": "tuple",
355
- "internalType": "struct BorrowerIntentParams",
356
- "components": [
357
- {
358
- "name": "asset",
359
- "type": "address",
360
- "internalType": "address"
361
- },
362
- {
363
- "name": "principal",
364
- "type": "uint256",
365
- "internalType": "uint256"
366
- },
367
- {
368
- "name": "maxRate",
369
- "type": "uint256",
370
- "internalType": "uint256"
371
- },
372
- {
373
- "name": "duration",
374
- "type": "uint256",
375
- "internalType": "uint256"
376
- },
377
- {
378
- "name": "collateral",
379
- "type": "address",
380
- "internalType": "address"
381
- },
382
- {
383
- "name": "maxCollateralAmount",
384
- "type": "uint256",
385
- "internalType": "uint256"
386
- },
387
- {
388
- "name": "expiry",
389
- "type": "uint256",
390
- "internalType": "uint256"
391
- },
392
- {
393
- "name": "autoRefinanceThresholdRate",
394
- "type": "uint256",
395
- "internalType": "uint256"
396
- },
397
- {
398
- "name": "solverTipBps",
399
- "type": "uint256",
400
- "internalType": "uint256"
401
- }
402
- ]
403
- }
404
- ],
405
- "outputs": [
406
- {
407
- "name": "borrowerIntentId",
408
- "type": "uint256",
409
- "internalType": "uint256"
410
- },
411
- {
412
- "name": "loanId",
413
- "type": "uint256",
414
- "internalType": "uint256"
415
- }
416
- ],
417
- "stateMutability": "nonpayable"
418
- },
419
- {
420
- "type": "function",
421
- "name": "matchAutoOnChainWithNewLender",
422
- "inputs": [
423
- {
424
- "name": "p",
425
- "type": "tuple",
426
- "internalType": "struct LenderIntentParams",
427
- "components": [
428
- {
429
- "name": "asset",
430
- "type": "address",
431
- "internalType": "address"
432
- },
433
- {
434
- "name": "minPrincipal",
435
- "type": "uint256",
436
- "internalType": "uint256"
437
- },
438
- {
439
- "name": "maxPrincipal",
440
- "type": "uint256",
441
- "internalType": "uint256"
442
- },
443
- {
444
- "name": "minRate",
445
- "type": "uint256",
446
- "internalType": "uint256"
447
- },
448
- {
449
- "name": "minDuration",
450
- "type": "uint256",
451
- "internalType": "uint256"
452
- },
453
- {
454
- "name": "maxDuration",
455
- "type": "uint256",
456
- "internalType": "uint256"
457
- },
458
- {
459
- "name": "collateralToken",
460
- "type": "address",
461
- "internalType": "address"
462
- },
463
- {
464
- "name": "ltv",
465
- "type": "uint16",
466
- "internalType": "uint16"
467
- },
468
- {
469
- "name": "lltv",
470
- "type": "uint16",
471
- "internalType": "uint16"
472
- },
473
- {
474
- "name": "expiry",
475
- "type": "uint256",
476
- "internalType": "uint256"
477
- },
478
- {
479
- "name": "yieldSource",
480
- "type": "address",
481
- "internalType": "address"
482
- },
483
- {
484
- "name": "allowPartialFill",
485
- "type": "bool",
486
- "internalType": "bool"
487
- },
488
- {
489
- "name": "maxPerBorrowerAddress",
490
- "type": "uint256",
491
- "internalType": "uint256"
492
- },
493
- {
494
- "name": "earlyRepaymentFeeBps",
495
- "type": "uint256",
496
- "internalType": "uint256"
497
- },
498
- {
499
- "name": "blockEarlyRepayment",
500
- "type": "bool",
501
- "internalType": "bool"
502
- },
503
- {
504
- "name": "callbackReceiver",
505
- "type": "address",
506
- "internalType": "address"
507
- }
508
- ]
509
- }
510
- ],
511
- "outputs": [
512
- {
513
- "name": "lenderIntentId",
514
- "type": "uint256",
515
- "internalType": "uint256"
516
- },
517
- {
518
- "name": "loanId",
519
- "type": "uint256",
520
- "internalType": "uint256"
521
- }
522
- ],
523
- "stateMutability": "nonpayable"
524
- },
525
- {
526
- "type": "function",
527
- "name": "matchBundleOnChain",
528
- "inputs": [
529
- {
530
- "name": "sol",
531
- "type": "tuple",
532
- "internalType": "struct SolverSolution",
533
- "components": [
534
- {
535
- "name": "lenderIntentIds",
536
- "type": "uint256[]",
537
- "internalType": "uint256[]"
538
- },
539
- {
540
- "name": "borrowerIntentIds",
541
- "type": "uint256[]",
542
- "internalType": "uint256[]"
543
- },
544
- {
545
- "name": "agreedRates",
546
- "type": "uint256[]",
547
- "internalType": "uint256[]"
548
- },
549
- {
550
- "name": "fillAmounts",
551
- "type": "uint256[]",
552
- "internalType": "uint256[]"
553
- },
554
- {
555
- "name": "solverTip",
556
- "type": "uint256",
557
- "internalType": "uint256"
558
- },
559
- {
560
- "name": "solver",
561
- "type": "address",
562
- "internalType": "address"
563
- },
564
- {
565
- "name": "deadline",
566
- "type": "uint256",
567
- "internalType": "uint256"
568
- },
569
- {
570
- "name": "signature",
571
- "type": "bytes",
572
- "internalType": "bytes"
573
- }
574
- ]
575
- }
576
- ],
577
- "outputs": [
578
- {
579
- "name": "loanIds",
580
- "type": "uint256[]",
581
- "internalType": "uint256[]"
582
- }
583
- ],
584
- "stateMutability": "nonpayable"
585
- },
586
- {
587
- "type": "function",
588
- "name": "matchOnChain",
589
- "inputs": [
590
- {
591
- "name": "lenderIntentId",
592
- "type": "uint256",
593
- "internalType": "uint256"
594
- },
595
- {
596
- "name": "borrowerIntentId",
597
- "type": "uint256",
598
- "internalType": "uint256"
599
- },
600
- {
601
- "name": "fillAmount",
602
- "type": "uint256",
603
- "internalType": "uint256"
604
- }
605
- ],
606
- "outputs": [
607
- {
608
- "name": "loanId",
609
- "type": "uint256",
610
- "internalType": "uint256"
611
- }
612
- ],
613
- "stateMutability": "nonpayable"
614
- },
615
- {
616
- "type": "function",
617
- "name": "matchOnChainWithNewBorrower",
618
- "inputs": [
619
- {
620
- "name": "p",
621
- "type": "tuple",
622
- "internalType": "struct BorrowerIntentParams",
623
- "components": [
624
- {
625
- "name": "asset",
626
- "type": "address",
627
- "internalType": "address"
628
- },
629
- {
630
- "name": "principal",
631
- "type": "uint256",
632
- "internalType": "uint256"
633
- },
634
- {
635
- "name": "maxRate",
636
- "type": "uint256",
637
- "internalType": "uint256"
638
- },
639
- {
640
- "name": "duration",
641
- "type": "uint256",
642
- "internalType": "uint256"
643
- },
644
- {
645
- "name": "collateral",
646
- "type": "address",
647
- "internalType": "address"
648
- },
649
- {
650
- "name": "maxCollateralAmount",
651
- "type": "uint256",
652
- "internalType": "uint256"
653
- },
654
- {
655
- "name": "expiry",
656
- "type": "uint256",
657
- "internalType": "uint256"
658
- },
659
- {
660
- "name": "autoRefinanceThresholdRate",
661
- "type": "uint256",
662
- "internalType": "uint256"
663
- },
664
- {
665
- "name": "solverTipBps",
666
- "type": "uint256",
667
- "internalType": "uint256"
668
- }
669
- ]
670
- },
671
- {
672
- "name": "lenderIntentId",
673
- "type": "uint256",
674
- "internalType": "uint256"
675
- },
676
- {
677
- "name": "fillAmount",
678
- "type": "uint256",
679
- "internalType": "uint256"
680
- }
681
- ],
682
- "outputs": [
683
- {
684
- "name": "borrowerIntentId",
685
- "type": "uint256",
686
- "internalType": "uint256"
687
- },
688
- {
689
- "name": "loanId",
690
- "type": "uint256",
691
- "internalType": "uint256"
692
- }
693
- ],
694
- "stateMutability": "nonpayable"
695
- },
696
- {
697
- "type": "function",
698
- "name": "matchOnChainWithNewLender",
699
- "inputs": [
700
- {
701
- "name": "p",
702
- "type": "tuple",
703
- "internalType": "struct LenderIntentParams",
704
- "components": [
705
- {
706
- "name": "asset",
707
- "type": "address",
708
- "internalType": "address"
709
- },
710
- {
711
- "name": "minPrincipal",
712
- "type": "uint256",
713
- "internalType": "uint256"
714
- },
715
- {
716
- "name": "maxPrincipal",
717
- "type": "uint256",
718
- "internalType": "uint256"
719
- },
720
- {
721
- "name": "minRate",
722
- "type": "uint256",
723
- "internalType": "uint256"
724
- },
725
- {
726
- "name": "minDuration",
727
- "type": "uint256",
728
- "internalType": "uint256"
729
- },
730
- {
731
- "name": "maxDuration",
732
- "type": "uint256",
733
- "internalType": "uint256"
734
- },
735
- {
736
- "name": "collateralToken",
737
- "type": "address",
738
- "internalType": "address"
739
- },
740
- {
741
- "name": "ltv",
742
- "type": "uint16",
743
- "internalType": "uint16"
744
- },
745
- {
746
- "name": "lltv",
747
- "type": "uint16",
748
- "internalType": "uint16"
749
- },
750
- {
751
- "name": "expiry",
752
- "type": "uint256",
753
- "internalType": "uint256"
754
- },
755
- {
756
- "name": "yieldSource",
757
- "type": "address",
758
- "internalType": "address"
759
- },
760
- {
761
- "name": "allowPartialFill",
762
- "type": "bool",
763
- "internalType": "bool"
764
- },
765
- {
766
- "name": "maxPerBorrowerAddress",
767
- "type": "uint256",
768
- "internalType": "uint256"
769
- },
770
- {
771
- "name": "earlyRepaymentFeeBps",
772
- "type": "uint256",
773
- "internalType": "uint256"
774
- },
775
- {
776
- "name": "blockEarlyRepayment",
777
- "type": "bool",
778
- "internalType": "bool"
779
- },
780
- {
781
- "name": "callbackReceiver",
782
- "type": "address",
783
- "internalType": "address"
784
- }
785
- ]
786
- },
787
- {
788
- "name": "borrowerIntentId",
789
- "type": "uint256",
790
- "internalType": "uint256"
791
- },
792
- {
793
- "name": "fillAmount",
794
- "type": "uint256",
795
- "internalType": "uint256"
796
- }
797
- ],
798
- "outputs": [
799
- {
800
- "name": "lenderIntentId",
801
- "type": "uint256",
802
- "internalType": "uint256"
803
- },
804
- {
805
- "name": "loanId",
806
- "type": "uint256",
807
- "internalType": "uint256"
808
- }
809
- ],
810
- "stateMutability": "nonpayable"
811
- },
812
- {
813
- "type": "function",
814
- "name": "matchingEngine",
815
- "inputs": [],
816
- "outputs": [
817
- {
818
- "name": "",
819
- "type": "address",
820
- "internalType": "address"
821
- }
822
- ],
823
- "stateMutability": "view"
824
- },
825
- {
826
- "type": "function",
827
- "name": "migrateYieldSource",
828
- "inputs": [
829
- {
830
- "name": "fromSource",
831
- "type": "address",
832
- "internalType": "address"
833
- },
834
- {
835
- "name": "toSource",
836
- "type": "address",
837
- "internalType": "address"
838
- },
839
- {
840
- "name": "asset",
841
- "type": "address",
842
- "internalType": "address"
843
- },
844
- {
845
- "name": "shares",
846
- "type": "uint256",
847
- "internalType": "uint256"
848
- },
849
- {
850
- "name": "lenderIntentIds",
851
- "type": "uint256[]",
852
- "internalType": "uint256[]"
853
- }
854
- ],
855
- "outputs": [],
856
- "stateMutability": "nonpayable"
857
- },
858
- {
859
- "type": "function",
860
- "name": "migrateYieldSource",
861
- "inputs": [
862
- {
863
- "name": "fromSource",
864
- "type": "address",
865
- "internalType": "address"
866
- },
867
- {
868
- "name": "toSource",
869
- "type": "address",
870
- "internalType": "address"
871
- },
872
- {
873
- "name": "asset",
874
- "type": "address",
875
- "internalType": "address"
876
- }
877
- ],
878
- "outputs": [],
879
- "stateMutability": "nonpayable"
880
- },
881
- {
882
- "type": "function",
883
- "name": "migrateYieldSource",
884
- "inputs": [
885
- {
886
- "name": "fromSource",
887
- "type": "address",
888
- "internalType": "address"
889
- },
890
- {
891
- "name": "toSource",
892
- "type": "address",
893
- "internalType": "address"
894
- },
895
- {
896
- "name": "asset",
897
- "type": "address",
898
- "internalType": "address"
899
- },
900
- {
901
- "name": "shares",
902
- "type": "uint256",
903
- "internalType": "uint256"
904
- }
905
- ],
906
- "outputs": [],
907
- "stateMutability": "nonpayable"
908
- },
909
- {
910
- "type": "function",
911
- "name": "pause",
912
- "inputs": [],
913
- "outputs": [],
914
- "stateMutability": "nonpayable"
915
- },
916
- {
917
- "type": "function",
918
- "name": "paused",
919
- "inputs": [],
920
- "outputs": [
921
- {
922
- "name": "",
923
- "type": "bool",
924
- "internalType": "bool"
925
- }
926
- ],
927
- "stateMutability": "view"
928
- },
929
- {
930
- "type": "function",
931
- "name": "pauser",
932
- "inputs": [],
933
- "outputs": [
934
- {
935
- "name": "",
936
- "type": "address",
937
- "internalType": "address"
938
- }
939
- ],
940
- "stateMutability": "view"
941
- },
942
- {
943
- "type": "function",
944
- "name": "pendingGovernor",
945
- "inputs": [],
946
- "outputs": [
947
- {
948
- "name": "",
949
- "type": "address",
950
- "internalType": "address"
951
- }
952
- ],
953
- "stateMutability": "view"
954
- },
955
- {
956
- "type": "function",
957
- "name": "previewMatchAutoOnChainWithNewBorrower",
958
- "inputs": [
959
- {
960
- "name": "p",
961
- "type": "tuple",
962
- "internalType": "struct BorrowerIntentParams",
963
- "components": [
964
- {
965
- "name": "asset",
966
- "type": "address",
967
- "internalType": "address"
968
- },
969
- {
970
- "name": "principal",
971
- "type": "uint256",
972
- "internalType": "uint256"
973
- },
974
- {
975
- "name": "maxRate",
976
- "type": "uint256",
977
- "internalType": "uint256"
978
- },
979
- {
980
- "name": "duration",
981
- "type": "uint256",
982
- "internalType": "uint256"
983
- },
984
- {
985
- "name": "collateral",
986
- "type": "address",
987
- "internalType": "address"
988
- },
989
- {
990
- "name": "maxCollateralAmount",
991
- "type": "uint256",
992
- "internalType": "uint256"
993
- },
994
- {
995
- "name": "expiry",
996
- "type": "uint256",
997
- "internalType": "uint256"
998
- },
999
- {
1000
- "name": "autoRefinanceThresholdRate",
1001
- "type": "uint256",
1002
- "internalType": "uint256"
1003
- },
1004
- {
1005
- "name": "solverTipBps",
1006
- "type": "uint256",
1007
- "internalType": "uint256"
1008
- }
1009
- ]
1010
- }
1011
- ],
1012
- "outputs": [
1013
- {
1014
- "name": "paramsValid",
1015
- "type": "bool",
1016
- "internalType": "bool"
1017
- },
1018
- {
1019
- "name": "canMatch",
1020
- "type": "bool",
1021
- "internalType": "bool"
1022
- },
1023
- {
1024
- "name": "lenderIntentId",
1025
- "type": "uint256",
1026
- "internalType": "uint256"
1027
- },
1028
- {
1029
- "name": "fillAmount",
1030
- "type": "uint256",
1031
- "internalType": "uint256"
1032
- }
1033
- ],
1034
- "stateMutability": "view"
1035
- },
1036
- {
1037
- "type": "function",
1038
- "name": "previewMatchAutoOnChainWithNewLender",
1039
- "inputs": [
1040
- {
1041
- "name": "p",
1042
- "type": "tuple",
1043
- "internalType": "struct LenderIntentParams",
1044
- "components": [
1045
- {
1046
- "name": "asset",
1047
- "type": "address",
1048
- "internalType": "address"
1049
- },
1050
- {
1051
- "name": "minPrincipal",
1052
- "type": "uint256",
1053
- "internalType": "uint256"
1054
- },
1055
- {
1056
- "name": "maxPrincipal",
1057
- "type": "uint256",
1058
- "internalType": "uint256"
1059
- },
1060
- {
1061
- "name": "minRate",
1062
- "type": "uint256",
1063
- "internalType": "uint256"
1064
- },
1065
- {
1066
- "name": "minDuration",
1067
- "type": "uint256",
1068
- "internalType": "uint256"
1069
- },
1070
- {
1071
- "name": "maxDuration",
1072
- "type": "uint256",
1073
- "internalType": "uint256"
1074
- },
1075
- {
1076
- "name": "collateralToken",
1077
- "type": "address",
1078
- "internalType": "address"
1079
- },
1080
- {
1081
- "name": "ltv",
1082
- "type": "uint16",
1083
- "internalType": "uint16"
1084
- },
1085
- {
1086
- "name": "lltv",
1087
- "type": "uint16",
1088
- "internalType": "uint16"
1089
- },
1090
- {
1091
- "name": "expiry",
1092
- "type": "uint256",
1093
- "internalType": "uint256"
1094
- },
1095
- {
1096
- "name": "yieldSource",
1097
- "type": "address",
1098
- "internalType": "address"
1099
- },
1100
- {
1101
- "name": "allowPartialFill",
1102
- "type": "bool",
1103
- "internalType": "bool"
1104
- },
1105
- {
1106
- "name": "maxPerBorrowerAddress",
1107
- "type": "uint256",
1108
- "internalType": "uint256"
1109
- },
1110
- {
1111
- "name": "earlyRepaymentFeeBps",
1112
- "type": "uint256",
1113
- "internalType": "uint256"
1114
- },
1115
- {
1116
- "name": "blockEarlyRepayment",
1117
- "type": "bool",
1118
- "internalType": "bool"
1119
- },
1120
- {
1121
- "name": "callbackReceiver",
1122
- "type": "address",
1123
- "internalType": "address"
1124
- }
1125
- ]
1126
- }
1127
- ],
1128
- "outputs": [
1129
- {
1130
- "name": "paramsValid",
1131
- "type": "bool",
1132
- "internalType": "bool"
1133
- },
1134
- {
1135
- "name": "canMatch",
1136
- "type": "bool",
1137
- "internalType": "bool"
1138
- },
1139
- {
1140
- "name": "borrowerIntentId",
1141
- "type": "uint256",
1142
- "internalType": "uint256"
1143
- },
1144
- {
1145
- "name": "fillAmount",
1146
- "type": "uint256",
1147
- "internalType": "uint256"
1148
- }
1149
- ],
1150
- "stateMutability": "view"
1151
- },
1152
- {
1153
- "type": "function",
1154
- "name": "refinance",
1155
- "inputs": [
1156
- {
1157
- "name": "loanId",
1158
- "type": "uint256",
1159
- "internalType": "uint256"
1160
- },
1161
- {
1162
- "name": "newLenderIntentId",
1163
- "type": "uint256",
1164
- "internalType": "uint256"
1165
- },
1166
- {
1167
- "name": "fillAmount",
1168
- "type": "uint256",
1169
- "internalType": "uint256"
1170
- }
1171
- ],
1172
- "outputs": [],
1173
- "stateMutability": "nonpayable"
1174
- },
1175
- {
1176
- "type": "function",
1177
- "name": "repay",
1178
- "inputs": [
1179
- {
1180
- "name": "loanId",
1181
- "type": "uint256",
1182
- "internalType": "uint256"
1183
- }
1184
- ],
1185
- "outputs": [],
1186
- "stateMutability": "nonpayable"
1187
- },
1188
- {
1189
- "type": "function",
1190
- "name": "setMarketFeaturePaused",
1191
- "inputs": [
1192
- {
1193
- "name": "market",
1194
- "type": "address",
1195
- "internalType": "address"
1196
- },
1197
- {
1198
- "name": "feature",
1199
- "type": "uint8",
1200
- "internalType": "enum MarketFeature"
1201
- },
1202
- {
1203
- "name": "paused_",
1204
- "type": "bool",
1205
- "internalType": "bool"
1206
- }
1207
- ],
1208
- "outputs": [],
1209
- "stateMutability": "nonpayable"
1210
- },
1211
- {
1212
- "type": "function",
1213
- "name": "setMarketPaused",
1214
- "inputs": [
1215
- {
1216
- "name": "market",
1217
- "type": "address",
1218
- "internalType": "address"
1219
- },
1220
- {
1221
- "name": "paused_",
1222
- "type": "bool",
1223
- "internalType": "bool"
1224
- }
1225
- ],
1226
- "outputs": [],
1227
- "stateMutability": "nonpayable"
1228
- },
1229
- {
1230
- "type": "function",
1231
- "name": "setPauser",
1232
- "inputs": [
1233
- {
1234
- "name": "newPauser",
1235
- "type": "address",
1236
- "internalType": "address"
1237
- }
1238
- ],
1239
- "outputs": [],
1240
- "stateMutability": "nonpayable"
1241
- },
1242
- {
1243
- "type": "function",
1244
- "name": "strategyRegistry",
1245
- "inputs": [],
1246
- "outputs": [
1247
- {
1248
- "name": "",
1249
- "type": "address",
1250
- "internalType": "address"
1251
- }
1252
- ],
1253
- "stateMutability": "view"
1254
- },
1255
- {
1256
- "type": "function",
1257
- "name": "submitBorrowerIntent",
1258
- "inputs": [
1259
- {
1260
- "name": "p",
1261
- "type": "tuple",
1262
- "internalType": "struct BorrowerIntentParams",
1263
- "components": [
1264
- {
1265
- "name": "asset",
1266
- "type": "address",
1267
- "internalType": "address"
1268
- },
1269
- {
1270
- "name": "principal",
1271
- "type": "uint256",
1272
- "internalType": "uint256"
1273
- },
1274
- {
1275
- "name": "maxRate",
1276
- "type": "uint256",
1277
- "internalType": "uint256"
1278
- },
1279
- {
1280
- "name": "duration",
1281
- "type": "uint256",
1282
- "internalType": "uint256"
1283
- },
1284
- {
1285
- "name": "collateral",
1286
- "type": "address",
1287
- "internalType": "address"
1288
- },
1289
- {
1290
- "name": "maxCollateralAmount",
1291
- "type": "uint256",
1292
- "internalType": "uint256"
1293
- },
1294
- {
1295
- "name": "expiry",
1296
- "type": "uint256",
1297
- "internalType": "uint256"
1298
- },
1299
- {
1300
- "name": "autoRefinanceThresholdRate",
1301
- "type": "uint256",
1302
- "internalType": "uint256"
1303
- },
1304
- {
1305
- "name": "solverTipBps",
1306
- "type": "uint256",
1307
- "internalType": "uint256"
1308
- }
1309
- ]
1310
- }
1311
- ],
1312
- "outputs": [
1313
- {
1314
- "name": "intentId",
1315
- "type": "uint256",
1316
- "internalType": "uint256"
1317
- }
1318
- ],
1319
- "stateMutability": "nonpayable"
1320
- },
1321
- {
1322
- "type": "function",
1323
- "name": "submitLenderIntent",
1324
- "inputs": [
1325
- {
1326
- "name": "p",
1327
- "type": "tuple",
1328
- "internalType": "struct LenderIntentParams",
1329
- "components": [
1330
- {
1331
- "name": "asset",
1332
- "type": "address",
1333
- "internalType": "address"
1334
- },
1335
- {
1336
- "name": "minPrincipal",
1337
- "type": "uint256",
1338
- "internalType": "uint256"
1339
- },
1340
- {
1341
- "name": "maxPrincipal",
1342
- "type": "uint256",
1343
- "internalType": "uint256"
1344
- },
1345
- {
1346
- "name": "minRate",
1347
- "type": "uint256",
1348
- "internalType": "uint256"
1349
- },
1350
- {
1351
- "name": "minDuration",
1352
- "type": "uint256",
1353
- "internalType": "uint256"
1354
- },
1355
- {
1356
- "name": "maxDuration",
1357
- "type": "uint256",
1358
- "internalType": "uint256"
1359
- },
1360
- {
1361
- "name": "collateralToken",
1362
- "type": "address",
1363
- "internalType": "address"
1364
- },
1365
- {
1366
- "name": "ltv",
1367
- "type": "uint16",
1368
- "internalType": "uint16"
1369
- },
1370
- {
1371
- "name": "lltv",
1372
- "type": "uint16",
1373
- "internalType": "uint16"
1374
- },
1375
- {
1376
- "name": "expiry",
1377
- "type": "uint256",
1378
- "internalType": "uint256"
1379
- },
1380
- {
1381
- "name": "yieldSource",
1382
- "type": "address",
1383
- "internalType": "address"
1384
- },
1385
- {
1386
- "name": "allowPartialFill",
1387
- "type": "bool",
1388
- "internalType": "bool"
1389
- },
1390
- {
1391
- "name": "maxPerBorrowerAddress",
1392
- "type": "uint256",
1393
- "internalType": "uint256"
1394
- },
1395
- {
1396
- "name": "earlyRepaymentFeeBps",
1397
- "type": "uint256",
1398
- "internalType": "uint256"
1399
- },
1400
- {
1401
- "name": "blockEarlyRepayment",
1402
- "type": "bool",
1403
- "internalType": "bool"
1404
- },
1405
- {
1406
- "name": "callbackReceiver",
1407
- "type": "address",
1408
- "internalType": "address"
1409
- }
1410
- ]
1411
- },
1412
- {
1413
- "name": "hintId",
1414
- "type": "uint256",
1415
- "internalType": "uint256"
1416
- }
1417
- ],
1418
- "outputs": [
1419
- {
1420
- "name": "intentId",
1421
- "type": "uint256",
1422
- "internalType": "uint256"
1423
- }
1424
- ],
1425
- "stateMutability": "nonpayable"
1426
- },
1427
- {
1428
- "type": "function",
1429
- "name": "submitLenderIntent",
1430
- "inputs": [
1431
- {
1432
- "name": "p",
1433
- "type": "tuple",
1434
- "internalType": "struct LenderIntentParams",
1435
- "components": [
1436
- {
1437
- "name": "asset",
1438
- "type": "address",
1439
- "internalType": "address"
1440
- },
1441
- {
1442
- "name": "minPrincipal",
1443
- "type": "uint256",
1444
- "internalType": "uint256"
1445
- },
1446
- {
1447
- "name": "maxPrincipal",
1448
- "type": "uint256",
1449
- "internalType": "uint256"
1450
- },
1451
- {
1452
- "name": "minRate",
1453
- "type": "uint256",
1454
- "internalType": "uint256"
1455
- },
1456
- {
1457
- "name": "minDuration",
1458
- "type": "uint256",
1459
- "internalType": "uint256"
1460
- },
1461
- {
1462
- "name": "maxDuration",
1463
- "type": "uint256",
1464
- "internalType": "uint256"
1465
- },
1466
- {
1467
- "name": "collateralToken",
1468
- "type": "address",
1469
- "internalType": "address"
1470
- },
1471
- {
1472
- "name": "ltv",
1473
- "type": "uint16",
1474
- "internalType": "uint16"
1475
- },
1476
- {
1477
- "name": "lltv",
1478
- "type": "uint16",
1479
- "internalType": "uint16"
1480
- },
1481
- {
1482
- "name": "expiry",
1483
- "type": "uint256",
1484
- "internalType": "uint256"
1485
- },
1486
- {
1487
- "name": "yieldSource",
1488
- "type": "address",
1489
- "internalType": "address"
1490
- },
1491
- {
1492
- "name": "allowPartialFill",
1493
- "type": "bool",
1494
- "internalType": "bool"
1495
- },
1496
- {
1497
- "name": "maxPerBorrowerAddress",
1498
- "type": "uint256",
1499
- "internalType": "uint256"
1500
- },
1501
- {
1502
- "name": "earlyRepaymentFeeBps",
1503
- "type": "uint256",
1504
- "internalType": "uint256"
1505
- },
1506
- {
1507
- "name": "blockEarlyRepayment",
1508
- "type": "bool",
1509
- "internalType": "bool"
1510
- },
1511
- {
1512
- "name": "callbackReceiver",
1513
- "type": "address",
1514
- "internalType": "address"
1515
- }
1516
- ]
1517
- }
1518
- ],
1519
- "outputs": [
1520
- {
1521
- "name": "intentId",
1522
- "type": "uint256",
1523
- "internalType": "uint256"
1524
- }
1525
- ],
1526
- "stateMutability": "nonpayable"
1527
- },
1528
- {
1529
- "type": "function",
1530
- "name": "transferGovernance",
1531
- "inputs": [
1532
- {
1533
- "name": "newGovernor",
1534
- "type": "address",
1535
- "internalType": "address"
1536
- }
1537
- ],
1538
- "outputs": [],
1539
- "stateMutability": "nonpayable"
1540
- },
1541
- {
1542
- "type": "function",
1543
- "name": "triggerAutoRefinance",
1544
- "inputs": [
1545
- {
1546
- "name": "loanId",
1547
- "type": "uint256",
1548
- "internalType": "uint256"
1549
- }
1550
- ],
1551
- "outputs": [],
1552
- "stateMutability": "nonpayable"
1553
- },
1554
- {
1555
- "type": "function",
1556
- "name": "unpause",
1557
- "inputs": [],
1558
- "outputs": [],
1559
- "stateMutability": "nonpayable"
1560
- },
1561
- {
1562
- "type": "function",
1563
- "name": "validateBorrowerParamsForSubmitPreview",
1564
- "inputs": [
1565
- {
1566
- "name": "p",
1567
- "type": "tuple",
1568
- "internalType": "struct BorrowerIntentParams",
1569
- "components": [
1570
- {
1571
- "name": "asset",
1572
- "type": "address",
1573
- "internalType": "address"
1574
- },
1575
- {
1576
- "name": "principal",
1577
- "type": "uint256",
1578
- "internalType": "uint256"
1579
- },
1580
- {
1581
- "name": "maxRate",
1582
- "type": "uint256",
1583
- "internalType": "uint256"
1584
- },
1585
- {
1586
- "name": "duration",
1587
- "type": "uint256",
1588
- "internalType": "uint256"
1589
- },
1590
- {
1591
- "name": "collateral",
1592
- "type": "address",
1593
- "internalType": "address"
1594
- },
1595
- {
1596
- "name": "maxCollateralAmount",
1597
- "type": "uint256",
1598
- "internalType": "uint256"
1599
- },
1600
- {
1601
- "name": "expiry",
1602
- "type": "uint256",
1603
- "internalType": "uint256"
1604
- },
1605
- {
1606
- "name": "autoRefinanceThresholdRate",
1607
- "type": "uint256",
1608
- "internalType": "uint256"
1609
- },
1610
- {
1611
- "name": "solverTipBps",
1612
- "type": "uint256",
1613
- "internalType": "uint256"
1614
- }
1615
- ]
1616
- }
1617
- ],
1618
- "outputs": [],
1619
- "stateMutability": "view"
1620
- },
1621
- {
1622
- "type": "function",
1623
- "name": "version",
1624
- "inputs": [],
1625
- "outputs": [
1626
- {
1627
- "name": "",
1628
- "type": "string",
1629
- "internalType": "string"
1630
- }
1631
- ],
1632
- "stateMutability": "pure"
1633
- },
1634
- {
1635
- "type": "function",
1636
- "name": "withdrawFromYieldSource",
1637
- "inputs": [
1638
- {
1639
- "name": "yieldSource",
1640
- "type": "address",
1641
- "internalType": "address"
1642
- },
1643
- {
1644
- "name": "asset",
1645
- "type": "address",
1646
- "internalType": "address"
1647
- },
1648
- {
1649
- "name": "shares",
1650
- "type": "uint256",
1651
- "internalType": "uint256"
1652
- }
1653
- ],
1654
- "outputs": [],
1655
- "stateMutability": "nonpayable"
1656
- },
1657
- {
1658
- "type": "function",
1659
- "name": "yieldSourceRegistry",
1660
- "inputs": [],
1661
- "outputs": [
1662
- {
1663
- "name": "",
1664
- "type": "address",
1665
- "internalType": "address"
1666
- }
1667
- ],
1668
- "stateMutability": "view"
1669
- },
1670
- {
1671
- "type": "event",
1672
- "name": "CapitalMigrated",
1673
- "inputs": [
1674
- {
1675
- "name": "owner",
1676
- "type": "address",
1677
- "indexed": true,
1678
- "internalType": "address"
1679
- },
1680
- {
1681
- "name": "asset",
1682
- "type": "address",
1683
- "indexed": true,
1684
- "internalType": "address"
1685
- },
1686
- {
1687
- "name": "fromSource",
1688
- "type": "address",
1689
- "indexed": true,
1690
- "internalType": "address"
1691
- },
1692
- {
1693
- "name": "toSource",
1694
- "type": "address",
1695
- "indexed": false,
1696
- "internalType": "address"
1697
- },
1698
- {
1699
- "name": "assets",
1700
- "type": "uint256",
1701
- "indexed": false,
1702
- "internalType": "uint256"
1703
- }
1704
- ],
1705
- "anonymous": false
1706
- },
1707
- {
1708
- "type": "event",
1709
- "name": "GovernorTransferInitiated",
1710
- "inputs": [
1711
- {
1712
- "name": "currentGovernor",
1713
- "type": "address",
1714
- "indexed": true,
1715
- "internalType": "address"
1716
- },
1717
- {
1718
- "name": "pendingGovernor_",
1719
- "type": "address",
1720
- "indexed": true,
1721
- "internalType": "address"
1722
- }
1723
- ],
1724
- "anonymous": false
1725
- },
1726
- {
1727
- "type": "event",
1728
- "name": "GovernorUpdated",
1729
- "inputs": [
1730
- {
1731
- "name": "oldGovernor",
1732
- "type": "address",
1733
- "indexed": true,
1734
- "internalType": "address"
1735
- },
1736
- {
1737
- "name": "newGovernor",
1738
- "type": "address",
1739
- "indexed": true,
1740
- "internalType": "address"
1741
- }
1742
- ],
1743
- "anonymous": false
1744
- },
1745
- {
1746
- "type": "event",
1747
- "name": "MarketFeaturePauseUpdated",
1748
- "inputs": [
1749
- {
1750
- "name": "market",
1751
- "type": "address",
1752
- "indexed": true,
1753
- "internalType": "address"
1754
- },
1755
- {
1756
- "name": "feature",
1757
- "type": "uint8",
1758
- "indexed": true,
1759
- "internalType": "enum MarketFeature"
1760
- },
1761
- {
1762
- "name": "paused",
1763
- "type": "bool",
1764
- "indexed": false,
1765
- "internalType": "bool"
1766
- },
1767
- {
1768
- "name": "caller",
1769
- "type": "address",
1770
- "indexed": true,
1771
- "internalType": "address"
1772
- }
1773
- ],
1774
- "anonymous": false
1775
- },
1776
- {
1777
- "type": "event",
1778
- "name": "MarketPauseUpdated",
1779
- "inputs": [
1780
- {
1781
- "name": "market",
1782
- "type": "address",
1783
- "indexed": true,
1784
- "internalType": "address"
1785
- },
1786
- {
1787
- "name": "paused",
1788
- "type": "bool",
1789
- "indexed": false,
1790
- "internalType": "bool"
1791
- },
1792
- {
1793
- "name": "caller",
1794
- "type": "address",
1795
- "indexed": true,
1796
- "internalType": "address"
1797
- }
1798
- ],
1799
- "anonymous": false
1800
- },
1801
- {
1802
- "type": "event",
1803
- "name": "Paused",
1804
- "inputs": [
1805
- {
1806
- "name": "account",
1807
- "type": "address",
1808
- "indexed": false,
1809
- "internalType": "address"
1810
- }
1811
- ],
1812
- "anonymous": false
1813
- },
1814
- {
1815
- "type": "event",
1816
- "name": "PauserUpdated",
1817
- "inputs": [
1818
- {
1819
- "name": "previousPauser",
1820
- "type": "address",
1821
- "indexed": true,
1822
- "internalType": "address"
1823
- },
1824
- {
1825
- "name": "newPauser",
1826
- "type": "address",
1827
- "indexed": true,
1828
- "internalType": "address"
1829
- }
1830
- ],
1831
- "anonymous": false
1832
- },
1833
- {
1834
- "type": "event",
1835
- "name": "Unpaused",
1836
- "inputs": [
1837
- {
1838
- "name": "account",
1839
- "type": "address",
1840
- "indexed": false,
1841
- "internalType": "address"
1842
- }
1843
- ],
1844
- "anonymous": false
1845
- },
1846
- {
1847
- "type": "error",
1848
- "name": "CallerIsNotGovernor",
1849
- "inputs": []
1850
- },
1851
- {
1852
- "type": "error",
1853
- "name": "CallerIsNotPendingGovernor",
1854
- "inputs": []
1855
- },
1856
- {
1857
- "type": "error",
1858
- "name": "EnforcedPause",
1859
- "inputs": []
1860
- },
1861
- {
1862
- "type": "error",
1863
- "name": "ExitPathNotPausable",
1864
- "inputs": [
1865
- {
1866
- "name": "feature",
1867
- "type": "uint8",
1868
- "internalType": "uint8"
1869
- }
1870
- ]
1871
- },
1872
- {
1873
- "type": "error",
1874
- "name": "ExpectedPause",
1875
- "inputs": []
1876
- },
1877
- {
1878
- "type": "error",
1879
- "name": "InvalidRetargetIntent",
1880
- "inputs": [
1881
- {
1882
- "name": "intentId",
1883
- "type": "uint256",
1884
- "internalType": "uint256"
1885
- }
1886
- ]
1887
- },
1888
- {
1889
- "type": "error",
1890
- "name": "MigrationInsufficientForRetarget",
1891
- "inputs": [
1892
- {
1893
- "name": "required",
1894
- "type": "uint256",
1895
- "internalType": "uint256"
1896
- },
1897
- {
1898
- "name": "migrated",
1899
- "type": "uint256",
1900
- "internalType": "uint256"
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "type": "error",
1906
- "name": "ReentrancyGuardReentrantCall",
1907
- "inputs": []
1908
- },
1909
- {
1910
- "type": "error",
1911
- "name": "SafeERC20FailedOperation",
1912
- "inputs": [
1913
- {
1914
- "name": "token",
1915
- "type": "address",
1916
- "internalType": "address"
1917
- }
1918
- ]
1919
- },
1920
- {
1921
- "type": "error",
1922
- "name": "Unauthorized",
1923
- "inputs": []
1924
- },
1925
- {
1926
- "type": "error",
1927
- "name": "UnauthorizedPause",
1928
- "inputs": []
1929
- },
1930
- {
1931
- "type": "error",
1932
- "name": "YieldWithdrawWouldInsolventIntents",
1933
- "inputs": [
1934
- {
1935
- "name": "committed",
1936
- "type": "uint256",
1937
- "internalType": "uint256"
1938
- },
1939
- {
1940
- "name": "balanceAfterWithdraw",
1941
- "type": "uint256",
1942
- "internalType": "uint256"
1943
- }
1944
- ]
1945
- },
1946
- {
1947
- "type": "error",
1948
- "name": "ZeroAddress",
1949
- "inputs": []
1950
- }
1951
- ]