@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,1169 +0,0 @@
1
- [
2
- {
3
- "type": "constructor",
4
- "inputs": [
5
- {
6
- "name": "init",
7
- "type": "tuple",
8
- "internalType": "struct IntentRegistryInit",
9
- "components": [
10
- {
11
- "name": "priceOracle",
12
- "type": "address",
13
- "internalType": "address"
14
- },
15
- {
16
- "name": "collateralTokenRegistry",
17
- "type": "address",
18
- "internalType": "address"
19
- },
20
- {
21
- "name": "yieldSourceRegistry",
22
- "type": "address",
23
- "internalType": "address"
24
- },
25
- {
26
- "name": "strategyRegistry",
27
- "type": "address",
28
- "internalType": "address"
29
- },
30
- {
31
- "name": "feeManager",
32
- "type": "address",
33
- "internalType": "address"
34
- },
35
- {
36
- "name": "loanAssetRegistry",
37
- "type": "address",
38
- "internalType": "address"
39
- },
40
- {
41
- "name": "intentStorage",
42
- "type": "address",
43
- "internalType": "address"
44
- },
45
- {
46
- "name": "matchingEngine",
47
- "type": "address",
48
- "internalType": "address"
49
- },
50
- {
51
- "name": "loanManager",
52
- "type": "address",
53
- "internalType": "address"
54
- },
55
- {
56
- "name": "facade",
57
- "type": "address",
58
- "internalType": "address"
59
- },
60
- {
61
- "name": "main",
62
- "type": "address",
63
- "internalType": "address"
64
- }
65
- ]
66
- }
67
- ],
68
- "stateMutability": "nonpayable"
69
- },
70
- {
71
- "type": "function",
72
- "name": "borrowerListHead",
73
- "inputs": [
74
- {
75
- "name": "",
76
- "type": "address",
77
- "internalType": "address"
78
- }
79
- ],
80
- "outputs": [
81
- {
82
- "name": "",
83
- "type": "uint256",
84
- "internalType": "uint256"
85
- }
86
- ],
87
- "stateMutability": "view"
88
- },
89
- {
90
- "type": "function",
91
- "name": "cancelIntentFor",
92
- "inputs": [
93
- {
94
- "name": "sender",
95
- "type": "address",
96
- "internalType": "address"
97
- },
98
- {
99
- "name": "id",
100
- "type": "uint256",
101
- "internalType": "uint256"
102
- },
103
- {
104
- "name": "intentType",
105
- "type": "uint8",
106
- "internalType": "enum IntentType"
107
- }
108
- ],
109
- "outputs": [],
110
- "stateMutability": "nonpayable"
111
- },
112
- {
113
- "type": "function",
114
- "name": "collateralTokenRegistry",
115
- "inputs": [],
116
- "outputs": [
117
- {
118
- "name": "",
119
- "type": "address",
120
- "internalType": "address"
121
- }
122
- ],
123
- "stateMutability": "view"
124
- },
125
- {
126
- "type": "function",
127
- "name": "committedCapacity",
128
- "inputs": [
129
- {
130
- "name": "owner",
131
- "type": "address",
132
- "internalType": "address"
133
- },
134
- {
135
- "name": "yieldSource",
136
- "type": "address",
137
- "internalType": "address"
138
- },
139
- {
140
- "name": "asset",
141
- "type": "address",
142
- "internalType": "address"
143
- }
144
- ],
145
- "outputs": [
146
- {
147
- "name": "",
148
- "type": "uint256",
149
- "internalType": "uint256"
150
- }
151
- ],
152
- "stateMutability": "view"
153
- },
154
- {
155
- "type": "function",
156
- "name": "committedCollateral",
157
- "inputs": [
158
- {
159
- "name": "owner",
160
- "type": "address",
161
- "internalType": "address"
162
- },
163
- {
164
- "name": "collateral",
165
- "type": "address",
166
- "internalType": "address"
167
- }
168
- ],
169
- "outputs": [
170
- {
171
- "name": "",
172
- "type": "uint256",
173
- "internalType": "uint256"
174
- }
175
- ],
176
- "stateMutability": "view"
177
- },
178
- {
179
- "type": "function",
180
- "name": "deactivateLenderIfExpired",
181
- "inputs": [
182
- {
183
- "name": "id",
184
- "type": "uint256",
185
- "internalType": "uint256"
186
- }
187
- ],
188
- "outputs": [],
189
- "stateMutability": "nonpayable"
190
- },
191
- {
192
- "type": "function",
193
- "name": "deactivateLenderIfInsolvent",
194
- "inputs": [
195
- {
196
- "name": "id",
197
- "type": "uint256",
198
- "internalType": "uint256"
199
- }
200
- ],
201
- "outputs": [],
202
- "stateMutability": "nonpayable"
203
- },
204
- {
205
- "type": "function",
206
- "name": "facade",
207
- "inputs": [],
208
- "outputs": [
209
- {
210
- "name": "",
211
- "type": "address",
212
- "internalType": "address"
213
- }
214
- ],
215
- "stateMutability": "view"
216
- },
217
- {
218
- "type": "function",
219
- "name": "feeManager",
220
- "inputs": [],
221
- "outputs": [
222
- {
223
- "name": "",
224
- "type": "address",
225
- "internalType": "address"
226
- }
227
- ],
228
- "stateMutability": "view"
229
- },
230
- {
231
- "type": "function",
232
- "name": "findInsertionHint",
233
- "inputs": [
234
- {
235
- "name": "asset",
236
- "type": "address",
237
- "internalType": "address"
238
- },
239
- {
240
- "name": "rate",
241
- "type": "uint256",
242
- "internalType": "uint256"
243
- }
244
- ],
245
- "outputs": [
246
- {
247
- "name": "hintId",
248
- "type": "uint256",
249
- "internalType": "uint256"
250
- }
251
- ],
252
- "stateMutability": "view"
253
- },
254
- {
255
- "type": "function",
256
- "name": "getBorrowerListNext",
257
- "inputs": [
258
- {
259
- "name": "id",
260
- "type": "uint256",
261
- "internalType": "uint256"
262
- }
263
- ],
264
- "outputs": [
265
- {
266
- "name": "",
267
- "type": "uint256",
268
- "internalType": "uint256"
269
- }
270
- ],
271
- "stateMutability": "view"
272
- },
273
- {
274
- "type": "function",
275
- "name": "getLenderListNext",
276
- "inputs": [
277
- {
278
- "name": "id",
279
- "type": "uint256",
280
- "internalType": "uint256"
281
- }
282
- ],
283
- "outputs": [
284
- {
285
- "name": "",
286
- "type": "uint256",
287
- "internalType": "uint256"
288
- }
289
- ],
290
- "stateMutability": "view"
291
- },
292
- {
293
- "type": "function",
294
- "name": "intentStorage",
295
- "inputs": [],
296
- "outputs": [
297
- {
298
- "name": "",
299
- "type": "address",
300
- "internalType": "contract IIntentRegistryStorage"
301
- }
302
- ],
303
- "stateMutability": "view"
304
- },
305
- {
306
- "type": "function",
307
- "name": "lenderListHead",
308
- "inputs": [
309
- {
310
- "name": "",
311
- "type": "address",
312
- "internalType": "address"
313
- }
314
- ],
315
- "outputs": [
316
- {
317
- "name": "",
318
- "type": "uint256",
319
- "internalType": "uint256"
320
- }
321
- ],
322
- "stateMutability": "view"
323
- },
324
- {
325
- "type": "function",
326
- "name": "loanAssetRegistry",
327
- "inputs": [],
328
- "outputs": [
329
- {
330
- "name": "",
331
- "type": "address",
332
- "internalType": "address"
333
- }
334
- ],
335
- "stateMutability": "view"
336
- },
337
- {
338
- "type": "function",
339
- "name": "loanManager",
340
- "inputs": [],
341
- "outputs": [
342
- {
343
- "name": "",
344
- "type": "address",
345
- "internalType": "address"
346
- }
347
- ],
348
- "stateMutability": "view"
349
- },
350
- {
351
- "type": "function",
352
- "name": "main",
353
- "inputs": [],
354
- "outputs": [
355
- {
356
- "name": "",
357
- "type": "address",
358
- "internalType": "address"
359
- }
360
- ],
361
- "stateMutability": "view"
362
- },
363
- {
364
- "type": "function",
365
- "name": "matchingEngine",
366
- "inputs": [],
367
- "outputs": [
368
- {
369
- "name": "",
370
- "type": "address",
371
- "internalType": "address"
372
- }
373
- ],
374
- "stateMutability": "view"
375
- },
376
- {
377
- "type": "function",
378
- "name": "nextBorrowerIntentId",
379
- "inputs": [],
380
- "outputs": [
381
- {
382
- "name": "",
383
- "type": "uint256",
384
- "internalType": "uint256"
385
- }
386
- ],
387
- "stateMutability": "view"
388
- },
389
- {
390
- "type": "function",
391
- "name": "nextLenderIntentId",
392
- "inputs": [],
393
- "outputs": [
394
- {
395
- "name": "",
396
- "type": "uint256",
397
- "internalType": "uint256"
398
- }
399
- ],
400
- "stateMutability": "view"
401
- },
402
- {
403
- "type": "function",
404
- "name": "ownerBorrowerIntents",
405
- "inputs": [
406
- {
407
- "name": "owner",
408
- "type": "address",
409
- "internalType": "address"
410
- }
411
- ],
412
- "outputs": [
413
- {
414
- "name": "",
415
- "type": "uint256[]",
416
- "internalType": "uint256[]"
417
- }
418
- ],
419
- "stateMutability": "view"
420
- },
421
- {
422
- "type": "function",
423
- "name": "ownerLenderIntents",
424
- "inputs": [
425
- {
426
- "name": "owner",
427
- "type": "address",
428
- "internalType": "address"
429
- }
430
- ],
431
- "outputs": [
432
- {
433
- "name": "",
434
- "type": "uint256[]",
435
- "internalType": "uint256[]"
436
- }
437
- ],
438
- "stateMutability": "view"
439
- },
440
- {
441
- "type": "function",
442
- "name": "priceOracle",
443
- "inputs": [],
444
- "outputs": [
445
- {
446
- "name": "",
447
- "type": "address",
448
- "internalType": "address"
449
- }
450
- ],
451
- "stateMutability": "view"
452
- },
453
- {
454
- "type": "function",
455
- "name": "retargetLenderYieldSourcesFor",
456
- "inputs": [
457
- {
458
- "name": "owner",
459
- "type": "address",
460
- "internalType": "address"
461
- },
462
- {
463
- "name": "intentIds",
464
- "type": "uint256[]",
465
- "internalType": "uint256[]"
466
- },
467
- {
468
- "name": "fromSource",
469
- "type": "address",
470
- "internalType": "address"
471
- },
472
- {
473
- "name": "toSource",
474
- "type": "address",
475
- "internalType": "address"
476
- },
477
- {
478
- "name": "asset",
479
- "type": "address",
480
- "internalType": "address"
481
- }
482
- ],
483
- "outputs": [],
484
- "stateMutability": "nonpayable"
485
- },
486
- {
487
- "type": "function",
488
- "name": "strategyRegistry",
489
- "inputs": [],
490
- "outputs": [
491
- {
492
- "name": "",
493
- "type": "address",
494
- "internalType": "address"
495
- }
496
- ],
497
- "stateMutability": "view"
498
- },
499
- {
500
- "type": "function",
501
- "name": "submitBorrowerIntentFor",
502
- "inputs": [
503
- {
504
- "name": "owner",
505
- "type": "address",
506
- "internalType": "address"
507
- },
508
- {
509
- "name": "p",
510
- "type": "tuple",
511
- "internalType": "struct BorrowerIntentParams",
512
- "components": [
513
- {
514
- "name": "asset",
515
- "type": "address",
516
- "internalType": "address"
517
- },
518
- {
519
- "name": "principal",
520
- "type": "uint256",
521
- "internalType": "uint256"
522
- },
523
- {
524
- "name": "maxRate",
525
- "type": "uint256",
526
- "internalType": "uint256"
527
- },
528
- {
529
- "name": "duration",
530
- "type": "uint256",
531
- "internalType": "uint256"
532
- },
533
- {
534
- "name": "collateral",
535
- "type": "address",
536
- "internalType": "address"
537
- },
538
- {
539
- "name": "maxCollateralAmount",
540
- "type": "uint256",
541
- "internalType": "uint256"
542
- },
543
- {
544
- "name": "expiry",
545
- "type": "uint256",
546
- "internalType": "uint256"
547
- },
548
- {
549
- "name": "autoRefinanceThresholdRate",
550
- "type": "uint256",
551
- "internalType": "uint256"
552
- },
553
- {
554
- "name": "solverTipBps",
555
- "type": "uint256",
556
- "internalType": "uint256"
557
- }
558
- ]
559
- }
560
- ],
561
- "outputs": [
562
- {
563
- "name": "intentId",
564
- "type": "uint256",
565
- "internalType": "uint256"
566
- }
567
- ],
568
- "stateMutability": "nonpayable"
569
- },
570
- {
571
- "type": "function",
572
- "name": "submitLenderIntentFor",
573
- "inputs": [
574
- {
575
- "name": "owner",
576
- "type": "address",
577
- "internalType": "address"
578
- },
579
- {
580
- "name": "p",
581
- "type": "tuple",
582
- "internalType": "struct LenderIntentParams",
583
- "components": [
584
- {
585
- "name": "asset",
586
- "type": "address",
587
- "internalType": "address"
588
- },
589
- {
590
- "name": "minPrincipal",
591
- "type": "uint256",
592
- "internalType": "uint256"
593
- },
594
- {
595
- "name": "maxPrincipal",
596
- "type": "uint256",
597
- "internalType": "uint256"
598
- },
599
- {
600
- "name": "minRate",
601
- "type": "uint256",
602
- "internalType": "uint256"
603
- },
604
- {
605
- "name": "minDuration",
606
- "type": "uint256",
607
- "internalType": "uint256"
608
- },
609
- {
610
- "name": "maxDuration",
611
- "type": "uint256",
612
- "internalType": "uint256"
613
- },
614
- {
615
- "name": "collateralToken",
616
- "type": "address",
617
- "internalType": "address"
618
- },
619
- {
620
- "name": "ltv",
621
- "type": "uint16",
622
- "internalType": "uint16"
623
- },
624
- {
625
- "name": "lltv",
626
- "type": "uint16",
627
- "internalType": "uint16"
628
- },
629
- {
630
- "name": "expiry",
631
- "type": "uint256",
632
- "internalType": "uint256"
633
- },
634
- {
635
- "name": "yieldSource",
636
- "type": "address",
637
- "internalType": "address"
638
- },
639
- {
640
- "name": "allowPartialFill",
641
- "type": "bool",
642
- "internalType": "bool"
643
- },
644
- {
645
- "name": "maxPerBorrowerAddress",
646
- "type": "uint256",
647
- "internalType": "uint256"
648
- },
649
- {
650
- "name": "earlyRepaymentFeeBps",
651
- "type": "uint256",
652
- "internalType": "uint256"
653
- },
654
- {
655
- "name": "blockEarlyRepayment",
656
- "type": "bool",
657
- "internalType": "bool"
658
- },
659
- {
660
- "name": "callbackReceiver",
661
- "type": "address",
662
- "internalType": "address"
663
- }
664
- ]
665
- },
666
- {
667
- "name": "hintId",
668
- "type": "uint256",
669
- "internalType": "uint256"
670
- }
671
- ],
672
- "outputs": [
673
- {
674
- "name": "",
675
- "type": "uint256",
676
- "internalType": "uint256"
677
- }
678
- ],
679
- "stateMutability": "nonpayable"
680
- },
681
- {
682
- "type": "function",
683
- "name": "submitLenderIntentFor",
684
- "inputs": [
685
- {
686
- "name": "owner",
687
- "type": "address",
688
- "internalType": "address"
689
- },
690
- {
691
- "name": "p",
692
- "type": "tuple",
693
- "internalType": "struct LenderIntentParams",
694
- "components": [
695
- {
696
- "name": "asset",
697
- "type": "address",
698
- "internalType": "address"
699
- },
700
- {
701
- "name": "minPrincipal",
702
- "type": "uint256",
703
- "internalType": "uint256"
704
- },
705
- {
706
- "name": "maxPrincipal",
707
- "type": "uint256",
708
- "internalType": "uint256"
709
- },
710
- {
711
- "name": "minRate",
712
- "type": "uint256",
713
- "internalType": "uint256"
714
- },
715
- {
716
- "name": "minDuration",
717
- "type": "uint256",
718
- "internalType": "uint256"
719
- },
720
- {
721
- "name": "maxDuration",
722
- "type": "uint256",
723
- "internalType": "uint256"
724
- },
725
- {
726
- "name": "collateralToken",
727
- "type": "address",
728
- "internalType": "address"
729
- },
730
- {
731
- "name": "ltv",
732
- "type": "uint16",
733
- "internalType": "uint16"
734
- },
735
- {
736
- "name": "lltv",
737
- "type": "uint16",
738
- "internalType": "uint16"
739
- },
740
- {
741
- "name": "expiry",
742
- "type": "uint256",
743
- "internalType": "uint256"
744
- },
745
- {
746
- "name": "yieldSource",
747
- "type": "address",
748
- "internalType": "address"
749
- },
750
- {
751
- "name": "allowPartialFill",
752
- "type": "bool",
753
- "internalType": "bool"
754
- },
755
- {
756
- "name": "maxPerBorrowerAddress",
757
- "type": "uint256",
758
- "internalType": "uint256"
759
- },
760
- {
761
- "name": "earlyRepaymentFeeBps",
762
- "type": "uint256",
763
- "internalType": "uint256"
764
- },
765
- {
766
- "name": "blockEarlyRepayment",
767
- "type": "bool",
768
- "internalType": "bool"
769
- },
770
- {
771
- "name": "callbackReceiver",
772
- "type": "address",
773
- "internalType": "address"
774
- }
775
- ]
776
- }
777
- ],
778
- "outputs": [
779
- {
780
- "name": "",
781
- "type": "uint256",
782
- "internalType": "uint256"
783
- }
784
- ],
785
- "stateMutability": "nonpayable"
786
- },
787
- {
788
- "type": "function",
789
- "name": "updateFilled",
790
- "inputs": [
791
- {
792
- "name": "id",
793
- "type": "uint256",
794
- "internalType": "uint256"
795
- },
796
- {
797
- "name": "amount",
798
- "type": "uint256",
799
- "internalType": "uint256"
800
- },
801
- {
802
- "name": "isLender",
803
- "type": "bool",
804
- "internalType": "bool"
805
- },
806
- {
807
- "name": "borrower",
808
- "type": "address",
809
- "internalType": "address"
810
- }
811
- ],
812
- "outputs": [],
813
- "stateMutability": "nonpayable"
814
- },
815
- {
816
- "type": "function",
817
- "name": "updateFilledFor",
818
- "inputs": [
819
- {
820
- "name": "caller",
821
- "type": "address",
822
- "internalType": "address"
823
- },
824
- {
825
- "name": "id",
826
- "type": "uint256",
827
- "internalType": "uint256"
828
- },
829
- {
830
- "name": "amount",
831
- "type": "uint256",
832
- "internalType": "uint256"
833
- },
834
- {
835
- "name": "isLender",
836
- "type": "bool",
837
- "internalType": "bool"
838
- },
839
- {
840
- "name": "borrower",
841
- "type": "address",
842
- "internalType": "address"
843
- }
844
- ],
845
- "outputs": [],
846
- "stateMutability": "nonpayable"
847
- },
848
- {
849
- "type": "function",
850
- "name": "yieldSourceRegistry",
851
- "inputs": [],
852
- "outputs": [
853
- {
854
- "name": "",
855
- "type": "address",
856
- "internalType": "address"
857
- }
858
- ],
859
- "stateMutability": "view"
860
- },
861
- {
862
- "type": "event",
863
- "name": "BorrowerIntentSubmitted",
864
- "inputs": [
865
- {
866
- "name": "id",
867
- "type": "uint256",
868
- "indexed": true,
869
- "internalType": "uint256"
870
- },
871
- {
872
- "name": "owner",
873
- "type": "address",
874
- "indexed": true,
875
- "internalType": "address"
876
- },
877
- {
878
- "name": "asset",
879
- "type": "address",
880
- "indexed": true,
881
- "internalType": "address"
882
- },
883
- {
884
- "name": "principal",
885
- "type": "uint256",
886
- "indexed": false,
887
- "internalType": "uint256"
888
- },
889
- {
890
- "name": "maxRate",
891
- "type": "uint256",
892
- "indexed": false,
893
- "internalType": "uint256"
894
- }
895
- ],
896
- "anonymous": false
897
- },
898
- {
899
- "type": "event",
900
- "name": "IntentCancelled",
901
- "inputs": [
902
- {
903
- "name": "id",
904
- "type": "uint256",
905
- "indexed": true,
906
- "internalType": "uint256"
907
- },
908
- {
909
- "name": "intentType",
910
- "type": "uint8",
911
- "indexed": false,
912
- "internalType": "enum IntentType"
913
- },
914
- {
915
- "name": "owner",
916
- "type": "address",
917
- "indexed": false,
918
- "internalType": "address"
919
- }
920
- ],
921
- "anonymous": false
922
- },
923
- {
924
- "type": "event",
925
- "name": "LenderIntentSubmitted",
926
- "inputs": [
927
- {
928
- "name": "id",
929
- "type": "uint256",
930
- "indexed": true,
931
- "internalType": "uint256"
932
- },
933
- {
934
- "name": "owner",
935
- "type": "address",
936
- "indexed": true,
937
- "internalType": "address"
938
- },
939
- {
940
- "name": "asset",
941
- "type": "address",
942
- "indexed": true,
943
- "internalType": "address"
944
- },
945
- {
946
- "name": "maxPrincipal",
947
- "type": "uint256",
948
- "indexed": false,
949
- "internalType": "uint256"
950
- },
951
- {
952
- "name": "minRate",
953
- "type": "uint256",
954
- "indexed": false,
955
- "internalType": "uint256"
956
- }
957
- ],
958
- "anonymous": false
959
- },
960
- {
961
- "type": "event",
962
- "name": "LenderYieldSourceRetargeted",
963
- "inputs": [
964
- {
965
- "name": "intentId",
966
- "type": "uint256",
967
- "indexed": true,
968
- "internalType": "uint256"
969
- },
970
- {
971
- "name": "owner",
972
- "type": "address",
973
- "indexed": true,
974
- "internalType": "address"
975
- },
976
- {
977
- "name": "asset",
978
- "type": "address",
979
- "indexed": true,
980
- "internalType": "address"
981
- },
982
- {
983
- "name": "fromSource",
984
- "type": "address",
985
- "indexed": false,
986
- "internalType": "address"
987
- },
988
- {
989
- "name": "toSource",
990
- "type": "address",
991
- "indexed": false,
992
- "internalType": "address"
993
- },
994
- {
995
- "name": "remainingCapacity",
996
- "type": "uint256",
997
- "indexed": false,
998
- "internalType": "uint256"
999
- }
1000
- ],
1001
- "anonymous": false
1002
- },
1003
- {
1004
- "type": "error",
1005
- "name": "CollateralOraclePriceZero",
1006
- "inputs": [
1007
- {
1008
- "name": "token",
1009
- "type": "address",
1010
- "internalType": "address"
1011
- }
1012
- ]
1013
- },
1014
- {
1015
- "type": "error",
1016
- "name": "FeeExceedsMaximum",
1017
- "inputs": [
1018
- {
1019
- "name": "provided",
1020
- "type": "uint256",
1021
- "internalType": "uint256"
1022
- },
1023
- {
1024
- "name": "maximum",
1025
- "type": "uint256",
1026
- "internalType": "uint256"
1027
- }
1028
- ]
1029
- },
1030
- {
1031
- "type": "error",
1032
- "name": "FillBelowDustFloor",
1033
- "inputs": []
1034
- },
1035
- {
1036
- "type": "error",
1037
- "name": "InsufficientWalletBalanceOrAllowance",
1038
- "inputs": [
1039
- {
1040
- "name": "asset",
1041
- "type": "address",
1042
- "internalType": "address"
1043
- },
1044
- {
1045
- "name": "owner",
1046
- "type": "address",
1047
- "internalType": "address"
1048
- },
1049
- {
1050
- "name": "needed",
1051
- "type": "uint256",
1052
- "internalType": "uint256"
1053
- },
1054
- {
1055
- "name": "balance",
1056
- "type": "uint256",
1057
- "internalType": "uint256"
1058
- },
1059
- {
1060
- "name": "allowance",
1061
- "type": "uint256",
1062
- "internalType": "uint256"
1063
- }
1064
- ]
1065
- },
1066
- {
1067
- "type": "error",
1068
- "name": "InsufficientYieldSourceBalance",
1069
- "inputs": []
1070
- },
1071
- {
1072
- "type": "error",
1073
- "name": "IntentRegistryEnforcedPause",
1074
- "inputs": []
1075
- },
1076
- {
1077
- "type": "error",
1078
- "name": "InvalidAsset",
1079
- "inputs": []
1080
- },
1081
- {
1082
- "type": "error",
1083
- "name": "InvalidCollateralConfig",
1084
- "inputs": []
1085
- },
1086
- {
1087
- "type": "error",
1088
- "name": "InvalidDuration",
1089
- "inputs": []
1090
- },
1091
- {
1092
- "type": "error",
1093
- "name": "InvalidExpiry",
1094
- "inputs": []
1095
- },
1096
- {
1097
- "type": "error",
1098
- "name": "InvalidPrincipal",
1099
- "inputs": []
1100
- },
1101
- {
1102
- "type": "error",
1103
- "name": "InvalidRate",
1104
- "inputs": []
1105
- },
1106
- {
1107
- "type": "error",
1108
- "name": "InvalidRetargetIntent",
1109
- "inputs": [
1110
- {
1111
- "name": "intentId",
1112
- "type": "uint256",
1113
- "internalType": "uint256"
1114
- }
1115
- ]
1116
- },
1117
- {
1118
- "type": "error",
1119
- "name": "LoanManagerEnforcedPause",
1120
- "inputs": []
1121
- },
1122
- {
1123
- "type": "error",
1124
- "name": "MarketEnforcedPause",
1125
- "inputs": [
1126
- {
1127
- "name": "market",
1128
- "type": "address",
1129
- "internalType": "address"
1130
- }
1131
- ]
1132
- },
1133
- {
1134
- "type": "error",
1135
- "name": "MarketFeatureEnforcedPause",
1136
- "inputs": [
1137
- {
1138
- "name": "market",
1139
- "type": "address",
1140
- "internalType": "address"
1141
- },
1142
- {
1143
- "name": "feature",
1144
- "type": "uint8",
1145
- "internalType": "uint8"
1146
- }
1147
- ]
1148
- },
1149
- {
1150
- "type": "error",
1151
- "name": "MatchingEngineEnforcedPause",
1152
- "inputs": []
1153
- },
1154
- {
1155
- "type": "error",
1156
- "name": "OraclePriceStale",
1157
- "inputs": []
1158
- },
1159
- {
1160
- "type": "error",
1161
- "name": "SecondaryMarketEnforcedPause",
1162
- "inputs": []
1163
- },
1164
- {
1165
- "type": "error",
1166
- "name": "ZeroAddress",
1167
- "inputs": []
1168
- }
1169
- ]