@babylonlabs-io/ts-sdk 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/{BTCVaultRegistry.abi-DBW0dyqH.js → BTCVaultRegistry.abi-BmHpMUWD.js} +1 -52
  2. package/dist/BTCVaultRegistry.abi-BmHpMUWD.js.map +1 -0
  3. package/dist/BTCVaultRegistry.abi-DffWFdpA.cjs +2 -0
  4. package/dist/BTCVaultRegistry.abi-DffWFdpA.cjs.map +1 -0
  5. package/dist/BTCVaultRegistryKeyEpochs.abi-Btg0nBz1.js +262 -0
  6. package/dist/BTCVaultRegistryKeyEpochs.abi-Btg0nBz1.js.map +1 -0
  7. package/dist/BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs +2 -0
  8. package/dist/BTCVaultRegistryKeyEpochs.abi-CReWFJdu.cjs.map +1 -0
  9. package/dist/{PeginManager-QRwMUxZg.js → PeginManager-Dfr5Qe1g.js} +2 -2
  10. package/dist/{PeginManager-QRwMUxZg.js.map → PeginManager-Dfr5Qe1g.js.map} +1 -1
  11. package/dist/{PeginManager-8EUlm10F.cjs → PeginManager-PyKbfy5q.cjs} +2 -2
  12. package/dist/{PeginManager-8EUlm10F.cjs.map → PeginManager-PyKbfy5q.cjs.map} +1 -1
  13. package/dist/VaultErrors.abi-Boz4w97c.js +5 -0
  14. package/dist/VaultErrors.abi-Boz4w97c.js.map +1 -0
  15. package/dist/VaultErrors.abi-DQ18kM0L.cjs +2 -0
  16. package/dist/VaultErrors.abi-DQ18kM0L.cjs.map +1 -0
  17. package/dist/{buildAndBroadcastReclaim-DjX7wVb2.cjs → buildAndBroadcastReclaim-Da8rD5Z7.cjs} +2 -2
  18. package/dist/{buildAndBroadcastReclaim-DjX7wVb2.cjs.map → buildAndBroadcastReclaim-Da8rD5Z7.cjs.map} +1 -1
  19. package/dist/{buildAndBroadcastReclaim-DoprHX7o.js → buildAndBroadcastReclaim-R0HNpLMD.js} +2 -2
  20. package/dist/{buildAndBroadcastReclaim-DoprHX7o.js.map → buildAndBroadcastReclaim-R0HNpLMD.js.map} +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +222 -219
  23. package/dist/index.js.map +1 -1
  24. package/dist/{pegin-registration-client-D4EguWaz.cjs → pegin-registration-client-C-abxMWq.cjs} +2 -2
  25. package/dist/{pegin-registration-client-D4EguWaz.cjs.map → pegin-registration-client-C-abxMWq.cjs.map} +1 -1
  26. package/dist/{pegin-registration-client-BWMwxtr8.js → pegin-registration-client-kdz4fT5_.js} +3 -3
  27. package/dist/{pegin-registration-client-BWMwxtr8.js.map → pegin-registration-client-kdz4fT5_.js.map} +1 -1
  28. package/dist/{signer-set-reader-C1VmC9_U.js → signer-set-reader-BCtmSKUM.js} +2 -2
  29. package/dist/{signer-set-reader-C1VmC9_U.js.map → signer-set-reader-BCtmSKUM.js.map} +1 -1
  30. package/dist/{signer-set-reader-C6g47hdk.cjs → signer-set-reader-DFAu6I-v.cjs} +2 -2
  31. package/dist/{signer-set-reader-C6g47hdk.cjs.map → signer-set-reader-DFAu6I-v.cjs.map} +1 -1
  32. package/dist/tbv/core/clients/eth/index.cjs +1 -1
  33. package/dist/tbv/core/clients/eth/index.js +2 -2
  34. package/dist/tbv/core/clients/index.cjs +1 -1
  35. package/dist/tbv/core/clients/index.js +2 -2
  36. package/dist/tbv/core/contracts/__tests__/vaultErrors.abi.test.d.ts +2 -0
  37. package/dist/tbv/core/contracts/__tests__/vaultErrors.abi.test.d.ts.map +1 -0
  38. package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts +0 -40
  39. package/dist/tbv/core/contracts/abis/BTCVaultRegistry.abi.d.ts.map +1 -1
  40. package/dist/tbv/core/contracts/abis/VaultErrors.abi.d.ts +3 -0
  41. package/dist/tbv/core/contracts/abis/VaultErrors.abi.d.ts.map +1 -0
  42. package/dist/tbv/core/contracts/abis/vaultErrors.abi.json.d.ts +4 -0
  43. package/dist/tbv/core/contracts/errors.d.ts +7 -2
  44. package/dist/tbv/core/contracts/errors.d.ts.map +1 -1
  45. package/dist/tbv/core/contracts/index.cjs +1 -1
  46. package/dist/tbv/core/contracts/index.d.ts +2 -1
  47. package/dist/tbv/core/contracts/index.d.ts.map +1 -1
  48. package/dist/tbv/core/contracts/index.js +13 -10
  49. package/dist/tbv/core/contracts/index.js.map +1 -1
  50. package/dist/tbv/core/index.cjs +1 -1
  51. package/dist/tbv/core/index.js +210 -207
  52. package/dist/tbv/core/index.js.map +1 -1
  53. package/dist/tbv/core/managers/index.cjs +1 -1
  54. package/dist/tbv/core/managers/index.js +1 -1
  55. package/dist/tbv/core/services/index.cjs +1 -1
  56. package/dist/tbv/core/services/index.js +1 -1
  57. package/dist/tbv/core/utils/eth/index.cjs +1 -1
  58. package/dist/tbv/core/utils/eth/index.cjs.map +1 -1
  59. package/dist/tbv/core/utils/eth/index.js +20 -20
  60. package/dist/tbv/core/utils/eth/index.js.map +1 -1
  61. package/dist/tbv/core/utils/eth/waitForTransactionReceiptSmartAware.d.ts.map +1 -1
  62. package/dist/tbv/index.cjs +1 -1
  63. package/dist/tbv/index.js +210 -207
  64. package/dist/tbv/index.js.map +1 -1
  65. package/dist/tbv/integrations/aave/clients/abis/AaveIntegrationAdapter.abi.json.d.ts +7 -701
  66. package/dist/tbv/integrations/aave/clients/query.d.ts +2 -2
  67. package/dist/tbv/integrations/aave/index.cjs +1 -1
  68. package/dist/tbv/integrations/aave/index.cjs.map +1 -1
  69. package/dist/tbv/integrations/aave/index.js +119 -119
  70. package/dist/tbv/integrations/aave/index.js.map +1 -1
  71. package/dist/{toRefundInputs-BZXvuOMY.cjs → toRefundInputs-BbAOOUg6.cjs} +2 -2
  72. package/dist/{toRefundInputs-BZXvuOMY.cjs.map → toRefundInputs-BbAOOUg6.cjs.map} +1 -1
  73. package/dist/{toRefundInputs-dKDSvpVI.js → toRefundInputs-DW14g6wH.js} +2 -2
  74. package/dist/{toRefundInputs-dKDSvpVI.js.map → toRefundInputs-DW14g6wH.js.map} +1 -1
  75. package/package.json +2 -2
  76. package/dist/BTCVaultRegistry.abi-CohlJX7c.cjs +0 -2
  77. package/dist/BTCVaultRegistry.abi-CohlJX7c.cjs.map +0 -1
  78. package/dist/BTCVaultRegistry.abi-DBW0dyqH.js.map +0 -1
  79. package/dist/BTCVaultRegistryKeyEpochs.abi-BWoxwPQv.js +0 -266
  80. package/dist/BTCVaultRegistryKeyEpochs.abi-BWoxwPQv.js.map +0 -1
  81. package/dist/BTCVaultRegistryKeyEpochs.abi-DCJnzKer.cjs +0 -2
  82. package/dist/BTCVaultRegistryKeyEpochs.abi-DCJnzKer.cjs.map +0 -1
