@voltr/vault-sdk 0.1.6 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,6 +112,263 @@ export type VoltrVault = {
112
112
  ];
113
113
  "args": [];
114
114
  },
115
+ {
116
+ "name": "cancelRequestWithdrawVault";
117
+ "discriminator": [
118
+ 231,
119
+ 54,
120
+ 14,
121
+ 6,
122
+ 223,
123
+ 124,
124
+ 127,
125
+ 238
126
+ ];
127
+ "accounts": [
128
+ {
129
+ "name": "userTransferAuthority";
130
+ "docs": [
131
+ "The authority that owns the LP tokens and wants to redeem them"
132
+ ];
133
+ "writable": true;
134
+ "signer": true;
135
+ },
136
+ {
137
+ "name": "protocol";
138
+ "pda": {
139
+ "seeds": [
140
+ {
141
+ "kind": "const";
142
+ "value": [
143
+ 112,
144
+ 114,
145
+ 111,
146
+ 116,
147
+ 111,
148
+ 99,
149
+ 111,
150
+ 108
151
+ ];
152
+ }
153
+ ];
154
+ };
155
+ },
156
+ {
157
+ "name": "vault";
158
+ "writable": true;
159
+ },
160
+ {
161
+ "name": "vaultLpMint";
162
+ "writable": true;
163
+ "pda": {
164
+ "seeds": [
165
+ {
166
+ "kind": "const";
167
+ "value": [
168
+ 118,
169
+ 97,
170
+ 117,
171
+ 108,
172
+ 116,
173
+ 95,
174
+ 108,
175
+ 112,
176
+ 95,
177
+ 109,
178
+ 105,
179
+ 110,
180
+ 116
181
+ ];
182
+ },
183
+ {
184
+ "kind": "account";
185
+ "path": "vault";
186
+ }
187
+ ];
188
+ };
189
+ },
190
+ {
191
+ "name": "userLpAta";
192
+ "docs": [
193
+ "The user's LP token account from which LP tokens will be burned."
194
+ ];
195
+ "writable": true;
196
+ "pda": {
197
+ "seeds": [
198
+ {
199
+ "kind": "account";
200
+ "path": "userTransferAuthority";
201
+ },
202
+ {
203
+ "kind": "account";
204
+ "path": "lpTokenProgram";
205
+ },
206
+ {
207
+ "kind": "account";
208
+ "path": "vaultLpMint";
209
+ }
210
+ ];
211
+ "program": {
212
+ "kind": "const";
213
+ "value": [
214
+ 140,
215
+ 151,
216
+ 37,
217
+ 143,
218
+ 78,
219
+ 36,
220
+ 137,
221
+ 241,
222
+ 187,
223
+ 61,
224
+ 16,
225
+ 41,
226
+ 20,
227
+ 142,
228
+ 13,
229
+ 131,
230
+ 11,
231
+ 90,
232
+ 19,
233
+ 153,
234
+ 218,
235
+ 255,
236
+ 16,
237
+ 132,
238
+ 4,
239
+ 142,
240
+ 123,
241
+ 216,
242
+ 219,
243
+ 233,
244
+ 248,
245
+ 89
246
+ ];
247
+ };
248
+ };
249
+ },
250
+ {
251
+ "name": "requestWithdrawLpAta";
252
+ "docs": [
253
+ "The request's associated token account for LP."
254
+ ];
255
+ "writable": true;
256
+ "pda": {
257
+ "seeds": [
258
+ {
259
+ "kind": "account";
260
+ "path": "requestWithdrawVaultReceipt";
261
+ },
262
+ {
263
+ "kind": "account";
264
+ "path": "lpTokenProgram";
265
+ },
266
+ {
267
+ "kind": "account";
268
+ "path": "vaultLpMint";
269
+ }
270
+ ];
271
+ "program": {
272
+ "kind": "const";
273
+ "value": [
274
+ 140,
275
+ 151,
276
+ 37,
277
+ 143,
278
+ 78,
279
+ 36,
280
+ 137,
281
+ 241,
282
+ 187,
283
+ 61,
284
+ 16,
285
+ 41,
286
+ 20,
287
+ 142,
288
+ 13,
289
+ 131,
290
+ 11,
291
+ 90,
292
+ 19,
293
+ 153,
294
+ 218,
295
+ 255,
296
+ 16,
297
+ 132,
298
+ 4,
299
+ 142,
300
+ 123,
301
+ 216,
302
+ 219,
303
+ 233,
304
+ 248,
305
+ 89
306
+ ];
307
+ };
308
+ };
309
+ },
310
+ {
311
+ "name": "requestWithdrawVaultReceipt";
312
+ "writable": true;
313
+ "pda": {
314
+ "seeds": [
315
+ {
316
+ "kind": "const";
317
+ "value": [
318
+ 114,
319
+ 101,
320
+ 113,
321
+ 117,
322
+ 101,
323
+ 115,
324
+ 116,
325
+ 95,
326
+ 119,
327
+ 105,
328
+ 116,
329
+ 104,
330
+ 100,
331
+ 114,
332
+ 97,
333
+ 119,
334
+ 95,
335
+ 118,
336
+ 97,
337
+ 117,
338
+ 108,
339
+ 116,
340
+ 95,
341
+ 114,
342
+ 101,
343
+ 99,
344
+ 101,
345
+ 105,
346
+ 112,
347
+ 116
348
+ ];
349
+ },
350
+ {
351
+ "kind": "account";
352
+ "path": "vault";
353
+ },
354
+ {
355
+ "kind": "account";
356
+ "path": "userTransferAuthority";
357
+ }
358
+ ];
359
+ };
360
+ },
361
+ {
362
+ "name": "lpTokenProgram";
363
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
364
+ },
365
+ {
366
+ "name": "systemProgram";
367
+ "address": "11111111111111111111111111111111";
368
+ }
369
+ ];
370
+ "args": [];
371
+ },
115
372
  {
116
373
  "name": "depositStrategy";
117
374
  "discriminator": [
@@ -1050,16 +1307,16 @@ export type VoltrVault = {
1050
1307
  };
1051
1308
  },
1052
1309
  {
1053
- "name": "userLpAta";
1310
+ "name": "requestWithdrawLpAta";
1054
1311
  "docs": [
1055
- "The user's LP token account from which LP tokens will be burned."
1312
+ "The request's LP token account from which LP tokens will be burned."
1056
1313
  ];
1057
1314
  "writable": true;
1058
1315
  "pda": {
1059
1316
  "seeds": [
1060
1317
  {
1061
1318
  "kind": "account";
1062
- "path": "userTransferAuthority";
1319
+ "path": "requestWithdrawVaultReceipt";
1063
1320
  },
1064
1321
  {
1065
1322
  "kind": "account";
@@ -1267,33 +1524,72 @@ export type VoltrVault = {
1267
1524
  };
1268
1525
  },
1269
1526
  {
1270
- "name": "adaptorProgram";
1271
- },
1272
- {
1273
- "name": "assetTokenProgram";
1274
- },
1275
- {
1276
- "name": "lpTokenProgram";
1277
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
1278
- },
1279
- {
1280
- "name": "systemProgram";
1281
- "address": "11111111111111111111111111111111";
1282
- }
1283
- ];
1284
- "args": [
1527
+ "name": "requestWithdrawVaultReceipt";
1528
+ "writable": true;
1529
+ "pda": {
1530
+ "seeds": [
1531
+ {
1532
+ "kind": "const";
1533
+ "value": [
1534
+ 114,
1535
+ 101,
1536
+ 113,
1537
+ 117,
1538
+ 101,
1539
+ 115,
1540
+ 116,
1541
+ 95,
1542
+ 119,
1543
+ 105,
1544
+ 116,
1545
+ 104,
1546
+ 100,
1547
+ 114,
1548
+ 97,
1549
+ 119,
1550
+ 95,
1551
+ 118,
1552
+ 97,
1553
+ 117,
1554
+ 108,
1555
+ 116,
1556
+ 95,
1557
+ 114,
1558
+ 101,
1559
+ 99,
1560
+ 101,
1561
+ 105,
1562
+ 112,
1563
+ 116
1564
+ ];
1565
+ },
1566
+ {
1567
+ "kind": "account";
1568
+ "path": "vault";
1569
+ },
1570
+ {
1571
+ "kind": "account";
1572
+ "path": "userTransferAuthority";
1573
+ }
1574
+ ];
1575
+ };
1576
+ },
1285
1577
  {
1286
- "name": "amount";
1287
- "type": "u64";
1578
+ "name": "adaptorProgram";
1288
1579
  },
1289
1580
  {
1290
- "name": "isAmountInLp";
1291
- "type": "bool";
1581
+ "name": "assetTokenProgram";
1292
1582
  },
1293
1583
  {
1294
- "name": "isWithdrawAll";
1295
- "type": "bool";
1584
+ "name": "lpTokenProgram";
1585
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
1296
1586
  },
1587
+ {
1588
+ "name": "systemProgram";
1589
+ "address": "11111111111111111111111111111111";
1590
+ }
1591
+ ];
1592
+ "args": [
1297
1593
  {
1298
1594
  "name": "userArgs";
1299
1595
  "type": {
@@ -2023,12 +2319,273 @@ export type VoltrVault = {
2023
2319
  97,
2024
2320
  112,
2025
2321
  116,
2026
- 111,
2322
+ 111,
2323
+ 114,
2324
+ 95,
2325
+ 97,
2326
+ 100,
2327
+ 100,
2328
+ 95,
2329
+ 114,
2330
+ 101,
2331
+ 99,
2332
+ 101,
2333
+ 105,
2334
+ 112,
2335
+ 116
2336
+ ];
2337
+ },
2338
+ {
2339
+ "kind": "account";
2340
+ "path": "vault";
2341
+ },
2342
+ {
2343
+ "kind": "account";
2344
+ "path": "adaptorProgram";
2345
+ }
2346
+ ];
2347
+ };
2348
+ },
2349
+ {
2350
+ "name": "adaptorProgram";
2351
+ },
2352
+ {
2353
+ "name": "systemProgram";
2354
+ "address": "11111111111111111111111111111111";
2355
+ }
2356
+ ];
2357
+ "args": [];
2358
+ },
2359
+ {
2360
+ "name": "requestWithdrawVault";
2361
+ "discriminator": [
2362
+ 248,
2363
+ 225,
2364
+ 47,
2365
+ 22,
2366
+ 116,
2367
+ 144,
2368
+ 23,
2369
+ 143
2370
+ ];
2371
+ "accounts": [
2372
+ {
2373
+ "name": "payer";
2374
+ "docs": [
2375
+ "The payer of the request"
2376
+ ];
2377
+ "writable": true;
2378
+ "signer": true;
2379
+ },
2380
+ {
2381
+ "name": "userTransferAuthority";
2382
+ "docs": [
2383
+ "The authority that owns the LP tokens and wants to redeem them"
2384
+ ];
2385
+ "signer": true;
2386
+ },
2387
+ {
2388
+ "name": "protocol";
2389
+ "pda": {
2390
+ "seeds": [
2391
+ {
2392
+ "kind": "const";
2393
+ "value": [
2394
+ 112,
2395
+ 114,
2396
+ 111,
2397
+ 116,
2398
+ 111,
2399
+ 99,
2400
+ 111,
2401
+ 108
2402
+ ];
2403
+ }
2404
+ ];
2405
+ };
2406
+ },
2407
+ {
2408
+ "name": "vault";
2409
+ },
2410
+ {
2411
+ "name": "vaultLpMint";
2412
+ "pda": {
2413
+ "seeds": [
2414
+ {
2415
+ "kind": "const";
2416
+ "value": [
2417
+ 118,
2418
+ 97,
2419
+ 117,
2420
+ 108,
2421
+ 116,
2422
+ 95,
2423
+ 108,
2424
+ 112,
2425
+ 95,
2426
+ 109,
2427
+ 105,
2428
+ 110,
2429
+ 116
2430
+ ];
2431
+ },
2432
+ {
2433
+ "kind": "account";
2434
+ "path": "vault";
2435
+ }
2436
+ ];
2437
+ };
2438
+ },
2439
+ {
2440
+ "name": "userLpAta";
2441
+ "docs": [
2442
+ "The user's LP token account from which LP tokens will be burned."
2443
+ ];
2444
+ "writable": true;
2445
+ "pda": {
2446
+ "seeds": [
2447
+ {
2448
+ "kind": "account";
2449
+ "path": "userTransferAuthority";
2450
+ },
2451
+ {
2452
+ "kind": "account";
2453
+ "path": "lpTokenProgram";
2454
+ },
2455
+ {
2456
+ "kind": "account";
2457
+ "path": "vaultLpMint";
2458
+ }
2459
+ ];
2460
+ "program": {
2461
+ "kind": "const";
2462
+ "value": [
2463
+ 140,
2464
+ 151,
2465
+ 37,
2466
+ 143,
2467
+ 78,
2468
+ 36,
2469
+ 137,
2470
+ 241,
2471
+ 187,
2472
+ 61,
2473
+ 16,
2474
+ 41,
2475
+ 20,
2476
+ 142,
2477
+ 13,
2478
+ 131,
2479
+ 11,
2480
+ 90,
2481
+ 19,
2482
+ 153,
2483
+ 218,
2484
+ 255,
2485
+ 16,
2486
+ 132,
2487
+ 4,
2488
+ 142,
2489
+ 123,
2490
+ 216,
2491
+ 219,
2492
+ 233,
2493
+ 248,
2494
+ 89
2495
+ ];
2496
+ };
2497
+ };
2498
+ },
2499
+ {
2500
+ "name": "requestWithdrawLpAta";
2501
+ "docs": [
2502
+ "The request's associated token account for LP."
2503
+ ];
2504
+ "writable": true;
2505
+ "pda": {
2506
+ "seeds": [
2507
+ {
2508
+ "kind": "account";
2509
+ "path": "requestWithdrawVaultReceipt";
2510
+ },
2511
+ {
2512
+ "kind": "account";
2513
+ "path": "lpTokenProgram";
2514
+ },
2515
+ {
2516
+ "kind": "account";
2517
+ "path": "vaultLpMint";
2518
+ }
2519
+ ];
2520
+ "program": {
2521
+ "kind": "const";
2522
+ "value": [
2523
+ 140,
2524
+ 151,
2525
+ 37,
2526
+ 143,
2527
+ 78,
2528
+ 36,
2529
+ 137,
2530
+ 241,
2531
+ 187,
2532
+ 61,
2533
+ 16,
2534
+ 41,
2535
+ 20,
2536
+ 142,
2537
+ 13,
2538
+ 131,
2539
+ 11,
2540
+ 90,
2541
+ 19,
2542
+ 153,
2543
+ 218,
2544
+ 255,
2545
+ 16,
2546
+ 132,
2547
+ 4,
2548
+ 142,
2549
+ 123,
2550
+ 216,
2551
+ 219,
2552
+ 233,
2553
+ 248,
2554
+ 89
2555
+ ];
2556
+ };
2557
+ };
2558
+ },
2559
+ {
2560
+ "name": "requestWithdrawVaultReceipt";
2561
+ "writable": true;
2562
+ "pda": {
2563
+ "seeds": [
2564
+ {
2565
+ "kind": "const";
2566
+ "value": [
2567
+ 114,
2568
+ 101,
2569
+ 113,
2570
+ 117,
2571
+ 101,
2572
+ 115,
2573
+ 116,
2574
+ 95,
2575
+ 119,
2576
+ 105,
2577
+ 116,
2578
+ 104,
2579
+ 100,
2027
2580
  114,
2581
+ 97,
2582
+ 119,
2028
2583
  95,
2584
+ 118,
2029
2585
  97,
2030
- 100,
2031
- 100,
2586
+ 117,
2587
+ 108,
2588
+ 116,
2032
2589
  95,
2033
2590
  114,
2034
2591
  101,
@@ -2045,20 +2602,34 @@ export type VoltrVault = {
2045
2602
  },
2046
2603
  {
2047
2604
  "kind": "account";
2048
- "path": "adaptorProgram";
2605
+ "path": "userTransferAuthority";
2049
2606
  }
2050
2607
  ];
2051
2608
  };
2052
2609
  },
2053
2610
  {
2054
- "name": "adaptorProgram";
2611
+ "name": "lpTokenProgram";
2612
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
2055
2613
  },
2056
2614
  {
2057
2615
  "name": "systemProgram";
2058
2616
  "address": "11111111111111111111111111111111";
2059
2617
  }
2060
2618
  ];
2061
- "args": [];
2619
+ "args": [
2620
+ {
2621
+ "name": "amount";
2622
+ "type": "u64";
2623
+ },
2624
+ {
2625
+ "name": "isAmountInLp";
2626
+ "type": "bool";
2627
+ },
2628
+ {
2629
+ "name": "isWithdrawAll";
2630
+ "type": "bool";
2631
+ }
2632
+ ];
2062
2633
  },
2063
2634
  {
2064
2635
  "name": "updateVault";
@@ -2578,16 +3149,16 @@ export type VoltrVault = {
2578
3149
  };
2579
3150
  },
2580
3151
  {
2581
- "name": "userLpAta";
3152
+ "name": "requestWithdrawLpAta";
2582
3153
  "docs": [
2583
- "The user's LP token account from which LP tokens will be burned."
3154
+ "The request's LP token account from which LP tokens will be burned."
2584
3155
  ];
2585
3156
  "writable": true;
2586
3157
  "pda": {
2587
3158
  "seeds": [
2588
3159
  {
2589
3160
  "kind": "account";
2590
- "path": "userTransferAuthority";
3161
+ "path": "requestWithdrawVaultReceipt";
2591
3162
  },
2592
3163
  {
2593
3164
  "kind": "account";
@@ -2795,6 +3366,57 @@ export type VoltrVault = {
2795
3366
  };
2796
3367
  };
2797
3368
  },
3369
+ {
3370
+ "name": "requestWithdrawVaultReceipt";
3371
+ "writable": true;
3372
+ "pda": {
3373
+ "seeds": [
3374
+ {
3375
+ "kind": "const";
3376
+ "value": [
3377
+ 114,
3378
+ 101,
3379
+ 113,
3380
+ 117,
3381
+ 101,
3382
+ 115,
3383
+ 116,
3384
+ 95,
3385
+ 119,
3386
+ 105,
3387
+ 116,
3388
+ 104,
3389
+ 100,
3390
+ 114,
3391
+ 97,
3392
+ 119,
3393
+ 95,
3394
+ 118,
3395
+ 97,
3396
+ 117,
3397
+ 108,
3398
+ 116,
3399
+ 95,
3400
+ 114,
3401
+ 101,
3402
+ 99,
3403
+ 101,
3404
+ 105,
3405
+ 112,
3406
+ 116
3407
+ ];
3408
+ },
3409
+ {
3410
+ "kind": "account";
3411
+ "path": "vault";
3412
+ },
3413
+ {
3414
+ "kind": "account";
3415
+ "path": "userTransferAuthority";
3416
+ }
3417
+ ];
3418
+ };
3419
+ },
2798
3420
  {
2799
3421
  "name": "assetTokenProgram";
2800
3422
  },
@@ -2807,20 +3429,7 @@ export type VoltrVault = {
2807
3429
  "address": "11111111111111111111111111111111";
2808
3430
  }
2809
3431
  ];
2810
- "args": [
2811
- {
2812
- "name": "amount";
2813
- "type": "u64";
2814
- },
2815
- {
2816
- "name": "amountInLp";
2817
- "type": "bool";
2818
- },
2819
- {
2820
- "name": "withdrawAll";
2821
- "type": "bool";
2822
- }
2823
- ];
3432
+ "args": [];
2824
3433
  }
2825
3434
  ];
2826
3435
  "accounts": [
@@ -2863,6 +3472,19 @@ export type VoltrVault = {
2863
3472
  40
2864
3473
  ];
2865
3474
  },
3475
+ {
3476
+ "name": "requestWithdrawVaultReceipt";
3477
+ "discriminator": [
3478
+ 203,
3479
+ 81,
3480
+ 223,
3481
+ 141,
3482
+ 175,
3483
+ 108,
3484
+ 101,
3485
+ 114
3486
+ ];
3487
+ },
2866
3488
  {
2867
3489
  "name": "strategyInitReceipt";
2868
3490
  "discriminator": [
@@ -2960,6 +3582,16 @@ export type VoltrVault = {
2960
3582
  "code": 6013;
2961
3583
  "name": "adaptorEpochInvalid";
2962
3584
  "msg": "Adaptor epoch invalid.";
3585
+ },
3586
+ {
3587
+ "code": 6014;
3588
+ "name": "invalidFeeConfiguration";
3589
+ "msg": "Fee configuration invalid.";
3590
+ },
3591
+ {
3592
+ "code": 6015;
3593
+ "name": "withdrawalNotYetAvailable";
3594
+ "msg": "Withdrawal not yet available.";
2963
3595
  }
2964
3596
  ];
2965
3597
  "types": [
@@ -3141,6 +3773,20 @@ export type VoltrVault = {
3141
3773
  ];
3142
3774
  "type": "u16";
3143
3775
  },
3776
+ {
3777
+ "name": "redemptionFee";
3778
+ "docs": [
3779
+ "The redemption fee in basis points (BPS)."
3780
+ ];
3781
+ "type": "u16";
3782
+ },
3783
+ {
3784
+ "name": "issuanceFee";
3785
+ "docs": [
3786
+ "The issuance fee in basis points (BPS)."
3787
+ ];
3788
+ "type": "u16";
3789
+ },
3144
3790
  {
3145
3791
  "name": "reserved";
3146
3792
  "docs": [
@@ -3149,7 +3795,7 @@ export type VoltrVault = {
3149
3795
  "type": {
3150
3796
  "array": [
3151
3797
  "u8",
3152
- 56
3798
+ 52
3153
3799
  ];
3154
3800
  };
3155
3801
  }
@@ -3194,13 +3840,71 @@ export type VoltrVault = {
3194
3840
  "type": {
3195
3841
  "array": [
3196
3842
  "u8",
3197
- 56
3843
+ 24
3198
3844
  ];
3199
3845
  };
3200
3846
  }
3201
3847
  ];
3202
3848
  };
3203
3849
  },
3850
+ {
3851
+ "name": "highWaterMark";
3852
+ "serialization": "bytemuckunsafe";
3853
+ "repr": {
3854
+ "kind": "c";
3855
+ };
3856
+ "type": {
3857
+ "kind": "struct";
3858
+ "fields": [
3859
+ {
3860
+ "name": "highestAssetPerLpDecimalBits";
3861
+ "docs": [
3862
+ "The highest recorded total asset value per share"
3863
+ ];
3864
+ "type": "u128";
3865
+ },
3866
+ {
3867
+ "name": "lastUpdatedTs";
3868
+ "docs": [
3869
+ "The timestamp when the high water mark was last updated"
3870
+ ];
3871
+ "type": "u64";
3872
+ },
3873
+ {
3874
+ "name": "reserved";
3875
+ "docs": [
3876
+ "Reserved for future use"
3877
+ ];
3878
+ "type": {
3879
+ "array": [
3880
+ "u8",
3881
+ 8
3882
+ ];
3883
+ };
3884
+ }
3885
+ ];
3886
+ };
3887
+ },
3888
+ {
3889
+ "name": "lockedProfitState";
3890
+ "serialization": "bytemuckunsafe";
3891
+ "repr": {
3892
+ "kind": "c";
3893
+ };
3894
+ "type": {
3895
+ "kind": "struct";
3896
+ "fields": [
3897
+ {
3898
+ "name": "lastUpdatedLockedProfit";
3899
+ "type": "u64";
3900
+ },
3901
+ {
3902
+ "name": "lastReport";
3903
+ "type": "u64";
3904
+ }
3905
+ ];
3906
+ };
3907
+ },
3204
3908
  {
3205
3909
  "name": "protocol";
3206
3910
  "serialization": "bytemuckunsafe";
@@ -3265,6 +3969,46 @@ export type VoltrVault = {
3265
3969
  ];
3266
3970
  };
3267
3971
  },
