@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.
@@ -106,6 +106,263 @@
106
106
  ],
107
107
  "args": []
108
108
  },
109
+ {
110
+ "name": "cancel_request_withdraw_vault",
111
+ "discriminator": [
112
+ 231,
113
+ 54,
114
+ 14,
115
+ 6,
116
+ 223,
117
+ 124,
118
+ 127,
119
+ 238
120
+ ],
121
+ "accounts": [
122
+ {
123
+ "name": "user_transfer_authority",
124
+ "docs": [
125
+ "The authority that owns the LP tokens and wants to redeem them"
126
+ ],
127
+ "writable": true,
128
+ "signer": true
129
+ },
130
+ {
131
+ "name": "protocol",
132
+ "pda": {
133
+ "seeds": [
134
+ {
135
+ "kind": "const",
136
+ "value": [
137
+ 112,
138
+ 114,
139
+ 111,
140
+ 116,
141
+ 111,
142
+ 99,
143
+ 111,
144
+ 108
145
+ ]
146
+ }
147
+ ]
148
+ }
149
+ },
150
+ {
151
+ "name": "vault",
152
+ "writable": true
153
+ },
154
+ {
155
+ "name": "vault_lp_mint",
156
+ "writable": true,
157
+ "pda": {
158
+ "seeds": [
159
+ {
160
+ "kind": "const",
161
+ "value": [
162
+ 118,
163
+ 97,
164
+ 117,
165
+ 108,
166
+ 116,
167
+ 95,
168
+ 108,
169
+ 112,
170
+ 95,
171
+ 109,
172
+ 105,
173
+ 110,
174
+ 116
175
+ ]
176
+ },
177
+ {
178
+ "kind": "account",
179
+ "path": "vault"
180
+ }
181
+ ]
182
+ }
183
+ },
184
+ {
185
+ "name": "user_lp_ata",
186
+ "docs": [
187
+ "The user's LP token account from which LP tokens will be burned."
188
+ ],
189
+ "writable": true,
190
+ "pda": {
191
+ "seeds": [
192
+ {
193
+ "kind": "account",
194
+ "path": "user_transfer_authority"
195
+ },
196
+ {
197
+ "kind": "account",
198
+ "path": "lp_token_program"
199
+ },
200
+ {
201
+ "kind": "account",
202
+ "path": "vault_lp_mint"
203
+ }
204
+ ],
205
+ "program": {
206
+ "kind": "const",
207
+ "value": [
208
+ 140,
209
+ 151,
210
+ 37,
211
+ 143,
212
+ 78,
213
+ 36,
214
+ 137,
215
+ 241,
216
+ 187,
217
+ 61,
218
+ 16,
219
+ 41,
220
+ 20,
221
+ 142,
222
+ 13,
223
+ 131,
224
+ 11,
225
+ 90,
226
+ 19,
227
+ 153,
228
+ 218,
229
+ 255,
230
+ 16,
231
+ 132,
232
+ 4,
233
+ 142,
234
+ 123,
235
+ 216,
236
+ 219,
237
+ 233,
238
+ 248,
239
+ 89
240
+ ]
241
+ }
242
+ }
243
+ },
244
+ {
245
+ "name": "request_withdraw_lp_ata",
246
+ "docs": [
247
+ "The request's associated token account for LP."
248
+ ],
249
+ "writable": true,
250
+ "pda": {
251
+ "seeds": [
252
+ {
253
+ "kind": "account",
254
+ "path": "request_withdraw_vault_receipt"
255
+ },
256
+ {
257
+ "kind": "account",
258
+ "path": "lp_token_program"
259
+ },
260
+ {
261
+ "kind": "account",
262
+ "path": "vault_lp_mint"
263
+ }
264
+ ],
265
+ "program": {
266
+ "kind": "const",
267
+ "value": [
268
+ 140,
269
+ 151,
270
+ 37,
271
+ 143,
272
+ 78,
273
+ 36,
274
+ 137,
275
+ 241,
276
+ 187,
277
+ 61,
278
+ 16,
279
+ 41,
280
+ 20,
281
+ 142,
282
+ 13,
283
+ 131,
284
+ 11,
285
+ 90,
286
+ 19,
287
+ 153,
288
+ 218,
289
+ 255,
290
+ 16,
291
+ 132,
292
+ 4,
293
+ 142,
294
+ 123,
295
+ 216,
296
+ 219,
297
+ 233,
298
+ 248,
299
+ 89
300
+ ]
301
+ }
302
+ }
303
+ },
304
+ {
305
+ "name": "request_withdraw_vault_receipt",
306
+ "writable": true,
307
+ "pda": {
308
+ "seeds": [
309
+ {
310
+ "kind": "const",
311
+ "value": [
312
+ 114,
313
+ 101,
314
+ 113,
315
+ 117,
316
+ 101,
317
+ 115,
318
+ 116,
319
+ 95,
320
+ 119,
321
+ 105,
322
+ 116,
323
+ 104,
324
+ 100,
325
+ 114,
326
+ 97,
327
+ 119,
328
+ 95,
329
+ 118,
330
+ 97,
331
+ 117,
332
+ 108,
333
+ 116,
334
+ 95,
335
+ 114,
336
+ 101,
337
+ 99,
338
+ 101,
339
+ 105,
340
+ 112,
341
+ 116
342
+ ]
343
+ },
344
+ {
345
+ "kind": "account",
346
+ "path": "vault"
347
+ },
348
+ {
349
+ "kind": "account",
350
+ "path": "user_transfer_authority"
351
+ }
352
+ ]
353
+ }
354
+ },
355
+ {
356
+ "name": "lp_token_program",
357
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
358
+ },
359
+ {
360
+ "name": "system_program",
361
+ "address": "11111111111111111111111111111111"
362
+ }
363
+ ],
364
+ "args": []
365
+ },
109
366
  {
110
367
  "name": "deposit_strategy",
111
368
  "discriminator": [
@@ -1044,16 +1301,16 @@
1044
1301
  }
1045
1302
  },