@@ -1,55 +1,4 @@
1
1
  declare const _default: [
2
- {
3
- "type": "constructor",
4
- "inputs": [
5
- {
6
- "name": "vaultBTC_",
7
- "type": "address",
8
- "internalType": "address"
9
- },
10
- {
11
- "name": "coreSpoke_",
12
- "type": "address",
13
- "internalType": "address"
14
- },
15
- {
16
- "name": "btcVaultRegistry_",
17
- "type": "address",
18
- "internalType": "address"
19
- },
20
- {
21
- "name": "applicationRegistry_",
22
- "type": "address",
23
- "internalType": "address"
24
- },
25
- {
26
- "name": "proxyManager_",
27
- "type": "address",
28
- "internalType": "address"
29
- },
30
- {
31
- "name": "coreVaultBtcReserveId_",
32
- "type": "uint256",
33
- "internalType": "uint256"
34
- },
35
- {
36
- "name": "coreWbtcReserveId_",
37
- "type": "uint256",
38
- "internalType": "uint256"
39
- },
40
- {
41
- "name": "protocolParams_",
42
- "type": "address",
43
- "internalType": "address"
44
- },
45
- {
46
- "name": "llpRegistry_",
47
- "type": "address",
48
- "internalType": "address"
49
- }
50
- ],
51
- "stateMutability": "nonpayable"
52
- },
53
2
  {
54
3
  "type": "function",
55
4
  "name": "APP_REGISTRY",
@@ -128,19 +77,6 @@ declare const _default: [
128
77
  ],
129
78
  "stateMutability": "view"
130
79
  },
131
- {
132
- "type": "function",
133
- "name": "TIMELOCK_UPGRADER",
134
- "inputs": [],
135
- "outputs": [
136
- {
137
- "name": "",
138
- "type": "bytes32",
139
- "internalType": "bytes32"
140
- }
141
- ],
142
- "stateMutability": "view"
143
- },
144
80
  {
145
81
  "type": "function",
146
82
  "name": "UPGRADE_INTERFACE_VERSION",
@@ -167,116 +103,6 @@ declare const _default: [
167
103
  ],
168
104
  "stateMutability": "view"
169
105
  },
170
- {
171
- "type": "function",
172
- "name": "activateVault",
173
- "inputs": [
174
- {
175
- "name": "vaultId",
176
- "type": "bytes32",
177
- "internalType": "bytes32"
178
- },
179
- {
180
- "name": "vault",
181
- "type": "tuple",
182
- "internalType": "struct IBTCVaultRegistry.BTCVault",
183
- "components": [
184
- {
185
- "name": "depositor",
186
- "type": "address",
187
- "internalType": "address"
188
- },
189
- {
190
- "name": "depositorBtcPubKey",
191
- "type": "bytes32",
192
- "internalType": "bytes32"
193
- },
194
- {
195
- "name": "depositorSignedPeginTx",
196
- "type": "bytes",
197
- "internalType": "bytes"
198
- },
199
- {
200
- "name": "amount",
201
- "type": "uint256",
202
- "internalType": "uint256"
203
- },
204
- {
205
- "name": "vaultProvider",
206
- "type": "address",
207
- "internalType": "address"
208
- },
209
- {
210
- "name": "status",
211
- "type": "uint8",
212
- "internalType": "enum IBTCVaultRegistry.BTCVaultStatus"
213
- },
214
- {
215
- "name": "applicationEntryPoint",
216
- "type": "address",
217
- "internalType": "address"
218
- },
219
- {
220
- "name": "universalChallengersVersion",
221
- "type": "uint16",
222
- "internalType": "uint16"
223
- },
224
- {
225
- "name": "appVaultKeepersVersion",
226
- "type": "uint16",
227
- "internalType": "uint16"
228
- },
229
- {
230
- "name": "offchainParamsVersion",
231
- "type": "uint16",
232
- "internalType": "uint16"
233
- },
234
- {
235
- "name": "createdAt",
236
- "type": "uint256",
237
- "internalType": "uint256"
238
- },
239
- {
240
- "name": "verifiedAt",
241
- "type": "uint256",
242
- "internalType": "uint256"
243
- },
244
- {
245
- "name": "depositorWotsPkHash",
246
- "type": "bytes32",
247
- "internalType": "bytes32"
248
- },
249
- {
250
- "name": "hashlock",
251
- "type": "bytes32",
252
- "internalType": "bytes32"
253
- },
254
- {
255
- "name": "htlcVout",
256
- "type": "uint8",
257
- "internalType": "uint8"
258
- },
259
- {
260
- "name": "depositorPopSignature",
261
- "type": "bytes",
262
- "internalType": "bytes"
263
- },
264
- {
265
- "name": "prePeginTxHash",
266
- "type": "bytes32",
267
- "internalType": "bytes32"
268
- }
269
- ]
270
- },
271
- {
272
- "name": "activationMetadata",
273
- "type": "bytes",
274
- "internalType": "bytes"
275
- }
276
- ],
277
- "outputs": [],
278
- "stateMutability": "nonpayable"
279
- },
280
106
  {
281
107
  "type": "function",
282
108
  "name": "applicationRecipient",
@@ -331,13 +157,6 @@ declare const _default: [
331
157
  "outputs": [],
332
158
  "stateMutability": "nonpayable"
333
159
  },
334
- {
335
- "type": "function",
336
- "name": "fullPause",
337
- "inputs": [],
338
- "outputs": [],
339
- "stateMutability": "nonpayable"
340
- },
341
160
  {
342
161
  "type": "function",
343
162
  "name": "getFairnessPaymentTokenConfig",
@@ -509,34 +328,6 @@ declare const _default: [
509
328
  ],
510
329
  "stateMutability": "view"
511
330
  },
512
- {
513
- "type": "function",
514
- "name": "initialize",
515
- "inputs": [
516
- {
517
- "name": "initialTBVAdmin",
518
- "type": "address",
519
- "internalType": "address"
520
- },
521
- {
522
- "name": "_applicationRecipient",
523
- "type": "address",
524
- "internalType": "address"
525
- },
526
- {
527
- "name": "_liquidationRedemptionFeeBps",
528
- "type": "uint256",
529
- "internalType": "uint256"
530
- },
531
- {
532
- "name": "_initialInterestFeeBps",
533
- "type": "uint256",
534
- "internalType": "uint256"
535
- }
536
- ],
537
- "outputs": [],
538
- "stateMutability": "nonpayable"
539
- },
540
331
  {
541
332
  "type": "function",
542
333
  "name": "interestFeeBps",
@@ -550,110 +341,6 @@ declare const _default: [
550
341
  ],
551
342
  "stateMutability": "view"
552
343
  },
553
- {
554
- "type": "function",
555
- "name": "isValidPositionResolver",
556
- "inputs": [
557
- {
558
- "name": "resolver",
559
- "type": "address",
560
- "internalType": "address"
561
- }
562
- ],
563
- "outputs": [
564
- {
565
- "name": "",
566
- "type": "bool",
567
- "internalType": "bool"
568
- }
569
- ],
570
- "stateMutability": "view"
571
- },
572
- {
573
- "type": "function",
574
- "name": "liquidate",
575
- "inputs": [
576
- {
577
- "name": "borrower",
578
- "type": "address",
579
- "internalType": "address"
580
- },
581
- {
582
- "name": "directBtcRedeemKey",
583
- "type": "bytes32",
584
- "internalType": "bytes32"
585
- },
586
- {
587
- "name": "amounts",
588
- "type": "uint256[]",
589
- "internalType": "uint256[]"
590
- },
591
- {
592
- "name": "priorityOrder",
593
- "type": "uint256[]",
594
- "internalType": "uint256[]"
595
- }
596
- ],
597
- "outputs": [
598
- {
599
- "name": "vaultIds",
600
- "type": "bytes32[]",
601
- "internalType": "bytes32[]"
602
- }
603
- ],
604
- "stateMutability": "nonpayable"
605
- },
606
- {
607
- "type": "function",
608
- "name": "liquidateWithLLP",
609
- "inputs": [
610
- {
611
- "name": "borrower",
612
- "type": "address",
613
- "internalType": "address"
614
- },
615
- {
616
- "name": "llp",
617
- "type": "address",
618
- "internalType": "address"
619
- },
620
- {
621
- "name": "amounts",
622
- "type": "uint256[]",
623
- "internalType": "uint256[]"
624
- },
625
- {
626
- "name": "priorityOrder",
627
- "type": "uint256[]",
628
- "internalType": "uint256[]"
629
- },
630
- {
631
- "name": "requestedTokens",
632
- "type": "tuple[]",
633
- "internalType": "struct TokenAmountLib.TokenAmount[]",
634
- "components": [
635
- {
636
- "name": "token",
637
- "type": "address",
638
- "internalType": "address"
639
- },
640
- {
641
- "name": "amount",
642
- "type": "uint256",
643
- "internalType": "uint256"
644
- }
645
- ]
646
- }
647
- ],
648
- "outputs": [
649
- {
650
- "name": "vaultIds",
651
- "type": "bytes32[]",
652
- "internalType": "bytes32[]"
653
- }
654
- ],
655
- "stateMutability": "nonpayable"
656
- },
657
344
  {
658
345
  "type": "function",
659
346
  "name": "liquidationRedemptionFeeBps",
@@ -711,32 +398,6 @@ declare const _default: [
711
398
  "outputs": [],
712
399
  "stateMutability": "nonpayable"
713
400
  },
714
- {
715
- "type": "function",
716
- "name": "registerResolver",
717
- "inputs": [
718
- {
719
- "name": "resolver",
720
- "type": "address",
721
- "internalType": "address"
722
- }
723
- ],
724
- "outputs": [],
725
- "stateMutability": "nonpayable"
726
- },
727
- {
728
- "type": "function",
729
- "name": "removeResolver",
730
- "inputs": [
731
- {
732
- "name": "resolver",
733
- "type": "address",
734
- "internalType": "address"
735
- }
736
- ],
737
- "outputs": [],
738
- "stateMutability": "nonpayable"
739
- },
740
401
  {
741
402
  "type": "function",
742
403
  "name": "renounceRole",
@@ -864,31 +525,6 @@ declare const _default: [
864
525
  "outputs": [],
865
526
  "stateMutability": "nonpayable"
866
527
  },
867
- {
868
- "type": "function",
869
- "name": "setPositionSizeParams",
870
- "inputs": [
871
- {
872
- "name": "params",
873
- "type": "tuple",
874
- "internalType": "struct IAaveIntegrationAdapter.PositionSizeParams",
875
- "components": [
876
- {
877
- "name": "maxPositionBTC",
878
- "type": "uint256",
879
- "internalType": "uint256"
880
- },
881
- {
882
- "name": "maxVaultsPerPosition",
883
- "type": "uint256",
884
- "internalType": "uint256"
885
- }
886
- ]
887
- }
888
- ],
889
- "outputs": [],
890
- "stateMutability": "nonpayable"
891
- },
892
528
  {
893
529
  "type": "function",
894
530
  "name": "supportsInterface",
@@ -973,58 +609,19 @@ declare const _default: [
973
609
  {
974
610
  "name": "amountWithdrawn",
975
611
  "type": "uint256",
976
- "internalType": "uint256"
977
- }
978
- ],
979
- "stateMutability": "nonpayable"
980
- },
981
- {
982
- "type": "event",
983
- "name": "AdapterApplicationRecipientUpdated",
984
- "inputs": [
985
- {
986
- "name": "applicationFeeRecipient",
987
- "type": "address",
988
- "indexed": false,
989
- "internalType": "address"
990
- }
991
- ],
992
- "anonymous": false
993
- },
994
- {
995
- "type": "event",
996
- "name": "AdapterLiquidationRedemptionFeeUpdated",
997
- "inputs": [
998
- {
999
- "name": "liquidationRedemptionFeeBps",
1000
- "type": "uint256",
1001
- "indexed": false,
1002
- "internalType": "uint256"
1003
- }
1004
- ],
1005
- "anonymous": false
1006
- },
1007
- {
1008
- "type": "event",
1009
- "name": "AdapterPositionResolverAdded",
1010
- "inputs": [
1011
- {
1012
- "name": "positionResolver",
1013
- "type": "address",
1014
- "indexed": true,
1015
- "internalType": "address"
612
+ "internalType": "uint256"
1016
613
  }
1017
614
  ],
1018
- "anonymous": false
615
+ "stateMutability": "nonpayable"
1019
616
  },
1020
617
  {
1021
618
  "type": "event",
1022
- "name": "AdapterPositionResolverRemoved",
619
+ "name": "AdapterApplicationRecipientUpdated",
1023
620
  "inputs": [
1024
621
  {
1025
- "name": "positionResolver",
622
+ "name": "applicationFeeRecipient",
1026
623
  "type": "address",
1027
- "indexed": true,
624
+ "indexed": false,
1028
625
  "internalType": "address"
1029
626
  }
1030
627
  ],
@@ -1032,34 +629,10 @@ declare const _default: [
1032
629
  },
1033
630
  {
1034
631
  "type": "event",
1035
- "name": "BTCVaultCoreSpokeLiquidated",
632
+ "name": "AdapterLiquidationRedemptionFeeUpdated",
1036
633
  "inputs": [
1037
634
  {
1038
- "name": "depositor",
1039
- "type": "address",
1040
- "indexed": true,
1041
- "internalType": "address"
1042
- },
1043
- {
1044
- "name": "liquidator",
1045
- "type": "address",
1046
- "indexed": true,
1047
- "internalType": "address"
1048
- },
1049
- {
1050
- "name": "amountCollateralSeized",
1051
- "type": "uint256",
1052
- "indexed": false,
1053
- "internalType": "uint256"
1054
- },
1055
- {
1056
- "name": "valueCollateralSeized",
1057
- "type": "uint256",
1058
- "indexed": false,
1059
- "internalType": "uint256"
1060
- },
1061
- {
1062
- "name": "valueDebtRepaid",
635
+ "name": "liquidationRedemptionFeeBps",
1063
636
  "type": "uint256",
1064
637
  "indexed": false,
1065
638
  "internalType": "uint256"
@@ -1218,99 +791,6 @@ declare const _default: [
1218
791
  ],
1219
792
  "anonymous": false
1220
793
  },
1221
- {
1222
- "type": "event",
1223
- "name": "LiquidationSettledViaLLP",
1224
- "inputs": [
1225
- {
1226
- "name": "llp",
1227
- "type": "address",
1228
- "indexed": true,
1229
- "internalType": "address"
1230
- },
1231
- {
1232
- "name": "liquidator",
1233
- "type": "address",
1234
- "indexed": true,
1235
- "internalType": "address"
1236
- },
1237
- {
1238
- "name": "borrower",
1239
- "type": "address",
1240
- "indexed": true,
1241
- "internalType": "address"
1242
- },
1243
- {
1244
- "name": "vaultIds",
1245
- "type": "bytes32[]",
1246
- "indexed": false,
1247
- "internalType": "bytes32[]"
1248
- },
1249
- {
1250
- "name": "payouts",
1251
- "type": "tuple[]",
1252
- "indexed": false,
1253
- "internalType": "struct TokenAmountLib.TokenAmount[]",
1254
- "components": [
1255
- {
1256
- "name": "token",
1257
- "type": "address",
1258
- "internalType": "address"
1259
- },
1260
- {
1261
- "name": "amount",
1262
- "type": "uint256",
1263
- "internalType": "uint256"
1264
- }
1265
- ]
1266
- }
1267
- ],
1268
- "anonymous": false
1269
- },
1270
- {
1271
- "type": "event",
1272
- "name": "PausedWith",
1273
- "inputs": [
1274
- {
1275
- "name": "state",
1276
- "type": "uint8",
1277
- "indexed": true,
1278
- "internalType": "enum ITBVPausable.PauseState"
1279
- },
1280
- {
1281
- "name": "pauser",
1282
- "type": "address",
1283
- "indexed": true,
1284
- "internalType": "address"
1285
- }
1286
- ],
1287
- "anonymous": false
1288
- },
1289
- {
1290
- "type": "event",
1291
- "name": "PositionSizeParamsUpdated",
1292
- "inputs": [
1293
- {
1294
- "name": "newParams",
1295
- "type": "tuple",
1296
- "indexed": false,
1297
- "internalType": "struct IAaveIntegrationAdapter.PositionSizeParams",
1298
- "components": [
1299
- {
1300
- "name": "maxPositionBTC",
1301
- "type": "uint256",
1302
- "internalType": "uint256"
1303
- },
1304
- {
1305
- "name": "maxVaultsPerPosition",
1306
- "type": "uint256",
1307
- "internalType": "uint256"
1308
- }
1309
- ]
1310
- }
1311
- ],
1312
- "anonymous": false
1313
- },
1314
794
  {
1315
795
  "type": "event",
1316
796
  "name": "RepaidFromPosition",
@@ -1602,22 +1082,6 @@ declare const _default: [
1602
1082
  "name": "FailedCall",
1603
1083
  "inputs": []
1604
1084
  },
1605
- {
1606
- "type": "error",
1607
- "name": "FairnessDebtRepaymentTargetNotMet",
1608
- "inputs": [
1609
- {
1610
- "name": "target",
1611
- "type": "uint256",
1612
- "internalType": "uint256"
1613
- },
1614
- {
1615
- "name": "actual",
1616
- "type": "uint256",
1617
- "internalType": "uint256"
1618
- }
1619
- ]
1620
- },
1621
1085
  {
1622
1086
  "type": "error",
1623
1087
  "name": "IncompleteWithdrawal",
@@ -1644,27 +1108,6 @@ declare const _default: [
1644
1108
  "name": "InvalidAmount",
1645
1109
  "inputs": []
1646
1110
  },
1647
- {
1648
- "type": "error",
1649
- "name": "InvalidAmountsLength",
1650
- "inputs": [
1651
- {
1652
- "name": "amountsLength",
1653
- "type": "uint256",
1654
- "internalType": "uint256"
1655
- },
1656
- {
1657
- "name": "reserveCount",
1658
- "type": "uint256",
1659
- "internalType": "uint256"
1660
- }
1661
- ]
1662
- },
1663
- {
1664
- "type": "error",
1665
- "name": "InvalidInterestFeeBps",
1666
- "inputs": []
1667
- },
1668
1111
  {
1669
1112
  "type": "error",
1670
1113
  "name": "InvalidOraclePrice",
@@ -1675,132 +1118,21 @@ declare const _default: [
1675
1118
  "name": "InvalidPositionResolver",
1676
1119
  "inputs": []
1677
1120
  },
1678
- {
1679
- "type": "error",
1680
- "name": "InvalidPriorityOrderLength",
1681
- "inputs": [
1682
- {
1683
- "name": "priorityOrderLength",
1684
- "type": "uint256",
1685
- "internalType": "uint256"
1686
- },
1687
- {
1688
- "name": "amountsLength",
1689
- "type": "uint256",
1690
- "internalType": "uint256"
1691
- }
1692
- ]
1693
- },
1694
1121
  {
1695
1122
  "type": "error",
1696
1123
  "name": "InvalidProxyContract",
1697
1124
  "inputs": []
1698
1125
  },
1699
- {
1700
- "type": "error",
1701
- "name": "InvalidReserveId",
1702
- "inputs": [
1703
- {
1704
- "name": "reserveId",
1705
- "type": "uint256",
1706
- "internalType": "uint256"
1707
- }
1708
- ]
1709
- },
1710
- {
1711
- "type": "error",
1712
- "name": "InvalidVaultStatus",
1713
- "inputs": []
1714
- },
1715
- {
1716
- "type": "error",
1717
- "name": "InvalidVaultsPermutation",
1718
- "inputs": []
1719
- },
1720
- {
1721
- "type": "error",
1722
- "name": "InvalidVaultsToRemove",
1723
- "inputs": []
1724
- },
1725
- {
1726
- "type": "error",
1727
- "name": "LLPDisabled",
1728
- "inputs": [
1729
- {
1730
- "name": "llp",
1731
- "type": "address",
1732
- "internalType": "address"
1733
- }
1734
- ]
1735
- },
1736
- {
1737
- "type": "error",
1738
- "name": "MaxPositionBelowVaultMin",
1739
- "inputs": [
1740
- {
1741
- "name": "maxPositionBTC",
1742
- "type": "uint256",
1743
- "internalType": "uint256"
1744
- },
1745
- {
1746
- "name": "minimumPegInAmount",
1747
- "type": "uint256",
1748
- "internalType": "uint256"
1749
- }
1750
- ]
1751
- },
1752
- {
1753
- "type": "error",
1754
- "name": "NoDebtToLiquidate",
1755
- "inputs": []
1756
- },
1757
1126
  {
1758
1127
  "type": "error",
1759
1128
  "name": "OnlyApplicationEntryPoint",
1760
1129
  "inputs": []
1761
1130
  },
1762
- {
1763
- "type": "error",
1764
- "name": "PositionAboveMaximum",
1765
- "inputs": [
1766
- {
1767
- "name": "actual",
1768
- "type": "uint256",
1769
- "internalType": "uint256"
1770
- },
1771
- {
1772
- "name": "maximum",
1773
- "type": "uint256",
1774
- "internalType": "uint256"
1775
- }
1776
- ]
1777
- },
1778
- {
1779
- "type": "error",
1780
- "name": "PositionMaxBelowVaultMax",
1781
- "inputs": [
1782
- {
1783
- "name": "maxPositionBTC",
1784
- "type": "uint256",
1785
- "internalType": "uint256"
1786
- },
1787
- {
1788
- "name": "vaultMaximum",
1789
- "type": "uint256",
1790
- "internalType": "uint256"
1791
- }
1792
- ]
1793
- },
1794
1131
  {
1795
1132
  "type": "error",
1796
1133
  "name": "PositionNotLiquidatable",
1797
1134
  "inputs": []
1798
1135
  },
1799
- {
1800
- "type": "error",
1801
- "name": "PrefixLengthExceedsArray",
1802
- "inputs": []
1803
- },
1804
1136
  {
1805
1137
  "type": "error",
1806
1138
  "name": "SafeERC20FailedOperation",
@@ -1868,22 +1200,6 @@ declare const _default: [
1868
1200
  "name": "Unauthorized",
1869
1201
  "inputs": []
1870
1202
  },
1871
- {
1872
- "type": "error",
1873
- "name": "VaultCountExceedsMaximum",
1874
- "inputs": [
1875
- {
1876
- "name": "actual",
1877
- "type": "uint256",
1878
- "internalType": "uint256"
1879
- },
1880
- {
1881
- "name": "maximum",
1882
- "type": "uint256",
1883
- "internalType": "uint256"
1884
- }
1885
- ]
1886
- },
1887
1203
  {
1888
1204
  "type": "error",
1889
1205
  "name": "ZeroAddress",
@@ -1893,16 +1209,6 @@ declare const _default: [
1893
1209
  "type": "error",
1894
1210
  "name": "ZeroAmount",
1895
1211
  "inputs": []
1896
- },
1897
- {
1898
- "type": "error",
1899
- "name": "ZeroBorrowAmount",
1900
- "inputs": []
1901
- },
1902
- {
1903
- "type": "error",
1904
- "name": "ZeroBtcKey",
1905
- "inputs": []
1906
1212
  }
1907
1213
  ]
1908
1214
  ;