3972
+ {
3973
+ "name": "requestWithdrawVaultReceipt";
3974
+ "serialization": "bytemuckunsafe";
3975
+ "repr": {
3976
+ "kind": "c";
3977
+ };
3978
+ "type": {
3979
+ "kind": "struct";
3980
+ "fields": [
3981
+ {
3982
+ "name": "vault";
3983
+ "type": "pubkey";
3984
+ },
3985
+ {
3986
+ "name": "user";
3987
+ "type": "pubkey";
3988
+ },
3989
+ {
3990
+ "name": "amountLpEscrowed";
3991
+ "type": "u64";
3992
+ },
3993
+ {
3994
+ "name": "amountAssetToWithdrawDecimalBits";
3995
+ "type": "u128";
3996
+ },
3997
+ {
3998
+ "name": "withdrawableFromTs";
3999
+ "type": "u64";
4000
+ },
4001
+ {
4002
+ "name": "bump";
4003
+ "type": "u8";
4004
+ },
4005
+ {
4006
+ "name": "version";
4007
+ "type": "u8";
4008
+ }
4009
+ ];
4010
+ };
4011
+ },
3268
4012
  {
3269
4013
  "name": "strategyInitReceipt";
3270
4014
  "serialization": "bytemuckunsafe";
@@ -3429,7 +4173,7 @@ export type VoltrVault = {
3429
4173
  {
3430
4174
  "name": "vaultConfiguration";
3431
4175
  "docs": [
3432
- "The vault fee and cap configuration (inline nested struct)."
4176
+ "The vault fee, cap, and locked profit degradation duration configuration (inline nested struct)."
3433
4177
  ];
3434
4178
  "type": {
3435
4179
  "defined": {
@@ -3459,6 +4203,14 @@ export type VoltrVault = {
3459
4203
  };
3460
4204
  };
3461
4205
  },
4206
+ {
4207
+ "name": "highWaterMark";
4208
+ "type": {
4209
+ "defined": {
4210
+ "name": "highWaterMark";
4211
+ };
4212
+ };
4213
+ },
3462
4214
  {
3463
4215
  "name": "lastUpdatedTs";
3464
4216
  "docs": [
@@ -3485,6 +4237,17 @@ export type VoltrVault = {
3485
4237
  ];
3486
4238
  };
3487
4239
  },
4240
+ {
4241
+ "name": "lockedProfitState";
4242
+ "docs": [
4243
+ "The locked profit state of the vault."
4244
+ ];
4245
+ "type": {
4246
+ "defined": {
4247
+ "name": "lockedProfitState";
4248
+ };
4249
+ };
4250
+ },
3488
4251
  {
3489
4252
  "name": "reserved";
3490
4253
  "docs": [
@@ -3493,7 +4256,7 @@ export type VoltrVault = {
3493
4256
  "type": {
3494
4257
  "array": [
3495
4258
  "u8",
3496
- 256
4259
+ 240
3497
4260
  ];
3498
4261
  };
3499
4262
  }
@@ -3575,6 +4338,20 @@ export type VoltrVault = {
3575
4338
  ];
3576
4339
  "type": "u64";
3577
4340
  },
4341
+ {
4342
+ "name": "lockedProfitDegradationDuration";
4343
+ "docs": [
4344
+ "The locked profit degradation duration."
4345
+ ];
4346
+ "type": "u64";
4347
+ },
4348
+ {
4349
+ "name": "withdrawalWaitingPeriod";
4350
+ "docs": [
4351
+ "The waiting period for a withdrawal. prec: seconds"
4352
+ ];
4353
+ "type": "u64";
4354
+ },
3578
4355
  {
3579
4356
  "name": "reserved";
3580
4357
  "docs": [
@@ -3583,7 +4360,7 @@ export type VoltrVault = {
3583
4360
  "type": {
3584
4361
  "array": [
3585
4362
  "u8",
3586
- 64
4363
+ 48
3587
4364
  ];
3588
4365
  };
3589
4366
  }
@@ -3636,6 +4413,34 @@ export type VoltrVault = {
3636
4413
  "Admin management fee in basis points (BPS)."
3637
4414
  ];
3638
4415
  "type": "u16";
4416
+ },
4417
+ {
4418
+ "name": "lockedProfitDegradationDuration";
4419
+ "docs": [
4420
+ "The locked profit degradation duration."
4421
+ ];
4422
+ "type": "u64";
4423
+ },
4424
+ {
4425
+ "name": "redemptionFee";
4426
+ "docs": [
4427
+ "The redemption fee in basis points (BPS)."
4428
+ ];
4429
+ "type": "u16";
4430
+ },
4431
+ {
4432
+ "name": "issuanceFee";
4433
+ "docs": [
4434
+ "The issuance fee in basis points (BPS)."
4435
+ ];
4436
+ "type": "u16";
4437
+ },
4438
+ {
4439
+ "name": "withdrawalWaitingPeriod";
4440
+ "docs": [
4441
+ "The waiting period for a withdrawal."
4442
+ ];
4443
+ "type": "u64";
3639
4444
  }
3640
4445
  ];
3641
4446
  };