1046
1303
  {
1047
- "name": "user_lp_ata",
1304
+ "name": "request_withdraw_lp_ata",
1048
1305
  "docs": [
1049
- "The user's LP token account from which LP tokens will be burned."
1306
+ "The request's LP token account from which LP tokens will be burned."
1050
1307
  ],
1051
1308
  "writable": true,
1052
1309
  "pda": {
1053
1310
  "seeds": [
1054
1311
  {
1055
1312
  "kind": "account",
1056
- "path": "user_transfer_authority"
1313
+ "path": "request_withdraw_vault_receipt"
1057
1314
  },
1058
1315
  {
1059
1316
  "kind": "account",
@@ -1261,33 +1518,72 @@
1261
1518
  }
1262
1519
  },
1263
1520
  {
1264
- "name": "adaptor_program"
1265
- },
1266
- {
1267
- "name": "asset_token_program"
1268
- },
1269
- {
1270
- "name": "lp_token_program",
1271
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
1272
- },
1273
- {
1274
- "name": "system_program",
1275
- "address": "11111111111111111111111111111111"
1276
- }
1277
- ],
1278
- "args": [
1521
+ "name": "request_withdraw_vault_receipt",
1522
+ "writable": true,
1523
+ "pda": {
1524
+ "seeds": [
1525
+ {
1526
+ "kind": "const",
1527
+ "value": [
1528
+ 114,
1529
+ 101,
1530
+ 113,
1531
+ 117,
1532
+ 101,
1533
+ 115,
1534
+ 116,
1535
+ 95,
1536
+ 119,
1537
+ 105,
1538
+ 116,
1539
+ 104,
1540
+ 100,
1541
+ 114,
1542
+ 97,
1543
+ 119,
1544
+ 95,
1545
+ 118,
1546
+ 97,
1547
+ 117,
1548
+ 108,
1549
+ 116,
1550
+ 95,
1551
+ 114,
1552
+ 101,
1553
+ 99,
1554
+ 101,
1555
+ 105,
1556
+ 112,
1557
+ 116
1558
+ ]
1559
+ },
1560
+ {
1561
+ "kind": "account",
1562
+ "path": "vault"
1563
+ },
1564
+ {
1565
+ "kind": "account",
1566
+ "path": "user_transfer_authority"
1567
+ }
1568
+ ]
1569
+ }
1570
+ },
1279
1571
  {
1280
- "name": "amount",
1281
- "type": "u64"
1572
+ "name": "adaptor_program"
1282
1573
  },
1283
1574
  {
1284
- "name": "is_amount_in_lp",
1285
- "type": "bool"
1575
+ "name": "asset_token_program"
1286
1576
  },
1287
1577
  {
1288
- "name": "is_withdraw_all",
1289
- "type": "bool"
1578
+ "name": "lp_token_program",
1579
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
1290
1580
  },
1581
+ {
1582
+ "name": "system_program",
1583
+ "address": "11111111111111111111111111111111"
1584
+ }
1585
+ ],
1586
+ "args": [
1291
1587
  {
1292
1588
  "name": "user_args",
1293
1589
  "type": {
@@ -2017,12 +2313,273 @@
2017
2313
  97,
2018
2314
  112,
2019
2315
  116,
2020
- 111,
2316
+ 111,
2317
+ 114,
2318
+ 95,
2319
+ 97,
2320
+ 100,
2321
+ 100,
2322
+ 95,
2323
+ 114,
2324
+ 101,
2325
+ 99,
2326
+ 101,
2327
+ 105,
2328
+ 112,
2329
+ 116
2330
+ ]
2331
+ },
2332
+ {
2333
+ "kind": "account",
2334
+ "path": "vault"
2335
+ },
2336
+ {
2337
+ "kind": "account",
2338
+ "path": "adaptor_program"
2339
+ }
2340
+ ]
2341
+ }
2342
+ },
2343
+ {
2344
+ "name": "adaptor_program"
2345
+ },
2346
+ {
2347
+ "name": "system_program",
2348
+ "address": "11111111111111111111111111111111"
2349
+ }
2350
+ ],
2351
+ "args": []
2352
+ },
2353
+ {
2354
+ "name": "request_withdraw_vault",
2355
+ "discriminator": [
2356
+ 248,
2357
+ 225,
2358
+ 47,
2359
+ 22,
2360
+ 116,
2361
+ 144,
2362
+ 23,
2363
+ 143
2364
+ ],
2365
+ "accounts": [
2366
+ {
2367
+ "name": "payer",
2368
+ "docs": [
2369
+ "The payer of the request"
2370
+ ],
2371
+ "writable": true,
2372
+ "signer": true
2373
+ },
2374
+ {
2375
+ "name": "user_transfer_authority",
2376
+ "docs": [
2377
+ "The authority that owns the LP tokens and wants to redeem them"
2378
+ ],
2379
+ "signer": true
2380
+ },
2381
+ {
2382
+ "name": "protocol",
2383
+ "pda": {
2384
+ "seeds": [
2385
+ {
2386
+ "kind": "const",
2387
+ "value": [
2388
+ 112,
2389
+ 114,
2390
+ 111,
2391
+ 116,
2392
+ 111,
2393
+ 99,
2394
+ 111,
2395
+ 108
2396
+ ]
2397
+ }
2398
+ ]
2399
+ }
2400
+ },
2401
+ {
2402
+ "name": "vault"
2403
+ },
2404
+ {
2405
+ "name": "vault_lp_mint",
2406
+ "pda": {
2407
+ "seeds": [
2408
+ {
2409
+ "kind": "const",
2410
+ "value": [
2411
+ 118,
2412
+ 97,
2413
+ 117,
2414
+ 108,
2415
+ 116,
2416
+ 95,
2417
+ 108,
2418
+ 112,
2419
+ 95,
2420
+ 109,
2421
+ 105,
2422
+ 110,
2423
+ 116
2424
+ ]
2425
+ },
2426
+ {
2427
+ "kind": "account",
2428
+ "path": "vault"
2429
+ }
2430
+ ]
2431
+ }
2432
+ },
2433
+ {
2434
+ "name": "user_lp_ata",
2435
+ "docs": [
2436
+ "The user's LP token account from which LP tokens will be burned."
2437
+ ],
2438
+ "writable": true,
2439
+ "pda": {
2440
+ "seeds": [
2441
+ {
2442
+ "kind": "account",
2443
+ "path": "user_transfer_authority"
2444
+ },
2445
+ {
2446
+ "kind": "account",
2447
+ "path": "lp_token_program"
2448
+ },
2449
+ {
2450
+ "kind": "account",
2451
+ "path": "vault_lp_mint"
2452
+ }
2453
+ ],
2454
+ "program": {
2455
+ "kind": "const",
2456
+ "value": [
2457
+ 140,
2458
+ 151,
2459
+ 37,
2460
+ 143,
2461
+ 78,
2462
+ 36,
2463
+ 137,
2464
+ 241,
2465
+ 187,
2466
+ 61,
2467
+ 16,
2468
+ 41,
2469
+ 20,
2470
+ 142,
2471
+ 13,
2472
+ 131,
2473
+ 11,
2474
+ 90,
2475
+ 19,
2476
+ 153,
2477
+ 218,
2478
+ 255,
2479
+ 16,
2480
+ 132,
2481
+ 4,
2482
+ 142,
2483
+ 123,
2484
+ 216,
2485
+ 219,
2486
+ 233,
2487
+ 248,
2488
+ 89
2489
+ ]
2490
+ }
2491
+ }
2492
+ },
2493
+ {
2494
+ "name": "request_withdraw_lp_ata",
2495
+ "docs": [
2496
+ "The request's associated token account for LP."
2497
+ ],
2498
+ "writable": true,
2499
+ "pda": {
2500
+ "seeds": [
2501
+ {
2502
+ "kind": "account",
2503
+ "path": "request_withdraw_vault_receipt"
2504
+ },
2505
+ {
2506
+ "kind": "account",
2507
+ "path": "lp_token_program"
2508
+ },
2509
+ {
2510
+ "kind": "account",
2511
+ "path": "vault_lp_mint"
2512
+ }
2513
+ ],
2514
+ "program": {
2515
+ "kind": "const",
2516
+ "value": [
2517
+ 140,
2518
+ 151,
2519
+ 37,
2520
+ 143,
2521
+ 78,
2522
+ 36,
2523
+ 137,
2524
+ 241,
2525
+ 187,
2526
+ 61,
2527
+ 16,
2528
+ 41,
2529
+ 20,
2530
+ 142,
2531
+ 13,
2532
+ 131,
2533
+ 11,
2534
+ 90,
2535
+ 19,
2536
+ 153,
2537
+ 218,
2538
+ 255,
2539
+ 16,
2540
+ 132,
2541
+ 4,
2542
+ 142,
2543
+ 123,
2544
+ 216,
2545
+ 219,
2546
+ 233,
2547
+ 248,
2548
+ 89
2549
+ ]
2550
+ }
2551
+ }
2552
+ },
2553
+ {
2554
+ "name": "request_withdraw_vault_receipt",
2555
+ "writable": true,
2556
+ "pda": {
2557
+ "seeds": [
2558
+ {
2559
+ "kind": "const",
2560
+ "value": [
2561
+ 114,
2562
+ 101,
2563
+ 113,
2564
+ 117,
2565
+ 101,
2566
+ 115,
2567
+ 116,
2568
+ 95,
2569
+ 119,
2570
+ 105,
2571
+ 116,
2572
+ 104,
2573
+ 100,
2021
2574
  114,
2575
+ 97,
2576
+ 119,
2022
2577
  95,
2578
+ 118,
2023
2579
  97,
2024
- 100,
2025
- 100,
2580
+ 117,
2581
+ 108,
2582
+ 116,
2026
2583
  95,
2027
2584
  114,
2028
2585
  101,
@@ -2039,20 +2596,34 @@
2039
2596
  },
2040
2597
  {
2041
2598
  "kind": "account",
2042
- "path": "adaptor_program"
2599
+ "path": "user_transfer_authority"
2043
2600
  }
2044
2601
  ]
2045
2602
  }
2046
2603
  },
2047
2604
  {
2048
- "name": "adaptor_program"
2605
+ "name": "lp_token_program",
2606
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
2049
2607
  },
2050
2608
  {
2051
2609
  "name": "system_program",
2052
2610
  "address": "11111111111111111111111111111111"
2053
2611
  }
2054
2612
  ],
2055
- "args": []
2613
+ "args": [
2614
+ {
2615
+ "name": "amount",
2616
+ "type": "u64"
2617
+ },
2618
+ {
2619
+ "name": "is_amount_in_lp",
2620
+ "type": "bool"
2621
+ },
2622
+ {
2623
+ "name": "is_withdraw_all",
2624
+ "type": "bool"
2625
+ }
2626
+ ]
2056
2627
  },
2057
2628
  {
2058
2629
  "name": "update_vault",
@@ -2572,16 +3143,16 @@
2572
3143
  }
2573
3144
  },
