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