@somnia-chain/contracts-sdk 0.3.9 → 0.3.14

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 (90) 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/abi/somnia-markets/venue-1.marketCreator.js +1 -0
  62. package/dist/gen/abis/1d0ea05bc53d.d.ts +231 -0
  63. package/dist/gen/abis/1d0ea05bc53d.js +301 -0
  64. package/dist/gen/abis/32cc7a5169e1.d.ts +1704 -0
  65. package/dist/gen/abis/32cc7a5169e1.js +2200 -0
  66. package/dist/gen/abis/49ad550ed87e.d.ts +692 -0
  67. package/dist/gen/abis/49ad550ed87e.js +897 -0
  68. package/dist/gen/abis/4a5210d62566.d.ts +2197 -0
  69. package/dist/gen/abis/4a5210d62566.js +2834 -0
  70. package/dist/gen/abis/{1a2db3035880.d.ts → 59f72604787a.d.ts} +419 -497
  71. package/dist/gen/abis/{1a2db3035880.js → 59f72604787a.js} +482 -576
  72. package/dist/gen/abis/{9818d0265866.d.ts → 5a4a0858050e.d.ts} +486 -472
  73. package/dist/gen/abis/{9818d0265866.js → 5a4a0858050e.js} +563 -531
  74. package/dist/gen/abis/914f4b7b21d6.d.ts +853 -0
  75. package/dist/gen/abis/914f4b7b21d6.js +1118 -0
  76. package/dist/gen/abis/{afc6a4821e4a.d.ts → ac9568ce34c8.d.ts} +260 -3
  77. package/dist/gen/abis/{afc6a4821e4a.js → ac9568ce34c8.js} +332 -3
  78. package/dist/gen/abis/d0e583337129.d.ts +575 -0
  79. package/dist/gen/abis/d0e583337129.js +741 -0
  80. package/dist/gen/abis/d4649fdaaab6.d.ts +713 -0
  81. package/dist/gen/abis/d4649fdaaab6.js +925 -0
  82. package/dist/gen/abis/ee870f549cb8.d.ts +888 -0
  83. package/dist/gen/abis/ee870f549cb8.js +1147 -0
  84. package/dist/gen/abis-index.d.ts +134 -46682
  85. package/dist/gen/abis-index.js +22 -6
  86. package/dist/gen/meta.d.ts +2 -2
  87. package/dist/gen/meta.js +2 -2
  88. package/dist/gen/registry.d.ts +1928 -33
  89. package/dist/gen/registry.js +1930 -33
  90. package/package.json +1 -1