2574
3145
  {
2575
- "name": "user_lp_ata",
3146
+ "name": "request_withdraw_lp_ata",
2576
3147
  "docs": [
2577
- "The user's LP token account from which LP tokens will be burned."
3148
+ "The request's LP token account from which LP tokens will be burned."
2578
3149
  ],
2579
3150
  "writable": true,
2580
3151
  "pda": {
2581
3152
  "seeds": [
2582
3153
  {
2583
3154
  "kind": "account",
2584
- "path": "user_transfer_authority"
3155
+ "path": "request_withdraw_vault_receipt"
2585
3156
  },
2586
3157
  {
2587
3158
  "kind": "account",
@@ -2789,6 +3360,57 @@
2789
3360
  }
2790
3361
  }
2791
3362
  },
3363
+ {
3364
+ "name": "request_withdraw_vault_receipt",
3365
+ "writable": true,
3366
+ "pda": {
3367
+ "seeds": [
3368
+ {
3369
+ "kind": "const",
3370
+ "value": [
3371
+ 114,
3372
+ 101,
3373
+ 113,
3374
+ 117,
3375
+ 101,
3376
+ 115,
3377
+ 116,
3378
+ 95,
3379
+ 119,
3380
+ 105,
3381
+ 116,
3382
+ 104,
3383
+ 100,
3384
+ 114,
3385
+ 97,
3386
+ 119,
3387
+ 95,
3388
+ 118,
3389
+ 97,
3390
+ 117,
3391
+ 108,
3392
+ 116,
3393
+ 95,
3394
+ 114,
3395
+ 101,
3396
+ 99,
3397
+ 101,
3398
+ 105,
3399
+ 112,
3400
+ 116
3401
+ ]
3402
+ },
3403
+ {
3404
+ "kind": "account",
3405
+ "path": "vault"
3406
+ },
3407
+ {
3408
+ "kind": "account",
3409
+ "path": "user_transfer_authority"
3410
+ }
3411
+ ]
3412
+ }
3413
+ },
2792
3414
  {
2793
3415
  "name": "asset_token_program"
2794
3416
  },
@@ -2801,20 +3423,7 @@
2801
3423
  "address": "11111111111111111111111111111111"
2802
3424
  }
