@pearcurve/sdk 0.1.0 → 0.1.1

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 +2 -2
  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,1348 +0,0 @@
1
- [
2
- {
3
- "type": "constructor",
4
- "inputs": [
5
- {
6
- "name": "governor_",
7
- "type": "address",
8
- "internalType": "address"
9
- },
10
- {
11
- "name": "_main",
12
- "type": "address",
13
- "internalType": "address"
14
- },
15
- {
16
- "name": "_positionToken",
17
- "type": "address",
18
- "internalType": "address"
19
- },
20
- {
21
- "name": "_loanManager",
22
- "type": "address",
23
- "internalType": "address"
24
- },
25
- {
26
- "name": "_feeManager",
27
- "type": "address",
28
- "internalType": "address"
29
- }
30
- ],
31
- "stateMutability": "nonpayable"
32
- },
33
- {
34
- "type": "function",
35
- "name": "BPS",
36
- "inputs": [],
37
- "outputs": [
38
- {
39
- "name": "",
40
- "type": "uint256",
41
- "internalType": "uint256"
42
- }
43
- ],
44
- "stateMutability": "view"
45
- },
46
- {
47
- "type": "function",
48
- "name": "MAX_FEE_BPS",
49
- "inputs": [],
50
- "outputs": [
51
- {
52
- "name": "",
53
- "type": "uint256",
54
- "internalType": "uint256"
55
- }
56
- ],
57
- "stateMutability": "view"
58
- },
59
- {
60
- "type": "function",
61
- "name": "acceptBid",
62
- "inputs": [
63
- {
64
- "name": "loanId",
65
- "type": "uint256",
66
- "internalType": "uint256"
67
- },
68
- {
69
- "name": "bidId",
70
- "type": "uint256",
71
- "internalType": "uint256"
72
- }
73
- ],
74
- "outputs": [],
75
- "stateMutability": "nonpayable"
76
- },
77
- {
78
- "type": "function",
79
- "name": "acceptGovernance",
80
- "inputs": [],
81
- "outputs": [],
82
- "stateMutability": "nonpayable"
83
- },
84
- {
85
- "type": "function",
86
- "name": "allowedCurrencies",
87
- "inputs": [
88
- {
89
- "name": "",
90
- "type": "address",
91
- "internalType": "address"
92
- }
93
- ],
94
- "outputs": [
95
- {
96
- "name": "",
97
- "type": "bool",
98
- "internalType": "bool"
99
- }
100
- ],
101
- "stateMutability": "view"
102
- },
103
- {
104
- "type": "function",
105
- "name": "auctions",
106
- "inputs": [
107
- {
108
- "name": "",
109
- "type": "uint256",
110
- "internalType": "uint256"
111
- }
112
- ],
113
- "outputs": [
114
- {
115
- "name": "seller",
116
- "type": "address",
117
- "internalType": "address"
118
- },
119
- {
120
- "name": "currency",
121
- "type": "address",
122
- "internalType": "address"
123
- },
124
- {
125
- "name": "reservePrice",
126
- "type": "uint256",
127
- "internalType": "uint256"
128
- },
129
- {
130
- "name": "deadline",
131
- "type": "uint256",
132
- "internalType": "uint256"
133
- },
134
- {
135
- "name": "highestBidder",
136
- "type": "address",
137
- "internalType": "address"
138
- },
139
- {
140
- "name": "highestBid",
141
- "type": "uint256",
142
- "internalType": "uint256"
143
- },
144
- {
145
- "name": "active",
146
- "type": "bool",
147
- "internalType": "bool"
148
- },
149
- {
150
- "name": "settled",
151
- "type": "bool",
152
- "internalType": "bool"
153
- }
154
- ],
155
- "stateMutability": "view"
156
- },
157
- {
158
- "type": "function",
159
- "name": "bidAuction",
160
- "inputs": [
161
- {
162
- "name": "loanId",
163
- "type": "uint256",
164
- "internalType": "uint256"
165
- },
166
- {
167
- "name": "amount",
168
- "type": "uint256",
169
- "internalType": "uint256"
170
- }
171
- ],
172
- "outputs": [],
173
- "stateMutability": "nonpayable"
174
- },
175
- {
176
- "type": "function",
177
- "name": "bids",
178
- "inputs": [
179
- {
180
- "name": "",
181
- "type": "uint256",
182
- "internalType": "uint256"
183
- }
184
- ],
185
- "outputs": [
186
- {
187
- "name": "loanId",
188
- "type": "uint256",
189
- "internalType": "uint256"
190
- },
191
- {
192
- "name": "bidder",
193
- "type": "address",
194
- "internalType": "address"
195
- },
196
- {
197
- "name": "currency",
198
- "type": "address",
199
- "internalType": "address"
200
- },
201
- {
202
- "name": "amount",
203
- "type": "uint256",
204
- "internalType": "uint256"
205
- },
206
- {
207
- "name": "expiry",
208
- "type": "uint256",
209
- "internalType": "uint256"
210
- },
211
- {
212
- "name": "transferNonce",
213
- "type": "uint256",
214
- "internalType": "uint256"
215
- },
216
- {
217
- "name": "active",
218
- "type": "bool",
219
- "internalType": "bool"
220
- }
221
- ],
222
- "stateMutability": "view"
223
- },
224
- {
225
- "type": "function",
226
- "name": "buy",
227
- "inputs": [
228
- {
229
- "name": "loanId",
230
- "type": "uint256",
231
- "internalType": "uint256"
232
- }
233
- ],
234
- "outputs": [],
235
- "stateMutability": "nonpayable"
236
- },
237
- {
238
- "type": "function",
239
- "name": "cancelAuction",
240
- "inputs": [
241
- {
242
- "name": "loanId",
243
- "type": "uint256",
244
- "internalType": "uint256"
245
- }
246
- ],
247
- "outputs": [],
248
- "stateMutability": "nonpayable"
249
- },
250
- {
251
- "type": "function",
252
- "name": "cancelBid",
253
- "inputs": [
254
- {
255
- "name": "bidId",
256
- "type": "uint256",
257
- "internalType": "uint256"
258
- }
259
- ],
260
- "outputs": [],
261
- "stateMutability": "nonpayable"
262
- },
263
- {
264
- "type": "function",
265
- "name": "cancelListing",
266
- "inputs": [
267
- {
268
- "name": "loanId",
269
- "type": "uint256",
270
- "internalType": "uint256"
271
- }
272
- ],
273
- "outputs": [],
274
- "stateMutability": "nonpayable"
275
- },
276
- {
277
- "type": "function",
278
- "name": "claimRefund",
279
- "inputs": [
280
- {
281
- "name": "currency",
282
- "type": "address",
283
- "internalType": "address"
284
- }
285
- ],
286
- "outputs": [],
287
- "stateMutability": "nonpayable"
288
- },
289
- {
290
- "type": "function",
291
- "name": "claimRefundTo",
292
- "inputs": [
293
- {
294
- "name": "currency",
295
- "type": "address",
296
- "internalType": "address"
297
- },
298
- {
299
- "name": "recipient",
300
- "type": "address",
301
- "internalType": "address"
302
- }
303
- ],
304
- "outputs": [],
305
- "stateMutability": "nonpayable"
306
- },
307
- {
308
- "type": "function",
309
- "name": "createAuction",
310
- "inputs": [
311
- {
312
- "name": "loanId",
313
- "type": "uint256",
314
- "internalType": "uint256"
315
- },
316
- {
317
- "name": "currency",
318
- "type": "address",
319
- "internalType": "address"
320
- },
321
- {
322
- "name": "reservePrice",
323
- "type": "uint256",
324
- "internalType": "uint256"
325
- },
326
- {
327
- "name": "deadline",
328
- "type": "uint256",
329
- "internalType": "uint256"
330
- }
331
- ],
332
- "outputs": [],
333
- "stateMutability": "nonpayable"
334
- },
335
- {
336
- "type": "function",
337
- "name": "createListing",
338
- "inputs": [
339
- {
340
- "name": "loanId",
341
- "type": "uint256",
342
- "internalType": "uint256"
343
- },
344
- {
345
- "name": "currency",
346
- "type": "address",
347
- "internalType": "address"
348
- },
349
- {
350
- "name": "price",
351
- "type": "uint256",
352
- "internalType": "uint256"
353
- },
354
- {
355
- "name": "expiry",
356
- "type": "uint256",
357
- "internalType": "uint256"
358
- }
359
- ],
360
- "outputs": [],
361
- "stateMutability": "nonpayable"
362
- },
363
- {
364
- "type": "function",
365
- "name": "feeBps",
366
- "inputs": [],
367
- "outputs": [
368
- {
369
- "name": "",
370
- "type": "uint256",
371
- "internalType": "uint256"
372
- }
373
- ],
374
- "stateMutability": "view"
375
- },
376
- {
377
- "type": "function",
378
- "name": "feeManager",
379
- "inputs": [],
380
- "outputs": [
381
- {
382
- "name": "",
383
- "type": "address",
384
- "internalType": "contract IFeeManager"
385
- }
386
- ],
387
- "stateMutability": "view"
388
- },
389
- {
390
- "type": "function",
391
- "name": "feeRecipient",
392
- "inputs": [],
393
- "outputs": [
394
- {
395
- "name": "",
396
- "type": "address",
397
- "internalType": "address"
398
- }
399
- ],
400
- "stateMutability": "view"
401
- },
402
- {
403
- "type": "function",
404
- "name": "getLoanBids",
405
- "inputs": [
406
- {
407
- "name": "loanId",
408
- "type": "uint256",
409
- "internalType": "uint256"
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": "getSellerChangeStatus",
424
- "inputs": [
425
- {
426
- "name": "loanId",
427
- "type": "uint256",
428
- "internalType": "uint256"
429
- }
430
- ],
431
- "outputs": [
432
- {
433
- "name": "listingSellerChanged",
434
- "type": "bool",
435
- "internalType": "bool"
436
- },
437
- {
438
- "name": "auctionSellerChanged",
439
- "type": "bool",
440
- "internalType": "bool"
441
- },
442
- {
443
- "name": "currentOwner",
444
- "type": "address",
445
- "internalType": "address"
446
- }
447
- ],
448
- "stateMutability": "view"
449
- },
450
- {
451
- "type": "function",
452
- "name": "governor",
453
- "inputs": [],
454
- "outputs": [
455
- {
456
- "name": "",
457
- "type": "address",
458
- "internalType": "address"
459
- }
460
- ],
461
- "stateMutability": "view"
462
- },
463
- {
464
- "type": "function",
465
- "name": "listings",
466
- "inputs": [
467
- {
468
- "name": "",
469
- "type": "uint256",
470
- "internalType": "uint256"
471
- }
472
- ],
473
- "outputs": [
474
- {
475
- "name": "seller",
476
- "type": "address",
477
- "internalType": "address"
478
- },
479
- {
480
- "name": "currency",
481
- "type": "address",
482
- "internalType": "address"
483
- },
484
- {
485
- "name": "price",
486
- "type": "uint256",
487
- "internalType": "uint256"
488
- },
489
- {
490
- "name": "expiry",
491
- "type": "uint256",
492
- "internalType": "uint256"
493
- },
494
- {
495
- "name": "active",
496
- "type": "bool",
497
- "internalType": "bool"
498
- }
499
- ],
500
- "stateMutability": "view"
501
- },
502
- {
503
- "type": "function",
504
- "name": "loanManager",
505
- "inputs": [],
506
- "outputs": [
507
- {
508
- "name": "",
509
- "type": "address",
510
- "internalType": "contract ILoanManager"
511
- }
512
- ],
513
- "stateMutability": "view"
514
- },
515
- {
516
- "type": "function",
517
- "name": "main",
518
- "inputs": [],
519
- "outputs": [
520
- {
521
- "name": "",
522
- "type": "address",
523
- "internalType": "address"
524
- }
525
- ],
526
- "stateMutability": "view"
527
- },
528
- {
529
- "type": "function",
530
- "name": "nextBidId",
531
- "inputs": [],
532
- "outputs": [
533
- {
534
- "name": "",
535
- "type": "uint256",
536
- "internalType": "uint256"
537
- }
538
- ],
539
- "stateMutability": "view"
540
- },
541
- {
542
- "type": "function",
543
- "name": "onPositionTransferred",
544
- "inputs": [
545
- {
546
- "name": "loanId",
547
- "type": "uint256",
548
- "internalType": "uint256"
549
- }
550
- ],
551
- "outputs": [],
552
- "stateMutability": "nonpayable"
553
- },
554
- {
555
- "type": "function",
556
- "name": "pendingGovernor",
557
- "inputs": [],
558
- "outputs": [
559
- {
560
- "name": "",
561
- "type": "address",
562
- "internalType": "address"
563
- }
564
- ],
565
- "stateMutability": "view"
566
- },
567
- {
568
- "type": "function",
569
- "name": "pendingRefunds",
570
- "inputs": [
571
- {
572
- "name": "",
573
- "type": "address",
574
- "internalType": "address"
575
- },
576
- {
577
- "name": "",
578
- "type": "address",
579
- "internalType": "address"
580
- }
581
- ],
582
- "outputs": [
583
- {
584
- "name": "",
585
- "type": "uint256",
586
- "internalType": "uint256"
587
- }
588
- ],
589
- "stateMutability": "view"
590
- },
591
- {
592
- "type": "function",
593
- "name": "placeBid",
594
- "inputs": [
595
- {
596
- "name": "loanId",
597
- "type": "uint256",
598
- "internalType": "uint256"
599
- },
600
- {
601
- "name": "currency",
602
- "type": "address",
603
- "internalType": "address"
604
- },
605
- {
606
- "name": "amount",
607
- "type": "uint256",
608
- "internalType": "uint256"
609
- },
610
- {
611
- "name": "expiry",
612
- "type": "uint256",
613
- "internalType": "uint256"
614
- }
615
- ],
616
- "outputs": [
617
- {
618
- "name": "bidId",
619
- "type": "uint256",
620
- "internalType": "uint256"
621
- }
622
- ],
623
- "stateMutability": "nonpayable"
624
- },
625
- {
626
- "type": "function",
627
- "name": "positionToken",
628
- "inputs": [],
629
- "outputs": [
630
- {
631
- "name": "",
632
- "type": "address",
633
- "internalType": "contract ILoanPositionTokenForMarket"
634
- }
635
- ],
636
- "stateMutability": "view"
637
- },
638
- {
639
- "type": "function",
640
- "name": "setCurrenciesAllowed",
641
- "inputs": [
642
- {
643
- "name": "currencies",
644
- "type": "address[]",
645
- "internalType": "address[]"
646
- },
647
- {
648
- "name": "allowed",
649
- "type": "bool",
650
- "internalType": "bool"
651
- }
652
- ],
653
- "outputs": [],
654
- "stateMutability": "nonpayable"
655
- },
656
- {
657
- "type": "function",
658
- "name": "setCurrencyAllowed",
659
- "inputs": [
660
- {
661
- "name": "currency",
662
- "type": "address",
663
- "internalType": "address"
664
- },
665
- {
666
- "name": "allowed",
667
- "type": "bool",
668
- "internalType": "bool"
669
- }
670
- ],
671
- "outputs": [],
672
- "stateMutability": "nonpayable"
673
- },
674
- {
675
- "type": "function",
676
- "name": "settleAuction",
677
- "inputs": [
678
- {
679
- "name": "loanId",
680
- "type": "uint256",
681
- "internalType": "uint256"
682
- }
683
- ],
684
- "outputs": [],
685
- "stateMutability": "nonpayable"
686
- },
687
- {
688
- "type": "function",
689
- "name": "syncSellerChange",
690
- "inputs": [
691
- {
692
- "name": "loanId",
693
- "type": "uint256",
694
- "internalType": "uint256"
695
- }
696
- ],
697
- "outputs": [
698
- {
699
- "name": "listingClosed",
700
- "type": "bool",
701
- "internalType": "bool"
702
- },
703
- {
704
- "name": "auctionClosed",
705
- "type": "bool",
706
- "internalType": "bool"
707
- }
708
- ],
709
- "stateMutability": "nonpayable"
710
- },
711
- {
712
- "type": "function",
713
- "name": "transferGovernance",
714
- "inputs": [
715
- {
716
- "name": "newGovernor",
717
- "type": "address",
718
- "internalType": "address"
719
- }
720
- ],
721
- "outputs": [],
722
- "stateMutability": "nonpayable"
723
- },
724
- {
725
- "type": "event",
726
- "name": "AuctionBid",
727
- "inputs": [
728
- {
729
- "name": "loanId",
730
- "type": "uint256",
731
- "indexed": true,
732
- "internalType": "uint256"
733
- },
734
- {
735
- "name": "bidder",
736
- "type": "address",
737
- "indexed": true,
738
- "internalType": "address"
739
- },
740
- {
741
- "name": "amount",
742
- "type": "uint256",
743
- "indexed": false,
744
- "internalType": "uint256"
745
- }
746
- ],
747
- "anonymous": false
748
- },
749
- {
750
- "type": "event",
751
- "name": "AuctionCancelled",
752
- "inputs": [
753
- {
754
- "name": "loanId",
755
- "type": "uint256",
756
- "indexed": true,
757
- "internalType": "uint256"
758
- }
759
- ],
760
- "anonymous": false
761
- },
762
- {
763
- "type": "event",
764
- "name": "AuctionCreated",
765
- "inputs": [
766
- {
767
- "name": "loanId",
768
- "type": "uint256",
769
- "indexed": true,
770
- "internalType": "uint256"
771
- },
772
- {
773
- "name": "seller",
774
- "type": "address",
775
- "indexed": true,
776
- "internalType": "address"
777
- },
778
- {
779
- "name": "currency",
780
- "type": "address",
781
- "indexed": false,
782
- "internalType": "address"
783
- },
784
- {
785
- "name": "reservePrice",
786
- "type": "uint256",
787
- "indexed": false,
788
- "internalType": "uint256"
789
- },
790
- {
791
- "name": "deadline",
792
- "type": "uint256",
793
- "indexed": false,
794
- "internalType": "uint256"
795
- }
796
- ],
797
- "anonymous": false
798
- },
799
- {
800
- "type": "event",
801
- "name": "AuctionSettled",
802
- "inputs": [
803
- {
804
- "name": "loanId",
805
- "type": "uint256",
806
- "indexed": true,
807
- "internalType": "uint256"
808
- },
809
- {
810
- "name": "winner",
811
- "type": "address",
812
- "indexed": true,
813
- "internalType": "address"
814
- },
815
- {
816
- "name": "amount",
817
- "type": "uint256",
818
- "indexed": false,
819
- "internalType": "uint256"
820
- }
821
- ],
822
- "anonymous": false
823
- },
824
- {
825
- "type": "event",
826
- "name": "BidAccepted",
827
- "inputs": [
828
- {
829
- "name": "bidId",
830
- "type": "uint256",
831
- "indexed": true,
832
- "internalType": "uint256"
833
- },
834
- {
835
- "name": "loanId",
836
- "type": "uint256",
837
- "indexed": true,
838
- "internalType": "uint256"
839
- },
840
- {
841
- "name": "seller",
842
- "type": "address",
843
- "indexed": true,
844
- "internalType": "address"
845
- },
846
- {
847
- "name": "buyer",
848
- "type": "address",
849
- "indexed": false,
850
- "internalType": "address"
851
- },
852
- {
853
- "name": "amount",
854
- "type": "uint256",
855
- "indexed": false,
856
- "internalType": "uint256"
857
- }
858
- ],
859
- "anonymous": false
860
- },
861
- {
862
- "type": "event",
863
- "name": "BidCancelled",
864
- "inputs": [
865
- {
866
- "name": "bidId",
867
- "type": "uint256",
868
- "indexed": true,
869
- "internalType": "uint256"
870
- }
871
- ],
872
- "anonymous": false
873
- },
874
- {
875
- "type": "event",
876
- "name": "BidPlaced",
877
- "inputs": [
878
- {
879
- "name": "bidId",
880
- "type": "uint256",
881
- "indexed": true,
882
- "internalType": "uint256"
883
- },
884
- {
885
- "name": "loanId",
886
- "type": "uint256",
887
- "indexed": true,
888
- "internalType": "uint256"
889
- },
890
- {
891
- "name": "bidder",
892
- "type": "address",
893
- "indexed": true,
894
- "internalType": "address"
895
- },
896
- {
897
- "name": "currency",
898
- "type": "address",
899
- "indexed": false,
900
- "internalType": "address"
901
- },
902
- {
903
- "name": "amount",
904
- "type": "uint256",
905
- "indexed": false,
906
- "internalType": "uint256"
907
- },
908
- {
909
- "name": "expiry",
910
- "type": "uint256",
911
- "indexed": false,
912
- "internalType": "uint256"
913
- }
914
- ],
915
- "anonymous": false
916
- },
917
- {
918
- "type": "event",
919
- "name": "CurrencyAllowedUpdated",
920
- "inputs": [
921
- {
922
- "name": "currency",
923
- "type": "address",
924
- "indexed": true,
925
- "internalType": "address"
926
- },
927
- {
928
- "name": "allowed",
929
- "type": "bool",
930
- "indexed": false,
931
- "internalType": "bool"
932
- }
933
- ],
934
- "anonymous": false
935
- },
936
- {
937
- "type": "event",
938
- "name": "GovernorTransferInitiated",
939
- "inputs": [
940
- {
941
- "name": "currentGovernor",
942
- "type": "address",
943
- "indexed": true,
944
- "internalType": "address"
945
- },
946
- {
947
- "name": "pendingGovernor_",
948
- "type": "address",
949
- "indexed": true,
950
- "internalType": "address"
951
- }
952
- ],
953
- "anonymous": false
954
- },
955
- {
956
- "type": "event",
957
- "name": "GovernorUpdated",
958
- "inputs": [
959
- {
960
- "name": "oldGovernor",
961
- "type": "address",
962
- "indexed": true,
963
- "internalType": "address"
964
- },
965
- {
966
- "name": "newGovernor",
967
- "type": "address",
968
- "indexed": true,
969
- "internalType": "address"
970
- }
971
- ],
972
- "anonymous": false
973
- },
974
- {
975
- "type": "event",
976
- "name": "ListingCancelled",
977
- "inputs": [
978
- {
979
- "name": "loanId",
980
- "type": "uint256",
981
- "indexed": true,
982
- "internalType": "uint256"
983
- }
984
- ],
985
- "anonymous": false
986
- },
987
- {
988
- "type": "event",
989
- "name": "ListingCreated",
990
- "inputs": [
991
- {
992
- "name": "loanId",
993
- "type": "uint256",
994
- "indexed": true,
995
- "internalType": "uint256"
996
- },
997
- {
998
- "name": "seller",
999
- "type": "address",
1000
- "indexed": true,
1001
- "internalType": "address"
1002
- },
1003
- {
1004
- "name": "currency",
1005
- "type": "address",
1006
- "indexed": false,
1007
- "internalType": "address"
1008
- },
1009
- {
1010
- "name": "price",
1011
- "type": "uint256",
1012
- "indexed": false,
1013
- "internalType": "uint256"
1014
- },
1015
- {
1016
- "name": "expiry",
1017
- "type": "uint256",
1018
- "indexed": false,
1019
- "internalType": "uint256"
1020
- }
1021
- ],
1022
- "anonymous": false
1023
- },
1024
- {
1025
- "type": "event",
1026
- "name": "PositionSold",
1027
- "inputs": [
1028
- {
1029
- "name": "loanId",
1030
- "type": "uint256",
1031
- "indexed": true,
1032
- "internalType": "uint256"
1033
- },
1034
- {
1035
- "name": "seller",
1036
- "type": "address",
1037
- "indexed": true,
1038
- "internalType": "address"
1039
- },
1040
- {
1041
- "name": "buyer",
1042
- "type": "address",
1043
- "indexed": true,
1044
- "internalType": "address"
1045
- },
1046
- {
1047
- "name": "currency",
1048
- "type": "address",
1049
- "indexed": false,
1050
- "internalType": "address"
1051
- },
1052
- {
1053
- "name": "price",
1054
- "type": "uint256",
1055
- "indexed": false,
1056
- "internalType": "uint256"
1057
- }
1058
- ],
1059
- "anonymous": false
1060
- },
1061
- {
1062
- "type": "event",
1063
- "name": "RefundClaimed",
1064
- "inputs": [
1065
- {
1066
- "name": "creditor",
1067
- "type": "address",
1068
- "indexed": true,
1069
- "internalType": "address"
1070
- },
1071
- {
1072
- "name": "recipient",
1073
- "type": "address",
1074
- "indexed": true,
1075
- "internalType": "address"
1076
- },
1077
- {
1078
- "name": "currency",
1079
- "type": "address",
1080
- "indexed": true,
1081
- "internalType": "address"
1082
- },
1083
- {
1084
- "name": "amount",
1085
- "type": "uint256",
1086
- "indexed": false,
1087
- "internalType": "uint256"
1088
- }
1089
- ],
1090
- "anonymous": false
1091
- },
1092
- {
1093
- "type": "event",
1094
- "name": "RefundCredited",
1095
- "inputs": [
1096
- {
1097
- "name": "recipient",
1098
- "type": "address",
1099
- "indexed": true,
1100
- "internalType": "address"
1101
- },
1102
- {
1103
- "name": "currency",
1104
- "type": "address",
1105
- "indexed": true,
1106
- "internalType": "address"
1107
- },
1108
- {
1109
- "name": "amount",
1110
- "type": "uint256",
1111
- "indexed": false,
1112
- "internalType": "uint256"
1113
- }
1114
- ],
1115
- "anonymous": false
1116
- },
1117
- {
1118
- "type": "error",
1119
- "name": "AuctionAlreadyExists",
1120
- "inputs": []
1121
- },
1122
- {
1123
- "type": "error",
1124
- "name": "AuctionEnded",
1125
- "inputs": []
1126
- },
1127
- {
1128
- "type": "error",
1129
- "name": "AuctionHasBids",
1130
- "inputs": []
1131
- },
1132
- {
1133
- "type": "error",
1134
- "name": "AuctionNotActive",
1135
- "inputs": []
1136
- },
1137
- {
1138
- "type": "error",
1139
- "name": "AuctionNotEnded",
1140
- "inputs": []
1141
- },
1142
- {
1143
- "type": "error",
1144
- "name": "BelowReservePrice",
1145
- "inputs": []
1146
- },
1147
- {
1148
- "type": "error",
1149
- "name": "BidExpired",
1150
- "inputs": []
1151
- },
1152
- {
1153
- "type": "error",
1154
- "name": "BidInvalidated",
1155
- "inputs": []
1156
- },
1157
- {
1158
- "type": "error",
1159
- "name": "BidNotActive",
1160
- "inputs": []
1161
- },
1162
- {
1163
- "type": "error",
1164
- "name": "BidTooLow",
1165
- "inputs": []
1166
- },
1167
- {
1168
- "type": "error",
1169
- "name": "CallerIsNotGovernor",
1170
- "inputs": []
1171
- },
1172
- {
1173
- "type": "error",
1174
- "name": "CallerIsNotPendingGovernor",
1175
- "inputs": []
1176
- },
1177
- {
1178
- "type": "error",
1179
- "name": "ConflictingAuction",
1180
- "inputs": []
1181
- },
1182
- {
1183
- "type": "error",
1184
- "name": "ConflictingListing",
1185
- "inputs": []
1186
- },
1187
- {
1188
- "type": "error",
1189
- "name": "DeadlineTooCloseToMaturity",
1190
- "inputs": [
1191
- {
1192
- "name": "deadline",
1193
- "type": "uint256",
1194
- "internalType": "uint256"
1195
- },
1196
- {
1197
- "name": "maturity",
1198
- "type": "uint256",
1199
- "internalType": "uint256"
1200
- }
1201
- ]
1202
- },
1203
- {
1204
- "type": "error",
1205
- "name": "IntentRegistryEnforcedPause",
1206
- "inputs": []
1207
- },
1208
- {
1209
- "type": "error",
1210
- "name": "InvalidCurrencyAddress",
1211
- "inputs": [
1212
- {
1213
- "name": "currency",
1214
- "type": "address",
1215
- "internalType": "address"
1216
- }
1217
- ]
1218
- },
1219
- {
1220
- "type": "error",
1221
- "name": "InvalidExpiry",
1222
- "inputs": []
1223
- },
1224
- {
1225
- "type": "error",
1226
- "name": "ListingExpired",
1227
- "inputs": []
1228
- },
1229
- {
1230
- "type": "error",
1231
- "name": "ListingNotActive",
1232
- "inputs": []
1233
- },
1234
- {
1235
- "type": "error",
1236
- "name": "LoanManagerEnforcedPause",
1237
- "inputs": []
1238
- },
1239
- {
1240
- "type": "error",
1241
- "name": "MarketEnforcedPause",
1242
- "inputs": [
1243
- {
1244
- "name": "market",
1245
- "type": "address",
1246
- "internalType": "address"
1247
- }
1248
- ]
1249
- },
1250
- {
1251
- "type": "error",
1252
- "name": "MarketFeatureEnforcedPause",
1253
- "inputs": [
1254
- {
1255
- "name": "market",
1256
- "type": "address",
1257
- "internalType": "address"
1258
- },
1259
- {
1260
- "name": "feature",
1261
- "type": "uint8",
1262
- "internalType": "uint8"
1263
- }
1264
- ]
1265
- },
1266
- {
1267
- "type": "error",
1268
- "name": "MatchingEngineEnforcedPause",
1269
- "inputs": []
1270
- },
1271
- {
1272
- "type": "error",
1273
- "name": "NoPendingRefund",
1274
- "inputs": []
1275
- },
1276
- {
1277
- "type": "error",
1278
- "name": "OnlyBidder",
1279
- "inputs": []
1280
- },
1281
- {
1282
- "type": "error",
1283
- "name": "OnlySeller",
1284
- "inputs": []
1285
- },
1286
- {
1287
- "type": "error",
1288
- "name": "PositionNearMaturity",
1289
- "inputs": []
1290
- },
1291
- {
1292
- "type": "error",
1293
- "name": "PositionNotTransferable",
1294
- "inputs": []
1295
- },
1296
- {
1297
- "type": "error",
1298
- "name": "ReentrancyGuardReentrantCall",
1299
- "inputs": []
1300
- },
1301
- {
1302
- "type": "error",
1303
- "name": "SafeERC20FailedOperation",
1304
- "inputs": [
1305
- {
1306
- "name": "token",
1307
- "type": "address",
1308
- "internalType": "address"
1309
- }
1310
- ]
1311
- },
1312
- {
1313
- "type": "error",
1314
- "name": "SecondaryMarketEnforcedPause",
1315
- "inputs": []
1316
- },
1317
- {
1318
- "type": "error",
1319
- "name": "StaleListingSeller",
1320
- "inputs": []
1321
- },
1322
- {
1323
- "type": "error",
1324
- "name": "Unauthorized",
1325
- "inputs": []
1326
- },
1327
- {
1328
- "type": "error",
1329
- "name": "UnsupportedCurrency",
1330
- "inputs": [
1331
- {
1332
- "name": "currency",
1333
- "type": "address",
1334
- "internalType": "address"
1335
- }
1336
- ]
1337
- },
1338
- {
1339
- "type": "error",
1340
- "name": "ZeroAddress",
1341
- "inputs": []
1342
- },
1343
- {
1344
- "type": "error",
1345
- "name": "ZeroPrice",
1346
- "inputs": []
1347
- }
1348
- ]