@somnia-chain/contracts-sdk 0.3.14 → 0.3.15

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 (120) hide show
  1. package/dist/gen/abi/somnia-agents/agentRegistry.js +2 -2
  2. package/dist/gen/abi/somnia-agents/committee.d.ts +2 -2
  3. package/dist/gen/abi/somnia-agents/committee.js +6 -2
  4. package/dist/gen/abi/somnia-agents/somniaAgents.d.ts +2 -2
  5. package/dist/gen/abi/somnia-agents/somniaAgents.js +2 -2
  6. package/dist/gen/abi/somnia-dex-protocol/agent-aggregate-oracle.aggregateOracle.d.ts +2 -2
  7. package/dist/gen/abi/somnia-dex-protocol/agent-aggregate-oracle.aggregateOracle.js +2 -2
  8. package/dist/gen/abi/somnia-dex-protocol/agent-oracles.factory.d.ts +2 -2
  9. package/dist/gen/abi/somnia-dex-protocol/agent-oracles.factory.js +2 -2
  10. package/dist/gen/abi/somnia-dex-protocol/dream-vault.d.ts +2 -2
  11. package/dist/gen/abi/somnia-dex-protocol/dream-vault.js +2 -2
  12. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.factory.d.ts +2 -2
  13. package/dist/gen/abi/somnia-dex-protocol/multi-source-oracle.factory.js +6 -2
  14. package/dist/gen/abi/somnia-dex-protocol/operator-permissions-registry.registryProxy.d.ts +2 -2
  15. package/dist/gen/abi/somnia-dex-protocol/operator-permissions-registry.registryProxy.js +2 -2
  16. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.d.ts +2 -2
  17. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.eligibilityRegistry.d.ts +2 -0
  18. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.eligibilityRegistry.js +3 -0
  19. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.js +2 -2
  20. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.insuranceFund.d.ts +2 -2
  21. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.insuranceFund.js +2 -2
  22. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.linkedWalletRegistry.d.ts +2 -2
  23. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.linkedWalletRegistry.js +2 -2
  24. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.marginBank.d.ts +2 -2
  25. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.marginBank.js +2 -2
  26. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpPoolFactory.d.ts +2 -2
  27. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpPoolFactory.js +2 -2
  28. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.voucherDistributor.d.ts +2 -2
  29. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.voucherDistributor.js +2 -2
  30. package/dist/gen/abi/somnia-dex-protocol/prophecy-oracle.d.ts +2 -2
  31. package/dist/gen/abi/somnia-dex-protocol/prophecy-oracle.js +2 -2
  32. package/dist/gen/abi/somnia-dex-protocol/router.routerProxy.d.ts +2 -2
  33. package/dist/gen/abi/somnia-dex-protocol/router.routerProxy.js +2 -2
  34. package/dist/gen/abi/somnia-dex-protocol/settlement-scheduler.d.ts +2 -2
  35. package/dist/gen/abi/somnia-dex-protocol/settlement-scheduler.js +2 -2
  36. package/dist/gen/abi/somnia-dex-protocol/spot-pool.NATIVE_TOKEN_USDso.d.ts +2 -2
  37. package/dist/gen/abi/somnia-dex-protocol/spot-pool.NATIVE_TOKEN_USDso.js +2 -2
  38. package/dist/gen/abi/somnia-dex-protocol/spot-pool.USDC.e_USDso.d.ts +2 -2
  39. package/dist/gen/abi/somnia-dex-protocol/spot-pool.USDC.e_USDso.js +2 -2
  40. package/dist/gen/abi/somnia-dex-protocol/spot-pool.USDT_USDso.d.ts +2 -2
  41. package/dist/gen/abi/somnia-dex-protocol/spot-pool.USDT_USDso.js +2 -2
  42. package/dist/gen/abi/somnia-dex-protocol/spot-pool.WBTC_USDso.d.ts +2 -2
  43. package/dist/gen/abi/somnia-dex-protocol/spot-pool.WBTC_USDso.js +2 -2
  44. package/dist/gen/abi/somnia-dex-protocol/spot-pool.WETH_USDso.d.ts +2 -2
  45. package/dist/gen/abi/somnia-dex-protocol/spot-pool.WETH_USDso.js +2 -2
  46. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.NATIVE_TOKEN_USDso.d.ts +2 -2
  47. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.NATIVE_TOKEN_USDso.js +2 -2
  48. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDC.e_USDso.d.ts +2 -2
  49. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDC.e_USDso.js +2 -2
  50. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.d.ts +2 -2
  51. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.js +2 -2
  52. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.WBTC_USDso.d.ts +2 -2
  53. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.WBTC_USDso.js +2 -2
  54. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.WETH_USDso.d.ts +2 -2
  55. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.WETH_USDso.js +2 -2
  56. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.d.ts +2 -2
  57. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.js +2 -2
  58. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.d.ts +2 -2
  59. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.js +2 -2
  60. package/dist/gen/abi/somnia-dex-protocol/stork-oracle.d.ts +2 -2
  61. package/dist/gen/abi/somnia-dex-protocol/stork-oracle.js +2 -2
  62. package/dist/gen/abis/38228d86c80c.d.ts +3178 -0
  63. package/dist/gen/abis/38228d86c80c.js +4100 -0
  64. package/dist/gen/abis/42deca57a528.d.ts +1046 -0
  65. package/dist/gen/abis/42deca57a528.js +1354 -0
  66. package/dist/gen/abis/53d06c8ad0b2.d.ts +432 -0
  67. package/dist/gen/abis/53d06c8ad0b2.js +563 -0
  68. package/dist/gen/abis/5844f29093c1.d.ts +502 -0
  69. package/dist/gen/abis/5844f29093c1.js +654 -0
  70. package/dist/gen/abis/5d60a7f753f5.d.ts +752 -0
  71. package/dist/gen/abis/5d60a7f753f5.js +973 -0
  72. package/dist/gen/abis/65ec2cc9767d.d.ts +810 -0
  73. package/dist/gen/abis/65ec2cc9767d.js +1054 -0
  74. package/dist/gen/abis/741f63f15468.d.ts +1077 -0
  75. package/dist/gen/abis/741f63f15468.js +1390 -0
  76. package/dist/gen/abis/88e8440c6800.d.ts +459 -0
  77. package/dist/gen/abis/88e8440c6800.js +596 -0
  78. package/dist/gen/abis/9ebeddb436b0.d.ts +1417 -0
  79. package/dist/gen/abis/9ebeddb436b0.js +1829 -0
  80. package/dist/gen/abis/aab4db4826b4.d.ts +206 -0
  81. package/dist/gen/abis/aab4db4826b4.js +268 -0
  82. package/dist/gen/abis/aae86b6f48aa.d.ts +916 -0
  83. package/dist/gen/abis/aae86b6f48aa.js +1184 -0
  84. package/dist/gen/abis/b047f22f1019.d.ts +758 -0
  85. package/dist/gen/abis/b047f22f1019.js +985 -0
  86. package/dist/gen/abis/ca02b711d3d4.d.ts +695 -0
  87. package/dist/gen/abis/ca02b711d3d4.js +902 -0
  88. package/dist/gen/abis-index.d.ts +26 -0
  89. package/dist/gen/abis-index.js +26 -0
  90. package/dist/gen/meta.d.ts +2 -2
  91. package/dist/gen/meta.js +2 -2
  92. package/dist/gen/registry.d.ts +375 -290
  93. package/dist/gen/registry.js +375 -290
  94. package/package.json +1 -1
  95. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.liquidationEngine.d.ts +0 -2
  96. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.liquidationEngine.js +0 -3
  97. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.d.ts +0 -2
  98. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.js +0 -3
  99. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.d.ts +0 -2
  100. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.js +0 -3
  101. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.d.ts +0 -2
  102. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.js +0 -3
  103. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.d.ts +0 -2
  104. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.js +0 -3
  105. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.d.ts +0 -2
  106. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.js +0 -3
  107. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.d.ts +0 -2
  108. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.js +0 -3
  109. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.d.ts +0 -2
  110. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.js +0 -3
  111. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.d.ts +0 -2
  112. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.js +0 -3
  113. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.d.ts +0 -2
  114. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.js +0 -3
  115. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.d.ts +0 -2
  116. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.js +0 -3
  117. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.d.ts +0 -2
  118. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.js +0 -3
  119. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.d.ts +0 -2
  120. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.js +0 -3