2803
3425
  ],
2804
- "args": [
2805
- {
2806
- "name": "amount",
2807
- "type": "u64"
2808
- },
2809
- {
2810
- "name": "amount_in_lp",
2811
- "type": "bool"
2812
- },
2813
- {
2814
- "name": "withdraw_all",
2815
- "type": "bool"
2816
- }
2817
- ]
3426
+ "args": []
2818
3427
  }
2819
3428
  ],
2820
3429
  "accounts": [
@@ -2857,6 +3466,19 @@
2857
3466
  40
2858
3467
  ]
2859
3468
  },
3469
+ {
3470
+ "name": "RequestWithdrawVaultReceipt",
3471
+ "discriminator": [
3472
+ 203,
3473
+ 81,
3474
+ 223,
3475
+ 141,
3476
+ 175,
3477
+ 108,
3478
+ 101,
3479
+ 114
3480
+ ]
3481
+ },
2860
3482
  {
2861
3483
  "name": "StrategyInitReceipt",
2862
3484
  "discriminator": [
@@ -2954,6 +3576,16 @@
2954
3576
  "code": 6013,
2955
3577
  "name": "AdaptorEpochInvalid",
2956
3578
  "msg": "Adaptor epoch invalid."
3579
+ },
3580
+ {
3581
+ "code": 6014,
3582
+ "name": "InvalidFeeConfiguration",
3583
+ "msg": "Fee configuration invalid."
3584
+ },
3585
+ {
3586
+ "code": 6015,
3587
+ "name": "WithdrawalNotYetAvailable",
3588
+ "msg": "Withdrawal not yet available."
2957
3589
  }
2958
3590
  ],
