@reyaxyz/common 0.115.0 → 0.117.0

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.
@@ -0,0 +1,3591 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "type": "error",
5
+ "name": "AccountIsNotBackstopLp",
6
+ "inputs": [
7
+ {
8
+ "name": "accountId",
9
+ "type": "uint128",
10
+ "internalType": "uint128"
11
+ },
12
+ {
13
+ "name": "backstopLpAccountId",
14
+ "type": "uint128",
15
+ "internalType": "uint128"
16
+ },
17
+ {
18
+ "name": "blockTimestamp",
19
+ "type": "uint256",
20
+ "internalType": "uint256"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "type": "error",
26
+ "name": "AccountNotFound",
27
+ "inputs": [
28
+ {
29
+ "name": "accountId",
30
+ "type": "uint128",
31
+ "internalType": "uint128"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "type": "error",
37
+ "name": "AccountPermissionDenied",
38
+ "inputs": [
39
+ {
40
+ "name": "accountId",
41
+ "type": "uint128",
42
+ "internalType": "uint128"
43
+ },
44
+ {
45
+ "name": "target",
46
+ "type": "address",
47
+ "internalType": "address"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "type": "error",
53
+ "name": "AccountPermissionNotGranted",
54
+ "inputs": [
55
+ {
56
+ "name": "accountId",
57
+ "type": "uint128",
58
+ "internalType": "uint128"
59
+ },
60
+ {
61
+ "name": "permission",
62
+ "type": "bytes32",
63
+ "internalType": "bytes32"
64
+ },
65
+ {
66
+ "name": "user",
67
+ "type": "address",
68
+ "internalType": "address"
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "type": "error",
74
+ "name": "ActiveAccount",
75
+ "inputs": [
76
+ {
77
+ "name": "accountId",
78
+ "type": "uint128",
79
+ "internalType": "uint128"
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "type": "error",
85
+ "name": "BackstopLpCooldownPeriodAlreadyActive",
86
+ "inputs": [
87
+ {
88
+ "name": "backstopLpAccountId",
89
+ "type": "uint256",
90
+ "internalType": "uint256"
91
+ },
92
+ {
93
+ "name": "withdrawPeriodStartTimestamp",
94
+ "type": "uint256",
95
+ "internalType": "uint256"
96
+ },
97
+ {
98
+ "name": "blockTimestamp",
99
+ "type": "uint256",
100
+ "internalType": "uint256"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "type": "error",
106
+ "name": "BackstopLpWithdrawPeriodAlreadyActive",
107
+ "inputs": [
108
+ {
109
+ "name": "backstopLpAccountId",
110
+ "type": "uint256",
111
+ "internalType": "uint256"
112
+ },
113
+ {
114
+ "name": "blockTimestamp",
115
+ "type": "uint256",
116
+ "internalType": "uint256"
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ "type": "error",
122
+ "name": "CannotScheduleActiveTimer",
123
+ "inputs": [
124
+ {
125
+ "name": "id",
126
+ "type": "bytes32",
127
+ "internalType": "bytes32"
128
+ },
129
+ {
130
+ "name": "blockTimestamp",
131
+ "type": "uint256",
132
+ "internalType": "uint256"
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "type": "error",
138
+ "name": "CollateralCapExceeded",
139
+ "inputs": [
140
+ {
141
+ "name": "collateralPoolId",
142
+ "type": "uint128",
143
+ "internalType": "uint128"
144
+ },
145
+ {
146
+ "name": "collateral",
147
+ "type": "address",
148
+ "internalType": "address"
149
+ },
150
+ {
151
+ "name": "collateralCap",
152
+ "type": "uint256",
153
+ "internalType": "uint256"
154
+ },
155
+ {
156
+ "name": "poolBalance",
157
+ "type": "uint256",
158
+ "internalType": "uint256"
159
+ }
160
+ ]
161
+ },
162
+ {
163
+ "type": "error",
164
+ "name": "CollateralIsNotQuote",
165
+ "inputs": [
166
+ {
167
+ "name": "collateralPoolId",
168
+ "type": "uint128",
169
+ "internalType": "uint128"
170
+ },
171
+ {
172
+ "name": "collateral",
173
+ "type": "address",
174
+ "internalType": "address"
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "type": "error",
180
+ "name": "CollateralNotConfigured",
181
+ "inputs": [
182
+ {
183
+ "name": "collateralPoolId",
184
+ "type": "uint128",
185
+ "internalType": "uint128"
186
+ },
187
+ {
188
+ "name": "collateral",
189
+ "type": "address",
190
+ "internalType": "address"
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "type": "error",
196
+ "name": "CollateralPoolNotFound",
197
+ "inputs": [
198
+ {
199
+ "name": "id",
200
+ "type": "uint128",
201
+ "internalType": "uint128"
202
+ }
203
+ ]
204
+ },
205
+ {
206
+ "type": "error",
207
+ "name": "ExpiredTimerSchedule",
208
+ "inputs": [
209
+ {
210
+ "name": "id",
211
+ "type": "bytes32",
212
+ "internalType": "bytes32"
213
+ },
214
+ {
215
+ "name": "startTimestamp",
216
+ "type": "uint256",
217
+ "internalType": "uint256"
218
+ },
219
+ {
220
+ "name": "blockTimestamp",
221
+ "type": "uint256",
222
+ "internalType": "uint256"
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ "type": "error",
228
+ "name": "FeatureUnavailable",
229
+ "inputs": [
230
+ {
231
+ "name": "which",
232
+ "type": "bytes32",
233
+ "internalType": "bytes32"
234
+ }
235
+ ]
236
+ },
237
+ {
238
+ "type": "error",
239
+ "name": "GlobalCollateralNotFound",
240
+ "inputs": [
241
+ {
242
+ "name": "collateral",
243
+ "type": "address",
244
+ "internalType": "address"
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "type": "error",
250
+ "name": "InvalidAccountPermission",
251
+ "inputs": [
252
+ {
253
+ "name": "permission",
254
+ "type": "bytes32",
255
+ "internalType": "bytes32"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "type": "error",
261
+ "name": "InvalidFilledExposures",
262
+ "inputs": [
263
+ {
264
+ "name": "filledExposures",
265
+ "type": "tuple[]",
266
+ "internalType": "struct FilledExposure[]",
267
+ "components": [
268
+ {
269
+ "name": "riskMatrixIndex",
270
+ "type": "uint256",
271
+ "internalType": "uint256"
272
+ },
273
+ {
274
+ "name": "exposure",
275
+ "type": "int256",
276
+ "internalType": "int256"
277
+ }
278
+ ]
279
+ }
280
+ ]
281
+ },
282
+ {
283
+ "type": "error",
284
+ "name": "MarketNotFound",
285
+ "inputs": [
286
+ {
287
+ "name": "marketId",
288
+ "type": "uint128",
289
+ "internalType": "uint128"
290
+ }
291
+ ]
292
+ },
293
+ {
294
+ "type": "error",
295
+ "name": "OnlyAccountTokenProxy",
296
+ "inputs": [
297
+ {
298
+ "name": "origin",
299
+ "type": "address",
300
+ "internalType": "address"
301
+ }
302
+ ]
303
+ },
304
+ {
305
+ "type": "error",
306
+ "name": "OverflowInt256ToUint256",
307
+ "inputs": []
308
+ },
309
+ {
310
+ "type": "error",
311
+ "name": "OverflowUint256ToInt256",
312
+ "inputs": []
313
+ },
314
+ {
315
+ "type": "error",
316
+ "name": "OverflowUint256ToUint128",
317
+ "inputs": []
318
+ },
319
+ {
320
+ "type": "error",
321
+ "name": "OverflowUint8ToInt8",
322
+ "inputs": []
323
+ },
324
+ {
325
+ "type": "error",
326
+ "name": "PRBMath_MulDiv18_Overflow",
327
+ "inputs": [
328
+ {
329
+ "name": "x",
330
+ "type": "uint256",
331
+ "internalType": "uint256"
332
+ },
333
+ {
334
+ "name": "y",
335
+ "type": "uint256",
336
+ "internalType": "uint256"
337
+ }
338
+ ]
339
+ },
340
+ {
341
+ "type": "error",
342
+ "name": "PRBMath_MulDiv_Overflow",
343
+ "inputs": [
344
+ {
345
+ "name": "x",
346
+ "type": "uint256",
347
+ "internalType": "uint256"
348
+ },
349
+ {
350
+ "name": "y",
351
+ "type": "uint256",
352
+ "internalType": "uint256"
353
+ },
354
+ {
355
+ "name": "denominator",
356
+ "type": "uint256",
357
+ "internalType": "uint256"
358
+ }
359
+ ]
360
+ },
361
+ {
362
+ "type": "error",
363
+ "name": "PRBMath_SD59x18_IntoUD60x18_Underflow",
364
+ "inputs": [
365
+ {
366
+ "name": "x",
367
+ "type": "int256",
368
+ "internalType": "SD59x18"
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "type": "error",
374
+ "name": "PRBMath_SD59x18_Mul_InputTooSmall",
375
+ "inputs": []
376
+ },
377
+ {
378
+ "type": "error",
379
+ "name": "PRBMath_SD59x18_Mul_Overflow",
380
+ "inputs": [
381
+ {
382
+ "name": "x",
383
+ "type": "int256",
384
+ "internalType": "SD59x18"
385
+ },
386
+ {
387
+ "name": "y",
388
+ "type": "int256",
389
+ "internalType": "SD59x18"
390
+ }
391
+ ]
392
+ },
393
+ {
394
+ "type": "error",
395
+ "name": "PRBMath_UD60x18_Sqrt_Overflow",
396
+ "inputs": [
397
+ {
398
+ "name": "x",
399
+ "type": "uint256",
400
+ "internalType": "UD60x18"
401
+ }
402
+ ]
403
+ },
404
+ {
405
+ "type": "error",
406
+ "name": "PositionOutOfBounds",
407
+ "inputs": []
408
+ },
409
+ {
410
+ "type": "error",
411
+ "name": "ValueAlreadyInSet",
412
+ "inputs": []
413
+ },
414
+ {
415
+ "type": "error",
416
+ "name": "ValueNotInSet",
417
+ "inputs": []
418
+ },
419
+ {
420
+ "type": "error",
421
+ "name": "MismatchAssociatedSystemKind",
422
+ "inputs": [
423
+ {
424
+ "name": "expected",
425
+ "type": "bytes32",
426
+ "internalType": "bytes32"
427
+ },
428
+ {
429
+ "name": "actual",
430
+ "type": "bytes32",
431
+ "internalType": "bytes32"
432
+ }
433
+ ]
434
+ },
435
+ {
436
+ "type": "error",
437
+ "name": "MissingAssociatedSystem",
438
+ "inputs": [
439
+ {
440
+ "name": "id",
441
+ "type": "bytes32",
442
+ "internalType": "bytes32"
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "type": "error",
448
+ "name": "Unauthorized",
449
+ "inputs": [
450
+ {
451
+ "name": "addr",
452
+ "type": "address",
453
+ "internalType": "address"
454
+ }
455
+ ]
456
+ },
457
+ {
458
+ "type": "error",
459
+ "name": "CollateralPoolUnauthorized",
460
+ "inputs": [
461
+ {
462
+ "name": "owner",
463
+ "type": "address",
464
+ "internalType": "address"
465
+ }
466
+ ]
467
+ },
468
+ {
469
+ "type": "error",
470
+ "name": "InactiveCollateralPool",
471
+ "inputs": [
472
+ {
473
+ "name": "id",
474
+ "type": "uint128",
475
+ "internalType": "uint128"
476
+ }
477
+ ]
478
+ },
479
+ {
480
+ "type": "error",
481
+ "name": "InvalidAutoExchangeConfiguration",
482
+ "inputs": [
483
+ {
484
+ "name": "config",
485
+ "type": "tuple",
486
+ "internalType": "struct AutoExchangeConfig",
487
+ "components": [
488
+ {
489
+ "name": "totalAutoExchangeThresholdInUSD",
490
+ "type": "uint256",
491
+ "internalType": "uint256"
492
+ },
493
+ {
494
+ "name": "negativeCollateralBalancesMultiplier",
495
+ "type": "uint256",
496
+ "internalType": "UD60x18"
497
+ },
498
+ {
499
+ "name": "quoteBufferPercentage",
500
+ "type": "uint256",
501
+ "internalType": "UD60x18"
502
+ }
503
+ ]
504
+ }
505
+ ]
506
+ },
507
+ {
508
+ "type": "error",
509
+ "name": "AccountBelowIM",
510
+ "inputs": [
511
+ {
512
+ "name": "accountId",
513
+ "type": "uint128",
514
+ "internalType": "uint128"
515
+ },
516
+ {
517
+ "name": "delta",
518
+ "type": "int256",
519
+ "internalType": "int256"
520
+ }
521
+ ]
522
+ },
523
+ {
524
+ "type": "error",
525
+ "name": "AccountNotEligibleForAutoExchange",
526
+ "inputs": [
527
+ {
528
+ "name": "accountId",
529
+ "type": "uint128",
530
+ "internalType": "uint128"
531
+ },
532
+ {
533
+ "name": "inCollateral",
534
+ "type": "address",
535
+ "internalType": "address"
536
+ }
537
+ ]
538
+ },
539
+ {
540
+ "type": "error",
541
+ "name": "CollateralPoolCollision",
542
+ "inputs": [
543
+ {
544
+ "name": "collateralPoolId",
545
+ "type": "uint128",
546
+ "internalType": "uint128"
547
+ },
548
+ {
549
+ "name": "counterpartyCollateralPoolId",
550
+ "type": "uint128",
551
+ "internalType": "uint128"
552
+ }
553
+ ]
554
+ },
555
+ {
556
+ "type": "error",
557
+ "name": "NegativeAccountRealBalance",
558
+ "inputs": [
559
+ {
560
+ "name": "accountId",
561
+ "type": "uint128",
562
+ "internalType": "uint128"
563
+ },
564
+ {
565
+ "name": "realBalance",
566
+ "type": "int256",
567
+ "internalType": "int256"
568
+ }
569
+ ]
570
+ },
571
+ {
572
+ "type": "error",
573
+ "name": "SameAccountId",
574
+ "inputs": [
575
+ {
576
+ "name": "accountId",
577
+ "type": "uint128",
578
+ "internalType": "uint128"
579
+ }
580
+ ]
581
+ },
582
+ {
583
+ "type": "error",
584
+ "name": "SameQuoteAndcollateral",
585
+ "inputs": [
586
+ {
587
+ "name": "accountId",
588
+ "type": "uint128",
589
+ "internalType": "uint128"
590
+ },
591
+ {
592
+ "name": "inCollateral",
593
+ "type": "address",
594
+ "internalType": "address"
595
+ }
596
+ ]
597
+ },
598
+ {
599
+ "type": "error",
600
+ "name": "WithinBubbleCoverageNotExhausted",
601
+ "inputs": [
602
+ {
603
+ "name": "accountId",
604
+ "type": "uint128",
605
+ "internalType": "uint128"
606
+ },
607
+ {
608
+ "name": "inCollateral",
609
+ "type": "address",
610
+ "internalType": "address"
611
+ },
612
+ {
613
+ "name": "collateral",
614
+ "type": "address",
615
+ "internalType": "address"
616
+ }
617
+ ]
618
+ },
619
+ {
620
+ "type": "error",
621
+ "name": "ZeroAddress",
622
+ "inputs": []
623
+ },
624
+ {
625
+ "type": "error",
626
+ "name": "CollateralLimitBreached",
627
+ "inputs": [
628
+ {
629
+ "name": "collateralPoolId",
630
+ "type": "uint128",
631
+ "internalType": "uint128"
632
+ },
633
+ {
634
+ "name": "numberOfCollaterals",
635
+ "type": "uint256",
636
+ "internalType": "uint256"
637
+ },
638
+ {
639
+ "name": "maxCollaterals",
640
+ "type": "uint256",
641
+ "internalType": "uint256"
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "type": "error",
647
+ "name": "IncorrectCollateralAdapter",
648
+ "inputs": [
649
+ {
650
+ "name": "collateralAdapterAddress",
651
+ "type": "address",
652
+ "internalType": "address"
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "type": "error",
658
+ "name": "InvalidCollateralBaseConfiguration",
659
+ "inputs": [
660
+ {
661
+ "name": "config",
662
+ "type": "tuple",
663
+ "internalType": "struct CollateralConfig",
664
+ "components": [
665
+ {
666
+ "name": "depositingEnabled",
667
+ "type": "bool",
668
+ "internalType": "bool"
669
+ },
670
+ {
671
+ "name": "cap",
672
+ "type": "uint256",
673
+ "internalType": "uint256"
674
+ },
675
+ {
676
+ "name": "withdrawalWindowSize_DEPRECATED",
677
+ "type": "uint32",
678
+ "internalType": "uint32"
679
+ },
680
+ {
681
+ "name": "withdrawalTvlPercentageLimit_DEPRECATED",
682
+ "type": "uint256",
683
+ "internalType": "UD60x18"
684
+ },
685
+ {
686
+ "name": "autoExchangeThreshold",
687
+ "type": "uint256",
688
+ "internalType": "uint256"
689
+ },
690
+ {
691
+ "name": "autoExchangeInsuranceFee",
692
+ "type": "uint256",
693
+ "internalType": "UD60x18"
694
+ },
695
+ {
696
+ "name": "autoExchangeDustThreshold",
697
+ "type": "uint256",
698
+ "internalType": "uint256"
699
+ },
700
+ {
701
+ "name": "bidSubmissionFee",
702
+ "type": "uint256",
703
+ "internalType": "uint256"
704
+ }
705
+ ]
706
+ }
707
+ ]
708
+ },
709
+ {
710
+ "type": "error",
711
+ "name": "InvalidCollateralParentConfiguration",
712
+ "inputs": [
713
+ {
714
+ "name": "config",
715
+ "type": "tuple",
716
+ "internalType": "struct ParentCollateralConfig",
717
+ "components": [
718
+ {
719
+ "name": "collateralAddress",
720
+ "type": "address",
721
+ "internalType": "address"
722
+ },
723
+ {
724
+ "name": "priceHaircut",
725
+ "type": "uint256",
726
+ "internalType": "UD60x18"
727
+ },
728
+ {
729
+ "name": "autoExchangeDiscount",
730
+ "type": "uint256",
731
+ "internalType": "UD60x18"
732
+ },
733
+ {
734
+ "name": "oracleNodeId",
735
+ "type": "bytes32",
736
+ "internalType": "bytes32"
737
+ }
738
+ ]
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "type": "error",
744
+ "name": "InvalidGlobalCollateralConfiguration",
745
+ "inputs": [
746
+ {
747
+ "name": "config",
748
+ "type": "tuple",
749
+ "internalType": "struct GlobalCollateralConfig",
750
+ "components": [
751
+ {
752
+ "name": "collateralAdapter",
753
+ "type": "address",
754
+ "internalType": "address"
755
+ },
756
+ {
757
+ "name": "withdrawalWindowSize",
758
+ "type": "uint32",
759
+ "internalType": "uint32"
760
+ },
761
+ {
762
+ "name": "withdrawalTvlPercentageLimit",
763
+ "type": "uint256",
764
+ "internalType": "UD60x18"
765
+ }
766
+ ]
767
+ }
768
+ ]
769
+ },
770
+ {
771
+ "type": "error",
772
+ "name": "InvalidNewParentCollateral",
773
+ "inputs": [
774
+ {
775
+ "name": "collateralPoolId",
776
+ "type": "uint128",
777
+ "internalType": "uint128"
778
+ },
779
+ {
780
+ "name": "newParentCollateral",
781
+ "type": "address",
782
+ "internalType": "address"
783
+ }
784
+ ]
785
+ },
786
+ {
787
+ "type": "error",
788
+ "name": "QuoteCollateralCannotBecomeSupportingCollateral",
789
+ "inputs": [
790
+ {
791
+ "name": "collateralPoolId",
792
+ "type": "uint128",
793
+ "internalType": "uint128"
794
+ },
795
+ {
796
+ "name": "collateral",
797
+ "type": "address",
798
+ "internalType": "address"
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ "type": "error",
804
+ "name": "CannotMergePoolWithItself",
805
+ "inputs": [
806
+ {
807
+ "name": "id",
808
+ "type": "uint128",
809
+ "internalType": "uint128"
810
+ }
811
+ ]
812
+ },
813
+ {
814
+ "type": "error",
815
+ "name": "MarketLimitBreached",
816
+ "inputs": [
817
+ {
818
+ "name": "collateralPoolId",
819
+ "type": "uint128",
820
+ "internalType": "uint128"
821
+ },
822
+ {
823
+ "name": "numberOfMarkets",
824
+ "type": "uint256",
825
+ "internalType": "uint256"
826
+ },
827
+ {
828
+ "name": "maxMarkets",
829
+ "type": "uint256",
830
+ "internalType": "uint256"
831
+ }
832
+ ]
833
+ },
834
+ {
835
+ "type": "error",
836
+ "name": "FailedTransfer",
837
+ "inputs": [
838
+ {
839
+ "name": "from",
840
+ "type": "address",
841
+ "internalType": "address"
842
+ },
843
+ {
844
+ "name": "to",
845
+ "type": "address",
846
+ "internalType": "address"
847
+ },
848
+ {
849
+ "name": "value",
850
+ "type": "uint256",
851
+ "internalType": "uint256"
852
+ }
853
+ ]
854
+ },
855
+ {
856
+ "type": "error",
857
+ "name": "InsufficientAllowance",
858
+ "inputs": [
859
+ {
860
+ "name": "required",
861
+ "type": "uint256",
862
+ "internalType": "uint256"
863
+ },
864
+ {
865
+ "name": "existing",
866
+ "type": "uint256",
867
+ "internalType": "uint256"
868
+ }
869
+ ]
870
+ },
871
+ {
872
+ "type": "error",
873
+ "name": "ZeroDeposit",
874
+ "inputs": [
875
+ {
876
+ "name": "accountId",
877
+ "type": "uint128",
878
+ "internalType": "uint128"
879
+ },
880
+ {
881
+ "name": "collateral",
882
+ "type": "address",
883
+ "internalType": "address"
884
+ }
885
+ ]
886
+ },
887
+ {
888
+ "type": "error",
889
+ "name": "ExchangeNotFound",
890
+ "inputs": [
891
+ {
892
+ "name": "exchangeId",
893
+ "type": "uint128",
894
+ "internalType": "uint128"
895
+ }
896
+ ]
897
+ },
898
+ {
899
+ "type": "error",
900
+ "name": "OnlyExchangePassOwner",
901
+ "inputs": []
902
+ },
903
+ {
904
+ "type": "error",
905
+ "name": "BackstopLpWithdrawPeriodInactive",
906
+ "inputs": [
907
+ {
908
+ "name": "backstopLpAccountId",
909
+ "type": "uint128",
910
+ "internalType": "uint128"
911
+ },
912
+ {
913
+ "name": "blockTimestamp",
914
+ "type": "uint256",
915
+ "internalType": "uint256"
916
+ }
917
+ ]
918
+ },
919
+ {
920
+ "type": "error",
921
+ "name": "GlobalWithdrawLimitReached",
922
+ "inputs": [
923
+ {
924
+ "name": "collateral",
925
+ "type": "address",
926
+ "internalType": "address"
927
+ }
928
+ ]
929
+ },
930
+ {
931
+ "type": "error",
932
+ "name": "InvalidCommandType",
933
+ "inputs": [
934
+ {
935
+ "name": "commandType",
936
+ "type": "uint8",
937
+ "internalType": "enum CommandType"
938
+ }
939
+ ]
940
+ },
941
+ {
942
+ "type": "error",
943
+ "name": "SignatureExpired",
944
+ "inputs": []
945
+ },
946
+ {
947
+ "type": "error",
948
+ "name": "SignatureInvalid",
949
+ "inputs": []
950
+ },
951
+ {
952
+ "type": "error",
953
+ "name": "TransferFromAndToSameAccount",
954
+ "inputs": [
955
+ {
956
+ "name": "accountId",
957
+ "type": "uint128",
958
+ "internalType": "uint128"
959
+ }
960
+ ]
961
+ },
962
+ {
963
+ "type": "error",
964
+ "name": "ZeroTransfer",
965
+ "inputs": [
966
+ {
967
+ "name": "accountId",
968
+ "type": "uint128",
969
+ "internalType": "uint128"
970
+ },
971
+ {
972
+ "name": "collateral",
973
+ "type": "address",
974
+ "internalType": "address"
975
+ }
976
+ ]
977
+ },
978
+ {
979
+ "type": "error",
980
+ "name": "ZeroWithdraw",
981
+ "inputs": [
982
+ {
983
+ "name": "accountId",
984
+ "type": "uint128",
985
+ "internalType": "uint128"
986
+ },
987
+ {
988
+ "name": "collateral",
989
+ "type": "address",
990
+ "internalType": "address"
991
+ }
992
+ ]
993
+ },
994
+ {
995
+ "type": "error",
996
+ "name": "IncorrectMarketInterface",
997
+ "inputs": [
998
+ {
999
+ "name": "market",
1000
+ "type": "address",
1001
+ "internalType": "address"
1002
+ }
1003
+ ]
1004
+ },
1005
+ {
1006
+ "type": "error",
1007
+ "name": "InstrumentNotFound",
1008
+ "inputs": [
1009
+ {
1010
+ "name": "instrumentAddress",
1011
+ "type": "address",
1012
+ "internalType": "address"
1013
+ }
1014
+ ]
1015
+ },
1016
+ {
1017
+ "type": "error",
1018
+ "name": "MissingRiskBlock",
1019
+ "inputs": [
1020
+ {
1021
+ "name": "riskBlockId",
1022
+ "type": "uint256",
1023
+ "internalType": "uint256"
1024
+ }
1025
+ ]
1026
+ },
1027
+ {
1028
+ "type": "error",
1029
+ "name": "ZeroQuoteCollateralAddress",
1030
+ "inputs": []
1031
+ },
1032
+ {
1033
+ "type": "error",
1034
+ "name": "InvalidInsuranceFundConfiguration",
1035
+ "inputs": [
1036
+ {
1037
+ "name": "config",
1038
+ "type": "tuple",
1039
+ "internalType": "struct InsuranceFundConfig",
1040
+ "components": [
1041
+ {
1042
+ "name": "accountId",
1043
+ "type": "uint128",
1044
+ "internalType": "uint128"
1045
+ },
1046
+ {
1047
+ "name": "liquidationFee",
1048
+ "type": "uint256",
1049
+ "internalType": "UD60x18"
1050
+ }
1051
+ ]
1052
+ }
1053
+ ]
1054
+ },
1055
+ {
1056
+ "type": "error",
1057
+ "name": "ImplementationIsSterile",
1058
+ "inputs": [
1059
+ {
1060
+ "name": "implementation",
1061
+ "type": "address",
1062
+ "internalType": "address"
1063
+ }
1064
+ ]
1065
+ },
1066
+ {
1067
+ "type": "error",
1068
+ "name": "NoChange",
1069
+ "inputs": []
1070
+ },
1071
+ {
1072
+ "type": "error",
1073
+ "name": "NotAContract",
1074
+ "inputs": [
1075
+ {
1076
+ "name": "contr",
1077
+ "type": "address",
1078
+ "internalType": "address"
1079
+ }
1080
+ ]
1081
+ },
1082
+ {
1083
+ "type": "error",
1084
+ "name": "NotNominated",
1085
+ "inputs": [
1086
+ {
1087
+ "name": "addr",
1088
+ "type": "address",
1089
+ "internalType": "address"
1090
+ }
1091
+ ]
1092
+ },
1093
+ {
1094
+ "type": "error",
1095
+ "name": "UpgradeSimulationFailed",
1096
+ "inputs": []
1097
+ },
1098
+ {
1099
+ "type": "error",
1100
+ "name": "InvalidBackstopConfiguration",
1101
+ "inputs": [
1102
+ {
1103
+ "name": "config",
1104
+ "type": "tuple",
1105
+ "internalType": "struct BackstopLPConfig",
1106
+ "components": [
1107
+ {
1108
+ "name": "accountId",
1109
+ "type": "uint128",
1110
+ "internalType": "uint128"
1111
+ },
1112
+ {
1113
+ "name": "liquidationFee",
1114
+ "type": "uint256",
1115
+ "internalType": "UD60x18"
1116
+ },
1117
+ {
1118
+ "name": "minFreeCollateralThresholdInUSD",
1119
+ "type": "uint256",
1120
+ "internalType": "uint256"
1121
+ },
1122
+ {
1123
+ "name": "withdrawCooldownDurationInSeconds",
1124
+ "type": "uint256",
1125
+ "internalType": "uint256"
1126
+ },
1127
+ {
1128
+ "name": "withdrawDurationInSeconds",
1129
+ "type": "uint256",
1130
+ "internalType": "uint256"
1131
+ }
1132
+ ]
1133
+ }
1134
+ ]
1135
+ },
1136
+ {
1137
+ "type": "error",
1138
+ "name": "InvalidBackstopLPAccount",
1139
+ "inputs": [
1140
+ {
1141
+ "name": "accountId",
1142
+ "type": "uint128",
1143
+ "internalType": "uint128"
1144
+ }
1145
+ ]
1146
+ },
1147
+ {
1148
+ "type": "error",
1149
+ "name": "InvalidLiquidationConfiguration",
1150
+ "inputs": [
1151
+ {
1152
+ "name": "config",
1153
+ "type": "tuple",
1154
+ "internalType": "struct LiquidationConfig",
1155
+ "components": [
1156
+ {
1157
+ "name": "bidKeeperFee",
1158
+ "type": "uint256",
1159
+ "internalType": "UD60x18"
1160
+ },
1161
+ {
1162
+ "name": "queueDurationInSeconds",
1163
+ "type": "uint256",
1164
+ "internalType": "uint256"
1165
+ },
1166
+ {
1167
+ "name": "maxOrdersInBid",
1168
+ "type": "uint256",
1169
+ "internalType": "uint256"
1170
+ },
1171
+ {
1172
+ "name": "maxBidsInQueue",
1173
+ "type": "uint256",
1174
+ "internalType": "uint256"
1175
+ },
1176
+ {
1177
+ "name": "bidScoreWeight",
1178
+ "type": "uint256",
1179
+ "internalType": "UD60x18"
1180
+ },
1181
+ {
1182
+ "name": "backstopKeeperFee",
1183
+ "type": "uint256",
1184
+ "internalType": "UD60x18"
1185
+ },
1186
+ {
1187
+ "name": "adlExecutionKeeperFee",
1188
+ "type": "uint256",
1189
+ "internalType": "UD60x18"
1190
+ },
1191
+ {
1192
+ "name": "dDutchMin",
1193
+ "type": "uint256",
1194
+ "internalType": "UD60x18"
1195
+ },
1196
+ {
1197
+ "name": "dMax",
1198
+ "type": "uint256",
1199
+ "internalType": "UD60x18"
1200
+ }
1201
+ ]
1202
+ }
1203
+ ]
1204
+ },
1205
+ {
1206
+ "type": "error",
1207
+ "name": "InvalidRiskMatrix",
1208
+ "inputs": [
1209
+ {
1210
+ "name": "riskMatrix",
1211
+ "type": "int64[][]",
1212
+ "internalType": "SD1x18[][]"
1213
+ }
1214
+ ]
1215
+ },
1216
+ {
1217
+ "type": "error",
1218
+ "name": "InvalidRiskMultipliers",
1219
+ "inputs": [
1220
+ {
1221
+ "name": "config",
1222
+ "type": "tuple",
1223
+ "internalType": "struct RiskMultipliers",
1224
+ "components": [
1225
+ {
1226
+ "name": "imMultiplier",
1227
+ "type": "uint256",
1228
+ "internalType": "UD60x18"
1229
+ },
1230
+ {
1231
+ "name": "mmrMultiplier",
1232
+ "type": "uint256",
1233
+ "internalType": "UD60x18"
1234
+ },
1235
+ {
1236
+ "name": "dutchMultiplier",
1237
+ "type": "uint256",
1238
+ "internalType": "UD60x18"
1239
+ },
1240
+ {
1241
+ "name": "adlMultiplier",
1242
+ "type": "uint256",
1243
+ "internalType": "UD60x18"
1244
+ },
1245
+ {
1246
+ "name": "imBufferMultiplier",
1247
+ "type": "uint256",
1248
+ "internalType": "UD60x18"
1249
+ }
1250
+ ]
1251
+ }
1252
+ ]
1253
+ },
1254
+ {
1255
+ "type": "error",
1256
+ "name": "PRBMath_SD59x18_Abs_MinSD59x18",
1257
+ "inputs": []
1258
+ },
1259
+ {
1260
+ "type": "error",
1261
+ "name": "AccountInsolvent",
1262
+ "inputs": [
1263
+ {
1264
+ "name": "accountId",
1265
+ "type": "uint128",
1266
+ "internalType": "uint128"
1267
+ },
1268
+ {
1269
+ "name": "marginBalance",
1270
+ "type": "int256",
1271
+ "internalType": "int256"
1272
+ }
1273
+ ]
1274
+ },
1275
+ {
1276
+ "type": "error",
1277
+ "name": "CheckSelfCall",
1278
+ "inputs": [
1279
+ {
1280
+ "name": "caller",
1281
+ "type": "address",
1282
+ "internalType": "address"
1283
+ }
1284
+ ]
1285
+ },
1286
+ {
1287
+ "type": "error",
1288
+ "name": "IncreasedLmDueLiquidation",
1289
+ "inputs": [
1290
+ {
1291
+ "name": "accountId",
1292
+ "type": "uint128",
1293
+ "internalType": "uint128"
1294
+ },
1295
+ {
1296
+ "name": "quoteCollateral",
1297
+ "type": "address",
1298
+ "internalType": "address"
1299
+ },
1300
+ {
1301
+ "name": "lmrBefore",
1302
+ "type": "uint256",
1303
+ "internalType": "uint256"
1304
+ },
1305
+ {
1306
+ "name": "lmrAfter",
1307
+ "type": "uint256",
1308
+ "internalType": "uint256"
1309
+ }
1310
+ ]
1311
+ },
1312
+ {
1313
+ "type": "error",
1314
+ "name": "InvalidPostLiquidationHookResponse",
1315
+ "inputs": []
1316
+ },
1317
+ {
1318
+ "type": "error",
1319
+ "name": "InvalidPreLiquidationHookResponse",
1320
+ "inputs": []
1321
+ },
1322
+ {
1323
+ "type": "error",
1324
+ "name": "AccountAboveDutch",
1325
+ "inputs": [
1326
+ {
1327
+ "name": "accountId",
1328
+ "type": "uint128",
1329
+ "internalType": "uint128"
1330
+ },
1331
+ {
1332
+ "name": "delta",
1333
+ "type": "int256",
1334
+ "internalType": "int256"
1335
+ }
1336
+ ]
1337
+ },
1338
+ {
1339
+ "type": "error",
1340
+ "name": "AccountAboveLm",
1341
+ "inputs": [
1342
+ {
1343
+ "name": "accountId",
1344
+ "type": "uint128",
1345
+ "internalType": "uint128"
1346
+ },
1347
+ {
1348
+ "name": "delta",
1349
+ "type": "int256",
1350
+ "internalType": "int256"
1351
+ }
1352
+ ]
1353
+ },
1354
+ {
1355
+ "type": "error",
1356
+ "name": "AccountBelowAdl",
1357
+ "inputs": [
1358
+ {
1359
+ "name": "accountId",
1360
+ "type": "uint128",
1361
+ "internalType": "uint128"
1362
+ },
1363
+ {
1364
+ "name": "delta",
1365
+ "type": "int256",
1366
+ "internalType": "int256"
1367
+ }
1368
+ ]
1369
+ },
1370
+ {
1371
+ "type": "error",
1372
+ "name": "InvalidMarketIdOrder",
1373
+ "inputs": [
1374
+ {
1375
+ "name": "marketIds",
1376
+ "type": "uint128[]",
1377
+ "internalType": "uint128[]"
1378
+ }
1379
+ ]
1380
+ },
1381
+ {
1382
+ "type": "error",
1383
+ "name": "LiquidationBidOrdersOverflow",
1384
+ "inputs": [
1385
+ {
1386
+ "name": "numberOfOrders",
1387
+ "type": "uint256",
1388
+ "internalType": "uint256"
1389
+ },
1390
+ {
1391
+ "name": "maxOrders",
1392
+ "type": "uint256",
1393
+ "internalType": "uint256"
1394
+ }
1395
+ ]
1396
+ },
1397
+ {
1398
+ "type": "error",
1399
+ "name": "MarketsAndInputsMismatch",
1400
+ "inputs": [
1401
+ {
1402
+ "name": "numberOfMarketIds",
1403
+ "type": "uint256",
1404
+ "internalType": "uint256"
1405
+ },
1406
+ {
1407
+ "name": "numberOfInputs",
1408
+ "type": "uint256",
1409
+ "internalType": "uint256"
1410
+ }
1411
+ ]
1412
+ },
1413
+ {
1414
+ "type": "error",
1415
+ "name": "NonActiveMarketInLiquidationBid",
1416
+ "inputs": [
1417
+ {
1418
+ "name": "accountId",
1419
+ "type": "uint128",
1420
+ "internalType": "uint128"
1421
+ },
1422
+ {
1423
+ "name": "marketId",
1424
+ "type": "uint128",
1425
+ "internalType": "uint128"
1426
+ }
1427
+ ]
1428
+ },
1429
+ {
1430
+ "type": "error",
1431
+ "name": "ZeroLiquidationBidOrders",
1432
+ "inputs": []
1433
+ },
1434
+ {
1435
+ "type": "error",
1436
+ "name": "InvalidMatchOrderFees",
1437
+ "inputs": [
1438
+ {
1439
+ "name": "matchOrderFees",
1440
+ "type": "tuple",
1441
+ "internalType": "struct MatchOrderFees",
1442
+ "components": [
1443
+ {
1444
+ "name": "protocolFeeCredit",
1445
+ "type": "uint256",
1446
+ "internalType": "uint256"
1447
+ },
1448
+ {
1449
+ "name": "exchangeFeeCredit",
1450
+ "type": "uint256",
1451
+ "internalType": "uint256"
1452
+ },
1453
+ {
1454
+ "name": "takerFeeDebit",
1455
+ "type": "uint256",
1456
+ "internalType": "uint256"
1457
+ },
1458
+ {
1459
+ "name": "makerPayments",
1460
+ "type": "int256[]",
1461
+ "internalType": "int256[]"
1462
+ }
1463
+ ]
1464
+ }
1465
+ ]
1466
+ },
1467
+ {
1468
+ "type": "error",
1469
+ "name": "NoCounterpartiesInMatchOrder",
1470
+ "inputs": []
1471
+ },
1472
+ {
1473
+ "type": "error",
1474
+ "name": "AccountAboveAdl",
1475
+ "inputs": [
1476
+ {
1477
+ "name": "accountId",
1478
+ "type": "uint128",
1479
+ "internalType": "uint128"
1480
+ },
1481
+ {
1482
+ "name": "delta",
1483
+ "type": "int256",
1484
+ "internalType": "int256"
1485
+ }
1486
+ ]
1487
+ },
1488
+ {
1489
+ "type": "error",
1490
+ "name": "AccountAboveIMBuffer",
1491
+ "inputs": [
1492
+ {
1493
+ "name": "accountId",
1494
+ "type": "uint128",
1495
+ "internalType": "uint128"
1496
+ },
1497
+ {
1498
+ "name": "delta",
1499
+ "type": "int256",
1500
+ "internalType": "int256"
1501
+ }
1502
+ ]
1503
+ },
1504
+ {
1505
+ "type": "error",
1506
+ "name": "InvalidBackstopPercentage",
1507
+ "inputs": [
1508
+ {
1509
+ "name": "accountId",
1510
+ "type": "uint128",
1511
+ "internalType": "uint128"
1512
+ },
1513
+ {
1514
+ "name": "quoteCollateral",
1515
+ "type": "address",
1516
+ "internalType": "address"
1517
+ },
1518
+ {
1519
+ "name": "backstopPercentage",
1520
+ "type": "uint256",
1521
+ "internalType": "UD60x18"
1522
+ }
1523
+ ]
1524
+ },
1525
+ {
1526
+ "type": "error",
1527
+ "name": "EmptyLiquidationBidQueue",
1528
+ "inputs": [
1529
+ {
1530
+ "name": "accountId",
1531
+ "type": "uint128",
1532
+ "internalType": "uint128"
1533
+ },
1534
+ {
1535
+ "name": "quoteCollateral",
1536
+ "type": "address",
1537
+ "internalType": "address"
1538
+ }
1539
+ ]
1540
+ },
1541
+ {
1542
+ "type": "error",
1543
+ "name": "IncorrectLiquidationHookInterface",
1544
+ "inputs": [
1545
+ {
1546
+ "name": "liquidationBid",
1547
+ "type": "tuple",
1548
+ "internalType": "struct LiquidationBid",
1549
+ "components": [
1550
+ {
1551
+ "name": "liquidatorAccountId",
1552
+ "type": "uint128",
1553
+ "internalType": "uint128"
1554
+ },
1555
+ {
1556
+ "name": "hookAddress",
1557
+ "type": "address",
1558
+ "internalType": "address"
1559
+ },
1560
+ {
1561
+ "name": "liquidatorRewardParameter",
1562
+ "type": "uint256",
1563
+ "internalType": "UD60x18"
1564
+ },
1565
+ {
1566
+ "name": "quoteCollateral",
1567
+ "type": "address",
1568
+ "internalType": "address"
1569
+ },
1570
+ {
1571
+ "name": "marketIds",
1572
+ "type": "uint128[]",
1573
+ "internalType": "uint128[]"
1574
+ },
1575
+ {
1576
+ "name": "inputs",
1577
+ "type": "bytes[]",
1578
+ "internalType": "bytes[]"
1579
+ }
1580
+ ]
1581
+ }
1582
+ ]
1583
+ },
1584
+ {
1585
+ "type": "error",
1586
+ "name": "LiquidationBidRewardOverflow",
1587
+ "inputs": [
1588
+ {
1589
+ "name": "liquidationBid",
1590
+ "type": "tuple",
1591
+ "internalType": "struct LiquidationBid",
1592
+ "components": [
1593
+ {
1594
+ "name": "liquidatorAccountId",
1595
+ "type": "uint128",
1596
+ "internalType": "uint128"
1597
+ },
1598
+ {
1599
+ "name": "hookAddress",
1600
+ "type": "address",
1601
+ "internalType": "address"
1602
+ },
1603
+ {
1604
+ "name": "liquidatorRewardParameter",
1605
+ "type": "uint256",
1606
+ "internalType": "UD60x18"
1607
+ },
1608
+ {
1609
+ "name": "quoteCollateral",
1610
+ "type": "address",
1611
+ "internalType": "address"
1612
+ },
1613
+ {
1614
+ "name": "marketIds",
1615
+ "type": "uint128[]",
1616
+ "internalType": "uint128[]"
1617
+ },
1618
+ {
1619
+ "name": "inputs",
1620
+ "type": "bytes[]",
1621
+ "internalType": "bytes[]"
1622
+ }
1623
+ ]
1624
+ }
1625
+ ]
1626
+ },
1627
+ {
1628
+ "type": "error",
1629
+ "name": "AccountAboveMmr",
1630
+ "inputs": [
1631
+ {
1632
+ "name": "accountId",
1633
+ "type": "uint128",
1634
+ "internalType": "uint128"
1635
+ },
1636
+ {
1637
+ "name": "delta",
1638
+ "type": "int256",
1639
+ "internalType": "int256"
1640
+ }
1641
+ ]
1642
+ },
1643
+ {
1644
+ "type": "error",
1645
+ "name": "AccountBelowLm",
1646
+ "inputs": [
1647
+ {
1648
+ "name": "accountId",
1649
+ "type": "uint128",
1650
+ "internalType": "uint128"
1651
+ },
1652
+ {
1653
+ "name": "delta",
1654
+ "type": "int256",
1655
+ "internalType": "int256"
1656
+ }
1657
+ ]
1658
+ },
1659
+ {
1660
+ "type": "error",
1661
+ "name": "LiquidationBidQueueOverflow",
1662
+ "inputs": []
1663
+ },
1664
+ {
1665
+ "type": "error",
1666
+ "name": "PRBMath_UD60x18_Convert_Overflow",
1667
+ "inputs": [
1668
+ {
1669
+ "name": "x",
1670
+ "type": "uint256",
1671
+ "internalType": "uint256"
1672
+ }
1673
+ ]
1674
+ },
1675
+ {
1676
+ "type": "error",
1677
+ "name": "Unauthorized",
1678
+ "inputs": [
1679
+ {
1680
+ "name": "addr",
1681
+ "type": "address",
1682
+ "internalType": "address"
1683
+ }
1684
+ ]
1685
+ },
1686
+ {
1687
+ "type": "error",
1688
+ "name": "ValueAlreadyInSet",
1689
+ "inputs": []
1690
+ },
1691
+ {
1692
+ "type": "error",
1693
+ "name": "ValueNotInSet",
1694
+ "inputs": []
1695
+ },
1696
+ {
1697
+ "type": "error",
1698
+ "name": "ImplementationIsSterile",
1699
+ "inputs": [
1700
+ {
1701
+ "name": "implementation",
1702
+ "type": "address",
1703
+ "internalType": "address"
1704
+ }
1705
+ ]
1706
+ },
1707
+ {
1708
+ "type": "error",
1709
+ "name": "NoChange",
1710
+ "inputs": []
1711
+ },
1712
+ {
1713
+ "type": "error",
1714
+ "name": "NotAContract",
1715
+ "inputs": [
1716
+ {
1717
+ "name": "contr",
1718
+ "type": "address",
1719
+ "internalType": "address"
1720
+ }
1721
+ ]
1722
+ },
1723
+ {
1724
+ "type": "error",
1725
+ "name": "NotNominated",
1726
+ "inputs": [
1727
+ {
1728
+ "name": "addr",
1729
+ "type": "address",
1730
+ "internalType": "address"
1731
+ }
1732
+ ]
1733
+ },
1734
+ {
1735
+ "type": "error",
1736
+ "name": "UpgradeSimulationFailed",
1737
+ "inputs": []
1738
+ },
1739
+ {
1740
+ "type": "error",
1741
+ "name": "ZeroAddress",
1742
+ "inputs": []
1743
+ },
1744
+ {
1745
+ "type": "error",
1746
+ "name": "AlreadyInitialized",
1747
+ "inputs": []
1748
+ },
1749
+ {
1750
+ "type": "error",
1751
+ "name": "FailedTransfer",
1752
+ "inputs": [
1753
+ {
1754
+ "name": "from",
1755
+ "type": "address",
1756
+ "internalType": "address"
1757
+ },
1758
+ {
1759
+ "name": "to",
1760
+ "type": "address",
1761
+ "internalType": "address"
1762
+ },
1763
+ {
1764
+ "name": "value",
1765
+ "type": "uint256",
1766
+ "internalType": "uint256"
1767
+ }
1768
+ ]
1769
+ },
1770
+ {
1771
+ "type": "error",
1772
+ "name": "FeatureUnavailable",
1773
+ "inputs": [
1774
+ {
1775
+ "name": "which",
1776
+ "type": "bytes32",
1777
+ "internalType": "bytes32"
1778
+ }
1779
+ ]
1780
+ },
1781
+ {
1782
+ "type": "error",
1783
+ "name": "InsufficientAllowance",
1784
+ "inputs": [
1785
+ {
1786
+ "name": "required",
1787
+ "type": "uint256",
1788
+ "internalType": "uint256"
1789
+ },
1790
+ {
1791
+ "name": "existing",
1792
+ "type": "uint256",
1793
+ "internalType": "uint256"
1794
+ }
1795
+ ]
1796
+ },
1797
+ {
1798
+ "type": "error",
1799
+ "name": "InsufficientBalance",
1800
+ "inputs": [
1801
+ {
1802
+ "name": "required",
1803
+ "type": "uint256",
1804
+ "internalType": "uint256"
1805
+ },
1806
+ {
1807
+ "name": "existing",
1808
+ "type": "uint256",
1809
+ "internalType": "uint256"
1810
+ }
1811
+ ]
1812
+ },
1813
+ {
1814
+ "type": "error",
1815
+ "name": "InvalidParameter",
1816
+ "inputs": [
1817
+ {
1818
+ "name": "parameter",
1819
+ "type": "string",
1820
+ "internalType": "string"
1821
+ },
1822
+ {
1823
+ "name": "reason",
1824
+ "type": "string",
1825
+ "internalType": "string"
1826
+ }
1827
+ ]
1828
+ },
1829
+ {
1830
+ "type": "error",
1831
+ "name": "NotInitialized",
1832
+ "inputs": []
1833
+ },
1834
+ {
1835
+ "type": "error",
1836
+ "name": "AlreadyInitialized",
1837
+ "inputs": []
1838
+ },
1839
+ {
1840
+ "type": "error",
1841
+ "name": "FeatureUnavailable",
1842
+ "inputs": [
1843
+ {
1844
+ "name": "which",
1845
+ "type": "bytes32",
1846
+ "internalType": "bytes32"
1847
+ }
1848
+ ]
1849
+ },
1850
+ {
1851
+ "type": "error",
1852
+ "name": "InsufficientAllowance",
1853
+ "inputs": [
1854
+ {
1855
+ "name": "required",
1856
+ "type": "uint256",
1857
+ "internalType": "uint256"
1858
+ },
1859
+ {
1860
+ "name": "existing",
1861
+ "type": "uint256",
1862
+ "internalType": "uint256"
1863
+ }
1864
+ ]
1865
+ },
1866
+ {
1867
+ "type": "error",
1868
+ "name": "InsufficientBalance",
1869
+ "inputs": [
1870
+ {
1871
+ "name": "required",
1872
+ "type": "uint256",
1873
+ "internalType": "uint256"
1874
+ },
1875
+ {
1876
+ "name": "existing",
1877
+ "type": "uint256",
1878
+ "internalType": "uint256"
1879
+ }
1880
+ ]
1881
+ },
1882
+ {
1883
+ "type": "error",
1884
+ "name": "InvalidParameter",
1885
+ "inputs": [
1886
+ {
1887
+ "name": "parameter",
1888
+ "type": "string",
1889
+ "internalType": "string"
1890
+ },
1891
+ {
1892
+ "name": "reason",
1893
+ "type": "string",
1894
+ "internalType": "string"
1895
+ }
1896
+ ]
1897
+ },
1898
+ {
1899
+ "type": "error",
1900
+ "name": "NotInitialized",
1901
+ "inputs": []
1902
+ },
1903
+ {
1904
+ "type": "error",
1905
+ "name": "Unauthorized",
1906
+ "inputs": [
1907
+ {
1908
+ "name": "addr",
1909
+ "type": "address",
1910
+ "internalType": "address"
1911
+ }
1912
+ ]
1913
+ },
1914
+ {
1915
+ "type": "error",
1916
+ "name": "ValueAlreadyInSet",
1917
+ "inputs": []
1918
+ },
1919
+ {
1920
+ "type": "error",
1921
+ "name": "ValueNotInSet",
1922
+ "inputs": []
1923
+ },
1924
+ {
1925
+ "type": "error",
1926
+ "name": "ImplementationIsSterile",
1927
+ "inputs": [
1928
+ {
1929
+ "name": "implementation",
1930
+ "type": "address",
1931
+ "internalType": "address"
1932
+ }
1933
+ ]
1934
+ },
1935
+ {
1936
+ "type": "error",
1937
+ "name": "NoChange",
1938
+ "inputs": []
1939
+ },
1940
+ {
1941
+ "type": "error",
1942
+ "name": "NotAContract",
1943
+ "inputs": [
1944
+ {
1945
+ "name": "contr",
1946
+ "type": "address",
1947
+ "internalType": "address"
1948
+ }
1949
+ ]
1950
+ },
1951
+ {
1952
+ "type": "error",
1953
+ "name": "NotNominated",
1954
+ "inputs": [
1955
+ {
1956
+ "name": "addr",
1957
+ "type": "address",
1958
+ "internalType": "address"
1959
+ }
1960
+ ]
1961
+ },
1962
+ {
1963
+ "type": "error",
1964
+ "name": "UpgradeSimulationFailed",
1965
+ "inputs": []
1966
+ },
1967
+ {
1968
+ "type": "error",
1969
+ "name": "ZeroAddress",
1970
+ "inputs": []
1971
+ },
1972
+ {
1973
+ "type": "error",
1974
+ "name": "AlreadyInitialized",
1975
+ "inputs": []
1976
+ },
1977
+ {
1978
+ "type": "error",
1979
+ "name": "CannotSelfApprove",
1980
+ "inputs": [
1981
+ {
1982
+ "name": "addr",
1983
+ "type": "address",
1984
+ "internalType": "address"
1985
+ }
1986
+ ]
1987
+ },
1988
+ {
1989
+ "type": "error",
1990
+ "name": "IndexOverrun",
1991
+ "inputs": [
1992
+ {
1993
+ "name": "requestedIndex",
1994
+ "type": "uint256",
1995
+ "internalType": "uint256"
1996
+ },
1997
+ {
1998
+ "name": "length",
1999
+ "type": "uint256",
2000
+ "internalType": "uint256"
2001
+ }
2002
+ ]
2003
+ },
2004
+ {
2005
+ "type": "error",
2006
+ "name": "InvalidOwner",
2007
+ "inputs": [
2008
+ {
2009
+ "name": "addr",
2010
+ "type": "address",
2011
+ "internalType": "address"
2012
+ }
2013
+ ]
2014
+ },
2015
+ {
2016
+ "type": "error",
2017
+ "name": "InvalidParameter",
2018
+ "inputs": [
2019
+ {
2020
+ "name": "parameter",
2021
+ "type": "string",
2022
+ "internalType": "string"
2023
+ },
2024
+ {
2025
+ "name": "reason",
2026
+ "type": "string",
2027
+ "internalType": "string"
2028
+ }
2029
+ ]
2030
+ },
2031
+ {
2032
+ "type": "error",
2033
+ "name": "InvalidTransferRecipient",
2034
+ "inputs": [
2035
+ {
2036
+ "name": "addr",
2037
+ "type": "address",
2038
+ "internalType": "address"
2039
+ }
2040
+ ]
2041
+ },
2042
+ {
2043
+ "type": "error",
2044
+ "name": "TokenAlreadyMinted",
2045
+ "inputs": [
2046
+ {
2047
+ "name": "id",
2048
+ "type": "uint256",
2049
+ "internalType": "uint256"
2050
+ }
2051
+ ]
2052
+ },
2053
+ {
2054
+ "type": "error",
2055
+ "name": "TokenDoesNotExist",
2056
+ "inputs": [
2057
+ {
2058
+ "name": "id",
2059
+ "type": "uint256",
2060
+ "internalType": "uint256"
2061
+ }
2062
+ ]
2063
+ },
2064
+ {
2065
+ "type": "error",
2066
+ "name": "Unauthorized",
2067
+ "inputs": [
2068
+ {
2069
+ "name": "addr",
2070
+ "type": "address",
2071
+ "internalType": "address"
2072
+ }
2073
+ ]
2074
+ },
2075
+ {
2076
+ "type": "error",
2077
+ "name": "ZeroAddress",
2078
+ "inputs": []
2079
+ },
2080
+ {
2081
+ "type": "error",
2082
+ "name": "ImplementationIsSterile",
2083
+ "inputs": [
2084
+ {
2085
+ "name": "implementation",
2086
+ "type": "address",
2087
+ "internalType": "address"
2088
+ }
2089
+ ]
2090
+ },
2091
+ {
2092
+ "type": "error",
2093
+ "name": "NoChange",
2094
+ "inputs": []
2095
+ },
2096
+ {
2097
+ "type": "error",
2098
+ "name": "NotAContract",
2099
+ "inputs": [
2100
+ {
2101
+ "name": "contr",
2102
+ "type": "address",
2103
+ "internalType": "address"
2104
+ }
2105
+ ]
2106
+ },
2107
+ {
2108
+ "type": "error",
2109
+ "name": "NotNominated",
2110
+ "inputs": [
2111
+ {
2112
+ "name": "addr",
2113
+ "type": "address",
2114
+ "internalType": "address"
2115
+ }
2116
+ ]
2117
+ },
2118
+ {
2119
+ "type": "error",
2120
+ "name": "UpgradeSimulationFailed",
2121
+ "inputs": []
2122
+ },
2123
+ {
2124
+ "type": "error",
2125
+ "name": "InvalidNodeDefinition",
2126
+ "inputs": [
2127
+ {
2128
+ "name": "nodeType",
2129
+ "type": "tuple",
2130
+ "internalType": "struct NodeDefinition.Data",
2131
+ "components": [
2132
+ {
2133
+ "name": "nodeType",
2134
+ "type": "uint8",
2135
+ "internalType": "enum NodeDefinition.NodeType"
2136
+ },
2137
+ {
2138
+ "name": "parameters",
2139
+ "type": "bytes",
2140
+ "internalType": "bytes"
2141
+ },
2142
+ {
2143
+ "name": "parents",
2144
+ "type": "bytes32[]",
2145
+ "internalType": "bytes32[]"
2146
+ },
2147
+ {
2148
+ "name": "maxStaleDuration",
2149
+ "type": "uint256",
2150
+ "internalType": "uint256"
2151
+ }
2152
+ ]
2153
+ }
2154
+ ]
2155
+ },
2156
+ {
2157
+ "type": "error",
2158
+ "name": "InvalidPrice",
2159
+ "inputs": []
2160
+ },
2161
+ {
2162
+ "type": "error",
2163
+ "name": "NegativePrice",
2164
+ "inputs": [
2165
+ {
2166
+ "name": "price",
2167
+ "type": "int256",
2168
+ "internalType": "int256"
2169
+ },
2170
+ {
2171
+ "name": "redstone",
2172
+ "type": "address",
2173
+ "internalType": "contract IAggregatorV3Interface"
2174
+ }
2175
+ ]
2176
+ },
2177
+ {
2178
+ "type": "error",
2179
+ "name": "NodeNotRegistered",
2180
+ "inputs": [
2181
+ {
2182
+ "name": "nodeId",
2183
+ "type": "bytes32",
2184
+ "internalType": "bytes32"
2185
+ }
2186
+ ]
2187
+ },
2188
+ {
2189
+ "type": "error",
2190
+ "name": "OverflowInt256ToUint256",
2191
+ "inputs": []
2192
+ },
2193
+ {
2194
+ "type": "error",
2195
+ "name": "OverflowUint256ToInt256",
2196
+ "inputs": []
2197
+ },
2198
+ {
2199
+ "type": "error",
2200
+ "name": "PRBMath_MulDiv_Overflow",
2201
+ "inputs": [
2202
+ {
2203
+ "name": "x",
2204
+ "type": "uint256",
2205
+ "internalType": "uint256"
2206
+ },
2207
+ {
2208
+ "name": "y",
2209
+ "type": "uint256",
2210
+ "internalType": "uint256"
2211
+ },
2212
+ {
2213
+ "name": "denominator",
2214
+ "type": "uint256",
2215
+ "internalType": "uint256"
2216
+ }
2217
+ ]
2218
+ },
2219
+ {
2220
+ "type": "error",
2221
+ "name": "StalePriceDetected",
2222
+ "inputs": [
2223
+ {
2224
+ "name": "nodeId",
2225
+ "type": "bytes32",
2226
+ "internalType": "bytes32"
2227
+ }
2228
+ ]
2229
+ },
2230
+ {
2231
+ "type": "error",
2232
+ "name": "Unauthorized",
2233
+ "inputs": [
2234
+ {
2235
+ "name": "addr",
2236
+ "type": "address",
2237
+ "internalType": "address"
2238
+ }
2239
+ ]
2240
+ },
2241
+ {
2242
+ "type": "error",
2243
+ "name": "UnprocessableNode",
2244
+ "inputs": [
2245
+ {
2246
+ "name": "nodeId",
2247
+ "type": "bytes32",
2248
+ "internalType": "bytes32"
2249
+ }
2250
+ ]
2251
+ },
2252
+ {
2253
+ "type": "error",
2254
+ "name": "ImplementationIsSterile",
2255
+ "inputs": [
2256
+ {
2257
+ "name": "implementation",
2258
+ "type": "address",
2259
+ "internalType": "address"
2260
+ }
2261
+ ]
2262
+ },
2263
+ {
2264
+ "type": "error",
2265
+ "name": "NoChange",
2266
+ "inputs": []
2267
+ },
2268
+ {
2269
+ "type": "error",
2270
+ "name": "NotAContract",
2271
+ "inputs": [
2272
+ {
2273
+ "name": "contr",
2274
+ "type": "address",
2275
+ "internalType": "address"
2276
+ }
2277
+ ]
2278
+ },
2279
+ {
2280
+ "type": "error",
2281
+ "name": "NotNominated",
2282
+ "inputs": [
2283
+ {
2284
+ "name": "addr",
2285
+ "type": "address",
2286
+ "internalType": "address"
2287
+ }
2288
+ ]
2289
+ },
2290
+ {
2291
+ "type": "error",
2292
+ "name": "UpgradeSimulationFailed",
2293
+ "inputs": []
2294
+ },
2295
+ {
2296
+ "type": "error",
2297
+ "name": "ZeroAddress",
2298
+ "inputs": []
2299
+ },
2300
+ {
2301
+ "type": "error",
2302
+ "name": "InvalidMarketConfiguration",
2303
+ "inputs": [
2304
+ {
2305
+ "name": "marketId",
2306
+ "type": "uint128",
2307
+ "internalType": "uint128"
2308
+ },
2309
+ {
2310
+ "name": "config",
2311
+ "type": "tuple",
2312
+ "internalType": "struct MarketConfigurationData",
2313
+ "components": [
2314
+ {
2315
+ "name": "riskMatrixIndex",
2316
+ "type": "uint256",
2317
+ "internalType": "uint256"
2318
+ },
2319
+ {
2320
+ "name": "maxOpenBase",
2321
+ "type": "uint256",
2322
+ "internalType": "UD60x18"
2323
+ },
2324
+ {
2325
+ "name": "velocityMultiplier",
2326
+ "type": "uint256",
2327
+ "internalType": "UD60x18"
2328
+ },
2329
+ {
2330
+ "name": "oracleNodeId",
2331
+ "type": "bytes32",
2332
+ "internalType": "bytes32"
2333
+ },
2334
+ {
2335
+ "name": "mtmWindow",
2336
+ "type": "uint256",
2337
+ "internalType": "uint256"
2338
+ },
2339
+ {
2340
+ "name": "dutchConfig",
2341
+ "type": "tuple",
2342
+ "internalType": "struct DutchConfiguration",
2343
+ "components": [
2344
+ {
2345
+ "name": "lambda",
2346
+ "type": "uint256",
2347
+ "internalType": "UD60x18"
2348
+ },
2349
+ {
2350
+ "name": "minBase",
2351
+ "type": "uint256",
2352
+ "internalType": "UD60x18"
2353
+ }
2354
+ ]
2355
+ },
2356
+ {
2357
+ "name": "slippageParams",
2358
+ "type": "tuple",
2359
+ "internalType": "struct SlippageParams",
2360
+ "components": [
2361
+ {
2362
+ "name": "phi",
2363
+ "type": "uint256",
2364
+ "internalType": "UD60x18"
2365
+ },
2366
+ {
2367
+ "name": "beta",
2368
+ "type": "uint256",
2369
+ "internalType": "UD60x18"
2370
+ }
2371
+ ]
2372
+ },
2373
+ {
2374
+ "name": "minimumOrderBase",
2375
+ "type": "uint256",
2376
+ "internalType": "UD60x18"
2377
+ },
2378
+ {
2379
+ "name": "baseSpacing",
2380
+ "type": "uint256",
2381
+ "internalType": "UD60x18"
2382
+ },
2383
+ {
2384
+ "name": "priceSpacing",
2385
+ "type": "uint256",
2386
+ "internalType": "UD60x18"
2387
+ },
2388
+ {
2389
+ "name": "depthFactor",
2390
+ "type": "uint256",
2391
+ "internalType": "UD60x18"
2392
+ },
2393
+ {
2394
+ "name": "maxExposureFactor",
2395
+ "type": "uint256",
2396
+ "internalType": "UD60x18"
2397
+ },
2398
+ {
2399
+ "name": "maxPSlippage",
2400
+ "type": "uint256",
2401
+ "internalType": "UD60x18"
2402
+ }
2403
+ ]
2404
+ },
2405
+ {
2406
+ "name": "reason",
2407
+ "type": "string",
2408
+ "internalType": "string"
2409
+ }
2410
+ ]
2411
+ },
2412
+ {
2413
+ "type": "error",
2414
+ "name": "MarketNotFound",
2415
+ "inputs": [
2416
+ {
2417
+ "name": "marketId",
2418
+ "type": "uint128",
2419
+ "internalType": "uint128"
2420
+ }
2421
+ ]
2422
+ },
2423
+ {
2424
+ "type": "error",
2425
+ "name": "PRBMath_MulDiv18_Overflow",
2426
+ "inputs": [
2427
+ {
2428
+ "name": "x",
2429
+ "type": "uint256",
2430
+ "internalType": "uint256"
2431
+ },
2432
+ {
2433
+ "name": "y",
2434
+ "type": "uint256",
2435
+ "internalType": "uint256"
2436
+ }
2437
+ ]
2438
+ },
2439
+ {
2440
+ "type": "error",
2441
+ "name": "Unauthorized",
2442
+ "inputs": [
2443
+ {
2444
+ "name": "addr",
2445
+ "type": "address",
2446
+ "internalType": "address"
2447
+ }
2448
+ ]
2449
+ },
2450
+ {
2451
+ "type": "error",
2452
+ "name": "ValueAlreadyInSet",
2453
+ "inputs": []
2454
+ },
2455
+ {
2456
+ "type": "error",
2457
+ "name": "ValueNotInSet",
2458
+ "inputs": []
2459
+ },
2460
+ {
2461
+ "type": "error",
2462
+ "name": "ImplementationIsSterile",
2463
+ "inputs": [
2464
+ {
2465
+ "name": "implementation",
2466
+ "type": "address",
2467
+ "internalType": "address"
2468
+ }
2469
+ ]
2470
+ },
2471
+ {
2472
+ "type": "error",
2473
+ "name": "NoChange",
2474
+ "inputs": []
2475
+ },
2476
+ {
2477
+ "type": "error",
2478
+ "name": "NotAContract",
2479
+ "inputs": [
2480
+ {
2481
+ "name": "contr",
2482
+ "type": "address",
2483
+ "internalType": "address"
2484
+ }
2485
+ ]
2486
+ },
2487
+ {
2488
+ "type": "error",
2489
+ "name": "NotNominated",
2490
+ "inputs": [
2491
+ {
2492
+ "name": "addr",
2493
+ "type": "address",
2494
+ "internalType": "address"
2495
+ }
2496
+ ]
2497
+ },
2498
+ {
2499
+ "type": "error",
2500
+ "name": "UpgradeSimulationFailed",
2501
+ "inputs": []
2502
+ },
2503
+ {
2504
+ "type": "error",
2505
+ "name": "ZeroAddress",
2506
+ "inputs": []
2507
+ },
2508
+ {
2509
+ "type": "error",
2510
+ "name": "ComplexQuadraticRoots",
2511
+ "inputs": [
2512
+ {
2513
+ "name": "a",
2514
+ "type": "int256",
2515
+ "internalType": "SD59x18"
2516
+ },
2517
+ {
2518
+ "name": "b",
2519
+ "type": "int256",
2520
+ "internalType": "SD59x18"
2521
+ },
2522
+ {
2523
+ "name": "c",
2524
+ "type": "int256",
2525
+ "internalType": "SD59x18"
2526
+ }
2527
+ ]
2528
+ },
2529
+ {
2530
+ "type": "error",
2531
+ "name": "OverflowInt256ToUint256",
2532
+ "inputs": []
2533
+ },
2534
+ {
2535
+ "type": "error",
2536
+ "name": "OverflowUint256ToInt256",
2537
+ "inputs": []
2538
+ },
2539
+ {
2540
+ "type": "error",
2541
+ "name": "PRBMath_MulDiv_Overflow",
2542
+ "inputs": [
2543
+ {
2544
+ "name": "x",
2545
+ "type": "uint256",
2546
+ "internalType": "uint256"
2547
+ },
2548
+ {
2549
+ "name": "y",
2550
+ "type": "uint256",
2551
+ "internalType": "uint256"
2552
+ },
2553
+ {
2554
+ "name": "denominator",
2555
+ "type": "uint256",
2556
+ "internalType": "uint256"
2557
+ }
2558
+ ]
2559
+ },
2560
+ {
2561
+ "type": "error",
2562
+ "name": "PRBMath_SD59x18_Div_InputTooSmall",
2563
+ "inputs": []
2564
+ },
2565
+ {
2566
+ "type": "error",
2567
+ "name": "PRBMath_SD59x18_Div_Overflow",
2568
+ "inputs": [
2569
+ {
2570
+ "name": "x",
2571
+ "type": "int256",
2572
+ "internalType": "SD59x18"
2573
+ },
2574
+ {
2575
+ "name": "y",
2576
+ "type": "int256",
2577
+ "internalType": "SD59x18"
2578
+ }
2579
+ ]
2580
+ },
2581
+ {
2582
+ "type": "error",
2583
+ "name": "PRBMath_SD59x18_IntoUD60x18_Underflow",
2584
+ "inputs": [
2585
+ {
2586
+ "name": "x",
2587
+ "type": "int256",
2588
+ "internalType": "SD59x18"
2589
+ }
2590
+ ]
2591
+ },
2592
+ {
2593
+ "type": "error",
2594
+ "name": "PRBMath_SD59x18_Mul_InputTooSmall",
2595
+ "inputs": []
2596
+ },
2597
+ {
2598
+ "type": "error",
2599
+ "name": "PRBMath_SD59x18_Mul_Overflow",
2600
+ "inputs": [
2601
+ {
2602
+ "name": "x",
2603
+ "type": "int256",
2604
+ "internalType": "SD59x18"
2605
+ },
2606
+ {
2607
+ "name": "y",
2608
+ "type": "int256",
2609
+ "internalType": "SD59x18"
2610
+ }
2611
+ ]
2612
+ },
2613
+ {
2614
+ "type": "error",
2615
+ "name": "PRBMath_SD59x18_Sqrt_NegativeInput",
2616
+ "inputs": [
2617
+ {
2618
+ "name": "x",
2619
+ "type": "int256",
2620
+ "internalType": "SD59x18"
2621
+ }
2622
+ ]
2623
+ },
2624
+ {
2625
+ "type": "error",
2626
+ "name": "PRBMath_SD59x18_Sqrt_Overflow",
2627
+ "inputs": [
2628
+ {
2629
+ "name": "x",
2630
+ "type": "int256",
2631
+ "internalType": "SD59x18"
2632
+ }
2633
+ ]
2634
+ },
2635
+ {
2636
+ "type": "error",
2637
+ "name": "PRBMath_UD60x18_IntoSD59x18_Overflow",
2638
+ "inputs": [
2639
+ {
2640
+ "name": "x",
2641
+ "type": "uint256",
2642
+ "internalType": "UD60x18"
2643
+ }
2644
+ ]
2645
+ },
2646
+ {
2647
+ "type": "error",
2648
+ "name": "ZeroQuadraticCoefficient",
2649
+ "inputs": []
2650
+ },
2651
+ {
2652
+ "type": "error",
2653
+ "name": "DustyOrderSize",
2654
+ "inputs": [
2655
+ {
2656
+ "name": "absOrderBase",
2657
+ "type": "uint256",
2658
+ "internalType": "UD60x18"
2659
+ },
2660
+ {
2661
+ "name": "absBasePostOrder",
2662
+ "type": "uint256",
2663
+ "internalType": "UD60x18"
2664
+ },
2665
+ {
2666
+ "name": "baseSpacing",
2667
+ "type": "uint256",
2668
+ "internalType": "UD60x18"
2669
+ }
2670
+ ]
2671
+ },
2672
+ {
2673
+ "type": "error",
2674
+ "name": "ExceededMaxExposure",
2675
+ "inputs": [
2676
+ {
2677
+ "name": "netExposure",
2678
+ "type": "int256",
2679
+ "internalType": "SD59x18"
2680
+ },
2681
+ {
2682
+ "name": "maxExposure",
2683
+ "type": "uint256",
2684
+ "internalType": "UD60x18"
2685
+ },
2686
+ {
2687
+ "name": "maxExposureFactor",
2688
+ "type": "uint256",
2689
+ "internalType": "UD60x18"
2690
+ }
2691
+ ]
2692
+ },
2693
+ {
2694
+ "type": "error",
2695
+ "name": "ExceededPSlippage",
2696
+ "inputs": [
2697
+ {
2698
+ "name": "pSlippage",
2699
+ "type": "int256",
2700
+ "internalType": "SD59x18"
2701
+ },
2702
+ {
2703
+ "name": "maxPSlippage",
2704
+ "type": "uint256",
2705
+ "internalType": "UD60x18"
2706
+ }
2707
+ ]
2708
+ },
2709
+ {
2710
+ "type": "error",
2711
+ "name": "ExchangeRebateParameterTooLarge",
2712
+ "inputs": []
2713
+ },
2714
+ {
2715
+ "type": "error",
2716
+ "name": "FeatureUnavailable",
2717
+ "inputs": [
2718
+ {
2719
+ "name": "which",
2720
+ "type": "bytes32",
2721
+ "internalType": "bytes32"
2722
+ }
2723
+ ]
2724
+ },
2725
+ {
2726
+ "type": "error",
2727
+ "name": "FeeParameterTooLarge",
2728
+ "inputs": []
2729
+ },
2730
+ {
2731
+ "type": "error",
2732
+ "name": "InvalidLiquidationType",
2733
+ "inputs": [
2734
+ {
2735
+ "name": "liquidationType",
2736
+ "type": "uint8",
2737
+ "internalType": "enum LiquidationType"
2738
+ }
2739
+ ]
2740
+ },
2741
+ {
2742
+ "type": "error",
2743
+ "name": "InvalidOrderCounterparties",
2744
+ "inputs": []
2745
+ },
2746
+ {
2747
+ "type": "error",
2748
+ "name": "InvalidUnwindBase",
2749
+ "inputs": [
2750
+ {
2751
+ "name": "currentBase",
2752
+ "type": "int256",
2753
+ "internalType": "SD59x18"
2754
+ },
2755
+ {
2756
+ "name": "unwindBase",
2757
+ "type": "int256",
2758
+ "internalType": "SD59x18"
2759
+ }
2760
+ ]
2761
+ },
2762
+ {
2763
+ "type": "error",
2764
+ "name": "LiquidationAgainstPassivePool",
2765
+ "inputs": []
2766
+ },
2767
+ {
2768
+ "type": "error",
2769
+ "name": "LiquidationIncreasesOpenInterest",
2770
+ "inputs": [
2771
+ {
2772
+ "name": "order",
2773
+ "type": "tuple",
2774
+ "internalType": "struct LiquidationOrder",
2775
+ "components": [
2776
+ {
2777
+ "name": "liquidatableAccountId",
2778
+ "type": "uint128",
2779
+ "internalType": "uint128"
2780
+ },
2781
+ {
2782
+ "name": "liquidatorAccountId",
2783
+ "type": "uint128",
2784
+ "internalType": "uint128"
2785
+ },
2786
+ {
2787
+ "name": "deltaBase",
2788
+ "type": "int256",
2789
+ "internalType": "SD59x18"
2790
+ }
2791
+ ]
2792
+ },
2793
+ {
2794
+ "name": "openInterestDelta",
2795
+ "type": "int256",
2796
+ "internalType": "SD59x18"
2797
+ }
2798
+ ]
2799
+ },
2800
+ {
2801
+ "type": "error",
2802
+ "name": "LiquidationOrderSizeTooLarge",
2803
+ "inputs": [
2804
+ {
2805
+ "name": "order",
2806
+ "type": "tuple",
2807
+ "internalType": "struct LiquidationOrder",
2808
+ "components": [
2809
+ {
2810
+ "name": "liquidatableAccountId",
2811
+ "type": "uint128",
2812
+ "internalType": "uint128"
2813
+ },
2814
+ {
2815
+ "name": "liquidatorAccountId",
2816
+ "type": "uint128",
2817
+ "internalType": "uint128"
2818
+ },
2819
+ {
2820
+ "name": "deltaBase",
2821
+ "type": "int256",
2822
+ "internalType": "SD59x18"
2823
+ }
2824
+ ]
2825
+ }
2826
+ ]
2827
+ },
2828
+ {
2829
+ "type": "error",
2830
+ "name": "MaxDutchLiquidationVolumeExceeded",
2831
+ "inputs": [
2832
+ {
2833
+ "name": "requestedLiquidatedBase",
2834
+ "type": "int256",
2835
+ "internalType": "SD59x18"
2836
+ },
2837
+ {
2838
+ "name": "maxVolume",
2839
+ "type": "uint256",
2840
+ "internalType": "UD60x18"
2841
+ }
2842
+ ]
2843
+ },
2844
+ {
2845
+ "type": "error",
2846
+ "name": "NegativeOpenInterest",
2847
+ "inputs": []
2848
+ },
2849
+ {
2850
+ "type": "error",
2851
+ "name": "NegativePrice",
2852
+ "inputs": []
2853
+ },
2854
+ {
2855
+ "type": "error",
2856
+ "name": "OnlyCoreProxy",
2857
+ "inputs": [
2858
+ {
2859
+ "name": "msgSender",
2860
+ "type": "address",
2861
+ "internalType": "address"
2862
+ }
2863
+ ]
2864
+ },
2865
+ {
2866
+ "type": "error",
2867
+ "name": "OpenInterestExceeded",
2868
+ "inputs": [
2869
+ {
2870
+ "name": "marketId",
2871
+ "type": "uint128",
2872
+ "internalType": "uint128"
2873
+ }
2874
+ ]
2875
+ },
2876
+ {
2877
+ "type": "error",
2878
+ "name": "PRBMath_SD59x18_Abs_MinSD59x18",
2879
+ "inputs": []
2880
+ },
2881
+ {
2882
+ "type": "error",
2883
+ "name": "PRBMath_SD59x18_Exp2_InputTooBig",
2884
+ "inputs": [
2885
+ {
2886
+ "name": "x",
2887
+ "type": "int256",
2888
+ "internalType": "SD59x18"
2889
+ }
2890
+ ]
2891
+ },
2892
+ {
2893
+ "type": "error",
2894
+ "name": "PRBMath_SD59x18_Log_InputTooSmall",
2895
+ "inputs": [
2896
+ {
2897
+ "name": "x",
2898
+ "type": "int256",
2899
+ "internalType": "SD59x18"
2900
+ }
2901
+ ]
2902
+ },
2903
+ {
2904
+ "type": "error",
2905
+ "name": "PRBMath_UD60x18_Sqrt_Overflow",
2906
+ "inputs": [
2907
+ {
2908
+ "name": "x",
2909
+ "type": "uint256",
2910
+ "internalType": "UD60x18"
2911
+ }
2912
+ ]
2913
+ },
2914
+ {
2915
+ "type": "error",
2916
+ "name": "PoolRebateParameterTooLarge",
2917
+ "inputs": []
2918
+ },
2919
+ {
2920
+ "type": "error",
2921
+ "name": "SelfLiquidation",
2922
+ "inputs": [
2923
+ {
2924
+ "name": "accountId",
2925
+ "type": "uint128",
2926
+ "internalType": "uint128"
2927
+ }
2928
+ ]
2929
+ },
2930
+ {
2931
+ "type": "error",
2932
+ "name": "SmallOrderSize",
2933
+ "inputs": [
2934
+ {
2935
+ "name": "absBasePostOrder",
2936
+ "type": "uint256",
2937
+ "internalType": "UD60x18"
2938
+ },
2939
+ {
2940
+ "name": "minimumOrderBase",
2941
+ "type": "uint256",
2942
+ "internalType": "UD60x18"
2943
+ }
2944
+ ]
2945
+ },
2946
+ {
2947
+ "type": "error",
2948
+ "name": "UnacceptableOrderPrice",
2949
+ "inputs": [
2950
+ {
2951
+ "name": "executedOrderPrice",
2952
+ "type": "uint256",
2953
+ "internalType": "UD60x18"
2954
+ },
2955
+ {
2956
+ "name": "orderPriceLimit",
2957
+ "type": "uint256",
2958
+ "internalType": "UD60x18"
2959
+ }
2960
+ ]
2961
+ },
2962
+ {
2963
+ "type": "error",
2964
+ "name": "WrongLiquidationDirection",
2965
+ "inputs": [
2966
+ {
2967
+ "name": "order",
2968
+ "type": "tuple",
2969
+ "internalType": "struct LiquidationOrder",
2970
+ "components": [
2971
+ {
2972
+ "name": "liquidatableAccountId",
2973
+ "type": "uint128",
2974
+ "internalType": "uint128"
2975
+ },
2976
+ {
2977
+ "name": "liquidatorAccountId",
2978
+ "type": "uint128",
2979
+ "internalType": "uint128"
2980
+ },
2981
+ {
2982
+ "name": "deltaBase",
2983
+ "type": "int256",
2984
+ "internalType": "SD59x18"
2985
+ }
2986
+ ]
2987
+ }
2988
+ ]
2989
+ },
2990
+ {
2991
+ "type": "error",
2992
+ "name": "ZeroOrderSize",
2993
+ "inputs": []
2994
+ },
2995
+ {
2996
+ "type": "error",
2997
+ "name": "CoreCallReverted",
2998
+ "inputs": [
2999
+ {
3000
+ "name": "output",
3001
+ "type": "bytes",
3002
+ "internalType": "bytes"
3003
+ }
3004
+ ]
3005
+ },
3006
+ {
3007
+ "type": "error",
3008
+ "name": "PoolNotFound",
3009
+ "inputs": [
3010
+ {
3011
+ "name": "id",
3012
+ "type": "uint128",
3013
+ "internalType": "uint128"
3014
+ }
3015
+ ]
3016
+ },
3017
+ {
3018
+ "type": "error",
3019
+ "name": "Unauthorized",
3020
+ "inputs": [
3021
+ {
3022
+ "name": "addr",
3023
+ "type": "address",
3024
+ "internalType": "address"
3025
+ }
3026
+ ]
3027
+ },
3028
+ {
3029
+ "type": "error",
3030
+ "name": "ZeroAddress",
3031
+ "inputs": []
3032
+ },
3033
+ {
3034
+ "type": "error",
3035
+ "name": "ValueAlreadyInSet",
3036
+ "inputs": []
3037
+ },
3038
+ {
3039
+ "type": "error",
3040
+ "name": "ValueNotInSet",
3041
+ "inputs": []
3042
+ },
3043
+ {
3044
+ "type": "error",
3045
+ "name": "ImplementationIsSterile",
3046
+ "inputs": [
3047
+ {
3048
+ "name": "implementation",
3049
+ "type": "address",
3050
+ "internalType": "address"
3051
+ }
3052
+ ]
3053
+ },
3054
+ {
3055
+ "type": "error",
3056
+ "name": "NoChange",
3057
+ "inputs": []
3058
+ },
3059
+ {
3060
+ "type": "error",
3061
+ "name": "NotAContract",
3062
+ "inputs": [
3063
+ {
3064
+ "name": "contr",
3065
+ "type": "address",
3066
+ "internalType": "address"
3067
+ }
3068
+ ]
3069
+ },
3070
+ {
3071
+ "type": "error",
3072
+ "name": "NotNominated",
3073
+ "inputs": [
3074
+ {
3075
+ "name": "addr",
3076
+ "type": "address",
3077
+ "internalType": "address"
3078
+ }
3079
+ ]
3080
+ },
3081
+ {
3082
+ "type": "error",
3083
+ "name": "UpgradeSimulationFailed",
3084
+ "inputs": []
3085
+ },
3086
+ {
3087
+ "type": "error",
3088
+ "name": "AmountZero",
3089
+ "inputs": []
3090
+ },
3091
+ {
3092
+ "type": "error",
3093
+ "name": "FailedApproval",
3094
+ "inputs": [
3095
+ {
3096
+ "name": "spender",
3097
+ "type": "address",
3098
+ "internalType": "address"
3099
+ },
3100
+ {
3101
+ "name": "value",
3102
+ "type": "uint256",
3103
+ "internalType": "uint256"
3104
+ }
3105
+ ]
3106
+ },
3107
+ {
3108
+ "type": "error",
3109
+ "name": "FailedTransfer",
3110
+ "inputs": [
3111
+ {
3112
+ "name": "from",
3113
+ "type": "address",
3114
+ "internalType": "address"
3115
+ },
3116
+ {
3117
+ "name": "to",
3118
+ "type": "address",
3119
+ "internalType": "address"
3120
+ },
3121
+ {
3122
+ "name": "value",
3123
+ "type": "uint256",
3124
+ "internalType": "uint256"
3125
+ }
3126
+ ]
3127
+ },
3128
+ {
3129
+ "type": "error",
3130
+ "name": "FeatureUnavailable",
3131
+ "inputs": [
3132
+ {
3133
+ "name": "which",
3134
+ "type": "bytes32",
3135
+ "internalType": "bytes32"
3136
+ }
3137
+ ]
3138
+ },
3139
+ {
3140
+ "type": "error",
3141
+ "name": "InsufficientAllowance",
3142
+ "inputs": [
3143
+ {
3144
+ "name": "required",
3145
+ "type": "uint256",
3146
+ "internalType": "uint256"
3147
+ },
3148
+ {
3149
+ "name": "existing",
3150
+ "type": "uint256",
3151
+ "internalType": "uint256"
3152
+ }
3153
+ ]
3154
+ },
3155
+ {
3156
+ "type": "error",
3157
+ "name": "InsufficientSharesOutput",
3158
+ "inputs": [
3159
+ {
3160
+ "name": "minAmount",
3161
+ "type": "uint256",
3162
+ "internalType": "uint256"
3163
+ },
3164
+ {
3165
+ "name": "minShares",
3166
+ "type": "uint256",
3167
+ "internalType": "uint256"
3168
+ }
3169
+ ]
3170
+ },
3171
+ {
3172
+ "type": "error",
3173
+ "name": "InsufficientTokenOutput",
3174
+ "inputs": [
3175
+ {
3176
+ "name": "tokenAmount",
3177
+ "type": "uint256",
3178
+ "internalType": "uint256"
3179
+ },
3180
+ {
3181
+ "name": "minOut",
3182
+ "type": "uint256",
3183
+ "internalType": "uint256"
3184
+ }
3185
+ ]
3186
+ },
3187
+ {
3188
+ "type": "error",
3189
+ "name": "NotEnoughBalance",
3190
+ "inputs": [
3191
+ {
3192
+ "name": "account",
3193
+ "type": "address",
3194
+ "internalType": "address"
3195
+ },
3196
+ {
3197
+ "name": "accountBalance",
3198
+ "type": "uint256",
3199
+ "internalType": "uint256"
3200
+ },
3201
+ {
3202
+ "name": "amount",
3203
+ "type": "uint256",
3204
+ "internalType": "uint256"
3205
+ }
3206
+ ]
3207
+ },
3208
+ {
3209
+ "type": "error",
3210
+ "name": "OverflowInt256ToUint256",
3211
+ "inputs": []
3212
+ },
3213
+ {
3214
+ "type": "error",
3215
+ "name": "OverflowUint256ToInt256",
3216
+ "inputs": []
3217
+ },
3218
+ {
3219
+ "type": "error",
3220
+ "name": "PRBMath_MulDiv_Overflow",
3221
+ "inputs": [
3222
+ {
3223
+ "name": "x",
3224
+ "type": "uint256",
3225
+ "internalType": "uint256"
3226
+ },
3227
+ {
3228
+ "name": "y",
3229
+ "type": "uint256",
3230
+ "internalType": "uint256"
3231
+ },
3232
+ {
3233
+ "name": "denominator",
3234
+ "type": "uint256",
3235
+ "internalType": "uint256"
3236
+ }
3237
+ ]
3238
+ },
3239
+ {
3240
+ "type": "error",
3241
+ "name": "PoolInsolvent",
3242
+ "inputs": [
3243
+ {
3244
+ "name": "id",
3245
+ "type": "uint128",
3246
+ "internalType": "uint128"
3247
+ }
3248
+ ]
3249
+ },
3250
+ {
3251
+ "type": "error",
3252
+ "name": "PoolMarginIsZero",
3253
+ "inputs": [
3254
+ {
3255
+ "name": "id",
3256
+ "type": "uint128",
3257
+ "internalType": "uint128"
3258
+ }
3259
+ ]
3260
+ },
3261
+ {
3262
+ "type": "error",
3263
+ "name": "SignatureExpired",
3264
+ "inputs": []
3265
+ },
3266
+ {
3267
+ "type": "error",
3268
+ "name": "SignatureInvalid",
3269
+ "inputs": []
3270
+ },
3271
+ {
3272
+ "type": "error",
3273
+ "name": "UnsafeApproval",
3274
+ "inputs": [
3275
+ {
3276
+ "name": "spender",
3277
+ "type": "address",
3278
+ "internalType": "address"
3279
+ },
3280
+ {
3281
+ "name": "value",
3282
+ "type": "uint256",
3283
+ "internalType": "uint256"
3284
+ }
3285
+ ]
3286
+ },
3287
+ {
3288
+ "type": "error",
3289
+ "name": "ZeroSharesSupply",
3290
+ "inputs": []
3291
+ },
3292
+ {
3293
+ "type": "error",
3294
+ "name": "ConnectorNotRegistered",
3295
+ "inputs": [
3296
+ {
3297
+ "name": "token",
3298
+ "type": "address",
3299
+ "internalType": "address"
3300
+ },
3301
+ {
3302
+ "name": "chainId",
3303
+ "type": "uint256",
3304
+ "internalType": "uint256"
3305
+ }
3306
+ ]
3307
+ },
3308
+ {
3309
+ "type": "error",
3310
+ "name": "ControllerNotRegistered",
3311
+ "inputs": [
3312
+ {
3313
+ "name": "token",
3314
+ "type": "address",
3315
+ "internalType": "address"
3316
+ }
3317
+ ]
3318
+ },
3319
+ {
3320
+ "type": "error",
3321
+ "name": "ExecutionHelperNotRegistered",
3322
+ "inputs": [
3323
+ {
3324
+ "name": "token",
3325
+ "type": "address",
3326
+ "internalType": "address"
3327
+ }
3328
+ ]
3329
+ },
3330
+ {
3331
+ "type": "error",
3332
+ "name": "FailedToRescueFunds",
3333
+ "inputs": []
3334
+ },
3335
+ {
3336
+ "type": "error",
3337
+ "name": "FailedTransfer",
3338
+ "inputs": [
3339
+ {
3340
+ "name": "from",
3341
+ "type": "address",
3342
+ "internalType": "address"
3343
+ },
3344
+ {
3345
+ "name": "to",
3346
+ "type": "address",
3347
+ "internalType": "address"
3348
+ },
3349
+ {
3350
+ "name": "value",
3351
+ "type": "uint256",
3352
+ "internalType": "uint256"
3353
+ }
3354
+ ]
3355
+ },
3356
+ {
3357
+ "type": "error",
3358
+ "name": "Unauthorized",
3359
+ "inputs": [
3360
+ {
3361
+ "name": "addr",
3362
+ "type": "address",
3363
+ "internalType": "address"
3364
+ }
3365
+ ]
3366
+ },
3367
+ {
3368
+ "type": "error",
3369
+ "name": "CallerIsNotExecutionHelper",
3370
+ "inputs": [
3371
+ {
3372
+ "name": "caller",
3373
+ "type": "address",
3374
+ "internalType": "address"
3375
+ },
3376
+ {
3377
+ "name": "token",
3378
+ "type": "address",
3379
+ "internalType": "address"
3380
+ }
3381
+ ]
3382
+ },
3383
+ {
3384
+ "type": "error",
3385
+ "name": "FailedApproval",
3386
+ "inputs": [
3387
+ {
3388
+ "name": "spender",
3389
+ "type": "address",
3390
+ "internalType": "address"
3391
+ },
3392
+ {
3393
+ "name": "value",
3394
+ "type": "uint256",
3395
+ "internalType": "uint256"
3396
+ }
3397
+ ]
3398
+ },
3399
+ {
3400
+ "type": "error",
3401
+ "name": "FeatureUnavailable",
3402
+ "inputs": [
3403
+ {
3404
+ "name": "which",
3405
+ "type": "bytes32",
3406
+ "internalType": "bytes32"
3407
+ }
3408
+ ]
3409
+ },
3410
+ {
3411
+ "type": "error",
3412
+ "name": "UnsafeApproval",
3413
+ "inputs": [
3414
+ {
3415
+ "name": "spender",
3416
+ "type": "address",
3417
+ "internalType": "address"
3418
+ },
3419
+ {
3420
+ "name": "value",
3421
+ "type": "uint256",
3422
+ "internalType": "uint256"
3423
+ }
3424
+ ]
3425
+ },
3426
+ {
3427
+ "type": "error",
3428
+ "name": "InvalidPeripheryExecution",
3429
+ "inputs": []
3430
+ },
3431
+ {
3432
+ "type": "error",
3433
+ "name": "ValueAlreadyInSet",
3434
+ "inputs": []
3435
+ },
3436
+ {
3437
+ "type": "error",
3438
+ "name": "ValueNotInSet",
3439
+ "inputs": []
3440
+ },
3441
+ {
3442
+ "type": "error",
3443
+ "name": "ImplementationIsSterile",
3444
+ "inputs": [
3445
+ {
3446
+ "name": "implementation",
3447
+ "type": "address",
3448
+ "internalType": "address"
3449
+ }
3450
+ ]
3451
+ },
3452
+ {
3453
+ "type": "error",
3454
+ "name": "NoChange",
3455
+ "inputs": []
3456
+ },
3457
+ {
3458
+ "type": "error",
3459
+ "name": "NotAContract",
3460
+ "inputs": [
3461
+ {
3462
+ "name": "contr",
3463
+ "type": "address",
3464
+ "internalType": "address"
3465
+ }
3466
+ ]
3467
+ },
3468
+ {
3469
+ "type": "error",
3470
+ "name": "NotNominated",
3471
+ "inputs": [
3472
+ {
3473
+ "name": "addr",
3474
+ "type": "address",
3475
+ "internalType": "address"
3476
+ }
3477
+ ]
3478
+ },
3479
+ {
3480
+ "type": "error",
3481
+ "name": "UpgradeSimulationFailed",
3482
+ "inputs": []
3483
+ },
3484
+ {
3485
+ "type": "error",
3486
+ "name": "ZeroAddress",
3487
+ "inputs": []
3488
+ },
3489
+ {
3490
+ "type": "error",
3491
+ "name": "NotEnoughFees",
3492
+ "inputs": [
3493
+ {
3494
+ "name": "tokenAmount",
3495
+ "type": "uint256",
3496
+ "internalType": "uint256"
3497
+ },
3498
+ {
3499
+ "name": "tokenFees",
3500
+ "type": "uint256",
3501
+ "internalType": "uint256"
3502
+ }
3503
+ ]
3504
+ },
3505
+ {
3506
+ "type": "error",
3507
+ "name": "Unauthorized",
3508
+ "inputs": [
3509
+ {
3510
+ "name": "addr",
3511
+ "type": "address",
3512
+ "internalType": "address"
3513
+ }
3514
+ ]
3515
+ },
3516
+ {
3517
+ "type": "error",
3518
+ "name": "ValueAlreadyInSet",
3519
+ "inputs": []
3520
+ },
3521
+ {
3522
+ "type": "error",
3523
+ "name": "ValueNotInSet",
3524
+ "inputs": []
3525
+ },
3526
+ {
3527
+ "type": "error",
3528
+ "name": "ImplementationIsSterile",
3529
+ "inputs": [
3530
+ {
3531
+ "name": "implementation",
3532
+ "type": "address",
3533
+ "internalType": "address"
3534
+ }
3535
+ ]
3536
+ },
3537
+ {
3538
+ "type": "error",
3539
+ "name": "NoChange",
3540
+ "inputs": []
3541
+ },
3542
+ {
3543
+ "type": "error",
3544
+ "name": "NotAContract",
3545
+ "inputs": [
3546
+ {
3547
+ "name": "contr",
3548
+ "type": "address",
3549
+ "internalType": "address"
3550
+ }
3551
+ ]
3552
+ },
3553
+ {
3554
+ "type": "error",
3555
+ "name": "NotNominated",
3556
+ "inputs": [
3557
+ {
3558
+ "name": "addr",
3559
+ "type": "address",
3560
+ "internalType": "address"
3561
+ }
3562
+ ]
3563
+ },
3564
+ {
3565
+ "type": "error",
3566
+ "name": "UpgradeSimulationFailed",
3567
+ "inputs": []
3568
+ },
3569
+ {
3570
+ "type": "error",
3571
+ "name": "ZeroAddress",
3572
+ "inputs": []
3573
+ },
3574
+ {
3575
+ "type": "error",
3576
+ "name": "FeatureUnavailable",
3577
+ "inputs": [
3578
+ {
3579
+ "name": "which",
3580
+ "type": "bytes32",
3581
+ "internalType": "bytes32"
3582
+ }
3583
+ ]
3584
+ },
3585
+ {
3586
+ "type": "error",
3587
+ "name": "MismatchedLength",
3588
+ "inputs": []
3589
+ }
3590
+ ]
3591
+ }