@@ -0,0 +1,4100 @@
1
+ // Generated by `registry sdk` from dist-public/ — do not edit.
2
+ export const abi_38228d86c80c = [
3
+ {
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable",
6
+ "type": "constructor"
7
+ },
8
+ {
9
+ "inputs": [],
10
+ "name": "UPGRADE_INTERFACE_VERSION",
11
+ "outputs": [
12
+ {
13
+ "internalType": "string",
14
+ "name": "",
15
+ "type": "string"
16
+ }
17
+ ],
18
+ "stateMutability": "view",
19
+ "type": "function"
20
+ },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "address",
25
+ "name": "account",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "uint256[]",
30
+ "name": "tiers",
31
+ "type": "uint256[]"
32
+ },
33
+ {
34
+ "internalType": "uint256[]",
35
+ "name": "losses",
36
+ "type": "uint256[]"
37
+ },
38
+ {
39
+ "internalType": "uint256",
40
+ "name": "chargeable",
41
+ "type": "uint256"
42
+ }
43
+ ],
44
+ "name": "absorbBadDebt",
45
+ "outputs": [],
46
+ "stateMutability": "nonpayable",
47
+ "type": "function"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "acceptOwnership",
52
+ "outputs": [],
53
+ "stateMutability": "nonpayable",
54
+ "type": "function"
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "internalType": "address",
60
+ "name": "perpPool",
61
+ "type": "address"
62
+ }
63
+ ],
64
+ "name": "addPerpPool",
65
+ "outputs": [],
66
+ "stateMutability": "nonpayable",
67
+ "type": "function"
68
+ },
69
+ {
70
+ "inputs": [
71
+ {
72
+ "internalType": "address",
73
+ "name": "bankrupt",
74
+ "type": "address"
75
+ },
76
+ {
77
+ "internalType": "address",
78
+ "name": "counterparty",
79
+ "type": "address"
80
+ },
81
+ {
82
+ "internalType": "address",
83
+ "name": "perpPool",
84
+ "type": "address"
85
+ },
86
+ {
87
+ "internalType": "uint128",
88
+ "name": "size",
89
+ "type": "uint128"
90
+ },
91
+ {
92
+ "internalType": "uint256",
93
+ "name": "bankruptcyPrice",
94
+ "type": "uint256"
95
+ }
96
+ ],
97
+ "name": "adlSettle",
98
+ "outputs": [],
99
+ "stateMutability": "nonpayable",
100
+ "type": "function"
101
+ },
102
+ {
103
+ "inputs": [
104
+ {
105
+ "internalType": "address",
106
+ "name": "from",
107
+ "type": "address"
108
+ },
109
+ {
110
+ "internalType": "address",
111
+ "name": "to",
112
+ "type": "address"
113
+ },
114
+ {
115
+ "internalType": "address",
116
+ "name": "perpPool",
117
+ "type": "address"
118
+ },
119
+ {
120
+ "internalType": "uint256",
121
+ "name": "takeoverPrice",
122
+ "type": "uint256"
123
+ }
124
+ ],
125
+ "name": "canReceiveTransfer",
126
+ "outputs": [
127
+ {
128
+ "internalType": "bool",
129
+ "name": "",
130
+ "type": "bool"
131
+ }
132
+ ],
133
+ "stateMutability": "view",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "address",
140
+ "name": "account",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "internalType": "address",
145
+ "name": "perpPool",
146
+ "type": "address"
147
+ }
148
+ ],
149
+ "name": "cancelAllOrdersForAccount",
150
+ "outputs": [],
151
+ "stateMutability": "nonpayable",
152
+ "type": "function"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "address",
158
+ "name": "payer",
159
+ "type": "address"
160
+ },
161
+ {
162
+ "internalType": "address",
163
+ "name": "builder",
164
+ "type": "address"
165
+ },
166
+ {
167
+ "internalType": "uint256",
168
+ "name": "amount",
169
+ "type": "uint256"
170
+ }
171
+ ],
172
+ "name": "chargeBuilderFee",
173
+ "outputs": [],
174
+ "stateMutability": "nonpayable",
175
+ "type": "function"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "address",
181
+ "name": "account",
182
+ "type": "address"
183
+ },
184
+ {
185
+ "internalType": "uint256",
186
+ "name": "recipientPortion",
187
+ "type": "uint256"
188
+ },
189
+ {
190
+ "internalType": "uint256",
191
+ "name": "insurancePortion",
192
+ "type": "uint256"
193
+ }
194
+ ],
195
+ "name": "chargeFee",
196
+ "outputs": [],
197
+ "stateMutability": "nonpayable",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "address",
204
+ "name": "account",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "internalType": "address",
209
+ "name": "perpPool",
210
+ "type": "address"
211
+ },
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "requested",
215
+ "type": "uint256"
216
+ }
217
+ ],
218
+ "name": "chargeLiquidationFee",
219
+ "outputs": [
220
+ {
221
+ "internalType": "uint256",
222
+ "name": "charged",
223
+ "type": "uint256"
224
+ },
225
+ {
226
+ "internalType": "uint256",
227
+ "name": "tier",
228
+ "type": "uint256"
229
+ }
230
+ ],
231
+ "stateMutability": "nonpayable",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "address",
238
+ "name": "account",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "internalType": "address",
243
+ "name": "perpPool",
244
+ "type": "address"
245
+ },
246
+ {
247
+ "internalType": "uint256",
248
+ "name": "requested",
249
+ "type": "uint256"
250
+ },
251
+ {
252
+ "components": [
253
+ {
254
+ "internalType": "address",
255
+ "name": "keeper",
256
+ "type": "address"
257
+ },
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "shareBps",
261
+ "type": "uint256"
262
+ },
263
+ {
264
+ "internalType": "uint256",
265
+ "name": "minAmount",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "internalType": "uint256",
270
+ "name": "maxAmount",
271
+ "type": "uint256"
272
+ },
273
+ {
274
+ "internalType": "uint256",
275
+ "name": "priorCharged",
276
+ "type": "uint256"
277
+ },
278
+ {
279
+ "internalType": "uint256",
280
+ "name": "priorKeeperPaid",
281
+ "type": "uint256"
282
+ }
283
+ ],
284
+ "internalType": "struct IMarginBank.KeeperRewardTerms",
285
+ "name": "terms",
286
+ "type": "tuple"
287
+ }
288
+ ],
289
+ "name": "chargeLiquidationFeeWithKeeper",
290
+ "outputs": [
291
+ {
292
+ "internalType": "uint256",
293
+ "name": "charged",
294
+ "type": "uint256"
295
+ },
296
+ {
297
+ "internalType": "uint256",
298
+ "name": "keeperPaid",
299
+ "type": "uint256"
300
+ },
301
+ {
302
+ "internalType": "uint256",
303
+ "name": "tier",
304
+ "type": "uint256"
305
+ }
306
+ ],
307
+ "stateMutability": "nonpayable",
308
+ "type": "function"
309
+ },
310
+ {
311
+ "inputs": [],
312
+ "name": "checkRealizedBacking",
313
+ "outputs": [
314
+ {
315
+ "internalType": "bool",
316
+ "name": "",
317
+ "type": "bool"
318
+ }
319
+ ],
320
+ "stateMutability": "view",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "inputs": [
325
+ {
326
+ "internalType": "address",
327
+ "name": "account",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "internalType": "uint256",
332
+ "name": "amount",
333
+ "type": "uint256"
334
+ }
335
+ ],
336
+ "name": "creditAccount",
337
+ "outputs": [],
338
+ "stateMutability": "nonpayable",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "uint256",
345
+ "name": "amount",
346
+ "type": "uint256"
347
+ }
348
+ ],
349
+ "name": "deposit",
350
+ "outputs": [],
351
+ "stateMutability": "nonpayable",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "inputs": [
356
+ {
357
+ "internalType": "address",
358
+ "name": "account",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "internalType": "uint256",
363
+ "name": "amount",
364
+ "type": "uint256"
365
+ }
366
+ ],
367
+ "name": "depositFor",
368
+ "outputs": [],
369
+ "stateMutability": "nonpayable",
370
+ "type": "function"
371
+ },
372
+ {
373
+ "inputs": [
374
+ {
375
+ "internalType": "address",
376
+ "name": "child",
377
+ "type": "address"
378
+ },
379
+ {
380
+ "internalType": "uint256",
381
+ "name": "amount",
382
+ "type": "uint256"
383
+ }
384
+ ],
385
+ "name": "depositForFromMain",
386
+ "outputs": [],
387
+ "stateMutability": "nonpayable",
388
+ "type": "function"
389
+ },
390
+ {
391
+ "inputs": [
392
+ {
393
+ "internalType": "address",
394
+ "name": "a",
395
+ "type": "address"
396
+ },
397
+ {
398
+ "internalType": "address",
399
+ "name": "b",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "internalType": "address",
404
+ "name": "perpPool",
405
+ "type": "address"
406
+ },
407
+ {
408
+ "internalType": "uint128",
409
+ "name": "size",
410
+ "type": "uint128"
411
+ },
412
+ {
413
+ "internalType": "uint256",
414
+ "name": "price",
415
+ "type": "uint256"
416
+ }
417
+ ],
418
+ "name": "forcedSettle",
419
+ "outputs": [],
420
+ "stateMutability": "nonpayable",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "inputs": [
425
+ {
426
+ "internalType": "address",
427
+ "name": "account",
428
+ "type": "address"
429
+ }
430
+ ],
431
+ "name": "getAccountEquity",
432
+ "outputs": [
433
+ {
434
+ "internalType": "int256",
435
+ "name": "",
436
+ "type": "int256"
437
+ }
438
+ ],
439
+ "stateMutability": "view",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [
444
+ {
445
+ "internalType": "address",
446
+ "name": "account",
447
+ "type": "address"
448
+ }
449
+ ],
450
+ "name": "getAccountHealth",
451
+ "outputs": [
452
+ {
453
+ "internalType": "int256",
454
+ "name": "equity",
455
+ "type": "int256"
456
+ },
457
+ {
458
+ "internalType": "uint256",
459
+ "name": "imReq",
460
+ "type": "uint256"
461
+ },
462
+ {
463
+ "internalType": "uint256",
464
+ "name": "mmReq",
465
+ "type": "uint256"
466
+ },
467
+ {
468
+ "internalType": "uint256",
469
+ "name": "cmReq",
470
+ "type": "uint256"
471
+ }
472
+ ],
473
+ "stateMutability": "view",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "address",
480
+ "name": "account",
481
+ "type": "address"
482
+ }
483
+ ],
484
+ "name": "getAccountHealthSnapshot",
485
+ "outputs": [
486
+ {
487
+ "internalType": "int256",
488
+ "name": "equity",
489
+ "type": "int256"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "imReq",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "uint256",
498
+ "name": "mmReq",
499
+ "type": "uint256"
500
+ },
501
+ {
502
+ "internalType": "uint256",
503
+ "name": "cmReq",
504
+ "type": "uint256"
505
+ },
506
+ {
507
+ "internalType": "enum MarginStatus",
508
+ "name": "status",
509
+ "type": "uint8"
510
+ }
511
+ ],
512
+ "stateMutability": "view",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [
517
+ {
518
+ "internalType": "address",
519
+ "name": "account",
520
+ "type": "address"
521
+ }
522
+ ],
523
+ "name": "getAccountState",
524
+ "outputs": [
525
+ {
526
+ "components": [
527
+ {
528
+ "internalType": "int256",
529
+ "name": "unlockedCollateralBalance",
530
+ "type": "int256"
531
+ },
532
+ {
533
+ "internalType": "uint256",
534
+ "name": "lockedCollateral",
535
+ "type": "uint256"
536
+ },
537
+ {
538
+ "internalType": "address[]",
539
+ "name": "activePerpPools",
540
+ "type": "address[]"
541
+ }
542
+ ],
543
+ "internalType": "struct AccountState",
544
+ "name": "",
545
+ "type": "tuple"
546
+ }
547
+ ],
548
+ "stateMutability": "view",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [
553
+ {
554
+ "internalType": "address",
555
+ "name": "perpPool",
556
+ "type": "address"
557
+ }
558
+ ],
559
+ "name": "getActiveAccountCountForPool",
560
+ "outputs": [
561
+ {
562
+ "internalType": "uint256",
563
+ "name": "",
564
+ "type": "uint256"
565
+ }
566
+ ],
567
+ "stateMutability": "view",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [
572
+ {
573
+ "internalType": "address",
574
+ "name": "account",
575
+ "type": "address"
576
+ }
577
+ ],
578
+ "name": "getActivePerpPools",
579
+ "outputs": [
580
+ {
581
+ "internalType": "address[]",
582
+ "name": "",
583
+ "type": "address[]"
584
+ }
585
+ ],
586
+ "stateMutability": "view",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [
591
+ {
592
+ "internalType": "address",
593
+ "name": "account",
594
+ "type": "address"
595
+ }
596
+ ],
597
+ "name": "getAdlBankruptcyPrices",
598
+ "outputs": [
599
+ {
600
+ "internalType": "address[]",
601
+ "name": "pools",
602
+ "type": "address[]"
603
+ },
604
+ {
605
+ "internalType": "uint256[]",
606
+ "name": "prices",
607
+ "type": "uint256[]"
608
+ },
609
+ {
610
+ "internalType": "int256",
611
+ "name": "terminalResidual",
612
+ "type": "int256"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "address",
622
+ "name": "account",
623
+ "type": "address"
624
+ },
625
+ {
626
+ "internalType": "address",
627
+ "name": "perpPool",
628
+ "type": "address"
629
+ }
630
+ ],
631
+ "name": "getBankruptcyPrice",
632
+ "outputs": [
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "price",
636
+ "type": "uint256"
637
+ }
638
+ ],
639
+ "stateMutability": "view",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "address",
646
+ "name": "account",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "name": "getCollateralBasis",
651
+ "outputs": [
652
+ {
653
+ "internalType": "uint256",
654
+ "name": "",
655
+ "type": "uint256"
656
+ }
657
+ ],
658
+ "stateMutability": "view",
659
+ "type": "function"
660
+ },
661
+ {
662
+ "inputs": [
663
+ {
664
+ "internalType": "address",
665
+ "name": "account",
666
+ "type": "address"
667
+ }
668
+ ],
669
+ "name": "getCreditFloor",
670
+ "outputs": [
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "",
674
+ "type": "uint256"
675
+ }
676
+ ],
677
+ "stateMutability": "view",
678
+ "type": "function"
679
+ },
680
+ {
681
+ "inputs": [],
682
+ "name": "getCreditGranter",
683
+ "outputs": [
684
+ {
685
+ "internalType": "address",
686
+ "name": "",
687
+ "type": "address"
688
+ }
689
+ ],
690
+ "stateMutability": "view",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [],
695
+ "name": "getDeficitStats",
696
+ "outputs": [
697
+ {
698
+ "internalType": "uint256",
699
+ "name": "accountsInDeficit",
700
+ "type": "uint256"
701
+ },
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "totalDeficit",
705
+ "type": "uint256"
706
+ }
707
+ ],
708
+ "stateMutability": "view",
709
+ "type": "function"
710
+ },
711
+ {
712
+ "inputs": [],
713
+ "name": "getFeeRecipientAddress",
714
+ "outputs": [
715
+ {
716
+ "internalType": "address",
717
+ "name": "",
718
+ "type": "address"
719
+ }
720
+ ],
721
+ "stateMutability": "view",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [],
726
+ "name": "getInsuranceFundAddress",
727
+ "outputs": [
728
+ {
729
+ "internalType": "address",
730
+ "name": "",
731
+ "type": "address"
732
+ }
733
+ ],
734
+ "stateMutability": "view",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [
739
+ {
740
+ "internalType": "address",
741
+ "name": "account",
742
+ "type": "address"
743
+ }
744
+ ],
745
+ "name": "getLeverageImSurcharge",
746
+ "outputs": [
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "",
750
+ "type": "uint256"
751
+ }
752
+ ],
753
+ "stateMutability": "view",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [],
758
+ "name": "getLinkedWalletRegistry",
759
+ "outputs": [
760
+ {
761
+ "internalType": "address",
762
+ "name": "",
763
+ "type": "address"
764
+ }
765
+ ],
766
+ "stateMutability": "view",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [],
771
+ "name": "getLiquidationEngine",
772
+ "outputs": [
773
+ {
774
+ "internalType": "address",
775
+ "name": "",
776
+ "type": "address"
777
+ }
778
+ ],
779
+ "stateMutability": "view",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [],
784
+ "name": "getLiquidationFeeRecipient",
785
+ "outputs": [
786
+ {
787
+ "internalType": "address",
788
+ "name": "",
789
+ "type": "address"
790
+ }
791
+ ],
792
+ "stateMutability": "view",
793
+ "type": "function"
794
+ },
795
+ {
796
+ "inputs": [
797
+ {
798
+ "internalType": "address",
799
+ "name": "child",
800
+ "type": "address"
801
+ }
802
+ ],
803
+ "name": "getMainFundedPrincipal",
804
+ "outputs": [
805
+ {
806
+ "internalType": "uint256",
807
+ "name": "",
808
+ "type": "uint256"
809
+ }
810
+ ],
811
+ "stateMutability": "view",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [
816
+ {
817
+ "internalType": "address",
818
+ "name": "child",
819
+ "type": "address"
820
+ }
821
+ ],
822
+ "name": "getMainFundingPayer",
823
+ "outputs": [
824
+ {
825
+ "internalType": "address",
826
+ "name": "",
827
+ "type": "address"
828
+ }
829
+ ],
830
+ "stateMutability": "view",
831
+ "type": "function"
832
+ },
833
+ {
834
+ "inputs": [
835
+ {
836
+ "internalType": "address",
837
+ "name": "account",
838
+ "type": "address"
839
+ }
840
+ ],
841
+ "name": "getMarginStatus",
842
+ "outputs": [
843
+ {
844
+ "internalType": "enum MarginStatus",
845
+ "name": "",
846
+ "type": "uint8"
847
+ }
848
+ ],
849
+ "stateMutability": "view",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "inputs": [
854
+ {
855
+ "internalType": "address",
856
+ "name": "account",
857
+ "type": "address"
858
+ },
859
+ {
860
+ "internalType": "address",
861
+ "name": "perpPool",
862
+ "type": "address"
863
+ }
864
+ ],
865
+ "name": "getMaxLeverage",
866
+ "outputs": [
867
+ {
868
+ "internalType": "uint16",
869
+ "name": "",
870
+ "type": "uint16"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "getMaxLeverageLimit",
879
+ "outputs": [
880
+ {
881
+ "internalType": "uint16",
882
+ "name": "",
883
+ "type": "uint16"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [],
891
+ "name": "getPerpPoolFactory",
892
+ "outputs": [
893
+ {
894
+ "internalType": "address",
895
+ "name": "",
896
+ "type": "address"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "address",
906
+ "name": "perpPool",
907
+ "type": "address"
908
+ }
909
+ ],
910
+ "name": "getPoolTier",
911
+ "outputs": [
912
+ {
913
+ "internalType": "uint256",
914
+ "name": "",
915
+ "type": "uint256"
916
+ }
917
+ ],
918
+ "stateMutability": "view",
919
+ "type": "function"
920
+ },
921
+ {
922
+ "inputs": [
923
+ {
924
+ "internalType": "address",
925
+ "name": "account",
926
+ "type": "address"
927
+ },
928
+ {
929
+ "internalType": "address",
930
+ "name": "perpPool",
931
+ "type": "address"
932
+ }
933
+ ],
934
+ "name": "getPosition",
935
+ "outputs": [
936
+ {
937
+ "components": [
938
+ {
939
+ "internalType": "int128",
940
+ "name": "size",
941
+ "type": "int128"
942
+ },
943
+ {
944
+ "internalType": "uint128",
945
+ "name": "avgEntryPrice",
946
+ "type": "uint128"
947
+ },
948
+ {
949
+ "internalType": "int256",
950
+ "name": "entryFundingIndex",
951
+ "type": "int256"
952
+ },
953
+ {
954
+ "internalType": "uint64",
955
+ "name": "lastUpdatedTimestampNs",
956
+ "type": "uint64"
957
+ }
958
+ ],
959
+ "internalType": "struct Position",
960
+ "name": "",
961
+ "type": "tuple"
962
+ }
963
+ ],
964
+ "stateMutability": "view",
965
+ "type": "function"
966
+ },
967
+ {
968
+ "inputs": [
969
+ {
970
+ "internalType": "address",
971
+ "name": "account",
972
+ "type": "address"
973
+ }
974
+ ],
975
+ "name": "getSameSecondDeposits",
976
+ "outputs": [
977
+ {
978
+ "internalType": "uint256",
979
+ "name": "",
980
+ "type": "uint256"
981
+ }
982
+ ],
983
+ "stateMutability": "view",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [
988
+ {
989
+ "internalType": "address",
990
+ "name": "pool",
991
+ "type": "address"
992
+ },
993
+ {
994
+ "internalType": "bool",
995
+ "name": "isLong",
996
+ "type": "bool"
997
+ },
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "i",
1001
+ "type": "uint256"
1002
+ }
1003
+ ],
1004
+ "name": "getSideHolderAt",
1005
+ "outputs": [
1006
+ {
1007
+ "internalType": "address",
1008
+ "name": "",
1009
+ "type": "address"
1010
+ }
1011
+ ],
1012
+ "stateMutability": "view",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [
1017
+ {
1018
+ "internalType": "address",
1019
+ "name": "pool",
1020
+ "type": "address"
1021
+ },
1022
+ {
1023
+ "internalType": "bool",
1024
+ "name": "isLong",
1025
+ "type": "bool"
1026
+ }
1027
+ ],
1028
+ "name": "getSideHolderCount",
1029
+ "outputs": [
1030
+ {
1031
+ "internalType": "uint256",
1032
+ "name": "",
1033
+ "type": "uint256"
1034
+ }
1035
+ ],
1036
+ "stateMutability": "view",
1037
+ "type": "function"
1038
+ },
1039
+ {
1040
+ "inputs": [
1041
+ {
1042
+ "internalType": "address",
1043
+ "name": "pool",
1044
+ "type": "address"
1045
+ },
1046
+ {
1047
+ "internalType": "bool",
1048
+ "name": "isLong",
1049
+ "type": "bool"
1050
+ },
1051
+ {
1052
+ "internalType": "uint256",
1053
+ "name": "start",
1054
+ "type": "uint256"
1055
+ },
1056
+ {
1057
+ "internalType": "uint256",
1058
+ "name": "count",
1059
+ "type": "uint256"
1060
+ }
1061
+ ],
1062
+ "name": "getSideHolderStatesPaginated",
1063
+ "outputs": [
1064
+ {
1065
+ "components": [
1066
+ {
1067
+ "internalType": "address",
1068
+ "name": "account",
1069
+ "type": "address"
1070
+ },
1071
+ {
1072
+ "internalType": "bool",
1073
+ "name": "priceable",
1074
+ "type": "bool"
1075
+ },
1076
+ {
1077
+ "internalType": "enum MarginStatus",
1078
+ "name": "status",
1079
+ "type": "uint8"
1080
+ },
1081
+ {
1082
+ "internalType": "int256",
1083
+ "name": "equity",
1084
+ "type": "int256"
1085
+ },
1086
+ {
1087
+ "internalType": "uint256",
1088
+ "name": "imReq",
1089
+ "type": "uint256"
1090
+ },
1091
+ {
1092
+ "internalType": "uint256",
1093
+ "name": "mmReq",
1094
+ "type": "uint256"
1095
+ },
1096
+ {
1097
+ "internalType": "uint256",
1098
+ "name": "cmReq",
1099
+ "type": "uint256"
1100
+ },
1101
+ {
1102
+ "components": [
1103
+ {
1104
+ "internalType": "int128",
1105
+ "name": "size",
1106
+ "type": "int128"
1107
+ },
1108
+ {
1109
+ "internalType": "uint128",
1110
+ "name": "avgEntryPrice",
1111
+ "type": "uint128"
1112
+ },
1113
+ {
1114
+ "internalType": "int256",
1115
+ "name": "entryFundingIndex",
1116
+ "type": "int256"
1117
+ },
1118
+ {
1119
+ "internalType": "uint64",
1120
+ "name": "lastUpdatedTimestampNs",
1121
+ "type": "uint64"
1122
+ }
1123
+ ],
1124
+ "internalType": "struct Position",
1125
+ "name": "position",
1126
+ "type": "tuple"
1127
+ },
1128
+ {
1129
+ "internalType": "int256",
1130
+ "name": "unlockedCollateralBalance",
1131
+ "type": "int256"
1132
+ },
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "lockedCollateral",
1136
+ "type": "uint256"
1137
+ }
1138
+ ],
1139
+ "internalType": "struct IMarginBank.SideHolderState[]",
1140
+ "name": "states",
1141
+ "type": "tuple[]"
1142
+ },
1143
+ {
1144
+ "internalType": "uint256",
1145
+ "name": "listLength",
1146
+ "type": "uint256"
1147
+ },
1148
+ {
1149
+ "internalType": "bool",
1150
+ "name": "poolPriceable",
1151
+ "type": "bool"
1152
+ },
1153
+ {
1154
+ "components": [
1155
+ {
1156
+ "internalType": "uint256",
1157
+ "name": "oneBase",
1158
+ "type": "uint256"
1159
+ },
1160
+ {
1161
+ "internalType": "uint256",
1162
+ "name": "markPrice",
1163
+ "type": "uint256"
1164
+ },
1165
+ {
1166
+ "internalType": "int256",
1167
+ "name": "projectedCumulativeFunding",
1168
+ "type": "int256"
1169
+ },
1170
+ {
1171
+ "internalType": "uint256",
1172
+ "name": "effectiveIMFBps",
1173
+ "type": "uint256"
1174
+ },
1175
+ {
1176
+ "internalType": "uint256",
1177
+ "name": "maintenanceMarginBps",
1178
+ "type": "uint256"
1179
+ },
1180
+ {
1181
+ "internalType": "uint256",
1182
+ "name": "closeOutMarginBps",
1183
+ "type": "uint256"
1184
+ },
1185
+ {
1186
+ "internalType": "uint256",
1187
+ "name": "staticIMFBps",
1188
+ "type": "uint256"
1189
+ }
1190
+ ],
1191
+ "internalType": "struct HealthSnapshot",
1192
+ "name": "poolSnapshot",
1193
+ "type": "tuple"
1194
+ }
1195
+ ],
1196
+ "stateMutability": "view",
1197
+ "type": "function"
1198
+ },
1199
+ {
1200
+ "inputs": [
1201
+ {
1202
+ "internalType": "address",
1203
+ "name": "pool",
1204
+ "type": "address"
1205
+ },
1206
+ {
1207
+ "internalType": "bool",
1208
+ "name": "isLong",
1209
+ "type": "bool"
1210
+ }
1211
+ ],
1212
+ "name": "getSideHolders",
1213
+ "outputs": [
1214
+ {
1215
+ "internalType": "address[]",
1216
+ "name": "",
1217
+ "type": "address[]"
1218
+ }
1219
+ ],
1220
+ "stateMutability": "view",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [
1225
+ {
1226
+ "internalType": "address",
1227
+ "name": "pool",
1228
+ "type": "address"
1229
+ },
1230
+ {
1231
+ "internalType": "bool",
1232
+ "name": "isLong",
1233
+ "type": "bool"
1234
+ },
1235
+ {
1236
+ "internalType": "uint256",
1237
+ "name": "start",
1238
+ "type": "uint256"
1239
+ },
1240
+ {
1241
+ "internalType": "uint256",
1242
+ "name": "count",
1243
+ "type": "uint256"
1244
+ }
1245
+ ],
1246
+ "name": "getSideHoldersPaginated",
1247
+ "outputs": [
1248
+ {
1249
+ "internalType": "address[]",
1250
+ "name": "holders",
1251
+ "type": "address[]"
1252
+ }
1253
+ ],
1254
+ "stateMutability": "view",
1255
+ "type": "function"
1256
+ },
1257
+ {
1258
+ "inputs": [],
1259
+ "name": "getSystemConfig",
1260
+ "outputs": [
1261
+ {
1262
+ "components": [
1263
+ {
1264
+ "internalType": "address",
1265
+ "name": "marginBank",
1266
+ "type": "address"
1267
+ },
1268
+ {
1269
+ "internalType": "address",
1270
+ "name": "collateralToken",
1271
+ "type": "address"
1272
+ },
1273
+ {
1274
+ "internalType": "address",
1275
+ "name": "perpPoolFactory",
1276
+ "type": "address"
1277
+ },
1278
+ {
1279
+ "internalType": "address",
1280
+ "name": "liquidationEngine",
1281
+ "type": "address"
1282
+ },
1283
+ {
1284
+ "internalType": "address",
1285
+ "name": "insuranceFund",
1286
+ "type": "address"
1287
+ },
1288
+ {
1289
+ "internalType": "address",
1290
+ "name": "feeRecipient",
1291
+ "type": "address"
1292
+ },
1293
+ {
1294
+ "internalType": "uint16",
1295
+ "name": "maxLeverageLimit",
1296
+ "type": "uint16"
1297
+ },
1298
+ {
1299
+ "internalType": "bool",
1300
+ "name": "fullyWired",
1301
+ "type": "bool"
1302
+ }
1303
+ ],
1304
+ "internalType": "struct IMarginBank.SystemConfig",
1305
+ "name": "",
1306
+ "type": "tuple"
1307
+ }
1308
+ ],
1309
+ "stateMutability": "view",
1310
+ "type": "function"
1311
+ },
1312
+ {
1313
+ "inputs": [
1314
+ {
1315
+ "internalType": "address",
1316
+ "name": "account",
1317
+ "type": "address"
1318
+ }
1319
+ ],
1320
+ "name": "getVerifiableEquity",
1321
+ "outputs": [
1322
+ {
1323
+ "internalType": "int256",
1324
+ "name": "equity",
1325
+ "type": "int256"
1326
+ },
1327
+ {
1328
+ "internalType": "bool",
1329
+ "name": "complete",
1330
+ "type": "bool"
1331
+ }
1332
+ ],
1333
+ "stateMutability": "view",
1334
+ "type": "function"
1335
+ },
1336
+ {
1337
+ "inputs": [
1338
+ {
1339
+ "internalType": "address",
1340
+ "name": "account",
1341
+ "type": "address"
1342
+ },
1343
+ {
1344
+ "internalType": "bool",
1345
+ "name": "staleTolerant",
1346
+ "type": "bool"
1347
+ }
1348
+ ],
1349
+ "name": "getVerifiableEquityAndMaintenance",
1350
+ "outputs": [
1351
+ {
1352
+ "internalType": "int256",
1353
+ "name": "equity",
1354
+ "type": "int256"
1355
+ },
1356
+ {
1357
+ "internalType": "uint256",
1358
+ "name": "maintenance",
1359
+ "type": "uint256"
1360
+ },
1361
+ {
1362
+ "internalType": "bool",
1363
+ "name": "complete",
1364
+ "type": "bool"
1365
+ }
1366
+ ],
1367
+ "stateMutability": "view",
1368
+ "type": "function"
1369
+ },
1370
+ {
1371
+ "inputs": [],
1372
+ "name": "getVoucherLeverageCap",
1373
+ "outputs": [
1374
+ {
1375
+ "internalType": "uint16",
1376
+ "name": "",
1377
+ "type": "uint16"
1378
+ }
1379
+ ],
1380
+ "stateMutability": "view",
1381
+ "type": "function"
1382
+ },
1383
+ {
1384
+ "inputs": [
1385
+ {
1386
+ "internalType": "address",
1387
+ "name": "account",
1388
+ "type": "address"
1389
+ }
1390
+ ],
1391
+ "name": "getWithdrawableCollateral",
1392
+ "outputs": [
1393
+ {
1394
+ "internalType": "uint256",
1395
+ "name": "",
1396
+ "type": "uint256"
1397
+ }
1398
+ ],
1399
+ "stateMutability": "view",
1400
+ "type": "function"
1401
+ },
1402
+ {
1403
+ "inputs": [
1404
+ {
1405
+ "internalType": "address",
1406
+ "name": "account",
1407
+ "type": "address"
1408
+ }
1409
+ ],
1410
+ "name": "getWithdrawalBlockingSurcharge",
1411
+ "outputs": [
1412
+ {
1413
+ "internalType": "uint256",
1414
+ "name": "",
1415
+ "type": "uint256"
1416
+ }
1417
+ ],
1418
+ "stateMutability": "view",
1419
+ "type": "function"
1420
+ },
1421
+ {
1422
+ "inputs": [
1423
+ {
1424
+ "internalType": "address",
1425
+ "name": "admin",
1426
+ "type": "address"
1427
+ },
1428
+ {
1429
+ "internalType": "address",
1430
+ "name": "collateralToken",
1431
+ "type": "address"
1432
+ },
1433
+ {
1434
+ "internalType": "address",
1435
+ "name": "feeRecipient",
1436
+ "type": "address"
1437
+ },
1438
+ {
1439
+ "internalType": "address",
1440
+ "name": "insuranceFund",
1441
+ "type": "address"
1442
+ },
1443
+ {
1444
+ "internalType": "address",
1445
+ "name": "perpPoolFactory_",
1446
+ "type": "address"
1447
+ },
1448
+ {
1449
+ "internalType": "uint16",
1450
+ "name": "maxLeverageLimit_",
1451
+ "type": "uint16"
1452
+ },
1453
+ {
1454
+ "internalType": "address",
1455
+ "name": "linkedWalletRegistry_",
1456
+ "type": "address"
1457
+ },
1458
+ {
1459
+ "internalType": "address",
1460
+ "name": "liquidationFeeRecipient_",
1461
+ "type": "address"
1462
+ }
1463
+ ],
1464
+ "name": "initialize",
1465
+ "outputs": [],
1466
+ "stateMutability": "nonpayable",
1467
+ "type": "function"
1468
+ },
1469
+ {
1470
+ "inputs": [
1471
+ {
1472
+ "internalType": "address",
1473
+ "name": "perpPool",
1474
+ "type": "address"
1475
+ }
1476
+ ],
1477
+ "name": "isInsuranceFundCoverageEnabled",
1478
+ "outputs": [
1479
+ {
1480
+ "internalType": "bool",
1481
+ "name": "",
1482
+ "type": "bool"
1483
+ }
1484
+ ],
1485
+ "stateMutability": "view",
1486
+ "type": "function"
1487
+ },
1488
+ {
1489
+ "inputs": [
1490
+ {
1491
+ "internalType": "address",
1492
+ "name": "perpPool",
1493
+ "type": "address"
1494
+ }
1495
+ ],
1496
+ "name": "isPerpPoolRegistered",
1497
+ "outputs": [
1498
+ {
1499
+ "internalType": "bool",
1500
+ "name": "",
1501
+ "type": "bool"
1502
+ }
1503
+ ],
1504
+ "stateMutability": "view",
1505
+ "type": "function"
1506
+ },
1507
+ {
1508
+ "inputs": [
1509
+ {
1510
+ "internalType": "address",
1511
+ "name": "account",
1512
+ "type": "address"
1513
+ }
1514
+ ],
1515
+ "name": "isPriceable",
1516
+ "outputs": [
1517
+ {
1518
+ "internalType": "bool",
1519
+ "name": "",
1520
+ "type": "bool"
1521
+ }
1522
+ ],
1523
+ "stateMutability": "view",
1524
+ "type": "function"
1525
+ },
1526
+ {
1527
+ "inputs": [
1528
+ {
1529
+ "internalType": "address",
1530
+ "name": "perpPool",
1531
+ "type": "address"
1532
+ }
1533
+ ],
1534
+ "name": "isVoucherMarketAllowed",
1535
+ "outputs": [
1536
+ {
1537
+ "internalType": "bool",
1538
+ "name": "",
1539
+ "type": "bool"
1540
+ }
1541
+ ],
1542
+ "stateMutability": "view",
1543
+ "type": "function"
1544
+ },
1545
+ {
1546
+ "inputs": [
1547
+ {
1548
+ "internalType": "address",
1549
+ "name": "account",
1550
+ "type": "address"
1551
+ }
1552
+ ],
1553
+ "name": "isolated",
1554
+ "outputs": [
1555
+ {
1556
+ "internalType": "bool",
1557
+ "name": "",
1558
+ "type": "bool"
1559
+ }
1560
+ ],
1561
+ "stateMutability": "view",
1562
+ "type": "function"
1563
+ },
1564
+ {
1565
+ "inputs": [
1566
+ {
1567
+ "internalType": "address",
1568
+ "name": "account",
1569
+ "type": "address"
1570
+ },
1571
+ {
1572
+ "internalType": "address",
1573
+ "name": "market",
1574
+ "type": "address"
1575
+ }
1576
+ ],
1577
+ "name": "isolationAllowsMarket",
1578
+ "outputs": [
1579
+ {
1580
+ "internalType": "bool",
1581
+ "name": "",
1582
+ "type": "bool"
1583
+ }
1584
+ ],
1585
+ "stateMutability": "view",
1586
+ "type": "function"
1587
+ },
1588
+ {
1589
+ "inputs": [
1590
+ {
1591
+ "internalType": "address",
1592
+ "name": "account",
1593
+ "type": "address"
1594
+ },
1595
+ {
1596
+ "internalType": "uint256",
1597
+ "name": "amount",
1598
+ "type": "uint256"
1599
+ }
1600
+ ],
1601
+ "name": "lockCollateral",
1602
+ "outputs": [],
1603
+ "stateMutability": "nonpayable",
1604
+ "type": "function"
1605
+ },
1606
+ {
1607
+ "inputs": [
1608
+ {
1609
+ "internalType": "address[]",
1610
+ "name": "accounts",
1611
+ "type": "address[]"
1612
+ }
1613
+ ],
1614
+ "name": "markToMarketBacking",
1615
+ "outputs": [
1616
+ {
1617
+ "internalType": "int256",
1618
+ "name": "equityPlusLocked",
1619
+ "type": "int256"
1620
+ },
1621
+ {
1622
+ "internalType": "uint256",
1623
+ "name": "tokenBalance",
1624
+ "type": "uint256"
1625
+ }
1626
+ ],
1627
+ "stateMutability": "view",
1628
+ "type": "function"
1629
+ },
1630
+ {
1631
+ "inputs": [
1632
+ {
1633
+ "internalType": "address",
1634
+ "name": "account",
1635
+ "type": "address"
1636
+ },
1637
+ {
1638
+ "internalType": "address",
1639
+ "name": "perpPool",
1640
+ "type": "address"
1641
+ },
1642
+ {
1643
+ "internalType": "uint256",
1644
+ "name": "additionalSize",
1645
+ "type": "uint256"
1646
+ },
1647
+ {
1648
+ "internalType": "uint256",
1649
+ "name": "orderPrice",
1650
+ "type": "uint256"
1651
+ }
1652
+ ],
1653
+ "name": "meetsIMForFill",
1654
+ "outputs": [
1655
+ {
1656
+ "internalType": "bool",
1657
+ "name": "",
1658
+ "type": "bool"
1659
+ }
1660
+ ],
1661
+ "stateMutability": "view",
1662
+ "type": "function"
1663
+ },
1664
+ {
1665
+ "inputs": [
1666
+ {
1667
+ "internalType": "address",
1668
+ "name": "account",
1669
+ "type": "address"
1670
+ },
1671
+ {
1672
+ "internalType": "uint256",
1673
+ "name": "additionalSize",
1674
+ "type": "uint256"
1675
+ },
1676
+ {
1677
+ "internalType": "uint256",
1678
+ "name": "orderPrice",
1679
+ "type": "uint256"
1680
+ }
1681
+ ],
1682
+ "name": "meetsIMForOrder",
1683
+ "outputs": [
1684
+ {
1685
+ "internalType": "bool",
1686
+ "name": "",
1687
+ "type": "bool"
1688
+ }
1689
+ ],
1690
+ "stateMutability": "view",
1691
+ "type": "function"
1692
+ },
1693
+ {
1694
+ "inputs": [
1695
+ {
1696
+ "internalType": "address",
1697
+ "name": "account",
1698
+ "type": "address"
1699
+ },
1700
+ {
1701
+ "internalType": "uint256",
1702
+ "name": "additionalSize",
1703
+ "type": "uint256"
1704
+ },
1705
+ {
1706
+ "internalType": "uint256",
1707
+ "name": "orderPrice",
1708
+ "type": "uint256"
1709
+ },
1710
+ {
1711
+ "components": [
1712
+ {
1713
+ "internalType": "uint256",
1714
+ "name": "oneBase",
1715
+ "type": "uint256"
1716
+ },
1717
+ {
1718
+ "internalType": "uint256",
1719
+ "name": "markPrice",
1720
+ "type": "uint256"
1721
+ },
1722
+ {
1723
+ "internalType": "int256",
1724
+ "name": "projectedCumulativeFunding",
1725
+ "type": "int256"
1726
+ },
1727
+ {
1728
+ "internalType": "uint256",
1729
+ "name": "effectiveIMFBps",
1730
+ "type": "uint256"
1731
+ },
1732
+ {
1733
+ "internalType": "uint256",
1734
+ "name": "maintenanceMarginBps",
1735
+ "type": "uint256"
1736
+ },
1737
+ {
1738
+ "internalType": "uint256",
1739
+ "name": "closeOutMarginBps",
1740
+ "type": "uint256"
1741
+ },
1742
+ {
1743
+ "internalType": "uint256",
1744
+ "name": "staticIMFBps",
1745
+ "type": "uint256"
1746
+ }
1747
+ ],
1748
+ "internalType": "struct HealthSnapshot",
1749
+ "name": "poolSnapshot",
1750
+ "type": "tuple"
1751
+ }
1752
+ ],
1753
+ "name": "meetsIMForOrderFromPool",
1754
+ "outputs": [
1755
+ {
1756
+ "internalType": "bool",
1757
+ "name": "",
1758
+ "type": "bool"
1759
+ }
1760
+ ],
1761
+ "stateMutability": "view",
1762
+ "type": "function"
1763
+ },
1764
+ {
1765
+ "inputs": [
1766
+ {
1767
+ "internalType": "address",
1768
+ "name": "account",
1769
+ "type": "address"
1770
+ },
1771
+ {
1772
+ "internalType": "bool",
1773
+ "name": "hasOrders",
1774
+ "type": "bool"
1775
+ }
1776
+ ],
1777
+ "name": "notifyAccountOrderActivity",
1778
+ "outputs": [],
1779
+ "stateMutability": "nonpayable",
1780
+ "type": "function"
1781
+ },
1782
+ {
1783
+ "inputs": [],
1784
+ "name": "owner",
1785
+ "outputs": [
1786
+ {
1787
+ "internalType": "address",
1788
+ "name": "",
1789
+ "type": "address"
1790
+ }
1791
+ ],
1792
+ "stateMutability": "view",
1793
+ "type": "function"
1794
+ },
1795
+ {
1796
+ "inputs": [
1797
+ {
1798
+ "internalType": "address",
1799
+ "name": "account",
1800
+ "type": "address"
1801
+ },
1802
+ {
1803
+ "internalType": "uint256",
1804
+ "name": "amount",
1805
+ "type": "uint256"
1806
+ }
1807
+ ],
1808
+ "name": "payRebate",
1809
+ "outputs": [],
1810
+ "stateMutability": "nonpayable",
1811
+ "type": "function"
1812
+ },
1813
+ {
1814
+ "inputs": [],
1815
+ "name": "pendingOwner",
1816
+ "outputs": [
1817
+ {
1818
+ "internalType": "address",
1819
+ "name": "",
1820
+ "type": "address"
1821
+ }
1822
+ ],
1823
+ "stateMutability": "view",
1824
+ "type": "function"
1825
+ },
1826
+ {
1827
+ "inputs": [
1828
+ {
1829
+ "internalType": "address",
1830
+ "name": "account",
1831
+ "type": "address"
1832
+ },
1833
+ {
1834
+ "internalType": "address",
1835
+ "name": "perpPool",
1836
+ "type": "address"
1837
+ },
1838
+ {
1839
+ "internalType": "bool",
1840
+ "name": "isBid",
1841
+ "type": "bool"
1842
+ },
1843
+ {
1844
+ "internalType": "uint256",
1845
+ "name": "price",
1846
+ "type": "uint256"
1847
+ },
1848
+ {
1849
+ "internalType": "uint128",
1850
+ "name": "quantity",
1851
+ "type": "uint128"
1852
+ }
1853
+ ],
1854
+ "name": "placeLiquidationOrder",
1855
+ "outputs": [
1856
+ {
1857
+ "internalType": "bool",
1858
+ "name": "success",
1859
+ "type": "bool"
1860
+ },
1861
+ {
1862
+ "internalType": "OrderId",
1863
+ "name": "orderId",
1864
+ "type": "uint128"
1865
+ },
1866
+ {
1867
+ "internalType": "int256",
1868
+ "name": "realizedPnl",
1869
+ "type": "int256"
1870
+ }
1871
+ ],
1872
+ "stateMutability": "nonpayable",
1873
+ "type": "function"
1874
+ },
1875
+ {
1876
+ "inputs": [],
1877
+ "name": "proxiableUUID",
1878
+ "outputs": [
1879
+ {
1880
+ "internalType": "bytes32",
1881
+ "name": "",
1882
+ "type": "bytes32"
1883
+ }
1884
+ ],
1885
+ "stateMutability": "view",
1886
+ "type": "function"
1887
+ },
1888
+ {
1889
+ "inputs": [
1890
+ {
1891
+ "internalType": "address",
1892
+ "name": "child",
1893
+ "type": "address"
1894
+ }
1895
+ ],
1896
+ "name": "quoteFundingPayer",
1897
+ "outputs": [
1898
+ {
1899
+ "internalType": "address",
1900
+ "name": "payer",
1901
+ "type": "address"
1902
+ }
1903
+ ],
1904
+ "stateMutability": "view",
1905
+ "type": "function"
1906
+ },
1907
+ {
1908
+ "inputs": [
1909
+ {
1910
+ "internalType": "uint256",
1911
+ "name": "priorCharged",
1912
+ "type": "uint256"
1913
+ },
1914
+ {
1915
+ "internalType": "uint256",
1916
+ "name": "charged",
1917
+ "type": "uint256"
1918
+ },
1919
+ {
1920
+ "internalType": "uint256",
1921
+ "name": "priorKeeperPaid",
1922
+ "type": "uint256"
1923
+ },
1924
+ {
1925
+ "internalType": "uint256",
1926
+ "name": "shareBps",
1927
+ "type": "uint256"
1928
+ },
1929
+ {
1930
+ "internalType": "uint256",
1931
+ "name": "minAmount",
1932
+ "type": "uint256"
1933
+ },
1934
+ {
1935
+ "internalType": "uint256",
1936
+ "name": "maxAmount",
1937
+ "type": "uint256"
1938
+ }
1939
+ ],
1940
+ "name": "quoteKeeperRewardIncrement",
1941
+ "outputs": [
1942
+ {
1943
+ "internalType": "uint256",
1944
+ "name": "increment",
1945
+ "type": "uint256"
1946
+ }
1947
+ ],
1948
+ "stateMutability": "pure",
1949
+ "type": "function"
1950
+ },
1951
+ {
1952
+ "inputs": [
1953
+ {
1954
+ "internalType": "address",
1955
+ "name": "account",
1956
+ "type": "address"
1957
+ },
1958
+ {
1959
+ "internalType": "address",
1960
+ "name": "perpPool",
1961
+ "type": "address"
1962
+ },
1963
+ {
1964
+ "internalType": "uint256",
1965
+ "name": "additionalSize",
1966
+ "type": "uint256"
1967
+ },
1968
+ {
1969
+ "internalType": "uint256",
1970
+ "name": "orderPrice",
1971
+ "type": "uint256"
1972
+ }
1973
+ ],
1974
+ "name": "quoteMeetsIMForOrder",
1975
+ "outputs": [
1976
+ {
1977
+ "internalType": "bool",
1978
+ "name": "",
1979
+ "type": "bool"
1980
+ }
1981
+ ],
1982
+ "stateMutability": "view",
1983
+ "type": "function"
1984
+ },
1985
+ {
1986
+ "inputs": [
1987
+ {
1988
+ "internalType": "address",
1989
+ "name": "account",
1990
+ "type": "address"
1991
+ },
1992
+ {
1993
+ "internalType": "address",
1994
+ "name": "perpPool",
1995
+ "type": "address"
1996
+ },
1997
+ {
1998
+ "internalType": "uint256",
1999
+ "name": "baseLockAmount",
2000
+ "type": "uint256"
2001
+ },
2002
+ {
2003
+ "internalType": "uint256",
2004
+ "name": "feeHeadroom",
2005
+ "type": "uint256"
2006
+ },
2007
+ {
2008
+ "internalType": "uint256",
2009
+ "name": "increasingQuantity",
2010
+ "type": "uint256"
2011
+ },
2012
+ {
2013
+ "internalType": "uint256",
2014
+ "name": "orderPrice",
2015
+ "type": "uint256"
2016
+ }
2017
+ ],
2018
+ "name": "quoteOrderReservation",
2019
+ "outputs": [
2020
+ {
2021
+ "internalType": "uint256",
2022
+ "name": "topUp",
2023
+ "type": "uint256"
2024
+ },
2025
+ {
2026
+ "internalType": "uint256",
2027
+ "name": "reservation",
2028
+ "type": "uint256"
2029
+ }
2030
+ ],
2031
+ "stateMutability": "view",
2032
+ "type": "function"
2033
+ },
2034
+ {
2035
+ "inputs": [
2036
+ {
2037
+ "internalType": "address",
2038
+ "name": "account",
2039
+ "type": "address"
2040
+ },
2041
+ {
2042
+ "internalType": "uint256",
2043
+ "name": "baseLockAmount",
2044
+ "type": "uint256"
2045
+ },
2046
+ {
2047
+ "internalType": "uint256",
2048
+ "name": "feeHeadroom",
2049
+ "type": "uint256"
2050
+ },
2051
+ {
2052
+ "internalType": "uint256",
2053
+ "name": "increasingQuantity",
2054
+ "type": "uint256"
2055
+ },
2056
+ {
2057
+ "internalType": "uint256",
2058
+ "name": "orderPrice",
2059
+ "type": "uint256"
2060
+ },
2061
+ {
2062
+ "components": [
2063
+ {
2064
+ "internalType": "uint256",
2065
+ "name": "oneBase",
2066
+ "type": "uint256"
2067
+ },
2068
+ {
2069
+ "internalType": "uint256",
2070
+ "name": "markPrice",
2071
+ "type": "uint256"
2072
+ },
2073
+ {
2074
+ "internalType": "int256",
2075
+ "name": "projectedCumulativeFunding",
2076
+ "type": "int256"
2077
+ },
2078
+ {
2079
+ "internalType": "uint256",
2080
+ "name": "effectiveIMFBps",
2081
+ "type": "uint256"
2082
+ },
2083
+ {
2084
+ "internalType": "uint256",
2085
+ "name": "maintenanceMarginBps",
2086
+ "type": "uint256"
2087
+ },
2088
+ {
2089
+ "internalType": "uint256",
2090
+ "name": "closeOutMarginBps",
2091
+ "type": "uint256"
2092
+ },
2093
+ {
2094
+ "internalType": "uint256",
2095
+ "name": "staticIMFBps",
2096
+ "type": "uint256"
2097
+ }
2098
+ ],
2099
+ "internalType": "struct HealthSnapshot",
2100
+ "name": "poolSnapshot",
2101
+ "type": "tuple"
2102
+ }
2103
+ ],
2104
+ "name": "quoteOrderReservationFromPool",
2105
+ "outputs": [
2106
+ {
2107
+ "internalType": "uint256",
2108
+ "name": "topUp",
2109
+ "type": "uint256"
2110
+ },
2111
+ {
2112
+ "internalType": "uint256",
2113
+ "name": "reservation",
2114
+ "type": "uint256"
2115
+ }
2116
+ ],
2117
+ "stateMutability": "view",
2118
+ "type": "function"
2119
+ },
2120
+ {
2121
+ "inputs": [
2122
+ {
2123
+ "internalType": "address",
2124
+ "name": "account",
2125
+ "type": "address"
2126
+ },
2127
+ {
2128
+ "internalType": "address",
2129
+ "name": "perpPool",
2130
+ "type": "address"
2131
+ },
2132
+ {
2133
+ "internalType": "uint256",
2134
+ "name": "lockAmount",
2135
+ "type": "uint256"
2136
+ },
2137
+ {
2138
+ "internalType": "uint256",
2139
+ "name": "feeHeadroom",
2140
+ "type": "uint256"
2141
+ },
2142
+ {
2143
+ "internalType": "uint256",
2144
+ "name": "increasingQuantity",
2145
+ "type": "uint256"
2146
+ },
2147
+ {
2148
+ "internalType": "uint256",
2149
+ "name": "orderPrice",
2150
+ "type": "uint256"
2151
+ }
2152
+ ],
2153
+ "name": "quoteOrderTopUp",
2154
+ "outputs": [
2155
+ {
2156
+ "internalType": "uint256",
2157
+ "name": "topUp",
2158
+ "type": "uint256"
2159
+ }
2160
+ ],
2161
+ "stateMutability": "view",
2162
+ "type": "function"
2163
+ },
2164
+ {
2165
+ "inputs": [
2166
+ {
2167
+ "internalType": "address",
2168
+ "name": "account",
2169
+ "type": "address"
2170
+ },
2171
+ {
2172
+ "internalType": "address",
2173
+ "name": "perpPool",
2174
+ "type": "address"
2175
+ },
2176
+ {
2177
+ "internalType": "uint256",
2178
+ "name": "takeoverPrice",
2179
+ "type": "uint256"
2180
+ }
2181
+ ],
2182
+ "name": "quoteTakeoverRealization",
2183
+ "outputs": [
2184
+ {
2185
+ "internalType": "int256",
2186
+ "name": "realizedPnl",
2187
+ "type": "int256"
2188
+ },
2189
+ {
2190
+ "internalType": "int256",
2191
+ "name": "balanceAfter",
2192
+ "type": "int256"
2193
+ }
2194
+ ],
2195
+ "stateMutability": "view",
2196
+ "type": "function"
2197
+ },
2198
+ {
2199
+ "inputs": [
2200
+ {
2201
+ "internalType": "address",
2202
+ "name": "wallet",
2203
+ "type": "address"
2204
+ }
2205
+ ],
2206
+ "name": "quoteWalletCapacity",
2207
+ "outputs": [
2208
+ {
2209
+ "internalType": "uint256",
2210
+ "name": "",
2211
+ "type": "uint256"
2212
+ }
2213
+ ],
2214
+ "stateMutability": "view",
2215
+ "type": "function"
2216
+ },
2217
+ {
2218
+ "inputs": [
2219
+ {
2220
+ "internalType": "address",
2221
+ "name": "child",
2222
+ "type": "address"
2223
+ },
2224
+ {
2225
+ "internalType": "uint256",
2226
+ "name": "amount",
2227
+ "type": "uint256"
2228
+ }
2229
+ ],
2230
+ "name": "recallFromChild",
2231
+ "outputs": [],
2232
+ "stateMutability": "nonpayable",
2233
+ "type": "function"
2234
+ },
2235
+ {
2236
+ "inputs": [
2237
+ {
2238
+ "internalType": "address",
2239
+ "name": "account",
2240
+ "type": "address"
2241
+ }
2242
+ ],
2243
+ "name": "reclaimCredit",
2244
+ "outputs": [],
2245
+ "stateMutability": "nonpayable",
2246
+ "type": "function"
2247
+ },
2248
+ {
2249
+ "inputs": [
2250
+ {
2251
+ "internalType": "address",
2252
+ "name": "perpPool",
2253
+ "type": "address"
2254
+ }
2255
+ ],
2256
+ "name": "removePerpPool",
2257
+ "outputs": [],
2258
+ "stateMutability": "nonpayable",
2259
+ "type": "function"
2260
+ },
2261
+ {
2262
+ "inputs": [],
2263
+ "name": "renounceOwnership",
2264
+ "outputs": [],
2265
+ "stateMutability": "nonpayable",
2266
+ "type": "function"
2267
+ },
2268
+ {
2269
+ "inputs": [
2270
+ {
2271
+ "internalType": "uint256",
2272
+ "name": "amount",
2273
+ "type": "uint256"
2274
+ }
2275
+ ],
2276
+ "name": "repayFunding",
2277
+ "outputs": [],
2278
+ "stateMutability": "nonpayable",
2279
+ "type": "function"
2280
+ },
2281
+ {
2282
+ "inputs": [
2283
+ {
2284
+ "internalType": "bool",
2285
+ "name": "locked",
2286
+ "type": "bool"
2287
+ }
2288
+ ],
2289
+ "name": "setBidderQuoteLock",
2290
+ "outputs": [],
2291
+ "stateMutability": "nonpayable",
2292
+ "type": "function"
2293
+ },
2294
+ {
2295
+ "inputs": [
2296
+ {
2297
+ "internalType": "address",
2298
+ "name": "granter",
2299
+ "type": "address"
2300
+ }
2301
+ ],
2302
+ "name": "setCreditGranter",
2303
+ "outputs": [],
2304
+ "stateMutability": "nonpayable",
2305
+ "type": "function"
2306
+ },
2307
+ {
2308
+ "inputs": [
2309
+ {
2310
+ "internalType": "address",
2311
+ "name": "feeRecipient",
2312
+ "type": "address"
2313
+ }
2314
+ ],
2315
+ "name": "setFeeRecipientAddress",
2316
+ "outputs": [],
2317
+ "stateMutability": "nonpayable",
2318
+ "type": "function"
2319
+ },
2320
+ {
2321
+ "inputs": [
2322
+ {
2323
+ "internalType": "address",
2324
+ "name": "insuranceFund",
2325
+ "type": "address"
2326
+ }
2327
+ ],
2328
+ "name": "setInsuranceFundAddress",
2329
+ "outputs": [],
2330
+ "stateMutability": "nonpayable",
2331
+ "type": "function"
2332
+ },
2333
+ {
2334
+ "inputs": [
2335
+ {
2336
+ "internalType": "bool",
2337
+ "name": "enabled",
2338
+ "type": "bool"
2339
+ }
2340
+ ],
2341
+ "name": "setIsolated",
2342
+ "outputs": [],
2343
+ "stateMutability": "nonpayable",
2344
+ "type": "function"
2345
+ },
2346
+ {
2347
+ "inputs": [
2348
+ {
2349
+ "internalType": "address",
2350
+ "name": "registry",
2351
+ "type": "address"
2352
+ }
2353
+ ],
2354
+ "name": "setLinkedWalletRegistry",
2355
+ "outputs": [],
2356
+ "stateMutability": "nonpayable",
2357
+ "type": "function"
2358
+ },
2359
+ {
2360
+ "inputs": [
2361
+ {
2362
+ "internalType": "address",
2363
+ "name": "engine",
2364
+ "type": "address"
2365
+ }
2366
+ ],
2367
+ "name": "setLiquidationEngine",
2368
+ "outputs": [],
2369
+ "stateMutability": "nonpayable",
2370
+ "type": "function"
2371
+ },
2372
+ {
2373
+ "inputs": [
2374
+ {
2375
+ "internalType": "address",
2376
+ "name": "recipient",
2377
+ "type": "address"
2378
+ }
2379
+ ],
2380
+ "name": "setLiquidationFeeRecipient",
2381
+ "outputs": [],
2382
+ "stateMutability": "nonpayable",
2383
+ "type": "function"
2384
+ },
2385
+ {
2386
+ "inputs": [
2387
+ {
2388
+ "internalType": "address",
2389
+ "name": "perpPool",
2390
+ "type": "address"
2391
+ },
2392
+ {
2393
+ "internalType": "uint16",
2394
+ "name": "leverageX",
2395
+ "type": "uint16"
2396
+ }
2397
+ ],
2398
+ "name": "setMaxLeverage",
2399
+ "outputs": [],
2400
+ "stateMutability": "nonpayable",
2401
+ "type": "function"
2402
+ },
2403
+ {
2404
+ "inputs": [
2405
+ {
2406
+ "internalType": "uint16",
2407
+ "name": "maxLeverageLimit",
2408
+ "type": "uint16"
2409
+ }
2410
+ ],
2411
+ "name": "setMaxLeverageLimit",
2412
+ "outputs": [],
2413
+ "stateMutability": "nonpayable",
2414
+ "type": "function"
2415
+ },
2416
+ {
2417
+ "inputs": [
2418
+ {
2419
+ "internalType": "address",
2420
+ "name": "newFactory",
2421
+ "type": "address"
2422
+ }
2423
+ ],
2424
+ "name": "setPerpPoolFactory",
2425
+ "outputs": [],
2426
+ "stateMutability": "nonpayable",
2427
+ "type": "function"
2428
+ },
2429
+ {
2430
+ "inputs": [
2431
+ {
2432
+ "internalType": "uint16",
2433
+ "name": "cap",
2434
+ "type": "uint16"
2435
+ }
2436
+ ],
2437
+ "name": "setVoucherLeverageCap",
2438
+ "outputs": [],
2439
+ "stateMutability": "nonpayable",
2440
+ "type": "function"
2441
+ },
2442
+ {
2443
+ "inputs": [
2444
+ {
2445
+ "internalType": "address",
2446
+ "name": "perpPool",
2447
+ "type": "address"
2448
+ },
2449
+ {
2450
+ "internalType": "bool",
2451
+ "name": "allowed",
2452
+ "type": "bool"
2453
+ }
2454
+ ],
2455
+ "name": "setVoucherMarketAllowed",
2456
+ "outputs": [],
2457
+ "stateMutability": "nonpayable",
2458
+ "type": "function"
2459
+ },
2460
+ {
2461
+ "inputs": [
2462
+ {
2463
+ "internalType": "address",
2464
+ "name": "from",
2465
+ "type": "address"
2466
+ },
2467
+ {
2468
+ "internalType": "address[]",
2469
+ "name": "receivers",
2470
+ "type": "address[]"
2471
+ },
2472
+ {
2473
+ "internalType": "uint256[]",
2474
+ "name": "amounts",
2475
+ "type": "uint256[]"
2476
+ }
2477
+ ],
2478
+ "name": "settleCloseOutMargin",
2479
+ "outputs": [],
2480
+ "stateMutability": "nonpayable",
2481
+ "type": "function"
2482
+ },
2483
+ {
2484
+ "inputs": [
2485
+ {
2486
+ "internalType": "address",
2487
+ "name": "account",
2488
+ "type": "address"
2489
+ }
2490
+ ],
2491
+ "name": "settleFundingForAccount",
2492
+ "outputs": [
2493
+ {
2494
+ "internalType": "address[]",
2495
+ "name": "pools",
2496
+ "type": "address[]"
2497
+ },
2498
+ {
2499
+ "internalType": "int256[]",
2500
+ "name": "fundingPayments",
2501
+ "type": "int256[]"
2502
+ }
2503
+ ],
2504
+ "stateMutability": "nonpayable",
2505
+ "type": "function"
2506
+ },
2507
+ {
2508
+ "inputs": [
2509
+ {
2510
+ "internalType": "address",
2511
+ "name": "account",
2512
+ "type": "address"
2513
+ },
2514
+ {
2515
+ "internalType": "int128",
2516
+ "name": "sizeDelta",
2517
+ "type": "int128"
2518
+ },
2519
+ {
2520
+ "internalType": "uint256",
2521
+ "name": "fillPrice",
2522
+ "type": "uint256"
2523
+ },
2524
+ {
2525
+ "internalType": "int256",
2526
+ "name": "cumulativeFunding",
2527
+ "type": "int256"
2528
+ },
2529
+ {
2530
+ "internalType": "uint256",
2531
+ "name": "oneBase",
2532
+ "type": "uint256"
2533
+ }
2534
+ ],
2535
+ "name": "settleTrade",
2536
+ "outputs": [
2537
+ {
2538
+ "internalType": "int128",
2539
+ "name": "oldSize",
2540
+ "type": "int128"
2541
+ }
2542
+ ],
2543
+ "stateMutability": "nonpayable",
2544
+ "type": "function"
2545
+ },
2546
+ {
2547
+ "inputs": [
2548
+ {
2549
+ "internalType": "address",
2550
+ "name": "account",
2551
+ "type": "address"
2552
+ }
2553
+ ],
2554
+ "name": "sweepUnburnedAdlBurn",
2555
+ "outputs": [
2556
+ {
2557
+ "internalType": "uint256",
2558
+ "name": "swept",
2559
+ "type": "uint256"
2560
+ }
2561
+ ],
2562
+ "stateMutability": "nonpayable",
2563
+ "type": "function"
2564
+ },
2565
+ {
2566
+ "inputs": [
2567
+ {
2568
+ "internalType": "address",
2569
+ "name": "newOwner",
2570
+ "type": "address"
2571
+ }
2572
+ ],
2573
+ "name": "transferOwnership",
2574
+ "outputs": [],
2575
+ "stateMutability": "nonpayable",
2576
+ "type": "function"
2577
+ },
2578
+ {
2579
+ "inputs": [
2580
+ {
2581
+ "internalType": "address",
2582
+ "name": "from",
2583
+ "type": "address"
2584
+ },
2585
+ {
2586
+ "internalType": "address",
2587
+ "name": "to",
2588
+ "type": "address"
2589
+ },
2590
+ {
2591
+ "internalType": "address",
2592
+ "name": "perpPool",
2593
+ "type": "address"
2594
+ },
2595
+ {
2596
+ "internalType": "uint256",
2597
+ "name": "takeoverPrice",
2598
+ "type": "uint256"
2599
+ }
2600
+ ],
2601
+ "name": "transferPosition",
2602
+ "outputs": [
2603
+ {
2604
+ "internalType": "int256",
2605
+ "name": "realizedPnl",
2606
+ "type": "int256"
2607
+ },
2608
+ {
2609
+ "internalType": "uint256",
2610
+ "name": "closeOutMargin",
2611
+ "type": "uint256"
2612
+ }
2613
+ ],
2614
+ "stateMutability": "nonpayable",
2615
+ "type": "function"
2616
+ },
2617
+ {
2618
+ "inputs": [
2619
+ {
2620
+ "internalType": "address",
2621
+ "name": "account",
2622
+ "type": "address"
2623
+ }
2624
+ ],
2625
+ "name": "tryGetAccountEquity",
2626
+ "outputs": [
2627
+ {
2628
+ "internalType": "bool",
2629
+ "name": "ok",
2630
+ "type": "bool"
2631
+ },
2632
+ {
2633
+ "internalType": "int256",
2634
+ "name": "equity",
2635
+ "type": "int256"
2636
+ }
2637
+ ],
2638
+ "stateMutability": "view",
2639
+ "type": "function"
2640
+ },
2641
+ {
2642
+ "inputs": [
2643
+ {
2644
+ "internalType": "address",
2645
+ "name": "account",
2646
+ "type": "address"
2647
+ },
2648
+ {
2649
+ "internalType": "uint256",
2650
+ "name": "amount",
2651
+ "type": "uint256"
2652
+ }
2653
+ ],
2654
+ "name": "unlockCollateral",
2655
+ "outputs": [],
2656
+ "stateMutability": "nonpayable",
2657
+ "type": "function"
2658
+ },
2659
+ {
2660
+ "inputs": [
2661
+ {
2662
+ "internalType": "address",
2663
+ "name": "newImplementation",
2664
+ "type": "address"
2665
+ },
2666
+ {
2667
+ "internalType": "bytes",
2668
+ "name": "data",
2669
+ "type": "bytes"
2670
+ }
2671
+ ],
2672
+ "name": "upgradeToAndCall",
2673
+ "outputs": [],
2674
+ "stateMutability": "payable",
2675
+ "type": "function"
2676
+ },
2677
+ {
2678
+ "inputs": [
2679
+ {
2680
+ "internalType": "uint256",
2681
+ "name": "amount",
2682
+ "type": "uint256"
2683
+ }
2684
+ ],
2685
+ "name": "withdraw",
2686
+ "outputs": [],
2687
+ "stateMutability": "nonpayable",
2688
+ "type": "function"
2689
+ },
2690
+ {
2691
+ "anonymous": false,
2692
+ "inputs": [
2693
+ {
2694
+ "indexed": true,
2695
+ "internalType": "address",
2696
+ "name": "account",
2697
+ "type": "address"
2698
+ },
2699
+ {
2700
+ "indexed": false,
2701
+ "internalType": "uint256",
2702
+ "name": "amount",
2703
+ "type": "uint256"
2704
+ },
2705
+ {
2706
+ "indexed": true,
2707
+ "internalType": "address",
2708
+ "name": "granter",
2709
+ "type": "address"
2710
+ }
2711
+ ],
2712
+ "name": "AccountCredited",
2713
+ "type": "event"
2714
+ },
2715
+ {
2716
+ "anonymous": false,
2717
+ "inputs": [
2718
+ {
2719
+ "indexed": true,
2720
+ "internalType": "address",
2721
+ "name": "counterparty",
2722
+ "type": "address"
2723
+ },
2724
+ {
2725
+ "indexed": true,
2726
+ "internalType": "address",
2727
+ "name": "perpPool",
2728
+ "type": "address"
2729
+ },
2730
+ {
2731
+ "indexed": true,
2732
+ "internalType": "address",
2733
+ "name": "bankrupt",
2734
+ "type": "address"
2735
+ },
2736
+ {
2737
+ "indexed": false,
2738
+ "internalType": "int128",
2739
+ "name": "sizeReduced",
2740
+ "type": "int128"
2741
+ },
2742
+ {
2743
+ "indexed": false,
2744
+ "internalType": "uint256",
2745
+ "name": "bankruptcyPrice",
2746
+ "type": "uint256"
2747
+ }
2748
+ ],
2749
+ "name": "AutoDeleveraged",
2750
+ "type": "event"
2751
+ },
2752
+ {
2753
+ "anonymous": false,
2754
+ "inputs": [
2755
+ {
2756
+ "indexed": true,
2757
+ "internalType": "address",
2758
+ "name": "account",
2759
+ "type": "address"
2760
+ },
2761
+ {
2762
+ "indexed": false,
2763
+ "internalType": "uint256",
2764
+ "name": "badDebt",
2765
+ "type": "uint256"
2766
+ },
2767
+ {
2768
+ "indexed": false,
2769
+ "internalType": "uint256",
2770
+ "name": "covered",
2771
+ "type": "uint256"
2772
+ },
2773
+ {
2774
+ "indexed": true,
2775
+ "internalType": "address",
2776
+ "name": "absorbedBy",
2777
+ "type": "address"
2778
+ }
2779
+ ],
2780
+ "name": "BadDebtAbsorbed",
2781
+ "type": "event"
2782
+ },
2783
+ {
2784
+ "anonymous": false,
2785
+ "inputs": [
2786
+ {
2787
+ "indexed": true,
2788
+ "internalType": "address",
2789
+ "name": "payer",
2790
+ "type": "address"
2791
+ },
2792
+ {
2793
+ "indexed": true,
2794
+ "internalType": "address",
2795
+ "name": "builder",
2796
+ "type": "address"
2797
+ },
2798
+ {
2799
+ "indexed": true,
2800
+ "internalType": "address",
2801
+ "name": "perpPool",
2802
+ "type": "address"
2803
+ },
2804
+ {
2805
+ "indexed": false,
2806
+ "internalType": "uint256",
2807
+ "name": "amount",
2808
+ "type": "uint256"
2809
+ }
2810
+ ],
2811
+ "name": "BuilderFeeCharged",
2812
+ "type": "event"
2813
+ },
2814
+ {
2815
+ "anonymous": false,
2816
+ "inputs": [
2817
+ {
2818
+ "indexed": true,
2819
+ "internalType": "address",
2820
+ "name": "from",
2821
+ "type": "address"
2822
+ },
2823
+ {
2824
+ "indexed": true,
2825
+ "internalType": "address",
2826
+ "name": "to",
2827
+ "type": "address"
2828
+ },
2829
+ {
2830
+ "indexed": false,
2831
+ "internalType": "uint256",
2832
+ "name": "amount",
2833
+ "type": "uint256"
2834
+ }
2835
+ ],
2836
+ "name": "CloseOutMarginSettled",
2837
+ "type": "event"
2838
+ },
2839
+ {
2840
+ "anonymous": false,
2841
+ "inputs": [
2842
+ {
2843
+ "indexed": true,
2844
+ "internalType": "address",
2845
+ "name": "account",
2846
+ "type": "address"
2847
+ },
2848
+ {
2849
+ "indexed": true,
2850
+ "internalType": "address",
2851
+ "name": "perpPool",
2852
+ "type": "address"
2853
+ },
2854
+ {
2855
+ "indexed": false,
2856
+ "internalType": "uint256",
2857
+ "name": "amount",
2858
+ "type": "uint256"
2859
+ }
2860
+ ],
2861
+ "name": "CollateralLocked",
2862
+ "type": "event"
2863
+ },
2864
+ {
2865
+ "anonymous": false,
2866
+ "inputs": [
2867
+ {
2868
+ "indexed": true,
2869
+ "internalType": "address",
2870
+ "name": "account",
2871
+ "type": "address"
2872
+ },
2873
+ {
2874
+ "indexed": true,
2875
+ "internalType": "address",
2876
+ "name": "perpPool",
2877
+ "type": "address"
2878
+ },
2879
+ {
2880
+ "indexed": false,
2881
+ "internalType": "uint256",
2882
+ "name": "amount",
2883
+ "type": "uint256"
2884
+ }
2885
+ ],
2886
+ "name": "CollateralUnlocked",
2887
+ "type": "event"
2888
+ },
2889
+ {
2890
+ "anonymous": false,
2891
+ "inputs": [
2892
+ {
2893
+ "indexed": true,
2894
+ "internalType": "address",
2895
+ "name": "granter",
2896
+ "type": "address"
2897
+ }
2898
+ ],
2899
+ "name": "CreditGranterSet",
2900
+ "type": "event"
2901
+ },
2902
+ {
2903
+ "anonymous": false,
2904
+ "inputs": [
2905
+ {
2906
+ "indexed": true,
2907
+ "internalType": "address",
2908
+ "name": "account",
2909
+ "type": "address"
2910
+ },
2911
+ {
2912
+ "indexed": false,
2913
+ "internalType": "uint256",
2914
+ "name": "amount",
2915
+ "type": "uint256"
2916
+ },
2917
+ {
2918
+ "indexed": true,
2919
+ "internalType": "address",
2920
+ "name": "granter",
2921
+ "type": "address"
2922
+ }
2923
+ ],
2924
+ "name": "CreditReclaimed",
2925
+ "type": "event"
2926
+ },
2927
+ {
2928
+ "anonymous": false,
2929
+ "inputs": [
2930
+ {
2931
+ "indexed": true,
2932
+ "internalType": "address",
2933
+ "name": "account",
2934
+ "type": "address"
2935
+ },
2936
+ {
2937
+ "indexed": false,
2938
+ "internalType": "uint256",
2939
+ "name": "amount",
2940
+ "type": "uint256"
2941
+ }
2942
+ ],
2943
+ "name": "Deposited",
2944
+ "type": "event"
2945
+ },
2946
+ {
2947
+ "anonymous": false,
2948
+ "inputs": [
2949
+ {
2950
+ "indexed": true,
2951
+ "internalType": "address",
2952
+ "name": "account",
2953
+ "type": "address"
2954
+ },
2955
+ {
2956
+ "indexed": true,
2957
+ "internalType": "address",
2958
+ "name": "perpPool",
2959
+ "type": "address"
2960
+ },
2961
+ {
2962
+ "indexed": false,
2963
+ "internalType": "uint256",
2964
+ "name": "amount",
2965
+ "type": "uint256"
2966
+ }
2967
+ ],
2968
+ "name": "DepositedFor",
2969
+ "type": "event"
2970
+ },
2971
+ {
2972
+ "anonymous": false,
2973
+ "inputs": [
2974
+ {
2975
+ "indexed": true,
2976
+ "internalType": "address",
2977
+ "name": "account",
2978
+ "type": "address"
2979
+ },
2980
+ {
2981
+ "indexed": true,
2982
+ "internalType": "address",
2983
+ "name": "perpPool",
2984
+ "type": "address"
2985
+ },
2986
+ {
2987
+ "indexed": false,
2988
+ "internalType": "uint256",
2989
+ "name": "amount",
2990
+ "type": "uint256"
2991
+ },
2992
+ {
2993
+ "indexed": false,
2994
+ "internalType": "uint256",
2995
+ "name": "insurancePortion",
2996
+ "type": "uint256"
2997
+ }
2998
+ ],
2999
+ "name": "FeeCharged",
3000
+ "type": "event"
3001
+ },
3002
+ {
3003
+ "anonymous": false,
3004
+ "inputs": [
3005
+ {
3006
+ "indexed": true,
3007
+ "internalType": "address",
3008
+ "name": "newAddress",
3009
+ "type": "address"
3010
+ }
3011
+ ],
3012
+ "name": "FeeRecipientAddressUpdated",
3013
+ "type": "event"
3014
+ },
3015
+ {
3016
+ "anonymous": false,
3017
+ "inputs": [
3018
+ {
3019
+ "indexed": true,
3020
+ "internalType": "address",
3021
+ "name": "a",
3022
+ "type": "address"
3023
+ },
3024
+ {
3025
+ "indexed": true,
3026
+ "internalType": "address",
3027
+ "name": "b",
3028
+ "type": "address"
3029
+ },
3030
+ {
3031
+ "indexed": true,
3032
+ "internalType": "address",
3033
+ "name": "perpPool",
3034
+ "type": "address"
3035
+ },
3036
+ {
3037
+ "indexed": false,
3038
+ "internalType": "int128",
3039
+ "name": "sizeReduced",
3040
+ "type": "int128"
3041
+ },
3042
+ {
3043
+ "indexed": false,
3044
+ "internalType": "uint256",
3045
+ "name": "price",
3046
+ "type": "uint256"
3047
+ },
3048
+ {
3049
+ "indexed": false,
3050
+ "internalType": "bool",
3051
+ "name": "aFullyClosed",
3052
+ "type": "bool"
3053
+ },
3054
+ {
3055
+ "indexed": false,
3056
+ "internalType": "bool",
3057
+ "name": "bFullyClosed",
3058
+ "type": "bool"
3059
+ }
3060
+ ],
3061
+ "name": "ForcedSettled",
3062
+ "type": "event"
3063
+ },
3064
+ {
3065
+ "anonymous": false,
3066
+ "inputs": [
3067
+ {
3068
+ "indexed": true,
3069
+ "internalType": "address",
3070
+ "name": "child",
3071
+ "type": "address"
3072
+ },
3073
+ {
3074
+ "indexed": true,
3075
+ "internalType": "address",
3076
+ "name": "payer",
3077
+ "type": "address"
3078
+ },
3079
+ {
3080
+ "indexed": false,
3081
+ "internalType": "uint256",
3082
+ "name": "amount",
3083
+ "type": "uint256"
3084
+ },
3085
+ {
3086
+ "indexed": false,
3087
+ "internalType": "uint256",
3088
+ "name": "outstandingPrincipal",
3089
+ "type": "uint256"
3090
+ }
3091
+ ],
3092
+ "name": "FundedPrincipalReturned",
3093
+ "type": "event"
3094
+ },
3095
+ {
3096
+ "anonymous": false,
3097
+ "inputs": [
3098
+ {
3099
+ "indexed": true,
3100
+ "internalType": "address",
3101
+ "name": "child",
3102
+ "type": "address"
3103
+ },
3104
+ {
3105
+ "indexed": false,
3106
+ "internalType": "uint256",
3107
+ "name": "previousPrincipal",
3108
+ "type": "uint256"
3109
+ },
3110
+ {
3111
+ "indexed": false,
3112
+ "internalType": "uint256",
3113
+ "name": "settledPrincipal",
3114
+ "type": "uint256"
3115
+ }
3116
+ ],
3117
+ "name": "FundedPrincipalSettled",
3118
+ "type": "event"
3119
+ },
3120
+ {
3121
+ "anonymous": false,
3122
+ "inputs": [
3123
+ {
3124
+ "indexed": true,
3125
+ "internalType": "address",
3126
+ "name": "account",
3127
+ "type": "address"
3128
+ },
3129
+ {
3130
+ "indexed": true,
3131
+ "internalType": "address",
3132
+ "name": "perpPool",
3133
+ "type": "address"
3134
+ },
3135
+ {
3136
+ "indexed": false,
3137
+ "internalType": "int256",
3138
+ "name": "payment",
3139
+ "type": "int256"
3140
+ }
3141
+ ],
3142
+ "name": "FundingSettled",
3143
+ "type": "event"
3144
+ },
3145
+ {
3146
+ "anonymous": false,
3147
+ "inputs": [
3148
+ {
3149
+ "indexed": false,
3150
+ "internalType": "uint64",
3151
+ "name": "version",
3152
+ "type": "uint64"
3153
+ }
3154
+ ],
3155
+ "name": "Initialized",
3156
+ "type": "event"
3157
+ },
3158
+ {
3159
+ "anonymous": false,
3160
+ "inputs": [
3161
+ {
3162
+ "indexed": true,
3163
+ "internalType": "address",
3164
+ "name": "newAddress",
3165
+ "type": "address"
3166
+ }
3167
+ ],
3168
+ "name": "InsuranceFundAddressUpdated",
3169
+ "type": "event"
3170
+ },
3171
+ {
3172
+ "anonymous": false,
3173
+ "inputs": [
3174
+ {
3175
+ "indexed": true,
3176
+ "internalType": "address",
3177
+ "name": "account",
3178
+ "type": "address"
3179
+ },
3180
+ {
3181
+ "indexed": false,
3182
+ "internalType": "bool",
3183
+ "name": "enabled",
3184
+ "type": "bool"
3185
+ }
3186
+ ],
3187
+ "name": "IsolatedModeSet",
3188
+ "type": "event"
3189
+ },
3190
+ {
3191
+ "anonymous": false,
3192
+ "inputs": [
3193
+ {
3194
+ "indexed": true,
3195
+ "internalType": "address",
3196
+ "name": "oldRegistry",
3197
+ "type": "address"
3198
+ },
3199
+ {
3200
+ "indexed": true,
3201
+ "internalType": "address",
3202
+ "name": "newRegistry",
3203
+ "type": "address"
3204
+ }
3205
+ ],
3206
+ "name": "LinkedWalletRegistrySet",
3207
+ "type": "event"
3208
+ },
3209
+ {
3210
+ "anonymous": false,
3211
+ "inputs": [
3212
+ {
3213
+ "indexed": true,
3214
+ "internalType": "address",
3215
+ "name": "newAddress",
3216
+ "type": "address"
3217
+ }
3218
+ ],
3219
+ "name": "LiquidationEngineSet",
3220
+ "type": "event"
3221
+ },
3222
+ {
3223
+ "anonymous": false,
3224
+ "inputs": [
3225
+ {
3226
+ "indexed": true,
3227
+ "internalType": "address",
3228
+ "name": "newRecipient",
3229
+ "type": "address"
3230
+ }
3231
+ ],
3232
+ "name": "LiquidationFeeRecipientUpdated",
3233
+ "type": "event"
3234
+ },
3235
+ {
3236
+ "anonymous": false,
3237
+ "inputs": [
3238
+ {
3239
+ "indexed": true,
3240
+ "internalType": "address",
3241
+ "name": "account",
3242
+ "type": "address"
3243
+ },
3244
+ {
3245
+ "indexed": true,
3246
+ "internalType": "address",
3247
+ "name": "perpPool",
3248
+ "type": "address"
3249
+ },
3250
+ {
3251
+ "indexed": false,
3252
+ "internalType": "uint256",
3253
+ "name": "panicCode",
3254
+ "type": "uint256"
3255
+ }
3256
+ ],
3257
+ "name": "LiquidationOrderPanicked",
3258
+ "type": "event"
3259
+ },
3260
+ {
3261
+ "anonymous": false,
3262
+ "inputs": [
3263
+ {
3264
+ "indexed": true,
3265
+ "internalType": "address",
3266
+ "name": "child",
3267
+ "type": "address"
3268
+ },
3269
+ {
3270
+ "indexed": true,
3271
+ "internalType": "address",
3272
+ "name": "payer",
3273
+ "type": "address"
3274
+ },
3275
+ {
3276
+ "indexed": false,
3277
+ "internalType": "uint256",
3278
+ "name": "amount",
3279
+ "type": "uint256"
3280
+ },
3281
+ {
3282
+ "indexed": false,
3283
+ "internalType": "uint256",
3284
+ "name": "outstandingPrincipal",
3285
+ "type": "uint256"
3286
+ }
3287
+ ],
3288
+ "name": "MainFundedChild",
3289
+ "type": "event"
3290
+ },
3291
+ {
3292
+ "anonymous": false,
3293
+ "inputs": [
3294
+ {
3295
+ "indexed": false,
3296
+ "internalType": "uint16",
3297
+ "name": "newLimit",
3298
+ "type": "uint16"
3299
+ }
3300
+ ],
3301
+ "name": "MaxLeverageLimitUpdated",
3302
+ "type": "event"
3303
+ },
3304
+ {
3305
+ "anonymous": false,
3306
+ "inputs": [
3307
+ {
3308
+ "indexed": true,
3309
+ "internalType": "address",
3310
+ "name": "account",
3311
+ "type": "address"
3312
+ },
3313
+ {
3314
+ "indexed": true,
3315
+ "internalType": "address",
3316
+ "name": "perpPool",
3317
+ "type": "address"
3318
+ },
3319
+ {
3320
+ "indexed": false,
3321
+ "internalType": "uint16",
3322
+ "name": "leverageX",
3323
+ "type": "uint16"
3324
+ }
3325
+ ],
3326
+ "name": "MaxLeverageSet",
3327
+ "type": "event"
3328
+ },
3329
+ {
3330
+ "anonymous": false,
3331
+ "inputs": [
3332
+ {
3333
+ "indexed": true,
3334
+ "internalType": "address",
3335
+ "name": "previousOwner",
3336
+ "type": "address"
3337
+ },
3338
+ {
3339
+ "indexed": true,
3340
+ "internalType": "address",
3341
+ "name": "newOwner",
3342
+ "type": "address"
3343
+ }
3344
+ ],
3345
+ "name": "OwnershipTransferStarted",
3346
+ "type": "event"
3347
+ },
3348
+ {
3349
+ "anonymous": false,
3350
+ "inputs": [
3351
+ {
3352
+ "indexed": true,
3353
+ "internalType": "address",
3354
+ "name": "previousOwner",
3355
+ "type": "address"
3356
+ },
3357
+ {
3358
+ "indexed": true,
3359
+ "internalType": "address",
3360
+ "name": "newOwner",
3361
+ "type": "address"
3362
+ }
3363
+ ],
3364
+ "name": "OwnershipTransferred",
3365
+ "type": "event"
3366
+ },
3367
+ {
3368
+ "anonymous": false,
3369
+ "inputs": [
3370
+ {
3371
+ "indexed": true,
3372
+ "internalType": "address",
3373
+ "name": "perpPool",
3374
+ "type": "address"
3375
+ }
3376
+ ],
3377
+ "name": "PerpPoolAdded",
3378
+ "type": "event"
3379
+ },
3380
+ {
3381
+ "anonymous": false,
3382
+ "inputs": [
3383
+ {
3384
+ "indexed": true,
3385
+ "internalType": "address",
3386
+ "name": "oldFactory",
3387
+ "type": "address"
3388
+ },
3389
+ {
3390
+ "indexed": true,
3391
+ "internalType": "address",
3392
+ "name": "newFactory",
3393
+ "type": "address"
3394
+ }
3395
+ ],
3396
+ "name": "PerpPoolFactoryUpdated",
3397
+ "type": "event"
3398
+ },
3399
+ {
3400
+ "anonymous": false,
3401
+ "inputs": [
3402
+ {
3403
+ "indexed": true,
3404
+ "internalType": "address",
3405
+ "name": "perpPool",
3406
+ "type": "address"
3407
+ }
3408
+ ],
3409
+ "name": "PerpPoolRemoved",
3410
+ "type": "event"
3411
+ },
3412
+ {
3413
+ "anonymous": false,
3414
+ "inputs": [
3415
+ {
3416
+ "indexed": true,
3417
+ "internalType": "address",
3418
+ "name": "from",
3419
+ "type": "address"
3420
+ },
3421
+ {
3422
+ "indexed": true,
3423
+ "internalType": "address",
3424
+ "name": "to",
3425
+ "type": "address"
3426
+ },
3427
+ {
3428
+ "indexed": true,
3429
+ "internalType": "address",
3430
+ "name": "perpPool",
3431
+ "type": "address"
3432
+ },
3433
+ {
3434
+ "indexed": false,
3435
+ "internalType": "int128",
3436
+ "name": "size",
3437
+ "type": "int128"
3438
+ },
3439
+ {
3440
+ "indexed": false,
3441
+ "internalType": "uint256",
3442
+ "name": "collateralTransferred",
3443
+ "type": "uint256"
3444
+ }
3445
+ ],
3446
+ "name": "PositionTransferred",
3447
+ "type": "event"
3448
+ },
3449
+ {
3450
+ "anonymous": false,
3451
+ "inputs": [
3452
+ {
3453
+ "indexed": true,
3454
+ "internalType": "address",
3455
+ "name": "account",
3456
+ "type": "address"
3457
+ },
3458
+ {
3459
+ "indexed": true,
3460
+ "internalType": "address",
3461
+ "name": "perpPool",
3462
+ "type": "address"
3463
+ },
3464
+ {
3465
+ "indexed": false,
3466
+ "internalType": "int128",
3467
+ "name": "newSize",
3468
+ "type": "int128"
3469
+ },
3470
+ {
3471
+ "indexed": false,
3472
+ "internalType": "uint128",
3473
+ "name": "avgEntryPrice",
3474
+ "type": "uint128"
3475
+ },
3476
+ {
3477
+ "indexed": false,
3478
+ "internalType": "int256",
3479
+ "name": "realizedPnl",
3480
+ "type": "int256"
3481
+ },
3482
+ {
3483
+ "indexed": false,
3484
+ "internalType": "int256",
3485
+ "name": "entryFundingIndex",
3486
+ "type": "int256"
3487
+ }
3488
+ ],
3489
+ "name": "PositionUpdated",
3490
+ "type": "event"
3491
+ },
3492
+ {
3493
+ "anonymous": false,
3494
+ "inputs": [
3495
+ {
3496
+ "indexed": true,
3497
+ "internalType": "address",
3498
+ "name": "account",
3499
+ "type": "address"
3500
+ },
3501
+ {
3502
+ "indexed": true,
3503
+ "internalType": "address",
3504
+ "name": "perpPool",
3505
+ "type": "address"
3506
+ },
3507
+ {
3508
+ "indexed": false,
3509
+ "internalType": "uint256",
3510
+ "name": "amount",
3511
+ "type": "uint256"
3512
+ }
3513
+ ],
3514
+ "name": "RebatePaid",
3515
+ "type": "event"
3516
+ },
3517
+ {
3518
+ "anonymous": false,
3519
+ "inputs": [
3520
+ {
3521
+ "indexed": true,
3522
+ "internalType": "address",
3523
+ "name": "account",
3524
+ "type": "address"
3525
+ },
3526
+ {
3527
+ "indexed": false,
3528
+ "internalType": "uint256",
3529
+ "name": "swept",
3530
+ "type": "uint256"
3531
+ }
3532
+ ],
3533
+ "name": "UnburnedAdlBurnSwept",
3534
+ "type": "event"
3535
+ },
3536
+ {
3537
+ "anonymous": false,
3538
+ "inputs": [
3539
+ {
3540
+ "indexed": true,
3541
+ "internalType": "address",
3542
+ "name": "implementation",
3543
+ "type": "address"
3544
+ }
3545
+ ],
3546
+ "name": "Upgraded",
3547
+ "type": "event"
3548
+ },
3549
+ {
3550
+ "anonymous": false,
3551
+ "inputs": [
3552
+ {
3553
+ "indexed": false,
3554
+ "internalType": "uint16",
3555
+ "name": "cap",
3556
+ "type": "uint16"
3557
+ }
3558
+ ],
3559
+ "name": "VoucherLeverageCapSet",
3560
+ "type": "event"
3561
+ },
3562
+ {
3563
+ "anonymous": false,
3564
+ "inputs": [
3565
+ {
3566
+ "indexed": true,
3567
+ "internalType": "address",
3568
+ "name": "perpPool",
3569
+ "type": "address"
3570
+ },
3571
+ {
3572
+ "indexed": false,
3573
+ "internalType": "bool",
3574
+ "name": "allowed",
3575
+ "type": "bool"
3576
+ }
3577
+ ],
3578
+ "name": "VoucherMarketAllowedSet",
3579
+ "type": "event"
3580
+ },
3581
+ {
3582
+ "anonymous": false,
3583
+ "inputs": [
3584
+ {
3585
+ "indexed": true,
3586
+ "internalType": "address",
3587
+ "name": "account",
3588
+ "type": "address"
3589
+ },
3590
+ {
3591
+ "indexed": false,
3592
+ "internalType": "uint256",
3593
+ "name": "amount",
3594
+ "type": "uint256"
3595
+ }
3596
+ ],
3597
+ "name": "Withdrawn",
3598
+ "type": "event"
3599
+ },
3600
+ {
3601
+ "inputs": [],
3602
+ "name": "AccountNotFlat",
3603
+ "type": "error"
3604
+ },
3605
+ {
3606
+ "inputs": [
3607
+ {
3608
+ "internalType": "address",
3609
+ "name": "target",
3610
+ "type": "address"
3611
+ }
3612
+ ],
3613
+ "name": "AddressEmptyCode",
3614
+ "type": "error"
3615
+ },
3616
+ {
3617
+ "inputs": [],
3618
+ "name": "AddressIsRegisteredBidder",
3619
+ "type": "error"
3620
+ },
3621
+ {
3622
+ "inputs": [],
3623
+ "name": "AdlBadBankruptcyPrice",
3624
+ "type": "error"
3625
+ },
3626
+ {
3627
+ "inputs": [],
3628
+ "name": "AdlCounterpartySameSide",
3629
+ "type": "error"
3630
+ },
3631
+ {
3632
+ "inputs": [],
3633
+ "name": "AdlFlipNotAllowed",
3634
+ "type": "error"
3635
+ },
3636
+ {
3637
+ "inputs": [],
3638
+ "name": "AdlSelfSettle",
3639
+ "type": "error"
3640
+ },
3641
+ {
3642
+ "inputs": [],
3643
+ "name": "AdlZeroNotional",
3644
+ "type": "error"
3645
+ },
3646
+ {
3647
+ "inputs": [],
3648
+ "name": "ArrayLengthMismatch",
3649
+ "type": "error"
3650
+ },
3651
+ {
3652
+ "inputs": [],
3653
+ "name": "BidderQuoteInProgress",
3654
+ "type": "error"
3655
+ },
3656
+ {
3657
+ "inputs": [],
3658
+ "name": "ChargeableExceedsDeficit",
3659
+ "type": "error"
3660
+ },
3661
+ {
3662
+ "inputs": [],
3663
+ "name": "CloseOutMarginExceedsBalance",
3664
+ "type": "error"
3665
+ },
3666
+ {
3667
+ "inputs": [
3668
+ {
3669
+ "internalType": "address",
3670
+ "name": "implementation",
3671
+ "type": "address"
3672
+ }
3673
+ ],
3674
+ "name": "ERC1967InvalidImplementation",
3675
+ "type": "error"
3676
+ },
3677
+ {
3678
+ "inputs": [],
3679
+ "name": "ERC1967NonPayable",
3680
+ "type": "error"
3681
+ },
3682
+ {
3683
+ "inputs": [],
3684
+ "name": "FailedCall",
3685
+ "type": "error"
3686
+ },
3687
+ {
3688
+ "inputs": [],
3689
+ "name": "FeeRecipientNotSet",
3690
+ "type": "error"
3691
+ },
3692
+ {
3693
+ "inputs": [],
3694
+ "name": "FillPriceOverflow",
3695
+ "type": "error"
3696
+ },
3697
+ {
3698
+ "inputs": [],
3699
+ "name": "FundedPrincipalOverflow",
3700
+ "type": "error"
3701
+ },
3702
+ {
3703
+ "inputs": [],
3704
+ "name": "FundingRecipientInDebt",
3705
+ "type": "error"
3706
+ },
3707
+ {
3708
+ "inputs": [],
3709
+ "name": "InsufficientCollateral",
3710
+ "type": "error"
3711
+ },
3712
+ {
3713
+ "inputs": [],
3714
+ "name": "InsufficientMargin",
3715
+ "type": "error"
3716
+ },
3717
+ {
3718
+ "inputs": [],
3719
+ "name": "InsufficientMarginAfterWithdrawal",
3720
+ "type": "error"
3721
+ },
3722
+ {
3723
+ "inputs": [],
3724
+ "name": "InsuranceFundCandidateHasDebt",
3725
+ "type": "error"
3726
+ },
3727
+ {
3728
+ "inputs": [],
3729
+ "name": "InsuranceFundCandidateHasPositions",
3730
+ "type": "error"
3731
+ },
3732
+ {
3733
+ "inputs": [],
3734
+ "name": "InsuranceFundCannotTrade",
3735
+ "type": "error"
3736
+ },
3737
+ {
3738
+ "inputs": [],
3739
+ "name": "InsuranceFundFeeRecipientConflict",
3740
+ "type": "error"
3741
+ },
3742
+ {
3743
+ "inputs": [],
3744
+ "name": "InsuranceFundNotSet",
3745
+ "type": "error"
3746
+ },
3747
+ {
3748
+ "inputs": [],
3749
+ "name": "InvalidAddress",
3750
+ "type": "error"
3751
+ },
3752
+ {
3753
+ "inputs": [],
3754
+ "name": "InvalidAmount",
3755
+ "type": "error"
3756
+ },
3757
+ {
3758
+ "inputs": [],
3759
+ "name": "InvalidCreditGranterContract",
3760
+ "type": "error"
3761
+ },
3762
+ {
3763
+ "inputs": [],
3764
+ "name": "InvalidFundingPayer",
3765
+ "type": "error"
3766
+ },
3767
+ {
3768
+ "inputs": [],
3769
+ "name": "InvalidInitialization",
3770
+ "type": "error"
3771
+ },
3772
+ {
3773
+ "inputs": [],
3774
+ "name": "InvalidInsuranceFundContract",
3775
+ "type": "error"
3776
+ },
3777
+ {
3778
+ "inputs": [],
3779
+ "name": "InvalidLeverage",
3780
+ "type": "error"
3781
+ },
3782
+ {
3783
+ "inputs": [],
3784
+ "name": "InvalidLinkedWalletRegistry",
3785
+ "type": "error"
3786
+ },
3787
+ {
3788
+ "inputs": [],
3789
+ "name": "InvalidLinkedWalletRegistryContract",
3790
+ "type": "error"
3791
+ },
3792
+ {
3793
+ "inputs": [],
3794
+ "name": "InvalidLiquidationEngineContract",
3795
+ "type": "error"
3796
+ },
3797
+ {
3798
+ "inputs": [],
3799
+ "name": "InvalidLiquidationFeeRecipient",
3800
+ "type": "error"
3801
+ },
3802
+ {
3803
+ "inputs": [],
3804
+ "name": "InvalidPerpPool",
3805
+ "type": "error"
3806
+ },
3807
+ {
3808
+ "inputs": [],
3809
+ "name": "InvalidPerpPoolFactory",
3810
+ "type": "error"
3811
+ },
3812
+ {
3813
+ "inputs": [],
3814
+ "name": "InvalidPerpPoolFactoryContract",
3815
+ "type": "error"
3816
+ },
3817
+ {
3818
+ "inputs": [],
3819
+ "name": "InvalidPoolRiskSnapshot",
3820
+ "type": "error"
3821
+ },
3822
+ {
3823
+ "inputs": [],
3824
+ "name": "IsolatedMarketBlocked",
3825
+ "type": "error"
3826
+ },
3827
+ {
3828
+ "inputs": [],
3829
+ "name": "IsolatedSpansMultipleMarkets",
3830
+ "type": "error"
3831
+ },
3832
+ {
3833
+ "inputs": [],
3834
+ "name": "LinkedWalletFundingDisabled",
3835
+ "type": "error"
3836
+ },
3837
+ {
3838
+ "inputs": [],
3839
+ "name": "LiquidationEngineNotSet",
3840
+ "type": "error"
3841
+ },
3842
+ {
3843
+ "inputs": [],
3844
+ "name": "LiquidationFeeRecipientCannotBeInsuranceFund",
3845
+ "type": "error"
3846
+ },
3847
+ {
3848
+ "inputs": [],
3849
+ "name": "MainFundedAccountCannotBeCredited",
3850
+ "type": "error"
3851
+ },
3852
+ {
3853
+ "inputs": [],
3854
+ "name": "NoBadDebt",
3855
+ "type": "error"
3856
+ },
3857
+ {
3858
+ "inputs": [],
3859
+ "name": "NoCreditToReclaim",
3860
+ "type": "error"
3861
+ },
3862
+ {
3863
+ "inputs": [],
3864
+ "name": "NoFundedPrincipal",
3865
+ "type": "error"
3866
+ },
3867
+ {
3868
+ "inputs": [],
3869
+ "name": "NoOpenPosition",
3870
+ "type": "error"
3871
+ },
3872
+ {
3873
+ "inputs": [],
3874
+ "name": "NoStateChange",
3875
+ "type": "error"
3876
+ },
3877
+ {
3878
+ "inputs": [],
3879
+ "name": "NotALinkedChild",
3880
+ "type": "error"
3881
+ },
3882
+ {
3883
+ "inputs": [],
3884
+ "name": "NotASideHolder",
3885
+ "type": "error"
3886
+ },
3887
+ {
3888
+ "inputs": [],
3889
+ "name": "NotInitializing",
3890
+ "type": "error"
3891
+ },
3892
+ {
3893
+ "inputs": [],
3894
+ "name": "NothingToReturn",
3895
+ "type": "error"
3896
+ },
3897
+ {
3898
+ "inputs": [],
3899
+ "name": "OnlyCreditGranter",
3900
+ "type": "error"
3901
+ },
3902
+ {
3903
+ "inputs": [],
3904
+ "name": "OnlyFundingPayer",
3905
+ "type": "error"
3906
+ },
3907
+ {
3908
+ "inputs": [],
3909
+ "name": "OnlyLiquidationEngine",
3910
+ "type": "error"
3911
+ },
3912
+ {
3913
+ "inputs": [],
3914
+ "name": "OnlyPerpPool",
3915
+ "type": "error"
3916
+ },
3917
+ {
3918
+ "inputs": [],
3919
+ "name": "OraclePriceStale",
3920
+ "type": "error"
3921
+ },
3922
+ {
3923
+ "inputs": [
3924
+ {
3925
+ "internalType": "address",
3926
+ "name": "owner",
3927
+ "type": "address"
3928
+ }
3929
+ ],
3930
+ "name": "OwnableInvalidOwner",
3931
+ "type": "error"
3932
+ },
3933
+ {
3934
+ "inputs": [
3935
+ {
3936
+ "internalType": "address",
3937
+ "name": "account",
3938
+ "type": "address"
3939
+ }
3940
+ ],
3941
+ "name": "OwnableUnauthorizedAccount",
3942
+ "type": "error"
3943
+ },
3944
+ {
3945
+ "inputs": [],
3946
+ "name": "PerpPoolAlreadyRegistered",
3947
+ "type": "error"
3948
+ },
3949
+ {
3950
+ "inputs": [],
3951
+ "name": "PerpPoolHasActivePositions",
3952
+ "type": "error"
3953
+ },
3954
+ {
3955
+ "inputs": [],
3956
+ "name": "PerpPoolNotFromFactory",
3957
+ "type": "error"
3958
+ },
3959
+ {
3960
+ "inputs": [],
3961
+ "name": "PerpPoolNotRegistered",
3962
+ "type": "error"
3963
+ },
3964
+ {
3965
+ "inputs": [],
3966
+ "name": "PerpPoolWrongMarginBank",
3967
+ "type": "error"
3968
+ },
3969
+ {
3970
+ "inputs": [],
3971
+ "name": "PriceOverflow",
3972
+ "type": "error"
3973
+ },
3974
+ {
3975
+ "inputs": [
3976
+ {
3977
+ "internalType": "address",
3978
+ "name": "outstandingPayer",
3979
+ "type": "address"
3980
+ }
3981
+ ],
3982
+ "name": "PriorFundingPayerOutstanding",
3983
+ "type": "error"
3984
+ },
3985
+ {
3986
+ "inputs": [],
3987
+ "name": "ReentrancyGuardReentrantCall",
3988
+ "type": "error"
3989
+ },
3990
+ {
3991
+ "inputs": [
3992
+ {
3993
+ "internalType": "uint8",
3994
+ "name": "bits",
3995
+ "type": "uint8"
3996
+ },
3997
+ {
3998
+ "internalType": "int256",
3999
+ "name": "value",
4000
+ "type": "int256"
4001
+ }
4002
+ ],
4003
+ "name": "SafeCastOverflowedIntDowncast",
4004
+ "type": "error"
4005
+ },
4006
+ {
4007
+ "inputs": [
4008
+ {
4009
+ "internalType": "uint8",
4010
+ "name": "bits",
4011
+ "type": "uint8"
4012
+ },
4013
+ {
4014
+ "internalType": "uint256",
4015
+ "name": "value",
4016
+ "type": "uint256"
4017
+ }
4018
+ ],
4019
+ "name": "SafeCastOverflowedUintDowncast",
4020
+ "type": "error"
4021
+ },
4022
+ {
4023
+ "inputs": [
4024
+ {
4025
+ "internalType": "address",
4026
+ "name": "token",
4027
+ "type": "address"
4028
+ }
4029
+ ],
4030
+ "name": "SafeERC20FailedOperation",
4031
+ "type": "error"
4032
+ },
4033
+ {
4034
+ "inputs": [],
4035
+ "name": "SideHolderIndexOutOfBounds",
4036
+ "type": "error"
4037
+ },
4038
+ {
4039
+ "inputs": [],
4040
+ "name": "TakeoverPriceOutOfRange",
4041
+ "type": "error"
4042
+ },
4043
+ {
4044
+ "inputs": [],
4045
+ "name": "TransferRecipientReserved",
4046
+ "type": "error"
4047
+ },
4048
+ {
4049
+ "inputs": [],
4050
+ "name": "TransferSourceAndDestinationSame",
4051
+ "type": "error"
4052
+ },
4053
+ {
4054
+ "inputs": [],
4055
+ "name": "UUPSUnauthorizedCallContext",
4056
+ "type": "error"
4057
+ },
4058
+ {
4059
+ "inputs": [
4060
+ {
4061
+ "internalType": "bytes32",
4062
+ "name": "slot",
4063
+ "type": "bytes32"
4064
+ }
4065
+ ],
4066
+ "name": "UUPSUnsupportedProxiableUUID",
4067
+ "type": "error"
4068
+ },
4069
+ {
4070
+ "inputs": [],
4071
+ "name": "VoucherAccountCannotBeMainFunded",
4072
+ "type": "error"
4073
+ },
4074
+ {
4075
+ "inputs": [],
4076
+ "name": "VoucherLeverageCapNotSet",
4077
+ "type": "error"
4078
+ },
4079
+ {
4080
+ "inputs": [],
4081
+ "name": "VoucherMarketNotAllowed",
4082
+ "type": "error"
4083
+ },
4084
+ {
4085
+ "inputs": [],
4086
+ "name": "VwapOverflow",
4087
+ "type": "error"
4088
+ },
4089
+ {
4090
+ "inputs": [],
4091
+ "name": "WithdrawalBelowCreditFloor",
4092
+ "type": "error"
4093
+ },
4094
+ {
4095
+ "inputs": [],
4096
+ "name": "WithdrawalBelowFundedPrincipal",
4097
+ "type": "error"
4098
+ }
4099
+ ];
4100
+ export const digest = "sha256:38228d86c80c3431fd29c5099daa90b99e4b6e4f8e3327648abb1e8b93f557a4";