2959
3591
  "types": [
@@ -3135,6 +3767,20 @@
3135
3767
  ],
3136
3768
  "type": "u16"
3137
3769
  },
3770
+ {
3771
+ "name": "redemption_fee",
3772
+ "docs": [
3773
+ "The redemption fee in basis points (BPS)."
3774
+ ],
3775
+ "type": "u16"
3776
+ },
3777
+ {
3778
+ "name": "issuance_fee",
3779
+ "docs": [
3780
+ "The issuance fee in basis points (BPS)."
3781
+ ],
3782
+ "type": "u16"
3783
+ },
3138
3784
  {
3139
3785
  "name": "reserved",
3140
3786
  "docs": [
@@ -3143,7 +3789,7 @@
3143
3789
  "type": {
3144
3790
  "array": [
3145
3791
  "u8",
3146
- 56
3792
+ 52
3147
3793
  ]
3148
3794
  }
3149
3795
  }
@@ -3188,13 +3834,71 @@
3188
3834
  "type": {
3189
3835
  "array": [
3190
3836
  "u8",
3191
- 56
3837
+ 24
3192
3838
  ]
3193
3839
  }
3194
3840
  }
3195
3841
  ]
3196
3842
  }
3197
3843
  },
3844
+ {
3845
+ "name": "HighWaterMark",
3846
+ "serialization": "bytemuckunsafe",
3847
+ "repr": {
3848
+ "kind": "c"
3849
+ },
3850
+ "type": {
3851
+ "kind": "struct",
3852
+ "fields": [
3853
+ {
3854
+ "name": "highest_asset_per_lp_decimal_bits",
3855
+ "docs": [
3856
+ "The highest recorded total asset value per share"
3857
+ ],
3858
+ "type": "u128"
3859
+ },
3860
+ {
3861
+ "name": "last_updated_ts",
3862
+ "docs": [
3863
+ "The timestamp when the high water mark was last updated"
3864
+ ],
3865
+ "type": "u64"
3866
+ },
3867
+ {
3868
+ "name": "reserved",
3869
+ "docs": [
3870
+ "Reserved for future use"
3871
+ ],
3872
+ "type": {
3873
+ "array": [
3874
+ "u8",
3875
+ 8
3876
+ ]
3877
+ }
3878
+ }
3879
+ ]
3880
+ }
3881
+ },
3882
+ {
3883
+ "name": "LockedProfitState",
3884
+ "serialization": "bytemuckunsafe",
3885
+ "repr": {
3886
+ "kind": "c"
3887
+ },
3888
+ "type": {
3889
+ "kind": "struct",
3890
+ "fields": [
3891
+ {
3892
+ "name": "last_updated_locked_profit",
3893
+ "type": "u64"
3894
+ },
3895
+ {
3896
+ "name": "last_report",
3897
+ "type": "u64"
3898
+ }
3899
+ ]
3900
+ }
3901
+ },
3198
3902
  {
3199
3903
  "name": "Protocol",
3200
3904
  "serialization": "bytemuckunsafe",
@@ -3259,6 +3963,46 @@
3259
3963
  ]
