@somnia-chain/contracts-sdk 0.3.9 → 0.3.13

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 (89) hide show
  1. package/dist/gen/abi/prophecy-oracle/OracleCore.js +6 -0
  2. package/dist/gen/abi/prophecy-oracle/OracleEntryPoint.d.ts +2 -2
  3. package/dist/gen/abi/prophecy-oracle/OracleEntryPoint.js +8 -2
  4. package/dist/gen/abi/prophecy-oracle/PriceFeedScheduler.js +6 -0
  5. package/dist/gen/abi/prophecy-oracle/QuestionModerationRegistry.js +6 -0
  6. package/dist/gen/abi/prophecy-oracle/QuestionNameRegistry.js +6 -0
  7. package/dist/gen/abi/somnia-agents/agentRegistry.js +7 -0
  8. package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.d.ts +2 -2
  9. package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.js +7 -2
  10. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.d.ts +2 -2
  11. package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.js +2 -6
  12. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LIT-PERP_baseToken.d.ts +2 -0
  13. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LIT-PERP_baseToken.js +3 -0
  14. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WTI-PERP_baseToken.d.ts +2 -0
  15. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WTI-PERP_baseToken.js +3 -0
  16. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ZEC-PERP_baseToken.d.ts +2 -0
  17. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ZEC-PERP_baseToken.js +3 -0
  18. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpsKeeperLens.d.ts +2 -0
  19. package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpsKeeperLens.js +3 -0
  20. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.d.ts +2 -0
  21. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.js +3 -0
  22. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.d.ts +2 -0
  23. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.js +3 -0
  24. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.d.ts +2 -0
  25. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.js +3 -0
  26. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.d.ts +2 -0
  27. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.js +3 -0
  28. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.d.ts +2 -0
  29. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.js +3 -0
  30. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.d.ts +2 -0
  31. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.js +3 -0
  32. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.d.ts +2 -0
  33. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.js +3 -0
  34. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.d.ts +2 -0
  35. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.js +3 -0
  36. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.d.ts +2 -0
  37. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.js +3 -0
  38. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.d.ts +2 -0
  39. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.js +3 -0
  40. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.d.ts +2 -0
  41. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.js +3 -0
  42. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.d.ts +2 -0
  43. package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.js +3 -0
  44. package/dist/gen/abi/somnia-dex-protocol/spot-pool.SpotPool_Implementation.js +4 -0
  45. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.d.ts +2 -2
  46. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.js +2 -6
  47. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.d.ts +2 -0
  48. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.js +3 -0
  49. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.d.ts +2 -0
  50. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.js +3 -0
  51. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.d.ts +2 -0
  52. package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.js +3 -0
  53. package/dist/gen/abi/somnia-markets/FeedMarketCreatorFactory.d.ts +2 -0
  54. package/dist/gen/abi/somnia-markets/FeedMarketCreatorFactory.js +3 -0
  55. package/dist/gen/abi/somnia-markets/SomiLock.d.ts +2 -2
  56. package/dist/gen/abi/somnia-markets/SomiLock.js +2 -2
  57. package/dist/gen/abi/somnia-markets/UserVaultFactory.d.ts +2 -0
  58. package/dist/gen/abi/somnia-markets/UserVaultFactory.js +3 -0
  59. package/dist/gen/abi/somnia-markets/UserVaultImpl.d.ts +2 -0
  60. package/dist/gen/abi/somnia-markets/UserVaultImpl.js +3 -0
  61. package/dist/gen/abis/1d0ea05bc53d.d.ts +231 -0
  62. package/dist/gen/abis/1d0ea05bc53d.js +301 -0
  63. package/dist/gen/abis/32cc7a5169e1.d.ts +1704 -0
  64. package/dist/gen/abis/32cc7a5169e1.js +2200 -0
  65. package/dist/gen/abis/49ad550ed87e.d.ts +692 -0
  66. package/dist/gen/abis/49ad550ed87e.js +897 -0
  67. package/dist/gen/abis/4a5210d62566.d.ts +2197 -0
  68. package/dist/gen/abis/4a5210d62566.js +2834 -0
  69. package/dist/gen/abis/{1a2db3035880.d.ts → 59f72604787a.d.ts} +419 -497
  70. package/dist/gen/abis/{1a2db3035880.js → 59f72604787a.js} +482 -576
  71. package/dist/gen/abis/{9818d0265866.d.ts → 5a4a0858050e.d.ts} +486 -472
  72. package/dist/gen/abis/{9818d0265866.js → 5a4a0858050e.js} +563 -531
  73. package/dist/gen/abis/914f4b7b21d6.d.ts +853 -0
  74. package/dist/gen/abis/914f4b7b21d6.js +1118 -0
  75. package/dist/gen/abis/{afc6a4821e4a.d.ts → ac9568ce34c8.d.ts} +260 -3
  76. package/dist/gen/abis/{afc6a4821e4a.js → ac9568ce34c8.js} +332 -3
  77. package/dist/gen/abis/d0e583337129.d.ts +575 -0
  78. package/dist/gen/abis/d0e583337129.js +741 -0
  79. package/dist/gen/abis/d4649fdaaab6.d.ts +713 -0
  80. package/dist/gen/abis/d4649fdaaab6.js +925 -0
  81. package/dist/gen/abis/ee870f549cb8.d.ts +888 -0
  82. package/dist/gen/abis/ee870f549cb8.js +1147 -0
  83. package/dist/gen/abis-index.d.ts +134 -46682
  84. package/dist/gen/abis-index.js +22 -6
  85. package/dist/gen/meta.d.ts +2 -2
  86. package/dist/gen/meta.js +2 -2
  87. package/dist/gen/registry.d.ts +1912 -33
  88. package/dist/gen/registry.js +1914 -33
  89. package/package.json +1 -1