@@ -0,0 +1,925 @@
1
+ // Generated by `registry sdk` from dist-public/ — do not edit.
2
+ export const abi_d4649fdaaab6 = [
3
+ {
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable",
6
+ "type": "constructor"
7
+ },
8
+ {
9
+ "inputs": [],
10
+ "name": "LEADER_FLOOR_BPS",
11
+ "outputs": [
12
+ {
13
+ "internalType": "uint256",
14
+ "name": "",
15
+ "type": "uint256"
16
+ }
17
+ ],
18
+ "stateMutability": "view",
19
+ "type": "function"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "LOCKUP_PERIOD",
24
+ "outputs": [
25
+ {
26
+ "internalType": "uint256",
27
+ "name": "",
28
+ "type": "uint256"
29
+ }
30
+ ],
31
+ "stateMutability": "view",
32
+ "type": "function"
33
+ },
34
+ {
35
+ "inputs": [],
36
+ "name": "MAX_TRIM_ROUNDS",
37
+ "outputs": [
38
+ {
39
+ "internalType": "uint256",
40
+ "name": "",
41
+ "type": "uint256"
42
+ }
43
+ ],
44
+ "stateMutability": "view",
45
+ "type": "function"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "TRIM_BPS",
50
+ "outputs": [
51
+ {
52
+ "internalType": "uint256",
53
+ "name": "",
54
+ "type": "uint256"
55
+ }
56
+ ],
57
+ "stateMutability": "view",
58
+ "type": "function"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "closableAt",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [],
75
+ "name": "closePositions",
76
+ "outputs": [],
77
+ "stateMutability": "nonpayable",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "closeVault",
83
+ "outputs": [],
84
+ "stateMutability": "nonpayable",
85
+ "type": "function"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "uint256",
91
+ "name": "assets",
92
+ "type": "uint256"
93
+ },
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "minShares",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "name": "deposit",
101
+ "outputs": [
102
+ {
103
+ "internalType": "uint256",
104
+ "name": "shares",
105
+ "type": "uint256"
106
+ }
107
+ ],
108
+ "stateMutability": "nonpayable",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "depositCap",
114
+ "outputs": [
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ },
124
+ {
125
+ "inputs": [],
126
+ "name": "depositsPaused",
127
+ "outputs": [
128
+ {
129
+ "internalType": "bool",
130
+ "name": "",
131
+ "type": "bool"
132
+ }
133
+ ],
134
+ "stateMutability": "view",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "description",
140
+ "outputs": [
141
+ {
142
+ "internalType": "string",
143
+ "name": "",
144
+ "type": "string"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "factory",
153
+ "outputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "address",
167
+ "name": "account",
168
+ "type": "address"
169
+ }
170
+ ],
171
+ "name": "getHolder",
172
+ "outputs": [
173
+ {
174
+ "components": [
175
+ {
176
+ "internalType": "uint128",
177
+ "name": "shares",
178
+ "type": "uint128"
179
+ },
180
+ {
181
+ "internalType": "uint128",
182
+ "name": "lockedShares",
183
+ "type": "uint128"
184
+ },
185
+ {
186
+ "internalType": "uint64",
187
+ "name": "unlockAt",
188
+ "type": "uint64"
189
+ },
190
+ {
191
+ "internalType": "uint192",
192
+ "name": "highWaterMark",
193
+ "type": "uint192"
194
+ }
195
+ ],
196
+ "internalType": "struct IUserVault.Holder",
197
+ "name": "",
198
+ "type": "tuple"
199
+ }
200
+ ],
201
+ "stateMutability": "view",
202
+ "type": "function"
203
+ },
204
+ {
205
+ "inputs": [],
206
+ "name": "getNav",
207
+ "outputs": [
208
+ {
209
+ "internalType": "int256",
210
+ "name": "",
211
+ "type": "int256"
212
+ }
213
+ ],
214
+ "stateMutability": "view",
215
+ "type": "function"
216
+ },
217
+ {
218
+ "inputs": [
219
+ {
220
+ "internalType": "address",
221
+ "name": "leader_",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "internalType": "uint256",
226
+ "name": "requiredStake_",
227
+ "type": "uint256"
228
+ },
229
+ {
230
+ "components": [
231
+ {
232
+ "internalType": "uint256",
233
+ "name": "seed",
234
+ "type": "uint256"
235
+ },
236
+ {
237
+ "internalType": "uint16",
238
+ "name": "profitShareBps",
239
+ "type": "uint16"
240
+ },
241
+ {
242
+ "internalType": "uint256",
243
+ "name": "depositCap",
244
+ "type": "uint256"
245
+ },
246
+ {
247
+ "internalType": "enum IUserVaultFactory.Strategy",
248
+ "name": "strategy",
249
+ "type": "uint8"
250
+ },
251
+ {
252
+ "internalType": "string",
253
+ "name": "name",
254
+ "type": "string"
255
+ },
256
+ {
257
+ "internalType": "string",
258
+ "name": "description",
259
+ "type": "string"
260
+ }
261
+ ],
262
+ "internalType": "struct IUserVaultFactory.CreateVaultParams",
263
+ "name": "params",
264
+ "type": "tuple"
265
+ }
266
+ ],
267
+ "name": "initialize",
268
+ "outputs": [],
269
+ "stateMutability": "nonpayable",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [],
274
+ "name": "isLeaderStaked",
275
+ "outputs": [
276
+ {
277
+ "internalType": "bool",
278
+ "name": "",
279
+ "type": "bool"
280
+ }
281
+ ],
282
+ "stateMutability": "view",
283
+ "type": "function"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "leader",
288
+ "outputs": [
289
+ {
290
+ "internalType": "address",
291
+ "name": "",
292
+ "type": "address"
293
+ }
294
+ ],
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [],
300
+ "name": "name",
301
+ "outputs": [
302
+ {
303
+ "internalType": "string",
304
+ "name": "",
305
+ "type": "string"
306
+ }
307
+ ],
308
+ "stateMutability": "view",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "operator",
314
+ "outputs": [
315
+ {
316
+ "internalType": "address",
317
+ "name": "",
318
+ "type": "address"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "profitShareBps",
327
+ "outputs": [
328
+ {
329
+ "internalType": "uint16",
330
+ "name": "",
331
+ "type": "uint16"
332
+ }
333
+ ],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "releaseStake",
340
+ "outputs": [],
341
+ "stateMutability": "nonpayable",
342
+ "type": "function"
343
+ },
344
+ {
345
+ "inputs": [],
346
+ "name": "requiredStake",
347
+ "outputs": [
348
+ {
349
+ "internalType": "uint256",
350
+ "name": "",
351
+ "type": "uint256"
352
+ }
353
+ ],
354
+ "stateMutability": "view",
355
+ "type": "function"
356
+ },
357
+ {
358
+ "inputs": [
359
+ {
360
+ "internalType": "uint256",
361
+ "name": "cap",
362
+ "type": "uint256"
363
+ }
364
+ ],
365
+ "name": "setDepositCap",
366
+ "outputs": [],
367
+ "stateMutability": "nonpayable",
368
+ "type": "function"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "bool",
374
+ "name": "paused",
375
+ "type": "bool"
376
+ }
377
+ ],
378
+ "name": "setDepositsPaused",
379
+ "outputs": [],
380
+ "stateMutability": "nonpayable",
381
+ "type": "function"
382
+ },
383
+ {
384
+ "inputs": [
385
+ {
386
+ "internalType": "address",
387
+ "name": "operator_",
388
+ "type": "address"
389
+ }
390
+ ],
391
+ "name": "setOperator",
392
+ "outputs": [],
393
+ "stateMutability": "nonpayable",
394
+ "type": "function"
395
+ },
396
+ {
397
+ "inputs": [],
398
+ "name": "sharePrice",
399
+ "outputs": [
400
+ {
401
+ "internalType": "uint256",
402
+ "name": "",
403
+ "type": "uint256"
404
+ }
405
+ ],
406
+ "stateMutability": "view",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [],
411
+ "name": "status",
412
+ "outputs": [
413
+ {
414
+ "internalType": "enum IUserVault.Status",
415
+ "name": "",
416
+ "type": "uint8"
417
+ }
418
+ ],
419
+ "stateMutability": "view",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [],
424
+ "name": "stopTrading",
425
+ "outputs": [],
426
+ "stateMutability": "nonpayable",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [],
431
+ "name": "strategy",
432
+ "outputs": [
433
+ {
434
+ "internalType": "enum IUserVaultFactory.Strategy",
435
+ "name": "",
436
+ "type": "uint8"
437
+ }
438
+ ],
439
+ "stateMutability": "view",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [],
444
+ "name": "totalShares",
445
+ "outputs": [
446
+ {
447
+ "internalType": "uint256",
448
+ "name": "",
449
+ "type": "uint256"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [
457
+ {
458
+ "internalType": "uint256",
459
+ "name": "shares",
460
+ "type": "uint256"
461
+ },
462
+ {
463
+ "internalType": "uint256",
464
+ "name": "minAssets",
465
+ "type": "uint256"
466
+ }
467
+ ],
468
+ "name": "withdraw",
469
+ "outputs": [
470
+ {
471
+ "internalType": "uint256",
472
+ "name": "assets",
473
+ "type": "uint256"
474
+ }
475
+ ],
476
+ "stateMutability": "nonpayable",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "address",
483
+ "name": "account",
484
+ "type": "address"
485
+ }
486
+ ],
487
+ "name": "withdrawableShares",
488
+ "outputs": [
489
+ {
490
+ "internalType": "uint256",
491
+ "name": "",
492
+ "type": "uint256"
493
+ }
494
+ ],
495
+ "stateMutability": "view",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "anonymous": false,
500
+ "inputs": [
501
+ {
502
+ "indexed": false,
503
+ "internalType": "uint256",
504
+ "name": "cap",
505
+ "type": "uint256"
506
+ }
507
+ ],
508
+ "name": "DepositCapSet",
509
+ "type": "event"
510
+ },
511
+ {
512
+ "anonymous": false,
513
+ "inputs": [
514
+ {
515
+ "indexed": true,
516
+ "internalType": "address",
517
+ "name": "account",
518
+ "type": "address"
519
+ },
520
+ {
521
+ "indexed": false,
522
+ "internalType": "uint256",
523
+ "name": "assets",
524
+ "type": "uint256"
525
+ },
526
+ {
527
+ "indexed": false,
528
+ "internalType": "uint256",
529
+ "name": "shares",
530
+ "type": "uint256"
531
+ },
532
+ {
533
+ "indexed": false,
534
+ "internalType": "uint256",
535
+ "name": "sharePrice",
536
+ "type": "uint256"
537
+ }
538
+ ],
539
+ "name": "Deposited",
540
+ "type": "event"
541
+ },
542
+ {
543
+ "anonymous": false,
544
+ "inputs": [
545
+ {
546
+ "indexed": false,
547
+ "internalType": "bool",
548
+ "name": "paused",
549
+ "type": "bool"
550
+ }
551
+ ],
552
+ "name": "DepositsPausedSet",
553
+ "type": "event"
554
+ },
555
+ {
556
+ "anonymous": false,
557
+ "inputs": [
558
+ {
559
+ "indexed": false,
560
+ "internalType": "uint64",
561
+ "name": "version",
562
+ "type": "uint64"
563
+ }
564
+ ],
565
+ "name": "Initialized",
566
+ "type": "event"
567
+ },
568
+ {
569
+ "anonymous": false,
570
+ "inputs": [
571
+ {
572
+ "indexed": true,
573
+ "internalType": "address",
574
+ "name": "operator",
575
+ "type": "address"
576
+ }
577
+ ],
578
+ "name": "OperatorSet",
579
+ "type": "event"
580
+ },
581
+ {
582
+ "anonymous": false,
583
+ "inputs": [
584
+ {
585
+ "indexed": true,
586
+ "internalType": "address",
587
+ "name": "pool",
588
+ "type": "address"
589
+ },
590
+ {
591
+ "indexed": false,
592
+ "internalType": "bytes",
593
+ "name": "reason",
594
+ "type": "bytes"
595
+ }
596
+ ],
597
+ "name": "PositionCloseFailed",
598
+ "type": "event"
599
+ },
600
+ {
601
+ "anonymous": false,
602
+ "inputs": [
603
+ {
604
+ "indexed": false,
605
+ "internalType": "bytes",
606
+ "name": "reason",
607
+ "type": "bytes"
608
+ }
609
+ ],
610
+ "name": "StakeReleaseFailed",
611
+ "type": "event"
612
+ },
613
+ {
614
+ "anonymous": false,
615
+ "inputs": [
616
+ {
617
+ "indexed": true,
618
+ "internalType": "address",
619
+ "name": "by",
620
+ "type": "address"
621
+ }
622
+ ],
623
+ "name": "TradingStopped",
624
+ "type": "event"
625
+ },
626
+ {
627
+ "anonymous": false,
628
+ "inputs": [
629
+ {
630
+ "indexed": true,
631
+ "internalType": "address",
632
+ "name": "by",
633
+ "type": "address"
634
+ },
635
+ {
636
+ "indexed": false,
637
+ "internalType": "bool",
638
+ "name": "byLeader",
639
+ "type": "bool"
640
+ }
641
+ ],
642
+ "name": "VaultClosed",
643
+ "type": "event"
644
+ },
645
+ {
646
+ "anonymous": false,
647
+ "inputs": [
648
+ {
649
+ "indexed": true,
650
+ "internalType": "address",
651
+ "name": "account",
652
+ "type": "address"
653
+ },
654
+ {
655
+ "indexed": false,
656
+ "internalType": "uint256",
657
+ "name": "shares",
658
+ "type": "uint256"
659
+ },
660
+ {
661
+ "indexed": false,
662
+ "internalType": "uint256",
663
+ "name": "feeShares",
664
+ "type": "uint256"
665
+ },
666
+ {
667
+ "indexed": false,
668
+ "internalType": "uint256",
669
+ "name": "assets",
670
+ "type": "uint256"
671
+ },
672
+ {
673
+ "indexed": false,
674
+ "internalType": "int256",
675
+ "name": "closingCost",
676
+ "type": "int256"
677
+ }
678
+ ],
679
+ "name": "Withdrawn",
680
+ "type": "event"
681
+ },
682
+ {
683
+ "inputs": [
684
+ {
685
+ "internalType": "uint256",
686
+ "name": "amount",
687
+ "type": "uint256"
688
+ },
689
+ {
690
+ "internalType": "uint256",
691
+ "name": "minimum",
692
+ "type": "uint256"
693
+ }
694
+ ],
695
+ "name": "BelowMinimum",
696
+ "type": "error"
697
+ },
698
+ {
699
+ "inputs": [
700
+ {
701
+ "internalType": "address",
702
+ "name": "pool",
703
+ "type": "address"
704
+ }
705
+ ],
706
+ "name": "CloseOutOfGas",
707
+ "type": "error"
708
+ },
709
+ {
710
+ "inputs": [
711
+ {
712
+ "internalType": "uint256",
713
+ "name": "assets",
714
+ "type": "uint256"
715
+ },
716
+ {
717
+ "internalType": "uint256",
718
+ "name": "minDeposit",
719
+ "type": "uint256"
720
+ }
721
+ ],
722
+ "name": "DepositBelowMinimum",
723
+ "type": "error"
724
+ },
725
+ {
726
+ "inputs": [
727
+ {
728
+ "internalType": "uint256",
729
+ "name": "valueAfter",
730
+ "type": "uint256"
731
+ },
732
+ {
733
+ "internalType": "uint256",
734
+ "name": "cap",
735
+ "type": "uint256"
736
+ }
737
+ ],
738
+ "name": "DepositCapExceeded",
739
+ "type": "error"
740
+ },
741
+ {
742
+ "inputs": [],
743
+ "name": "DepositsArePaused",
744
+ "type": "error"
745
+ },
746
+ {
747
+ "inputs": [
748
+ {
749
+ "internalType": "uint256",
750
+ "name": "requested",
751
+ "type": "uint256"
752
+ },
753
+ {
754
+ "internalType": "uint256",
755
+ "name": "held",
756
+ "type": "uint256"
757
+ }
758
+ ],
759
+ "name": "InsufficientShares",
760
+ "type": "error"
761
+ },
762
+ {
763
+ "inputs": [],
764
+ "name": "InvalidInitialization",
765
+ "type": "error"
766
+ },
767
+ {
768
+ "inputs": [],
769
+ "name": "LeaderFloorBreached",
770
+ "type": "error"
771
+ },
772
+ {
773
+ "inputs": [],
774
+ "name": "LeaderNotStaked",
775
+ "type": "error"
776
+ },
777
+ {
778
+ "inputs": [
779
+ {
780
+ "internalType": "uint256",
781
+ "name": "closableAt",
782
+ "type": "uint256"
783
+ }
784
+ ],
785
+ "name": "LeaderStillActive",
786
+ "type": "error"
787
+ },
788
+ {
789
+ "inputs": [],
790
+ "name": "LeaderStillStaked",
791
+ "type": "error"
792
+ },
793
+ {
794
+ "inputs": [],
795
+ "name": "MarkPriceUnavailable",
796
+ "type": "error"
797
+ },
798
+ {
799
+ "inputs": [],
800
+ "name": "NoStateChange",
801
+ "type": "error"
802
+ },
803
+ {
804
+ "inputs": [],
805
+ "name": "NotInitializing",
806
+ "type": "error"
807
+ },
808
+ {
809
+ "inputs": [],
810
+ "name": "NotLeader",
811
+ "type": "error"
812
+ },
813
+ {
814
+ "inputs": [],
815
+ "name": "NotShareholder",
816
+ "type": "error"
817
+ },
818
+ {
819
+ "inputs": [
820
+ {
821
+ "internalType": "address",
822
+ "name": "operator",
823
+ "type": "address"
824
+ }
825
+ ],
826
+ "name": "OperatorStillSet",
827
+ "type": "error"
828
+ },
829
+ {
830
+ "inputs": [],
831
+ "name": "ReentrancyGuardReentrantCall",
832
+ "type": "error"
833
+ },
834
+ {
835
+ "inputs": [
836
+ {
837
+ "internalType": "int256",
838
+ "name": "value",
839
+ "type": "int256"
840
+ }
841
+ ],
842
+ "name": "SafeCastOverflowedIntToUint",
843
+ "type": "error"
844
+ },
845
+ {
846
+ "inputs": [
847
+ {
848
+ "internalType": "uint8",
849
+ "name": "bits",
850
+ "type": "uint8"
851
+ },
852
+ {
853
+ "internalType": "uint256",
854
+ "name": "value",
855
+ "type": "uint256"
856
+ }
857
+ ],
858
+ "name": "SafeCastOverflowedUintDowncast",
859
+ "type": "error"
860
+ },
861
+ {
862
+ "inputs": [
863
+ {
864
+ "internalType": "uint256",
865
+ "name": "value",
866
+ "type": "uint256"
867
+ }
868
+ ],
869
+ "name": "SafeCastOverflowedUintToInt",
870
+ "type": "error"
871
+ },
872
+ {
873
+ "inputs": [
874
+ {
875
+ "internalType": "address",
876
+ "name": "token",
877
+ "type": "address"
878
+ }
879
+ ],
880
+ "name": "SafeERC20FailedOperation",
881
+ "type": "error"
882
+ },
883
+ {
884
+ "inputs": [
885
+ {
886
+ "internalType": "uint256",
887
+ "name": "unlockAt",
888
+ "type": "uint256"
889
+ }
890
+ ],
891
+ "name": "SharesLocked",
892
+ "type": "error"
893
+ },
894
+ {
895
+ "inputs": [],
896
+ "name": "VaultInsolvent",
897
+ "type": "error"
898
+ },
899
+ {
900
+ "inputs": [],
901
+ "name": "VaultNotActive",
902
+ "type": "error"
903
+ },
904
+ {
905
+ "inputs": [],
906
+ "name": "VaultNotClosed",
907
+ "type": "error"
908
+ },
909
+ {
910
+ "inputs": [],
911
+ "name": "WithdrawalUnpayable",
912
+ "type": "error"
913
+ },
914
+ {
915
+ "inputs": [],
916
+ "name": "ZeroAddress",
917
+ "type": "error"
918
+ },
919
+ {
920
+ "inputs": [],
921
+ "name": "ZeroAmount",
922
+ "type": "error"
923
+ }
924
+ ];
925
+ export const digest = "sha256:d4649fdaaab698369eb14cf0f19054e90f330ad7125d2abcf3527d71afc8d195";