3260
3964
  }
3261
3965
  },
3966
+ {
3967
+ "name": "RequestWithdrawVaultReceipt",
3968
+ "serialization": "bytemuckunsafe",
3969
+ "repr": {
3970
+ "kind": "c"
3971
+ },
3972
+ "type": {
3973
+ "kind": "struct",
3974
+ "fields": [
3975
+ {
3976
+ "name": "vault",
3977
+ "type": "pubkey"
3978
+ },
3979
+ {
3980
+ "name": "user",
3981
+ "type": "pubkey"
3982
+ },
3983
+ {
3984
+ "name": "amount_lp_escrowed",
3985
+ "type": "u64"
3986
+ },
3987
+ {
3988
+ "name": "amount_asset_to_withdraw_decimal_bits",
3989
+ "type": "u128"
3990
+ },
3991
+ {
3992
+ "name": "withdrawable_from_ts",
3993
+ "type": "u64"
3994
+ },
3995
+ {
3996
+ "name": "bump",
3997
+ "type": "u8"
3998
+ },
3999
+ {
4000
+ "name": "version",
4001
+ "type": "u8"
4002
+ }
4003
+ ]
4004
+ }
4005
+ },
3262
4006
  {
3263
4007
  "name": "StrategyInitReceipt",
3264
4008
  "serialization": "bytemuckunsafe",
@@ -3423,7 +4167,7 @@
3423
4167
  {
3424
4168
  "name": "vault_configuration",
3425
4169
  "docs": [
3426
- "The vault fee and cap configuration (inline nested struct)."
4170
+ "The vault fee, cap, and locked profit degradation duration configuration (inline nested struct)."
3427
4171
  ],
3428
4172
  "type": {
3429
4173
  "defined": {
@@ -3453,6 +4197,14 @@
3453
4197
  }
3454
4198
  }
3455
4199
  },
4200
+ {
4201
+ "name": "high_water_mark",
4202
+ "type": {
4203
+ "defined": {
4204
+ "name": "HighWaterMark"
4205
+ }
4206
+ }
4207
+ },
3456
4208
  {
3457
4209
  "name": "last_updated_ts",
3458
4210
  "docs": [
@@ -3479,6 +4231,17 @@
3479
4231
  ]
3480
4232
  }
3481
4233
  },