@@ -0,0 +1,741 @@
1
+ // Generated by `registry sdk` from dist-public/ — do not edit.
2
+ export const abi_d0e583337129 = [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "internalType": "contract IMarginBank",
7
+ "name": "bank",
8
+ "type": "address"
9
+ },
10
+ {
11
+ "internalType": "uint256",
12
+ "name": "options",
13
+ "type": "uint256"
14
+ },
15
+ {
16
+ "internalType": "uint256",
17
+ "name": "word",
18
+ "type": "uint256"
19
+ }
20
+ ],
21
+ "name": "accountFrame",
22
+ "outputs": [
23
+ {
24
+ "components": [
25
+ {
26
+ "internalType": "uint64",
27
+ "name": "blockNumber",
28
+ "type": "uint64"
29
+ },
30
+ {
31
+ "internalType": "uint64",
32
+ "name": "timestamp",
33
+ "type": "uint64"
34
+ },
35
+ {
36
+ "internalType": "address",
37
+ "name": "engine",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "components": [
42
+ {
43
+ "internalType": "address",
44
+ "name": "pool",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "internalType": "enum IPerpsKeeperLens.Read",
49
+ "name": "read",
50
+ "type": "uint8"
51
+ },
52
+ {
53
+ "components": [
54
+ {
55
+ "internalType": "uint256",
56
+ "name": "oneBase",
57
+ "type": "uint256"
58
+ },
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "markPrice",
62
+ "type": "uint256"
63
+ },
64
+ {
65
+ "internalType": "int256",
66
+ "name": "projectedCumulativeFunding",
67
+ "type": "int256"
68
+ },
69
+ {
70
+ "internalType": "uint256",
71
+ "name": "effectiveIMFBps",
72
+ "type": "uint256"
73
+ },
74
+ {
75
+ "internalType": "uint256",
76
+ "name": "maintenanceMarginBps",
77
+ "type": "uint256"
78
+ },
79
+ {
80
+ "internalType": "uint256",
81
+ "name": "closeOutMarginBps",
82
+ "type": "uint256"
83
+ },
84
+ {
85
+ "internalType": "uint256",
86
+ "name": "staticIMFBps",
87
+ "type": "uint256"
88
+ }
89
+ ],
90
+ "internalType": "struct HealthSnapshot",
91
+ "name": "snapshot",
92
+ "type": "tuple"
93
+ },
94
+ {
95
+ "internalType": "enum IPerpsKeeperLens.Read",
96
+ "name": "statusRead",
97
+ "type": "uint8"
98
+ },
99
+ {
100
+ "internalType": "enum MarketStatus",
101
+ "name": "status",
102
+ "type": "uint8"
103
+ }
104
+ ],
105
+ "internalType": "struct IPerpsKeeperLens.LensMarket[]",
106
+ "name": "markets",
107
+ "type": "tuple[]"
108
+ },
109
+ {
110
+ "components": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "account",
114
+ "type": "address"
115
+ },
116
+ {
117
+ "internalType": "enum IPerpsKeeperLens.Read",
118
+ "name": "read",
119
+ "type": "uint8"
120
+ },
121
+ {
122
+ "internalType": "enum IPerpsKeeperLens.Read",
123
+ "name": "bidderRead",
124
+ "type": "uint8"
125
+ },
126
+ {
127
+ "internalType": "bool",
128
+ "name": "isBidder",
129
+ "type": "bool"
130
+ },
131
+ {
132
+ "components": [
133
+ {
134
+ "internalType": "int256",
135
+ "name": "unlockedCollateralBalance",
136
+ "type": "int256"
137
+ },
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "lockedCollateral",
141
+ "type": "uint256"
142
+ },
143
+ {
144
+ "internalType": "address[]",
145
+ "name": "activePerpPools",
146
+ "type": "address[]"
147
+ }
148
+ ],
149
+ "internalType": "struct AccountState",
150
+ "name": "state",
151
+ "type": "tuple"
152
+ },
153
+ {
154
+ "components": [
155
+ {
156
+ "internalType": "int128",
157
+ "name": "size",
158
+ "type": "int128"
159
+ },
160
+ {
161
+ "internalType": "uint128",
162
+ "name": "avgEntryPrice",
163
+ "type": "uint128"
164
+ },
165
+ {
166
+ "internalType": "int256",
167
+ "name": "entryFundingIndex",
168
+ "type": "int256"
169
+ },
170
+ {
171
+ "internalType": "uint64",
172
+ "name": "lastUpdatedTimestampNs",
173
+ "type": "uint64"
174
+ }
175
+ ],
176
+ "internalType": "struct Position[]",
177
+ "name": "positions",
178
+ "type": "tuple[]"
179
+ }
180
+ ],
181
+ "internalType": "struct IPerpsKeeperLens.LensAccount[]",
182
+ "name": "accounts",
183
+ "type": "tuple[]"
184
+ },
185
+ {
186
+ "components": [
187
+ {
188
+ "internalType": "address",
189
+ "name": "account",
190
+ "type": "address"
191
+ },
192
+ {
193
+ "internalType": "enum IPerpsKeeperLens.Read",
194
+ "name": "read",
195
+ "type": "uint8"
196
+ },
197
+ {
198
+ "internalType": "bool",
199
+ "name": "priceable",
200
+ "type": "bool"
201
+ },
202
+ {
203
+ "internalType": "enum MarginStatus",
204
+ "name": "status",
205
+ "type": "uint8"
206
+ },
207
+ {
208
+ "internalType": "int256",
209
+ "name": "equity",
210
+ "type": "int256"
211
+ },
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "imReq",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "mmReq",
220
+ "type": "uint256"
221
+ },
222
+ {
223
+ "internalType": "uint256",
224
+ "name": "cmReq",
225
+ "type": "uint256"
226
+ }
227
+ ],
228
+ "internalType": "struct IPerpsKeeperLens.LensBankHealth[]",
229
+ "name": "bankHealth",
230
+ "type": "tuple[]"
231
+ }
232
+ ],
233
+ "internalType": "struct IPerpsKeeperLens.Frame",
234
+ "name": "frame",
235
+ "type": "tuple"
236
+ }
237
+ ],
238
+ "stateMutability": "view",
239
+ "type": "function"
240
+ },
241
+ {
242
+ "inputs": [
243
+ {
244
+ "internalType": "contract IMarginBank",
245
+ "name": "bank",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "internalType": "uint256",
250
+ "name": "options",
251
+ "type": "uint256"
252
+ },
253
+ {
254
+ "internalType": "uint256",
255
+ "name": "wordA",
256
+ "type": "uint256"
257
+ },
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "wordB",
261
+ "type": "uint256"
262
+ }
263
+ ],
264
+ "name": "accountFrame2",
265
+ "outputs": [
266
+ {
267
+ "components": [
268
+ {
269
+ "internalType": "uint64",
270
+ "name": "blockNumber",
271
+ "type": "uint64"
272
+ },
273
+ {
274
+ "internalType": "uint64",
275
+ "name": "timestamp",
276
+ "type": "uint64"
277
+ },
278
+ {
279
+ "internalType": "address",
280
+ "name": "engine",
281
+ "type": "address"
282
+ },
283
+ {
284
+ "components": [
285
+ {
286
+ "internalType": "address",
287
+ "name": "pool",
288
+ "type": "address"
289
+ },
290
+ {
291
+ "internalType": "enum IPerpsKeeperLens.Read",
292
+ "name": "read",
293
+ "type": "uint8"
294
+ },
295
+ {
296
+ "components": [
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "oneBase",
300
+ "type": "uint256"
301
+ },
302
+ {
303
+ "internalType": "uint256",
304
+ "name": "markPrice",
305
+ "type": "uint256"
306
+ },
307
+ {
308
+ "internalType": "int256",
309
+ "name": "projectedCumulativeFunding",
310
+ "type": "int256"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "effectiveIMFBps",
315
+ "type": "uint256"
316
+ },
317
+ {
318
+ "internalType": "uint256",
319
+ "name": "maintenanceMarginBps",
320
+ "type": "uint256"
321
+ },
322
+ {
323
+ "internalType": "uint256",
324
+ "name": "closeOutMarginBps",
325
+ "type": "uint256"
326
+ },
327
+ {
328
+ "internalType": "uint256",
329
+ "name": "staticIMFBps",
330
+ "type": "uint256"
331
+ }
332
+ ],
333
+ "internalType": "struct HealthSnapshot",
334
+ "name": "snapshot",
335
+ "type": "tuple"
336
+ },
337
+ {
338
+ "internalType": "enum IPerpsKeeperLens.Read",
339
+ "name": "statusRead",
340
+ "type": "uint8"
341
+ },
342
+ {
343
+ "internalType": "enum MarketStatus",
344
+ "name": "status",
345
+ "type": "uint8"
346
+ }
347
+ ],
348
+ "internalType": "struct IPerpsKeeperLens.LensMarket[]",
349
+ "name": "markets",
350
+ "type": "tuple[]"
351
+ },
352
+ {
353
+ "components": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "account",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "internalType": "enum IPerpsKeeperLens.Read",
361
+ "name": "read",
362
+ "type": "uint8"
363
+ },
364
+ {
365
+ "internalType": "enum IPerpsKeeperLens.Read",
366
+ "name": "bidderRead",
367
+ "type": "uint8"
368
+ },
369
+ {
370
+ "internalType": "bool",
371
+ "name": "isBidder",
372
+ "type": "bool"
373
+ },
374
+ {
375
+ "components": [
376
+ {
377
+ "internalType": "int256",
378
+ "name": "unlockedCollateralBalance",
379
+ "type": "int256"
380
+ },
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "lockedCollateral",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "internalType": "address[]",
388
+ "name": "activePerpPools",
389
+ "type": "address[]"
390
+ }
391
+ ],
392
+ "internalType": "struct AccountState",
393
+ "name": "state",
394
+ "type": "tuple"
395
+ },
396
+ {
397
+ "components": [
398
+ {
399
+ "internalType": "int128",
400
+ "name": "size",
401
+ "type": "int128"
402
+ },
403
+ {
404
+ "internalType": "uint128",
405
+ "name": "avgEntryPrice",
406
+ "type": "uint128"
407
+ },
408
+ {
409
+ "internalType": "int256",
410
+ "name": "entryFundingIndex",
411
+ "type": "int256"
412
+ },
413
+ {
414
+ "internalType": "uint64",
415
+ "name": "lastUpdatedTimestampNs",
416
+ "type": "uint64"
417
+ }
418
+ ],
419
+ "internalType": "struct Position[]",
420
+ "name": "positions",
421
+ "type": "tuple[]"
422
+ }
423
+ ],
424
+ "internalType": "struct IPerpsKeeperLens.LensAccount[]",
425
+ "name": "accounts",
426
+ "type": "tuple[]"
427
+ },
428
+ {
429
+ "components": [
430
+ {
431
+ "internalType": "address",
432
+ "name": "account",
433
+ "type": "address"
434
+ },
435
+ {
436
+ "internalType": "enum IPerpsKeeperLens.Read",
437
+ "name": "read",
438
+ "type": "uint8"
439
+ },
440
+ {
441
+ "internalType": "bool",
442
+ "name": "priceable",
443
+ "type": "bool"
444
+ },
445
+ {
446
+ "internalType": "enum MarginStatus",
447
+ "name": "status",
448
+ "type": "uint8"
449
+ },
450
+ {
451
+ "internalType": "int256",
452
+ "name": "equity",
453
+ "type": "int256"
454
+ },
455
+ {
456
+ "internalType": "uint256",
457
+ "name": "imReq",
458
+ "type": "uint256"
459
+ },
460
+ {
461
+ "internalType": "uint256",
462
+ "name": "mmReq",
463
+ "type": "uint256"
464
+ },
465
+ {
466
+ "internalType": "uint256",
467
+ "name": "cmReq",
468
+ "type": "uint256"
469
+ }
470
+ ],
471
+ "internalType": "struct IPerpsKeeperLens.LensBankHealth[]",
472
+ "name": "bankHealth",
473
+ "type": "tuple[]"
474
+ }
475
+ ],
476
+ "internalType": "struct IPerpsKeeperLens.Frame",
477
+ "name": "frame",
478
+ "type": "tuple"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "inputs": [
486
+ {
487
+ "internalType": "contract IMarginBank",
488
+ "name": "bank",
489
+ "type": "address"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "options",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "address[]",
498
+ "name": "pools",
499
+ "type": "address[]"
500
+ },
501
+ {
502
+ "internalType": "address[]",
503
+ "name": "accounts",
504
+ "type": "address[]"
505
+ }
506
+ ],
507
+ "name": "marketFrame",
508
+ "outputs": [
509
+ {
510
+ "components": [
511
+ {
512
+ "internalType": "uint64",
513
+ "name": "blockNumber",
514
+ "type": "uint64"
515
+ },
516
+ {
517
+ "internalType": "uint64",
518
+ "name": "timestamp",
519
+ "type": "uint64"
520
+ },
521
+ {
522
+ "internalType": "address",
523
+ "name": "engine",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "components": [
528
+ {
529
+ "internalType": "address",
530
+ "name": "pool",
531
+ "type": "address"
532
+ },
533
+ {
534
+ "internalType": "enum IPerpsKeeperLens.Read",
535
+ "name": "read",
536
+ "type": "uint8"
537
+ },
538
+ {
539
+ "components": [
540
+ {
541
+ "internalType": "uint256",
542
+ "name": "oneBase",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "internalType": "uint256",
547
+ "name": "markPrice",
548
+ "type": "uint256"
549
+ },
550
+ {
551
+ "internalType": "int256",
552
+ "name": "projectedCumulativeFunding",
553
+ "type": "int256"
554
+ },
555
+ {
556
+ "internalType": "uint256",
557
+ "name": "effectiveIMFBps",
558
+ "type": "uint256"
559
+ },
560
+ {
561
+ "internalType": "uint256",
562
+ "name": "maintenanceMarginBps",
563
+ "type": "uint256"
564
+ },
565
+ {
566
+ "internalType": "uint256",
567
+ "name": "closeOutMarginBps",
568
+ "type": "uint256"
569
+ },
570
+ {
571
+ "internalType": "uint256",
572
+ "name": "staticIMFBps",
573
+ "type": "uint256"
574
+ }
575
+ ],
576
+ "internalType": "struct HealthSnapshot",
577
+ "name": "snapshot",
578
+ "type": "tuple"
579
+ },
580
+ {
581
+ "internalType": "enum IPerpsKeeperLens.Read",
582
+ "name": "statusRead",
583
+ "type": "uint8"
584
+ },
585
+ {
586
+ "internalType": "enum MarketStatus",
587
+ "name": "status",
588
+ "type": "uint8"
589
+ }
590
+ ],
591
+ "internalType": "struct IPerpsKeeperLens.LensMarket[]",
592
+ "name": "markets",
593
+ "type": "tuple[]"
594
+ },
595
+ {
596
+ "components": [
597
+ {
598
+ "internalType": "address",
599
+ "name": "account",
600
+ "type": "address"
601
+ },
602
+ {
603
+ "internalType": "enum IPerpsKeeperLens.Read",
604
+ "name": "read",
605
+ "type": "uint8"
606
+ },
607
+ {
608
+ "internalType": "enum IPerpsKeeperLens.Read",
609
+ "name": "bidderRead",
610
+ "type": "uint8"
611
+ },
612
+ {
613
+ "internalType": "bool",
614
+ "name": "isBidder",
615
+ "type": "bool"
616
+ },
617
+ {
618
+ "components": [
619
+ {
620
+ "internalType": "int256",
621
+ "name": "unlockedCollateralBalance",
622
+ "type": "int256"
623
+ },
624
+ {
625
+ "internalType": "uint256",
626
+ "name": "lockedCollateral",
627
+ "type": "uint256"
628
+ },
629
+ {
630
+ "internalType": "address[]",
631
+ "name": "activePerpPools",
632
+ "type": "address[]"
633
+ }
634
+ ],
635
+ "internalType": "struct AccountState",
636
+ "name": "state",
637
+ "type": "tuple"
638
+ },
639
+ {
640
+ "components": [
641
+ {
642
+ "internalType": "int128",
643
+ "name": "size",
644
+ "type": "int128"
645
+ },
646
+ {
647
+ "internalType": "uint128",
648
+ "name": "avgEntryPrice",
649
+ "type": "uint128"
650
+ },
651
+ {
652
+ "internalType": "int256",
653
+ "name": "entryFundingIndex",
654
+ "type": "int256"
655
+ },
656
+ {
657
+ "internalType": "uint64",
658
+ "name": "lastUpdatedTimestampNs",
659
+ "type": "uint64"
660
+ }
661
+ ],
662
+ "internalType": "struct Position[]",
663
+ "name": "positions",
664
+ "type": "tuple[]"
665
+ }
666
+ ],
667
+ "internalType": "struct IPerpsKeeperLens.LensAccount[]",
668
+ "name": "accounts",
669
+ "type": "tuple[]"
670
+ },
671
+ {
672
+ "components": [
673
+ {
674
+ "internalType": "address",
675
+ "name": "account",
676
+ "type": "address"
677
+ },
678
+ {
679
+ "internalType": "enum IPerpsKeeperLens.Read",
680
+ "name": "read",
681
+ "type": "uint8"
682
+ },
683
+ {
684
+ "internalType": "bool",
685
+ "name": "priceable",
686
+ "type": "bool"
687
+ },
688
+ {
689
+ "internalType": "enum MarginStatus",
690
+ "name": "status",
691
+ "type": "uint8"
692
+ },
693
+ {
694
+ "internalType": "int256",
695
+ "name": "equity",
696
+ "type": "int256"
697
+ },
698
+ {
699
+ "internalType": "uint256",
700
+ "name": "imReq",
701
+ "type": "uint256"
702
+ },
703
+ {
704
+ "internalType": "uint256",
705
+ "name": "mmReq",
706
+ "type": "uint256"
707
+ },
708
+ {
709
+ "internalType": "uint256",
710
+ "name": "cmReq",
711
+ "type": "uint256"
712
+ }
713
+ ],
714
+ "internalType": "struct IPerpsKeeperLens.LensBankHealth[]",
715
+ "name": "bankHealth",
716
+ "type": "tuple[]"
717
+ }
718
+ ],
719
+ "internalType": "struct IPerpsKeeperLens.Frame",
720
+ "name": "frame",
721
+ "type": "tuple"
722
+ }
723
+ ],
724
+ "stateMutability": "view",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [],
729
+ "name": "version",
730
+ "outputs": [
731
+ {
732
+ "internalType": "uint256",
733
+ "name": "",
734
+ "type": "uint256"
735
+ }
736
+ ],
737
+ "stateMutability": "pure",
738
+ "type": "function"
739
+ }
740
+ ];
741
+ export const digest = "sha256:d0e5833371292f505a1ac66072b7c8a1235bb967fdfbd74a281bed6bd11b9fb6";