4234
+ {
4235
+ "name": "locked_profit_state",
4236
+ "docs": [
4237
+ "The locked profit state of the vault."
4238
+ ],
4239
+ "type": {
4240
+ "defined": {
4241
+ "name": "LockedProfitState"
4242
+ }
4243
+ }
4244
+ },
3482
4245
  {
3483
4246
  "name": "reserved",
3484
4247
  "docs": [
@@ -3487,7 +4250,7 @@
3487
4250
  "type": {
3488
4251
  "array": [
3489
4252
  "u8",
3490
- 256
4253
+ 240
3491
4254
  ]
3492
4255
  }
3493
4256
  }
@@ -3569,6 +4332,20 @@
3569
4332
  ],
3570
4333
  "type": "u64"
3571
4334
  },
4335
+ {
4336
+ "name": "locked_profit_degradation_duration",
4337
+ "docs": [
4338
+ "The locked profit degradation duration."
4339
+ ],
4340
+ "type": "u64"
4341
+ },
4342
+ {
4343
+ "name": "withdrawal_waiting_period",
4344
+ "docs": [
4345
+ "The waiting period for a withdrawal. prec: seconds"
4346
+ ],
4347
+ "type": "u64"
4348
+ },
3572
4349
  {
3573
4350
  "name": "reserved",
3574
4351
  "docs": [
@@ -3577,7 +4354,7 @@
3577
4354
  "type": {
3578
4355
  "array": [
3579
4356
  "u8",
3580
- 64
4357
+ 48
3581
4358
  ]
3582
4359
  }
3583
4360
  }
@@ -3630,6 +4407,34 @@
3630
4407
  "Admin management fee in basis points (BPS)."
3631
4408
  ],
3632
4409
  "type": "u16"
4410
+ },
4411
+ {
4412
+ "name": "locked_profit_degradation_duration",
4413
+ "docs": [
4414
+ "The locked profit degradation duration."
4415
+ ],
4416
+ "type": "u64"
4417
+ },
4418
+ {
4419
+ "name": "redemption_fee",
4420
+ "docs": [
4421
+ "The redemption fee in basis points (BPS)."
4422
+ ],
4423
+ "type": "u16"
4424
+ },
4425
+ {
4426
+ "name": "issuance_fee",
4427
+ "docs": [
4428
+ "The issuance fee in basis points (BPS)."
4429
+ ],
4430
+ "type": "u16"
4431
+ },
4432
+ {
4433
+ "name": "withdrawal_waiting_period",
4434
+ "docs": [
4435
+ "The waiting period for a withdrawal."
4436
+ ],
4437
+ "type": "u64"
3633
4438
  }
3634
4439
  ]
3635
4440
  }