@perena/vault-sdk 1.0.66 → 1.0.68
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.
- package/README.md +104 -1
- package/dist/index.d.ts +754 -29
- package/dist/index.js +2972 -1892
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as _solana_web3_js from '@solana/web3.js';
|
|
|
5
5
|
import { PublicKey, Connection, AccountMeta, Keypair, SimulatedTransactionResponse, Transaction, TransactionInstruction, AddressLookupTableAccount } from '@solana/web3.js';
|
|
6
6
|
import * as _anchor_lang_core from '@anchor-lang/core';
|
|
7
7
|
import { IdlAccounts, Program, BN, AnchorProvider } from '@anchor-lang/core';
|
|
8
|
+
import * as bn_js from 'bn.js';
|
|
8
9
|
import { AssociatedTokenSeeds } from '@solana-program/token';
|
|
9
10
|
import { Reserve } from '@kamino-finance/klend-sdk/dist/@codegen/klend/accounts/Reserve';
|
|
10
11
|
|
|
@@ -28,6 +29,8 @@ declare const LOCAL_PROTOCOL_ADMIN: Address;
|
|
|
28
29
|
*/
|
|
29
30
|
declare const PROTOCOL_FEE_RECIPIENT: Address;
|
|
30
31
|
declare const PROGRAM_FEE_EXEMPT_OWNER_WHITELIST: readonly Address[];
|
|
32
|
+
/** Must match WALLET_FEE_EXEMPT_WHITELIST in the on-chain program constants. */
|
|
33
|
+
declare const WALLET_FEE_EXEMPT_WHITELIST: readonly Address[];
|
|
31
34
|
/**
|
|
32
35
|
* Hardcoded whitelist of wallets permitted to create vaults (via `createVault`).
|
|
33
36
|
* Must match `VAULT_CREATOR_WHITELIST` in the on-chain program constants.
|
|
@@ -65,6 +68,8 @@ declare const MAX_PRICE_STALENESS_THRESHOLD_SECS: number;
|
|
|
65
68
|
declare const DEFAULT_VAULT_ID = 0;
|
|
66
69
|
declare const DEFAULT_MAX_ACCEPTABLE_APY_BPS = 10000;
|
|
67
70
|
declare const DEFAULT_JUNIOR_WITHDRAWAL_LOCKUP_SECS: number;
|
|
71
|
+
/** Cancellation requires age strictly greater than this interval. */
|
|
72
|
+
declare const ASYNC_REDEMPTION_CANCEL_DELAY_SECS: number;
|
|
68
73
|
declare const DEFAULT_JUNIOR_EARLY_UNSTAKE_FEE_BPS = 100;
|
|
69
74
|
declare const DEFAULT_JUNIOR_STANDARD_UNSTAKE_FEE_BPS = 50;
|
|
70
75
|
/** Mainnet USDC mint address. */
|
|
@@ -339,6 +344,113 @@ type Bankineco = {
|
|
|
339
344
|
}
|
|
340
345
|
];
|
|
341
346
|
},
|
|
347
|
+
{
|
|
348
|
+
"name": "cancelAsyncWithdraw";
|
|
349
|
+
"discriminator": [
|
|
350
|
+
121,
|
|
351
|
+
182,
|
|
352
|
+
87,
|
|
353
|
+
166,
|
|
354
|
+
240,
|
|
355
|
+
240,
|
|
356
|
+
181,
|
|
357
|
+
178
|
|
358
|
+
];
|
|
359
|
+
"accounts": [
|
|
360
|
+
{
|
|
361
|
+
"name": "user";
|
|
362
|
+
"writable": true;
|
|
363
|
+
"signer": true;
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "payer";
|
|
367
|
+
"writable": true;
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "vault";
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "withdrawalQueue";
|
|
374
|
+
"writable": true;
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "inputMint";
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "userInputAta";
|
|
381
|
+
"writable": true;
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "queueInputAta";
|
|
385
|
+
"writable": true;
|
|
386
|
+
"pda": {
|
|
387
|
+
"seeds": [
|
|
388
|
+
{
|
|
389
|
+
"kind": "account";
|
|
390
|
+
"path": "withdrawalQueue";
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"kind": "account";
|
|
394
|
+
"path": "shareTokenProgram";
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"kind": "account";
|
|
398
|
+
"path": "inputMint";
|
|
399
|
+
}
|
|
400
|
+
];
|
|
401
|
+
"program": {
|
|
402
|
+
"kind": "const";
|
|
403
|
+
"value": [
|
|
404
|
+
140,
|
|
405
|
+
151,
|
|
406
|
+
37,
|
|
407
|
+
143,
|
|
408
|
+
78,
|
|
409
|
+
36,
|
|
410
|
+
137,
|
|
411
|
+
241,
|
|
412
|
+
187,
|
|
413
|
+
61,
|
|
414
|
+
16,
|
|
415
|
+
41,
|
|
416
|
+
20,
|
|
417
|
+
142,
|
|
418
|
+
13,
|
|
419
|
+
131,
|
|
420
|
+
11,
|
|
421
|
+
90,
|
|
422
|
+
19,
|
|
423
|
+
153,
|
|
424
|
+
218,
|
|
425
|
+
255,
|
|
426
|
+
16,
|
|
427
|
+
132,
|
|
428
|
+
4,
|
|
429
|
+
142,
|
|
430
|
+
123,
|
|
431
|
+
216,
|
|
432
|
+
219,
|
|
433
|
+
233,
|
|
434
|
+
248,
|
|
435
|
+
89
|
|
436
|
+
];
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "shareTokenProgram";
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "associatedTokenProgram";
|
|
445
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "systemProgram";
|
|
449
|
+
"address": "11111111111111111111111111111111";
|
|
450
|
+
}
|
|
451
|
+
];
|
|
452
|
+
"args": [];
|
|
453
|
+
},
|
|
342
454
|
{
|
|
343
455
|
"name": "cancelIncentiveProposal";
|
|
344
456
|
"discriminator": [
|
|
@@ -5135,6 +5247,262 @@ type Bankineco = {
|
|
|
5135
5247
|
}
|
|
5136
5248
|
];
|
|
5137
5249
|
},
|
|
5250
|
+
{
|
|
5251
|
+
"name": "fulfillAsyncWithdraw";
|
|
5252
|
+
"discriminator": [
|
|
5253
|
+
115,
|
|
5254
|
+
156,
|
|
5255
|
+
99,
|
|
5256
|
+
78,
|
|
5257
|
+
105,
|
|
5258
|
+
35,
|
|
5259
|
+
212,
|
|
5260
|
+
150
|
|
5261
|
+
];
|
|
5262
|
+
"accounts": [
|
|
5263
|
+
{
|
|
5264
|
+
"name": "signer";
|
|
5265
|
+
"writable": true;
|
|
5266
|
+
"signer": true;
|
|
5267
|
+
},
|
|
5268
|
+
{
|
|
5269
|
+
"name": "owner";
|
|
5270
|
+
},
|
|
5271
|
+
{
|
|
5272
|
+
"name": "queuePayer";
|
|
5273
|
+
"writable": true;
|
|
5274
|
+
},
|
|
5275
|
+
{
|
|
5276
|
+
"name": "vault";
|
|
5277
|
+
"writable": true;
|
|
5278
|
+
},
|
|
5279
|
+
{
|
|
5280
|
+
"name": "vaultOracle";
|
|
5281
|
+
},
|
|
5282
|
+
{
|
|
5283
|
+
"name": "vaultTrancheState";
|
|
5284
|
+
"optional": true;
|
|
5285
|
+
},
|
|
5286
|
+
{
|
|
5287
|
+
"name": "withdrawalQueue";
|
|
5288
|
+
"writable": true;
|
|
5289
|
+
},
|
|
5290
|
+
{
|
|
5291
|
+
"name": "outputMint";
|
|
5292
|
+
},
|
|
5293
|
+
{
|
|
5294
|
+
"name": "inputMint";
|
|
5295
|
+
"writable": true;
|
|
5296
|
+
},
|
|
5297
|
+
{
|
|
5298
|
+
"name": "ownerInputAta";
|
|
5299
|
+
"writable": true;
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
"name": "ownerOutputAta";
|
|
5303
|
+
"writable": true;
|
|
5304
|
+
"pda": {
|
|
5305
|
+
"seeds": [
|
|
5306
|
+
{
|
|
5307
|
+
"kind": "account";
|
|
5308
|
+
"path": "owner";
|
|
5309
|
+
},
|
|
5310
|
+
{
|
|
5311
|
+
"kind": "account";
|
|
5312
|
+
"path": "assetTokenProgram";
|
|
5313
|
+
},
|
|
5314
|
+
{
|
|
5315
|
+
"kind": "account";
|
|
5316
|
+
"path": "outputMint";
|
|
5317
|
+
}
|
|
5318
|
+
];
|
|
5319
|
+
"program": {
|
|
5320
|
+
"kind": "const";
|
|
5321
|
+
"value": [
|
|
5322
|
+
140,
|
|
5323
|
+
151,
|
|
5324
|
+
37,
|
|
5325
|
+
143,
|
|
5326
|
+
78,
|
|
5327
|
+
36,
|
|
5328
|
+
137,
|
|
5329
|
+
241,
|
|
5330
|
+
187,
|
|
5331
|
+
61,
|
|
5332
|
+
16,
|
|
5333
|
+
41,
|
|
5334
|
+
20,
|
|
5335
|
+
142,
|
|
5336
|
+
13,
|
|
5337
|
+
131,
|
|
5338
|
+
11,
|
|
5339
|
+
90,
|
|
5340
|
+
19,
|
|
5341
|
+
153,
|
|
5342
|
+
218,
|
|
5343
|
+
255,
|
|
5344
|
+
16,
|
|
5345
|
+
132,
|
|
5346
|
+
4,
|
|
5347
|
+
142,
|
|
5348
|
+
123,
|
|
5349
|
+
216,
|
|
5350
|
+
219,
|
|
5351
|
+
233,
|
|
5352
|
+
248,
|
|
5353
|
+
89
|
|
5354
|
+
];
|
|
5355
|
+
};
|
|
5356
|
+
};
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
"name": "vaultOutputAta";
|
|
5360
|
+
"writable": true;
|
|
5361
|
+
"pda": {
|
|
5362
|
+
"seeds": [
|
|
5363
|
+
{
|
|
5364
|
+
"kind": "account";
|
|
5365
|
+
"path": "vault";
|
|
5366
|
+
},
|
|
5367
|
+
{
|
|
5368
|
+
"kind": "account";
|
|
5369
|
+
"path": "assetTokenProgram";
|
|
5370
|
+
},
|
|
5371
|
+
{
|
|
5372
|
+
"kind": "account";
|
|
5373
|
+
"path": "outputMint";
|
|
5374
|
+
}
|
|
5375
|
+
];
|
|
5376
|
+
"program": {
|
|
5377
|
+
"kind": "const";
|
|
5378
|
+
"value": [
|
|
5379
|
+
140,
|
|
5380
|
+
151,
|
|
5381
|
+
37,
|
|
5382
|
+
143,
|
|
5383
|
+
78,
|
|
5384
|
+
36,
|
|
5385
|
+
137,
|
|
5386
|
+
241,
|
|
5387
|
+
187,
|
|
5388
|
+
61,
|
|
5389
|
+
16,
|
|
5390
|
+
41,
|
|
5391
|
+
20,
|
|
5392
|
+
142,
|
|
5393
|
+
13,
|
|
5394
|
+
131,
|
|
5395
|
+
11,
|
|
5396
|
+
90,
|
|
5397
|
+
19,
|
|
5398
|
+
153,
|
|
5399
|
+
218,
|
|
5400
|
+
255,
|
|
5401
|
+
16,
|
|
5402
|
+
132,
|
|
5403
|
+
4,
|
|
5404
|
+
142,
|
|
5405
|
+
123,
|
|
5406
|
+
216,
|
|
5407
|
+
219,
|
|
5408
|
+
233,
|
|
5409
|
+
248,
|
|
5410
|
+
89
|
|
5411
|
+
];
|
|
5412
|
+
};
|
|
5413
|
+
};
|
|
5414
|
+
},
|
|
5415
|
+
{
|
|
5416
|
+
"name": "queueInputAta";
|
|
5417
|
+
"writable": true;
|
|
5418
|
+
"pda": {
|
|
5419
|
+
"seeds": [
|
|
5420
|
+
{
|
|
5421
|
+
"kind": "account";
|
|
5422
|
+
"path": "withdrawalQueue";
|
|
5423
|
+
},
|
|
5424
|
+
{
|
|
5425
|
+
"kind": "account";
|
|
5426
|
+
"path": "shareTokenProgram";
|
|
5427
|
+
},
|
|
5428
|
+
{
|
|
5429
|
+
"kind": "account";
|
|
5430
|
+
"path": "inputMint";
|
|
5431
|
+
}
|
|
5432
|
+
];
|
|
5433
|
+
"program": {
|
|
5434
|
+
"kind": "const";
|
|
5435
|
+
"value": [
|
|
5436
|
+
140,
|
|
5437
|
+
151,
|
|
5438
|
+
37,
|
|
5439
|
+
143,
|
|
5440
|
+
78,
|
|
5441
|
+
36,
|
|
5442
|
+
137,
|
|
5443
|
+
241,
|
|
5444
|
+
187,
|
|
5445
|
+
61,
|
|
5446
|
+
16,
|
|
5447
|
+
41,
|
|
5448
|
+
20,
|
|
5449
|
+
142,
|
|
5450
|
+
13,
|
|
5451
|
+
131,
|
|
5452
|
+
11,
|
|
5453
|
+
90,
|
|
5454
|
+
19,
|
|
5455
|
+
153,
|
|
5456
|
+
218,
|
|
5457
|
+
255,
|
|
5458
|
+
16,
|
|
5459
|
+
132,
|
|
5460
|
+
4,
|
|
5461
|
+
142,
|
|
5462
|
+
123,
|
|
5463
|
+
216,
|
|
5464
|
+
219,
|
|
5465
|
+
233,
|
|
5466
|
+
248,
|
|
5467
|
+
89
|
|
5468
|
+
];
|
|
5469
|
+
};
|
|
5470
|
+
};
|
|
5471
|
+
},
|
|
5472
|
+
{
|
|
5473
|
+
"name": "assetTokenProgram";
|
|
5474
|
+
},
|
|
5475
|
+
{
|
|
5476
|
+
"name": "shareTokenProgram";
|
|
5477
|
+
},
|
|
5478
|
+
{
|
|
5479
|
+
"name": "associatedTokenProgram";
|
|
5480
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
5481
|
+
},
|
|
5482
|
+
{
|
|
5483
|
+
"name": "systemProgram";
|
|
5484
|
+
"address": "11111111111111111111111111111111";
|
|
5485
|
+
}
|
|
5486
|
+
];
|
|
5487
|
+
"args": [
|
|
5488
|
+
{
|
|
5489
|
+
"name": "externalWithdrawIxRefs";
|
|
5490
|
+
"type": {
|
|
5491
|
+
"option": {
|
|
5492
|
+
"defined": {
|
|
5493
|
+
"name": "instructionRefs";
|
|
5494
|
+
};
|
|
5495
|
+
};
|
|
5496
|
+
};
|
|
5497
|
+
},
|
|
5498
|
+
{
|
|
5499
|
+
"name": "externalLiquiditySource";
|
|
5500
|
+
"type": {
|
|
5501
|
+
"option": "u8";
|
|
5502
|
+
};
|
|
5503
|
+
}
|
|
5504
|
+
];
|
|
5505
|
+
},
|
|
5138
5506
|
{
|
|
5139
5507
|
"name": "fulfillJuniorTrancheWithdraw";
|
|
5140
5508
|
"discriminator": [
|
|
@@ -6258,23 +6626,57 @@ type Bankineco = {
|
|
|
6258
6626
|
};
|
|
6259
6627
|
},
|
|
6260
6628
|
{
|
|
6261
|
-
"name": "assetTokenProgram";
|
|
6629
|
+
"name": "assetTokenProgram";
|
|
6630
|
+
},
|
|
6631
|
+
{
|
|
6632
|
+
"name": "associatedTokenProgram";
|
|
6633
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
6634
|
+
},
|
|
6635
|
+
{
|
|
6636
|
+
"name": "systemProgram";
|
|
6637
|
+
"address": "11111111111111111111111111111111";
|
|
6638
|
+
}
|
|
6639
|
+
];
|
|
6640
|
+
"args": [
|
|
6641
|
+
{
|
|
6642
|
+
"name": "amount";
|
|
6643
|
+
"type": "u64";
|
|
6644
|
+
}
|
|
6645
|
+
];
|
|
6646
|
+
},
|
|
6647
|
+
{
|
|
6648
|
+
"name": "priceAsyncWithdraw";
|
|
6649
|
+
"discriminator": [
|
|
6650
|
+
101,
|
|
6651
|
+
85,
|
|
6652
|
+
188,
|
|
6653
|
+
156,
|
|
6654
|
+
108,
|
|
6655
|
+
105,
|
|
6656
|
+
104,
|
|
6657
|
+
94
|
|
6658
|
+
];
|
|
6659
|
+
"accounts": [
|
|
6660
|
+
{
|
|
6661
|
+
"name": "hwManager";
|
|
6662
|
+
"signer": true;
|
|
6663
|
+
},
|
|
6664
|
+
{
|
|
6665
|
+
"name": "vault";
|
|
6262
6666
|
},
|
|
6263
6667
|
{
|
|
6264
|
-
"name": "
|
|
6265
|
-
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
6668
|
+
"name": "vaultOracle";
|
|
6266
6669
|
},
|
|
6267
6670
|
{
|
|
6268
|
-
"name": "
|
|
6269
|
-
"
|
|
6270
|
-
}
|
|
6271
|
-
];
|
|
6272
|
-
"args": [
|
|
6671
|
+
"name": "vaultTrancheState";
|
|
6672
|
+
"optional": true;
|
|
6673
|
+
},
|
|
6273
6674
|
{
|
|
6274
|
-
"name": "
|
|
6275
|
-
"
|
|
6675
|
+
"name": "withdrawalQueue";
|
|
6676
|
+
"writable": true;
|
|
6276
6677
|
}
|
|
6277
6678
|
];
|
|
6679
|
+
"args": [];
|
|
6278
6680
|
},
|
|
6279
6681
|
{
|
|
6280
6682
|
"name": "protocolInteraction";
|
|
@@ -6401,6 +6803,129 @@ type Bankineco = {
|
|
|
6401
6803
|
}
|
|
6402
6804
|
];
|
|
6403
6805
|
},
|
|
6806
|
+
{
|
|
6807
|
+
"name": "requestAsyncWithdraw";
|
|
6808
|
+
"discriminator": [
|
|
6809
|
+
90,
|
|
6810
|
+
83,
|
|
6811
|
+
61,
|
|
6812
|
+
227,
|
|
6813
|
+
146,
|
|
6814
|
+
51,
|
|
6815
|
+
252,
|
|
6816
|
+
225
|
|
6817
|
+
];
|
|
6818
|
+
"accounts": [
|
|
6819
|
+
{
|
|
6820
|
+
"name": "user";
|
|
6821
|
+
"writable": true;
|
|
6822
|
+
"signer": true;
|
|
6823
|
+
},
|
|
6824
|
+
{
|
|
6825
|
+
"name": "payer";
|
|
6826
|
+
"writable": true;
|
|
6827
|
+
"signer": true;
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
"name": "vault";
|
|
6831
|
+
},
|
|
6832
|
+
{
|
|
6833
|
+
"name": "vaultOracle";
|
|
6834
|
+
},
|
|
6835
|
+
{
|
|
6836
|
+
"name": "withdrawalQueue";
|
|
6837
|
+
"writable": true;
|
|
6838
|
+
},
|
|
6839
|
+
{
|
|
6840
|
+
"name": "outputMint";
|
|
6841
|
+
},
|
|
6842
|
+
{
|
|
6843
|
+
"name": "inputMint";
|
|
6844
|
+
},
|
|
6845
|
+
{
|
|
6846
|
+
"name": "userInputAta";
|
|
6847
|
+
"writable": true;
|
|
6848
|
+
},
|
|
6849
|
+
{
|
|
6850
|
+
"name": "queueInputAta";
|
|
6851
|
+
"writable": true;
|
|
6852
|
+
"pda": {
|
|
6853
|
+
"seeds": [
|
|
6854
|
+
{
|
|
6855
|
+
"kind": "account";
|
|
6856
|
+
"path": "withdrawalQueue";
|
|
6857
|
+
},
|
|
6858
|
+
{
|
|
6859
|
+
"kind": "account";
|
|
6860
|
+
"path": "shareTokenProgram";
|
|
6861
|
+
},
|
|
6862
|
+
{
|
|
6863
|
+
"kind": "account";
|
|
6864
|
+
"path": "inputMint";
|
|
6865
|
+
}
|
|
6866
|
+
];
|
|
6867
|
+
"program": {
|
|
6868
|
+
"kind": "const";
|
|
6869
|
+
"value": [
|
|
6870
|
+
140,
|
|
6871
|
+
151,
|
|
6872
|
+
37,
|
|
6873
|
+
143,
|
|
6874
|
+
78,
|
|
6875
|
+
36,
|
|
6876
|
+
137,
|
|
6877
|
+
241,
|
|
6878
|
+
187,
|
|
6879
|
+
61,
|
|
6880
|
+
16,
|
|
6881
|
+
41,
|
|
6882
|
+
20,
|
|
6883
|
+
142,
|
|
6884
|
+
13,
|
|
6885
|
+
131,
|
|
6886
|
+
11,
|
|
6887
|
+
90,
|
|
6888
|
+
19,
|
|
6889
|
+
153,
|
|
6890
|
+
218,
|
|
6891
|
+
255,
|
|
6892
|
+
16,
|
|
6893
|
+
132,
|
|
6894
|
+
4,
|
|
6895
|
+
142,
|
|
6896
|
+
123,
|
|
6897
|
+
216,
|
|
6898
|
+
219,
|
|
6899
|
+
233,
|
|
6900
|
+
248,
|
|
6901
|
+
89
|
|
6902
|
+
];
|
|
6903
|
+
};
|
|
6904
|
+
};
|
|
6905
|
+
},
|
|
6906
|
+
{
|
|
6907
|
+
"name": "shareTokenProgram";
|
|
6908
|
+
},
|
|
6909
|
+
{
|
|
6910
|
+
"name": "associatedTokenProgram";
|
|
6911
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
6912
|
+
},
|
|
6913
|
+
{
|
|
6914
|
+
"name": "systemProgram";
|
|
6915
|
+
"address": "11111111111111111111111111111111";
|
|
6916
|
+
}
|
|
6917
|
+
];
|
|
6918
|
+
"args": [
|
|
6919
|
+
{
|
|
6920
|
+
"name": "queueId";
|
|
6921
|
+
"type": "u8";
|
|
6922
|
+
},
|
|
6923
|
+
{
|
|
6924
|
+
"name": "shareAmount";
|
|
6925
|
+
"type": "u64";
|
|
6926
|
+
}
|
|
6927
|
+
];
|
|
6928
|
+
},
|
|
6404
6929
|
{
|
|
6405
6930
|
"name": "requestJuniorTrancheWithdraw";
|
|
6406
6931
|
"discriminator": [
|
|
@@ -8917,6 +9442,26 @@ type Bankineco = {
|
|
|
8917
9442
|
];
|
|
8918
9443
|
};
|
|
8919
9444
|
},
|
|
9445
|
+
{
|
|
9446
|
+
"name": "redemptionMode";
|
|
9447
|
+
"docs": [
|
|
9448
|
+
"Redemption policy for regular vault shares. Zero preserves existing vault behavior."
|
|
9449
|
+
];
|
|
9450
|
+
"repr": {
|
|
9451
|
+
"kind": "rust";
|
|
9452
|
+
};
|
|
9453
|
+
"type": {
|
|
9454
|
+
"kind": "enum";
|
|
9455
|
+
"variants": [
|
|
9456
|
+
{
|
|
9457
|
+
"name": "synchronous";
|
|
9458
|
+
},
|
|
9459
|
+
{
|
|
9460
|
+
"name": "asyncOnly";
|
|
9461
|
+
}
|
|
9462
|
+
];
|
|
9463
|
+
};
|
|
9464
|
+
},
|
|
8920
9465
|
{
|
|
8921
9466
|
"name": "reportIncentiveV3Args";
|
|
8922
9467
|
"type": {
|
|
@@ -9376,6 +9921,19 @@ type Bankineco = {
|
|
|
9376
9921
|
};
|
|
9377
9922
|
};
|
|
9378
9923
|
};
|
|
9924
|
+
},
|
|
9925
|
+
{
|
|
9926
|
+
"name": "redemptionMode";
|
|
9927
|
+
"docs": [
|
|
9928
|
+
"Regular-share redemption policy. None leaves unchanged."
|
|
9929
|
+
];
|
|
9930
|
+
"type": {
|
|
9931
|
+
"option": {
|
|
9932
|
+
"defined": {
|
|
9933
|
+
"name": "redemptionMode";
|
|
9934
|
+
};
|
|
9935
|
+
};
|
|
9936
|
+
};
|
|
9379
9937
|
}
|
|
9380
9938
|
];
|
|
9381
9939
|
};
|
|
@@ -9628,13 +10186,13 @@ type Bankineco = {
|
|
|
9628
10186
|
};
|
|
9629
10187
|
},
|
|
9630
10188
|
{
|
|
9631
|
-
"name": "
|
|
10189
|
+
"name": "redemptionMode";
|
|
9632
10190
|
"docs": [
|
|
9633
|
-
"
|
|
10191
|
+
"Regular-share redemption policy; occupies the former zeroed padding byte."
|
|
9634
10192
|
];
|
|
9635
10193
|
"type": {
|
|
9636
10194
|
"defined": {
|
|
9637
|
-
"name": "
|
|
10195
|
+
"name": "redemptionMode";
|
|
9638
10196
|
};
|
|
9639
10197
|
};
|
|
9640
10198
|
},
|
|
@@ -10725,7 +11283,7 @@ type Bankineco = {
|
|
|
10725
11283
|
{
|
|
10726
11284
|
"name": "fulfiller";
|
|
10727
11285
|
"docs": [
|
|
10728
|
-
"Hot wallet authorised to fulfill expired junior withdrawal queues."
|
|
11286
|
+
"Hot wallet authorised to fulfill regular and expired junior withdrawal queues."
|
|
10729
11287
|
];
|
|
10730
11288
|
"type": "pubkey";
|
|
10731
11289
|
},
|
|
@@ -11238,12 +11796,33 @@ type Bankineco = {
|
|
|
11238
11796
|
"name": "expiryTs";
|
|
11239
11797
|
"type": "i64";
|
|
11240
11798
|
},
|
|
11799
|
+
{
|
|
11800
|
+
"name": "outputAmount";
|
|
11801
|
+
"docs": [
|
|
11802
|
+
"Locked net payout in output-mint atomic units. Valid when priced_ts > 0."
|
|
11803
|
+
];
|
|
11804
|
+
"type": "u64";
|
|
11805
|
+
},
|
|
11806
|
+
{
|
|
11807
|
+
"name": "pricedTs";
|
|
11808
|
+
"docs": [
|
|
11809
|
+
"Zero means unpriced, including queues created before pricing existed."
|
|
11810
|
+
];
|
|
11811
|
+
"type": "i64";
|
|
11812
|
+
},
|
|
11813
|
+
{
|
|
11814
|
+
"name": "feeShareAmount";
|
|
11815
|
+
"docs": [
|
|
11816
|
+
"Curator fee shares fixed alongside the net payout."
|
|
11817
|
+
];
|
|
11818
|
+
"type": "u64";
|
|
11819
|
+
},
|
|
11241
11820
|
{
|
|
11242
11821
|
"name": "padding";
|
|
11243
11822
|
"type": {
|
|
11244
11823
|
"array": [
|
|
11245
11824
|
"u64",
|
|
11246
|
-
|
|
11825
|
+
9
|
|
11247
11826
|
];
|
|
11248
11827
|
};
|
|
11249
11828
|
}
|
|
@@ -11294,10 +11873,12 @@ declare class PdaClient {
|
|
|
11294
11873
|
*/
|
|
11295
11874
|
deriveVaultTrancheStatePda(vault: Address): Promise<readonly [Address, ProgramDerivedAddressBump]>;
|
|
11296
11875
|
/**
|
|
11297
|
-
*
|
|
11876
|
+
* Shared withdrawal queue PDA for regular and junior shares.
|
|
11298
11877
|
*
|
|
11299
11878
|
* Seeds: `["vault_withdrawal_queue", vault, owner, queue_id]`
|
|
11300
11879
|
*/
|
|
11880
|
+
deriveVaultWithdrawalQueuePda(vault: Address, owner: Address, queueId: number): Promise<readonly [Address, ProgramDerivedAddressBump]>;
|
|
11881
|
+
/** Backward-compatible alias; queue IDs are shared by both share classes. */
|
|
11301
11882
|
deriveVaultTrancheWithdrawalQueuePda(vault: Address, owner: Address, queueId: number): Promise<readonly [Address, ProgramDerivedAddressBump]>;
|
|
11302
11883
|
}
|
|
11303
11884
|
|
|
@@ -11322,6 +11903,11 @@ type ExternalLiquiditySlot = VaultAccountData["externalLiquidity"][number];
|
|
|
11322
11903
|
type FeeVaultAccountData = IdlAccounts<Vault>["feeVault"];
|
|
11323
11904
|
type VaultOracleAccountData = IdlAccounts<Vault>["vaultOracle"];
|
|
11324
11905
|
type VaultTrancheStateAccountData = IdlAccounts<Vault>["vaultTrancheState"];
|
|
11906
|
+
type VaultWithdrawalQueueAccountData = IdlAccounts<Vault>["vaultWithdrawalQueue"];
|
|
11907
|
+
interface VaultWithdrawalQueueAccount {
|
|
11908
|
+
publicKey: Address;
|
|
11909
|
+
account: VaultWithdrawalQueueAccountData;
|
|
11910
|
+
}
|
|
11325
11911
|
type VaultTrancheWithdrawalQueueAccountData = IdlAccounts<Vault>["vaultWithdrawalQueue"];
|
|
11326
11912
|
/**
|
|
11327
11913
|
* Account fetchers for the vault program.
|
|
@@ -11374,6 +11960,42 @@ declare class AccountClient extends BaseAccountClient {
|
|
|
11374
11960
|
fetchVaultTrancheStateForVault(vault: Address, opts?: {
|
|
11375
11961
|
fresh?: boolean;
|
|
11376
11962
|
}): Promise<VaultTrancheStateAccountData>;
|
|
11963
|
+
/** Shared queue fetcher, for either regular or junior shares. */
|
|
11964
|
+
fetchVaultWithdrawalQueue(withdrawalQueue: Address, opts?: {
|
|
11965
|
+
fresh?: boolean;
|
|
11966
|
+
}): Promise<{
|
|
11967
|
+
header: {
|
|
11968
|
+
bump: number;
|
|
11969
|
+
queueId: number;
|
|
11970
|
+
padding: number[];
|
|
11971
|
+
};
|
|
11972
|
+
parties: {
|
|
11973
|
+
owner: _solana_web3_js.PublicKey;
|
|
11974
|
+
vault: _solana_web3_js.PublicKey;
|
|
11975
|
+
payer: _solana_web3_js.PublicKey;
|
|
11976
|
+
};
|
|
11977
|
+
mints: {
|
|
11978
|
+
inputMint: _solana_web3_js.PublicKey;
|
|
11979
|
+
outputMint: _solana_web3_js.PublicKey;
|
|
11980
|
+
};
|
|
11981
|
+
request: {
|
|
11982
|
+
inputAmount: bn_js;
|
|
11983
|
+
requestTs: bn_js;
|
|
11984
|
+
expiryTs: bn_js;
|
|
11985
|
+
outputAmount: bn_js;
|
|
11986
|
+
pricedTs: bn_js;
|
|
11987
|
+
feeShareAmount: bn_js;
|
|
11988
|
+
padding: bn_js[];
|
|
11989
|
+
};
|
|
11990
|
+
}>;
|
|
11991
|
+
/** Fresh pending requests. Fulfilled/cancelled queues are closed on chain. */
|
|
11992
|
+
fetchAllWithdrawalQueues(opts?: {
|
|
11993
|
+
vault?: Address;
|
|
11994
|
+
owner?: Address;
|
|
11995
|
+
inputMint?: Address;
|
|
11996
|
+
}): Promise<VaultWithdrawalQueueAccount[]>;
|
|
11997
|
+
/** All pending regular-share redemptions for a vault, optionally restricted to an owner. */
|
|
11998
|
+
fetchPendingRedemptionQueues(vault: Address, owner?: Address): Promise<VaultWithdrawalQueueAccount[]>;
|
|
11377
11999
|
fetchVaultTrancheWithdrawalQueue(withdrawalQueue: Address, opts?: {
|
|
11378
12000
|
fresh?: boolean;
|
|
11379
12001
|
}): Promise<VaultTrancheWithdrawalQueueAccountData>;
|
|
@@ -11827,6 +12449,11 @@ interface RollingRebalanceLimitConfig {
|
|
|
11827
12449
|
windowLimitBps: number;
|
|
11828
12450
|
windowDurationSeconds: bigint;
|
|
11829
12451
|
}
|
|
12452
|
+
type RedemptionModeArgs = {
|
|
12453
|
+
synchronous: {};
|
|
12454
|
+
} | {
|
|
12455
|
+
asyncOnly: {};
|
|
12456
|
+
};
|
|
11830
12457
|
interface SetVaultConfigIxArgs {
|
|
11831
12458
|
curator: Address;
|
|
11832
12459
|
vault: Address;
|
|
@@ -11844,6 +12471,7 @@ interface SetVaultConfigIxArgs {
|
|
|
11844
12471
|
maxApyBps: number | null;
|
|
11845
12472
|
tvlLimit: BN | null;
|
|
11846
12473
|
lossesEnabled: boolean | null;
|
|
12474
|
+
redemptionMode?: RedemptionModeArgs | null;
|
|
11847
12475
|
priceStalenessThresholdSecs: BN | null;
|
|
11848
12476
|
newCurator: Address | null;
|
|
11849
12477
|
userBurnLimit: {
|
|
@@ -11861,6 +12489,8 @@ interface SetVaultConfigIxArgs {
|
|
|
11861
12489
|
};
|
|
11862
12490
|
}
|
|
11863
12491
|
interface SetVaultConfigTxArgs {
|
|
12492
|
+
/** Regular-share policy. Default on chain is synchronous; omit to leave unchanged. */
|
|
12493
|
+
redemptionMode?: RedemptionModeArgs;
|
|
11864
12494
|
curator: Address;
|
|
11865
12495
|
vault: Address;
|
|
11866
12496
|
vaultOracle?: Address;
|
|
@@ -12389,6 +13019,43 @@ interface SetExternalLiquidityTxArgs {
|
|
|
12389
13019
|
userAccount: Address;
|
|
12390
13020
|
lookupTables?: Address[];
|
|
12391
13021
|
}
|
|
13022
|
+
/** Escrow regular shares in an async-only vault. Burned at fulfillment, optionally priced earlier. */
|
|
13023
|
+
type RequestAsyncWithdrawIxArgs = Omit<RequestJuniorTrancheWithdrawIxArgs, "vaultTrancheState">;
|
|
13024
|
+
interface RequestAsyncWithdrawTxArgs extends Omit<RequestJuniorTrancheWithdrawTxArgs, "vaultTrancheState" | "juniorShareMint"> {
|
|
13025
|
+
shareMint?: Address;
|
|
13026
|
+
}
|
|
13027
|
+
interface FulfillAsyncWithdrawIxArgs extends Omit<FulfillJuniorTrancheWithdrawIxArgs, "vaultTrancheState" | "addressSeeds"> {
|
|
13028
|
+
vaultTrancheState: Address | null;
|
|
13029
|
+
}
|
|
13030
|
+
interface FulfillAsyncWithdrawTxArgs extends Omit<FulfillJuniorTrancheWithdrawTxArgs, "juniorShareMint" | "addressSeeds" | "signer"> {
|
|
13031
|
+
/** Must be the vault's configured fulfiller. */
|
|
13032
|
+
signer: Address;
|
|
13033
|
+
shareMint?: Address;
|
|
13034
|
+
}
|
|
13035
|
+
interface PriceAsyncWithdrawIxArgs {
|
|
13036
|
+
hwManager: Address;
|
|
13037
|
+
vault: Address;
|
|
13038
|
+
vaultOracle: Address;
|
|
13039
|
+
vaultTrancheState: Address | null;
|
|
13040
|
+
withdrawalQueue: Address;
|
|
13041
|
+
}
|
|
13042
|
+
interface PriceAsyncWithdrawTxArgs {
|
|
13043
|
+
hwManager: Address;
|
|
13044
|
+
vault: Address;
|
|
13045
|
+
withdrawalQueue: Address;
|
|
13046
|
+
vaultTrancheState?: Address | null;
|
|
13047
|
+
vaultOracle?: Address;
|
|
13048
|
+
lookupTables?: Address[];
|
|
13049
|
+
}
|
|
13050
|
+
type CancelAsyncWithdrawIxArgs = CancelJuniorTrancheWithdrawIxArgs;
|
|
13051
|
+
interface CancelAsyncWithdrawTxArgs {
|
|
13052
|
+
user: Address;
|
|
13053
|
+
vault: Address;
|
|
13054
|
+
queueId: number;
|
|
13055
|
+
withdrawalQueue?: Address;
|
|
13056
|
+
userInputAta?: Address;
|
|
13057
|
+
lookupTables?: Address[];
|
|
13058
|
+
}
|
|
12392
13059
|
|
|
12393
13060
|
interface VaultCacheInvalidation {
|
|
12394
13061
|
vaultPda: Address;
|
|
@@ -13340,6 +14007,14 @@ interface WithdrawalPlan {
|
|
|
13340
14007
|
tokenAmount: bigint;
|
|
13341
14008
|
lookupTables: Address[];
|
|
13342
14009
|
}
|
|
14010
|
+
/** Match the program's integer rounding: shares -> value -> fee -> token units. */
|
|
14011
|
+
declare function quoteWithdrawalPayout(pricing: WithdrawalPricing, shares: bigint): {
|
|
14012
|
+
gross: bigint;
|
|
14013
|
+
fee: bigint;
|
|
14014
|
+
feeShares: bigint;
|
|
14015
|
+
net: bigint;
|
|
14016
|
+
tokens: bigint;
|
|
14017
|
+
};
|
|
13343
14018
|
/** Shared by transaction builders and consumers that need just CPI refs/accounts.
|
|
13344
14019
|
* No partial plan is returned if the requested shares cannot all be redeemed.
|
|
13345
14020
|
*/
|
|
@@ -13467,6 +14142,54 @@ declare class VaultReallocationBuilder extends VaultBuilderBase<VaultReallocatio
|
|
|
13467
14142
|
getTx(txArgs: VaultReallocationTxArgs): Promise<VaultTransactionPlan>;
|
|
13468
14143
|
}
|
|
13469
14144
|
|
|
14145
|
+
declare class RequestAsyncWithdrawBuilder extends VaultBuilderBase<RequestAsyncWithdrawIxArgs, RequestAsyncWithdrawTxArgs> {
|
|
14146
|
+
getIx(args: RequestAsyncWithdrawIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
|
|
14147
|
+
protected deriveIxArgs(txArgs: RequestAsyncWithdrawTxArgs): Promise<RequestAsyncWithdrawIxArgs>;
|
|
14148
|
+
protected buildPlanExtras(args: RequestAsyncWithdrawIxArgs): Promise<{
|
|
14149
|
+
postSuccessCacheInvalidations: {
|
|
14150
|
+
vaultPda: _solana_kit.Address;
|
|
14151
|
+
withdrawalQueuePda: _solana_kit.Address;
|
|
14152
|
+
}[];
|
|
14153
|
+
}>;
|
|
14154
|
+
}
|
|
14155
|
+
|
|
14156
|
+
declare class FulfillAsyncWithdrawBuilder extends VaultBuilderBase<FulfillAsyncWithdrawIxArgs, FulfillAsyncWithdrawTxArgs> {
|
|
14157
|
+
getIx(args: FulfillAsyncWithdrawIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
|
|
14158
|
+
protected deriveIxArgs(txArgs: FulfillAsyncWithdrawTxArgs): Promise<FulfillAsyncWithdrawIxArgs>;
|
|
14159
|
+
protected buildLookupTables(args: FulfillAsyncWithdrawIxArgs, txArgs: FulfillAsyncWithdrawTxArgs): Promise<readonly Address[] | undefined>;
|
|
14160
|
+
protected buildPreambleInstructions(args: FulfillAsyncWithdrawIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>[]>;
|
|
14161
|
+
protected buildPlanExtras(args: FulfillAsyncWithdrawIxArgs): Promise<{
|
|
14162
|
+
postSuccessCacheInvalidations: {
|
|
14163
|
+
vaultPda: Address;
|
|
14164
|
+
vaultTrancheStatePda: Address | undefined;
|
|
14165
|
+
withdrawalQueuePda: Address;
|
|
14166
|
+
}[];
|
|
14167
|
+
}>;
|
|
14168
|
+
}
|
|
14169
|
+
|
|
14170
|
+
declare class PriceAsyncWithdrawBuilder extends VaultBuilderBase<PriceAsyncWithdrawIxArgs, PriceAsyncWithdrawTxArgs> {
|
|
14171
|
+
getIx(args: PriceAsyncWithdrawIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
|
|
14172
|
+
protected deriveIxArgs(args: PriceAsyncWithdrawTxArgs): Promise<PriceAsyncWithdrawIxArgs>;
|
|
14173
|
+
protected buildPlanExtras(args: PriceAsyncWithdrawIxArgs): Promise<{
|
|
14174
|
+
postSuccessCacheInvalidations: {
|
|
14175
|
+
vaultPda: _solana_kit.Address;
|
|
14176
|
+
withdrawalQueuePda: _solana_kit.Address;
|
|
14177
|
+
}[];
|
|
14178
|
+
}>;
|
|
14179
|
+
}
|
|
14180
|
+
|
|
14181
|
+
declare class CancelAsyncWithdrawBuilder extends VaultBuilderBase<CancelAsyncWithdrawIxArgs, CancelAsyncWithdrawTxArgs> {
|
|
14182
|
+
getIx(args: CancelAsyncWithdrawIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
|
|
14183
|
+
protected deriveIxArgs(args: CancelAsyncWithdrawTxArgs): Promise<CancelAsyncWithdrawIxArgs>;
|
|
14184
|
+
protected buildPreambleInstructions(args: CancelAsyncWithdrawIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>[]>;
|
|
14185
|
+
protected buildPlanExtras(args: CancelAsyncWithdrawIxArgs): Promise<{
|
|
14186
|
+
postSuccessCacheInvalidations: {
|
|
14187
|
+
vaultPda: _solana_kit.Address;
|
|
14188
|
+
withdrawalQueuePda: _solana_kit.Address;
|
|
14189
|
+
}[];
|
|
14190
|
+
}>;
|
|
14191
|
+
}
|
|
14192
|
+
|
|
13470
14193
|
declare class TransactionClient {
|
|
13471
14194
|
readonly depositCuratorFees: DepositCuratorFeesBuilder;
|
|
13472
14195
|
readonly createIncentiveV3: CreateIncentiveV3Builder;
|
|
@@ -13504,6 +14227,10 @@ declare class TransactionClient {
|
|
|
13504
14227
|
readonly requestJuniorTrancheWithdraw: RequestJuniorTrancheWithdrawBuilder;
|
|
13505
14228
|
readonly cancelJuniorTrancheWithdraw: CancelJuniorTrancheWithdrawBuilder;
|
|
13506
14229
|
readonly fulfillJuniorTrancheWithdraw: FulfillJuniorTrancheWithdrawBuilder;
|
|
14230
|
+
readonly requestAsyncWithdraw: RequestAsyncWithdrawBuilder;
|
|
14231
|
+
readonly fulfillAsyncWithdraw: FulfillAsyncWithdrawBuilder;
|
|
14232
|
+
readonly priceAsyncWithdraw: PriceAsyncWithdrawBuilder;
|
|
14233
|
+
readonly cancelAsyncWithdraw: CancelAsyncWithdrawBuilder;
|
|
13507
14234
|
readonly executeWithdraw: ExecuteWithdrawBuilder;
|
|
13508
14235
|
readonly managerWithdrawAsset: ManagerWithdrawAssetBuilder;
|
|
13509
14236
|
readonly managerRedepositAsset: ManagerRedepositAssetBuilder;
|
|
@@ -14120,20 +14847,15 @@ onAccountValue?: (accountName: string, value: TrackedAccountValue) => void): Pro
|
|
|
14120
14847
|
}>;
|
|
14121
14848
|
|
|
14122
14849
|
/**
|
|
14123
|
-
*
|
|
14850
|
+
* Regular-share and junior-tranche withdrawal-queue fulfillment.
|
|
14124
14851
|
*
|
|
14125
14852
|
* Backend/cron logic — kept out of scripts so the fulfiller daemon, a Lambda,
|
|
14126
14853
|
* and the `fulfill-junior-withdraw` CLI can all share one implementation.
|
|
14127
14854
|
*
|
|
14128
|
-
*
|
|
14129
|
-
*
|
|
14130
|
-
*
|
|
14131
|
-
*
|
|
14132
|
-
* service discovers queues, filters the ones whose lockup has elapsed, and
|
|
14133
|
-
* submits `fulfill_junior_tranche_withdraw` for each.
|
|
14134
|
-
*
|
|
14135
|
-
* The queue account itself carries both mints, so fulfillment needs no extra
|
|
14136
|
-
* lookups — no dependency on the (separately-maintained) tranche-state IDL.
|
|
14855
|
+
* Requests escrow shares until fulfillment or cancellation. Junior queues become
|
|
14856
|
+
* due after their lockup; regular queues are immediately eligible for the vault's
|
|
14857
|
+
* configured fulfiller. Dispatch uses the input mint, including queues that remain
|
|
14858
|
+
* pending after a vault switches back to synchronous redemption.
|
|
14137
14859
|
*/
|
|
14138
14860
|
|
|
14139
14861
|
/** Decoded, JS-friendly view of a `VaultWithdrawalQueue` account. */
|
|
@@ -14144,7 +14866,7 @@ interface WithdrawalQueueSnapshot {
|
|
|
14144
14866
|
/** Rent payer for the queue PDA; refunded on fulfillment/cancel. */
|
|
14145
14867
|
payer: Address;
|
|
14146
14868
|
queueId: number;
|
|
14147
|
-
/** Token escrowed in the queue (junior shares). */
|
|
14869
|
+
/** Token escrowed in the queue (regular or junior shares). */
|
|
14148
14870
|
inputMint: Address;
|
|
14149
14871
|
/** Token paid out on fulfillment (vault asset). */
|
|
14150
14872
|
outputMint: Address;
|
|
@@ -14152,6 +14874,9 @@ interface WithdrawalQueueSnapshot {
|
|
|
14152
14874
|
requestTs: number;
|
|
14153
14875
|
/** Lockup expiry — fulfillable once on-chain time reaches this. */
|
|
14154
14876
|
expiryTs: number;
|
|
14877
|
+
/** Net output tokens fixed by the HW manager; null means price at fulfillment. */
|
|
14878
|
+
outputAmount: bigint | null;
|
|
14879
|
+
pricedTs: number | null;
|
|
14155
14880
|
}
|
|
14156
14881
|
interface FulfillSummary {
|
|
14157
14882
|
fulfilled: number;
|
|
@@ -14177,7 +14902,7 @@ declare class WithdrawalQueueService {
|
|
|
14177
14902
|
secondsUntilDue(queue: WithdrawalQueueSnapshot, now?: number): number;
|
|
14178
14903
|
getDueQueues(queues: WithdrawalQueueSnapshot[], now?: number): WithdrawalQueueSnapshot[];
|
|
14179
14904
|
/**
|
|
14180
|
-
* Fulfill a single
|
|
14905
|
+
* Fulfill a single regular or junior withdrawal. `signer` pays fees and, if
|
|
14181
14906
|
* needed, initializes the owner's output ATA.
|
|
14182
14907
|
*/
|
|
14183
14908
|
fulfill(signer: Keypair, queue: WithdrawalQueueSnapshot): Promise<string>;
|
|
@@ -15791,4 +16516,4 @@ declare function collectVaultLookupTableAccounts(client: VaultClient, vault: Add
|
|
|
15791
16516
|
extraAccounts?: Address[];
|
|
15792
16517
|
}): Promise<Address[]>;
|
|
15793
16518
|
|
|
15794
|
-
export { ASSET_DECIMALS, ASSET_REBALANCE_COOLDOWN_SECS, type AccountBalanceResponse, AccountClient, type AccountYieldResponse, ActivateCircuitBreakerBuilder, type ActivateCircuitBreakerIxArgs, type ActivateCircuitBreakerTxArgs, type AddAprCashflowUpdateParams, type AddCashflowUpdateParams, type AddIncentiveRecipientArgs, AddIncentiveRecipientBuilder, type AddIncentiveRecipientIxArgs, AddIncentiveRecipientV3Builder, type AddIncentiveRecipientV3IxArgs, type AddIncentiveRecipientV3TxArgs, type AddNavCashflowUpdateParams, type AprAccountBalanceResponse, type AprAccountYieldResponse, type AssetPriceOracleConfigIxArgs, type AssetPriceOracleConfigTxArgs, type AssetPriceRefreshTarget, type AssetRefreshResult, type AssetType, BALANCE_CHANGE_BASELINE_MAX_AGE_SECS, type Bankineco, type BasicAuthCredentials, type Bigintish, type BuildMarginfiWithdrawInteractionArgs, CONSENSUS_ORACLE_VARIANT, type CancelIncentiveProposalArgs, CancelIncentiveProposalBuilder, CancelJuniorTrancheWithdrawBuilder, type CancelJuniorTrancheWithdrawIxArgs, type CancelJuniorTrancheWithdrawTxArgs, ClaimIncentiveBuilder, type ClaimIncentiveIxArgs, type ClaimIncentiveTxArgs, ClaimIncentiveV3Builder, type ClaimIncentiveV3IxArgs, type ClaimIncentiveV3TxArgs, type Clock, type CollectSamplesOptions, type ConsensusAssetUpdate, type ConsensusHoldingEntry, type ConsensusHoldingSimulation, type ConsensusOracleDeps, type ConsensusOracleHoldingConfig, ConsensusOracleService, type ConsensusOracleTarget, CrankNavBuilder, type CrankNavIxArgs, type CrankNavTxArgs, CrankPerformanceFeesBuilder, type CrankPerformanceFeesIxArgs, type CrankPerformanceFeesTxArgs, type CreateAccountParams, CreateAssetHoldingBuilder, type CreateAssetHoldingIxArgs, type CreateAssetHoldingTxArgs, CreateIncentiveBuilder, type CreateIncentiveIxArgs, type CreateIncentiveTxArgs, CreateIncentiveV3Builder, type CreateIncentiveV3IxArgs, type CreateIncentiveV3TxArgs, type CreateTokenMintIxs, CreateTrancheStateBuilder, type CreateTrancheStateIxArgs, type CreateTrancheStateTxArgs, CreateVaultBuilder, type CreateVaultClientOptions, type CreateVaultIxArgs, type CreateVaultParams, type CreateVaultTxArgs, type CreateYieldPaymentParams, DEFAULT_CU_PRICE_MICRO_LAMPORTS, DEFAULT_EXTERNAL_WEIGHT_BAND_BPS, DEFAULT_JUNIOR_EARLY_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_STANDARD_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_WITHDRAWAL_LOCKUP_SECS, DEFAULT_MARGINFI_WEIGHT_BPS, DEFAULT_MAX_ACCEPTABLE_APY_BPS, DEFAULT_MINTS, DEFAULT_MIN_AMOUNT_UI, DEFAULT_ORACLE_STALENESS_THRESHOLD_SECS, DEFAULT_PRICE_ORACLE_ACCOUNT, DEFAULT_PRICE_STALENESS_SECS, DEFAULT_PRICE_STALENESS_THRESHOLD_SECS, DEFAULT_REBALANCE_BAND_BPS, DEFAULT_SLIPPAGE_BPS, DEFAULT_TARGET_LOCAL_BPS, DEFAULT_TARGET_LOCAL_USDC_TVL_BPS, DEFAULT_VAULT_ID, type DecodedHolding, type DecodedVault, type DecodedVaultTrancheState, type DeleteAccountParams, DepositCuratorFeesBuilder, type DepositCuratorFeesIxArgs, type DepositCuratorFeesTxArgs, DisableCircuitBreakerBuilder, type DisableCircuitBreakerIxArgs, type DisableCircuitBreakerTxArgs, DistributeIncentiveBuilder, type DistributeIncentiveIxArgs, type DistributeIncentiveTxArgs, DistributeIncentiveV3Builder, type DistributeIncentiveV3IxArgs, type DistributeIncentiveV3TxArgs, EXTERNAL_POSITION_SAMPLES, type EvmCallArg, type EvmContractCall, type EvmContractNavPriceConfig, ExecuteDepositBuilder, type ExecuteDepositIxArgs, type ExecuteDepositTxArgs, ExecuteShareSwapBuilder, type ExecuteShareSwapIxArgs, type ExecuteShareSwapTxArgs, ExecuteTrancheDepositBuilder, type ExecuteTrancheDepositIxArgs, type ExecuteTrancheDepositTxArgs, ExecuteTrancheWithdrawBuilder, type ExecuteTrancheWithdrawIxArgs, type ExecuteTrancheWithdrawTxArgs, ExecuteWithdrawBuilder, type ExecuteWithdrawIxArgs, type ExecuteWithdrawTxArgs, type ExternalLiquidityIntegrityOptions, type ExternalLiquidityIntegrityResult, ExternalLiquidityIntegrityService, type ExternalLiquidityIntegritySummary, type ExternalLiquiditySlot, type ExternalLiquiditySourceArgs, type ExternalPosition, type ExternalPositionContext, type ExternalPositionProvider, type ExternalPositionRef, ExternalPositionRegistry, FEE_VAULT_CACHE_CATEGORY, type FeeVaultAccountData, type FetchNestTokenPriceOptions, FulfillJuniorTrancheWithdrawBuilder, type FulfillJuniorTrancheWithdrawIxArgs, type FulfillJuniorTrancheWithdrawTxArgs, type FulfillSummary, type HoldingNavContribution, type HoldingUpdatePreview, type HttpJsonNavPriceConfig, IDL, IDLE_RESERVE_FLOOR_BPS, IDLE_RESERVE_TARGET_BPS, type IdleLiquidityOptions, type IdleLiquidityResult, IdleLiquidityService, type IdleLiquidityStatus, type IncentiveRecipient, type IncentiveTotals, type IncentiveUsdUpdateArgs, type IncentiveV3OracleState, type IncentiveV3Recipient, type IncentiveV3Totals, InitializeVaultRolesBuilder, type InitializeVaultRolesIxArgs, type InitializeVaultRolesTxArgs, type JuniorWithdrawalMode, JupiterPriceSource, type JupiterPriceSourceOptions, JupiterSwapBuilder, type JupiterSwapIxArgs, type JupiterSwapTxArgs, KaminoLendPositionProvider, KaminoPositionProvider, LIVE_ORACLE_VARIANTS, LIVE_PRICE_REFRESH_INTERVAL_SECS, LOCAL_PROTOCOL_ADMIN, LargeBalanceChangeError, type LargeBalanceChangeViolation, type LiveConsensusOracleDepsOptions, LivePriceSource, type LivePriceSourceOptions, MANAGER_WALLET_NAV_DROP_TRIGGER_BPS, MANAGER_WALLET_NAV_TOLERANCE_BPS, MAX_APY_ANCHOR_WINDOW_SECS, MAX_APY_PREVIOUS_ANCHOR_AGE_SECS, MAX_BALANCE_CHANGE_BPS, MAX_CONSENSUS_SIGNERS, MAX_INCENTIVE_RECIPIENTS, MAX_INCENTIVE_REPORT_TTL, MAX_LUT_ADDRESSES, MAX_MANAGER_WITHDRAW_DESTINATIONS, MAX_ORACLE_IMPLIED_APY_BPS, MAX_PRICE_STALENESS_THRESHOLD_SECS, MIN_EXTERNAL_POSITION_SAMPLES, ManagerRedepositAssetBuilder, type ManagerRedepositAssetIxArgs, type ManagerRedepositAssetTxArgs, type ManagerWalletBalanceSource, type ManagerWalletReconciliation, ManagerWithdrawAssetBuilder, type ManagerWithdrawAssetIxArgs, type ManagerWithdrawAssetTxArgs, MarginfiPositionProvider, type MaxApyAnchorSnapshot, type MintConfig, type MintIdentifier, type MintInfo, MintRegistry, type MintRegistryOptions, type MockYieldAccountConfig, MockYieldTracker, type MockYieldTrackerOptions, type MpcWalletBalanceSource, type MpcWalletBalances, type MpcWalletConfig, NEST_API_BASE_URL, NEST_RWA_SHARE_MINT, NEST_VAULT_SLUG, NEST_WITHDRAWAL_MATCH_TOLERANCE_BPS, type NavAccountBalanceResponse, type NavAccountValueResponse, type NavCrankBlocker, type NavCrankBlockerReason, type NavCrankReadiness, type NavCrankResult, type NavPriceConfig, type NavPricePreview, type NavPriceProvenance, type NavYieldAccount, NestApiError, type NestApiOptions, type NestDepositPlan, NestPriceSource, type NestPriceSourceOptions, type NestRedemptionQuote, type NestRedemptionStatus, ORACLE_ENTRIES_OFFSET, ORACLE_ENTRY_SIZE, ORACLE_SETTLED_NAV_TS_OFFSET, OracleService, PRICE_ORACLE_TYPES_BY_INDEX, PROGRAM_FEE_EXEMPT_OWNER_WHITELIST, PROTOCOL_ADMIN, PROTOCOL_FEE_RECIPIENT, PST_TO_USDC_MAX_SLIPPAGE_BPS, PdaClient, type PendingConsensusSignerSet, type PreparedDirectTransaction, type PreparedSquadsTransaction, type PreparedVaultTransaction, type PreviewNavPriceParams, type PriceOracleTypeArgs, type PriceSource, ProtocolInteractionBuilder, type ProtocolInteractionIxArgs, type ProtocolInteractionTxArgs, type QuoteFeeUnit, RECONCILIATION_EXTERNAL_VALUE_TOLERANCE_BPS, REPORTABLE_ORACLE_VARIANTS, type RealizedApySimulation, type RefreshLiveOraclePricesParams, RemoveAssetHoldingBuilder, type RemoveAssetHoldingIxArgs, type RemoveAssetHoldingTxArgs, ReportIncentiveV3Builder, type ReportIncentiveV3IxArgs, type ReportIncentiveV3TxArgs, RequestJuniorTrancheWithdrawBuilder, type RequestJuniorTrancheWithdrawIxArgs, type RequestJuniorTrancheWithdrawTxArgs, type ResolveExternalWithdrawArgs, type ResolvedExternalWithdraw, type ResolvedSquadsWalletRoute, type RollingLimitConfig, type RollingRebalanceLimitConfig, RpcManagerWalletBalanceSource, RpcMpcWalletBalanceSource, type RunLiveConsensusOracleOptions, type RunOptions, type RunSummary, SHARE_DECIMALS, SYSTEM_PROGRAM, SetAssetPriceOracleBuilder, type SetAssetPriceOracleIxArgs, type SetAssetPriceOracleTxArgs, SetExternalLiquidityBuilder, type SetExternalLiquidityIxArgs, type SetExternalLiquidityTxArgs, type SetIncentiveLimitsArgs, SetIncentiveLimitsBuilder, type SetIncentiveLimitsV3Args, SetIncentiveLimitsV3Builder, SetManagerWithdrawDestinationBuilder, type SetManagerWithdrawDestinationIxArgs, type SetManagerWithdrawDestinationTxArgs, SetProtocolFeeBuilder, type SetProtocolFeeIxArgs, type SetProtocolFeeTxArgs, SetVaultConfigBuilder, type SetVaultConfigIxArgs, type SetVaultConfigTxArgs, SettleIncentiveV3Builder, type SettleIncentiveV3IxArgs, type SettleIncentiveV3TxArgs, type SettleVaultParams, type SettleVaultResult, type SettlementSimulation, type SettlementSimulationSnapshot, type SimulateDryRunSettlementParams, type SimulateSettlementArgs, type SimulatedShareClass, SquadsProposalExecutionSimulationError, type SquadsProposalUpload, type SquadsWalletRouteConfig, type StaleBalanceChangeBypass, StaticPositionProvider, SubmitIncentiveBuilder, type SubmitIncentiveIxArgs, type SubmitIncentiveTxArgs, TOKEN_PROGRAM, TOKEN_PROGRAM_ID, type TimelockSettlementKind, type TimelockSettlementOptions, type TimelockSettlementRecord, TimelockSettlementService, type TimelockSettlementSummary, type TrackedAccountValue, type TrancheKindArgs, type TransactionBuilder, TransactionClient, USDC_MINT, USD_STAR_JUNIOR_MINT, USD_STAR_MINT, USD_STAR_PRINCIPAL_MINT, type UpdateAccountParams, UpdateAssetPriceBuilder, type UpdateAssetPriceIxArgs, type UpdateAssetPriceTxArgs, UpdateConsensusOracleBuilder, type UpdateConsensusOracleIxArgs, type UpdateConsensusOracleTxArgs, UpdateConsensusSignersBuilder, type UpdateConsensusSignersIxArgs, type UpdateConsensusSignersTxArgs, type UpdateDynamicAprParams, UpdateTrancheConfigBuilder, type UpdateTrancheConfigIxArgs, type UpdateTrancheConfigTxArgs, VAULT_CACHE_CATEGORY, VAULT_CREATOR_WHITELIST, VAULT_ENVIRONMENTS, VAULT_LOOKUP_TABLES, VAULT_ORACLE_CACHE_CATEGORY, VAULT_PROGRAM_ID, VAULT_PROGRAM_IDS, VAULT_PROGRAM_PUBLIC_KEY, VAULT_ROLE_UPDATE_TIMELOCK_SECS, VAULT_TRANCHE_STATE_CACHE_CATEGORY, VAULT_TRANCHE_WITHDRAWAL_QUEUE_CACHE_CATEGORY, type Vault, type VaultAccountData, VaultBuilderBase, type VaultBuilderContext, type VaultCacheInvalidation, VaultClient, type VaultClientBundle, type VaultEnv, type VaultIncentiveAccount, type VaultIncentiveAccountData, type VaultIncentiveV3Account, type VaultIncentiveV3AccountData, type VaultLookupTableMap, VaultLutManager, type VaultOracleAccountData, type VaultOracleResult, type VaultPricingInputs, type VaultQuote, type VaultQuoteArgs, VaultQuoteClient, type VaultQuoteDirection, type VaultQuoteShareClass, VaultReallocationBuilder, type VaultReallocationIxArgs, type VaultReallocationTxArgs, type VaultTrancheStateAccountData, type VaultTrancheWithdrawalQueueAccountData, type VaultTransactionPlan, WITHDRAWABLE_RESERVE_FLOOR_BPS, type WithdrawProtocolFeesIxArgs, type WithdrawProtocolFeesTxArgs, type WithdrawalLeg, type WithdrawalPlan, type WithdrawalPricing, WithdrawalQueueService, type WithdrawalQueueSnapshot, type YieldAccount, type YieldAccountSnapshot, type YieldCalculationLog, type YieldCashflow, type YieldPaymentResponse, type YieldPaymentSnapshot, type YieldTracker, type YieldValuationModel, accountingUnitPriceToUsd, addCashflowUpdate, applyEffectiveApy, assertNoLargeBalanceChanges, assertNoUnconfirmedYieldPayments, assertOracleImpliedApy, assertReconciliationExternalValues, buildHoldingUpdate, buildKaminoDepositInteraction, buildKaminoWithdrawInteraction, buildMarginfiWithdrawInteraction, buildNestDepositRequest, buildNestWithdrawalRequest, buildUpdates, candidateGrossNav, coerceBool, collectSamples, collectVaultLookupTableAccounts, confirmYieldPayment, createAccount, createLiveConsensusOracleDeps, createRpcFromConnection, createTokenMint, createTokenMintIxs, createVaultClient, createYieldPayment, dateToStr, decodeNestDepositRequest, decodeNestWithdrawalRequest, decodePendingConsensusSigners, defaultKeypairPath, deleteAccount, discoverVaultsForSigner, externalWithdrawComputeBudget, externalWithdrawLookupTables, fetchExternalPositions, fetchNestRedemptionQuote, fetchNestRedemptionStatus, fetchNestTokenPrice, fetchReceiptMints, filterTargetHoldings, findLargeBalanceChanges, findSquadsWalletRoute, formatSettlementSimulation, fromUiAmount, gatherPricingInputs, getAccount, getAccounts, getAprYield, getBalance, getCashflows, getIncentiveRecipientShareAtas, getIncentiveRecipients, getIncentiveReportRecipients, getIncentiveTotals, getIncentiveV3OracleState, getIncentiveV3RecipientShareAtas, getIncentiveV3Recipients, getIncentiveV3Totals, getNavValue, getRpcUrl, getTotalOutstandingYield, getTotalTrackedValue, getTotalYield, getTrackedValue, getVaultLookupTables, getVaultProgramId, getYield, getYieldPayments, indexConfigByMint, isEvmNavPriceConfig, isNavAccountBalance, isNavAccountValue, isNavYieldAccount, isVaultEnv, keypairAddress, loadKaminoDeposit, loadKaminoWithdrawal, loadKeypair, logProspectiveApy, makeProvider, managerReconciliationStateKey, mintTokensTo, mints, mostFrequent, parseExternalLiquidityRefs, planExternalAllocation, planRebalance, planWithdrawalLegs, prepareSquadsProposalUpload, prepareVaultTransaction, previewNavPrice, previousPhysicalNav, priceInAccountingUnit, publishedConsensusBlockers, readI64LE, readSplMintSupply, reconcileManagerWalletBalances, reconciliationExternalValues, refreshLiveOraclePrices, resolveExternalWithdraw, resolveKeypairPath, resolveSquadsWalletRoute, resolveTrackedAmounts, resolveWithdrawalPlan, roundToNextUtcMidnight, runLiveConsensusOracle, selectReportableHoldings, settleVault, signerInOracleData, simulateConsensusOracleSettlement, simulateDryRunSettlement, simulateOraclePublication, simulateSquadsProposalExecution, sumPositionsByMint, systemClock, toBigInt, toUiAmount, toWeb3AccountMeta, trackedValueFromResponse, uniqueLutAddresses, updateAccount, updateDynamicApr, validateSquadsWalletRoutes, variantName, vaultAuthorityForWallet, walletReconciliationGuardUpdates, withDiscoveredYieldAccounts, withVaultLookupTables, withdrawalComputeBudget };
|
|
16519
|
+
export { ASSET_DECIMALS, ASSET_REBALANCE_COOLDOWN_SECS, ASYNC_REDEMPTION_CANCEL_DELAY_SECS, type AccountBalanceResponse, AccountClient, type AccountYieldResponse, ActivateCircuitBreakerBuilder, type ActivateCircuitBreakerIxArgs, type ActivateCircuitBreakerTxArgs, type AddAprCashflowUpdateParams, type AddCashflowUpdateParams, type AddIncentiveRecipientArgs, AddIncentiveRecipientBuilder, type AddIncentiveRecipientIxArgs, AddIncentiveRecipientV3Builder, type AddIncentiveRecipientV3IxArgs, type AddIncentiveRecipientV3TxArgs, type AddNavCashflowUpdateParams, type AprAccountBalanceResponse, type AprAccountYieldResponse, type AssetPriceOracleConfigIxArgs, type AssetPriceOracleConfigTxArgs, type AssetPriceRefreshTarget, type AssetRefreshResult, type AssetType, BALANCE_CHANGE_BASELINE_MAX_AGE_SECS, type Bankineco, type BasicAuthCredentials, type Bigintish, type BuildMarginfiWithdrawInteractionArgs, CONSENSUS_ORACLE_VARIANT, CancelAsyncWithdrawBuilder, type CancelAsyncWithdrawIxArgs, type CancelAsyncWithdrawTxArgs, type CancelIncentiveProposalArgs, CancelIncentiveProposalBuilder, CancelJuniorTrancheWithdrawBuilder, type CancelJuniorTrancheWithdrawIxArgs, type CancelJuniorTrancheWithdrawTxArgs, ClaimIncentiveBuilder, type ClaimIncentiveIxArgs, type ClaimIncentiveTxArgs, ClaimIncentiveV3Builder, type ClaimIncentiveV3IxArgs, type ClaimIncentiveV3TxArgs, type Clock, type CollectSamplesOptions, type ConsensusAssetUpdate, type ConsensusHoldingEntry, type ConsensusHoldingSimulation, type ConsensusOracleDeps, type ConsensusOracleHoldingConfig, ConsensusOracleService, type ConsensusOracleTarget, CrankNavBuilder, type CrankNavIxArgs, type CrankNavTxArgs, CrankPerformanceFeesBuilder, type CrankPerformanceFeesIxArgs, type CrankPerformanceFeesTxArgs, type CreateAccountParams, CreateAssetHoldingBuilder, type CreateAssetHoldingIxArgs, type CreateAssetHoldingTxArgs, CreateIncentiveBuilder, type CreateIncentiveIxArgs, type CreateIncentiveTxArgs, CreateIncentiveV3Builder, type CreateIncentiveV3IxArgs, type CreateIncentiveV3TxArgs, type CreateTokenMintIxs, CreateTrancheStateBuilder, type CreateTrancheStateIxArgs, type CreateTrancheStateTxArgs, CreateVaultBuilder, type CreateVaultClientOptions, type CreateVaultIxArgs, type CreateVaultParams, type CreateVaultTxArgs, type CreateYieldPaymentParams, DEFAULT_CU_PRICE_MICRO_LAMPORTS, DEFAULT_EXTERNAL_WEIGHT_BAND_BPS, DEFAULT_JUNIOR_EARLY_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_STANDARD_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_WITHDRAWAL_LOCKUP_SECS, DEFAULT_MARGINFI_WEIGHT_BPS, DEFAULT_MAX_ACCEPTABLE_APY_BPS, DEFAULT_MINTS, DEFAULT_MIN_AMOUNT_UI, DEFAULT_ORACLE_STALENESS_THRESHOLD_SECS, DEFAULT_PRICE_ORACLE_ACCOUNT, DEFAULT_PRICE_STALENESS_SECS, DEFAULT_PRICE_STALENESS_THRESHOLD_SECS, DEFAULT_REBALANCE_BAND_BPS, DEFAULT_SLIPPAGE_BPS, DEFAULT_TARGET_LOCAL_BPS, DEFAULT_TARGET_LOCAL_USDC_TVL_BPS, DEFAULT_VAULT_ID, type DecodedHolding, type DecodedVault, type DecodedVaultTrancheState, type DeleteAccountParams, DepositCuratorFeesBuilder, type DepositCuratorFeesIxArgs, type DepositCuratorFeesTxArgs, DisableCircuitBreakerBuilder, type DisableCircuitBreakerIxArgs, type DisableCircuitBreakerTxArgs, DistributeIncentiveBuilder, type DistributeIncentiveIxArgs, type DistributeIncentiveTxArgs, DistributeIncentiveV3Builder, type DistributeIncentiveV3IxArgs, type DistributeIncentiveV3TxArgs, EXTERNAL_POSITION_SAMPLES, type EvmCallArg, type EvmContractCall, type EvmContractNavPriceConfig, ExecuteDepositBuilder, type ExecuteDepositIxArgs, type ExecuteDepositTxArgs, ExecuteShareSwapBuilder, type ExecuteShareSwapIxArgs, type ExecuteShareSwapTxArgs, ExecuteTrancheDepositBuilder, type ExecuteTrancheDepositIxArgs, type ExecuteTrancheDepositTxArgs, ExecuteTrancheWithdrawBuilder, type ExecuteTrancheWithdrawIxArgs, type ExecuteTrancheWithdrawTxArgs, ExecuteWithdrawBuilder, type ExecuteWithdrawIxArgs, type ExecuteWithdrawTxArgs, type ExternalLiquidityIntegrityOptions, type ExternalLiquidityIntegrityResult, ExternalLiquidityIntegrityService, type ExternalLiquidityIntegritySummary, type ExternalLiquiditySlot, type ExternalLiquiditySourceArgs, type ExternalPosition, type ExternalPositionContext, type ExternalPositionProvider, type ExternalPositionRef, ExternalPositionRegistry, FEE_VAULT_CACHE_CATEGORY, type FeeVaultAccountData, type FetchNestTokenPriceOptions, FulfillAsyncWithdrawBuilder, type FulfillAsyncWithdrawIxArgs, type FulfillAsyncWithdrawTxArgs, FulfillJuniorTrancheWithdrawBuilder, type FulfillJuniorTrancheWithdrawIxArgs, type FulfillJuniorTrancheWithdrawTxArgs, type FulfillSummary, type HoldingNavContribution, type HoldingUpdatePreview, type HttpJsonNavPriceConfig, IDL, IDLE_RESERVE_FLOOR_BPS, IDLE_RESERVE_TARGET_BPS, type IdleLiquidityOptions, type IdleLiquidityResult, IdleLiquidityService, type IdleLiquidityStatus, type IncentiveRecipient, type IncentiveTotals, type IncentiveUsdUpdateArgs, type IncentiveV3OracleState, type IncentiveV3Recipient, type IncentiveV3Totals, InitializeVaultRolesBuilder, type InitializeVaultRolesIxArgs, type InitializeVaultRolesTxArgs, type JuniorWithdrawalMode, JupiterPriceSource, type JupiterPriceSourceOptions, JupiterSwapBuilder, type JupiterSwapIxArgs, type JupiterSwapTxArgs, KaminoLendPositionProvider, KaminoPositionProvider, LIVE_ORACLE_VARIANTS, LIVE_PRICE_REFRESH_INTERVAL_SECS, LOCAL_PROTOCOL_ADMIN, LargeBalanceChangeError, type LargeBalanceChangeViolation, type LiveConsensusOracleDepsOptions, LivePriceSource, type LivePriceSourceOptions, MANAGER_WALLET_NAV_DROP_TRIGGER_BPS, MANAGER_WALLET_NAV_TOLERANCE_BPS, MAX_APY_ANCHOR_WINDOW_SECS, MAX_APY_PREVIOUS_ANCHOR_AGE_SECS, MAX_BALANCE_CHANGE_BPS, MAX_CONSENSUS_SIGNERS, MAX_INCENTIVE_RECIPIENTS, MAX_INCENTIVE_REPORT_TTL, MAX_LUT_ADDRESSES, MAX_MANAGER_WITHDRAW_DESTINATIONS, MAX_ORACLE_IMPLIED_APY_BPS, MAX_PRICE_STALENESS_THRESHOLD_SECS, MIN_EXTERNAL_POSITION_SAMPLES, ManagerRedepositAssetBuilder, type ManagerRedepositAssetIxArgs, type ManagerRedepositAssetTxArgs, type ManagerWalletBalanceSource, type ManagerWalletReconciliation, ManagerWithdrawAssetBuilder, type ManagerWithdrawAssetIxArgs, type ManagerWithdrawAssetTxArgs, MarginfiPositionProvider, type MaxApyAnchorSnapshot, type MintConfig, type MintIdentifier, type MintInfo, MintRegistry, type MintRegistryOptions, type MockYieldAccountConfig, MockYieldTracker, type MockYieldTrackerOptions, type MpcWalletBalanceSource, type MpcWalletBalances, type MpcWalletConfig, NEST_API_BASE_URL, NEST_RWA_SHARE_MINT, NEST_VAULT_SLUG, NEST_WITHDRAWAL_MATCH_TOLERANCE_BPS, type NavAccountBalanceResponse, type NavAccountValueResponse, type NavCrankBlocker, type NavCrankBlockerReason, type NavCrankReadiness, type NavCrankResult, type NavPriceConfig, type NavPricePreview, type NavPriceProvenance, type NavYieldAccount, NestApiError, type NestApiOptions, type NestDepositPlan, NestPriceSource, type NestPriceSourceOptions, type NestRedemptionQuote, type NestRedemptionStatus, ORACLE_ENTRIES_OFFSET, ORACLE_ENTRY_SIZE, ORACLE_SETTLED_NAV_TS_OFFSET, OracleService, PRICE_ORACLE_TYPES_BY_INDEX, PROGRAM_FEE_EXEMPT_OWNER_WHITELIST, PROTOCOL_ADMIN, PROTOCOL_FEE_RECIPIENT, PST_TO_USDC_MAX_SLIPPAGE_BPS, PdaClient, type PendingConsensusSignerSet, type PreparedDirectTransaction, type PreparedSquadsTransaction, type PreparedVaultTransaction, type PreviewNavPriceParams, PriceAsyncWithdrawBuilder, type PriceAsyncWithdrawIxArgs, type PriceAsyncWithdrawTxArgs, type PriceOracleTypeArgs, type PriceSource, ProtocolInteractionBuilder, type ProtocolInteractionIxArgs, type ProtocolInteractionTxArgs, type QuoteFeeUnit, RECONCILIATION_EXTERNAL_VALUE_TOLERANCE_BPS, REPORTABLE_ORACLE_VARIANTS, type RealizedApySimulation, type RedemptionModeArgs, type RefreshLiveOraclePricesParams, RemoveAssetHoldingBuilder, type RemoveAssetHoldingIxArgs, type RemoveAssetHoldingTxArgs, ReportIncentiveV3Builder, type ReportIncentiveV3IxArgs, type ReportIncentiveV3TxArgs, RequestAsyncWithdrawBuilder, type RequestAsyncWithdrawIxArgs, type RequestAsyncWithdrawTxArgs, RequestJuniorTrancheWithdrawBuilder, type RequestJuniorTrancheWithdrawIxArgs, type RequestJuniorTrancheWithdrawTxArgs, type ResolveExternalWithdrawArgs, type ResolvedExternalWithdraw, type ResolvedSquadsWalletRoute, type RollingLimitConfig, type RollingRebalanceLimitConfig, RpcManagerWalletBalanceSource, RpcMpcWalletBalanceSource, type RunLiveConsensusOracleOptions, type RunOptions, type RunSummary, SHARE_DECIMALS, SYSTEM_PROGRAM, SetAssetPriceOracleBuilder, type SetAssetPriceOracleIxArgs, type SetAssetPriceOracleTxArgs, SetExternalLiquidityBuilder, type SetExternalLiquidityIxArgs, type SetExternalLiquidityTxArgs, type SetIncentiveLimitsArgs, SetIncentiveLimitsBuilder, type SetIncentiveLimitsV3Args, SetIncentiveLimitsV3Builder, SetManagerWithdrawDestinationBuilder, type SetManagerWithdrawDestinationIxArgs, type SetManagerWithdrawDestinationTxArgs, SetProtocolFeeBuilder, type SetProtocolFeeIxArgs, type SetProtocolFeeTxArgs, SetVaultConfigBuilder, type SetVaultConfigIxArgs, type SetVaultConfigTxArgs, SettleIncentiveV3Builder, type SettleIncentiveV3IxArgs, type SettleIncentiveV3TxArgs, type SettleVaultParams, type SettleVaultResult, type SettlementSimulation, type SettlementSimulationSnapshot, type SimulateDryRunSettlementParams, type SimulateSettlementArgs, type SimulatedShareClass, SquadsProposalExecutionSimulationError, type SquadsProposalUpload, type SquadsWalletRouteConfig, type StaleBalanceChangeBypass, StaticPositionProvider, SubmitIncentiveBuilder, type SubmitIncentiveIxArgs, type SubmitIncentiveTxArgs, TOKEN_PROGRAM, TOKEN_PROGRAM_ID, type TimelockSettlementKind, type TimelockSettlementOptions, type TimelockSettlementRecord, TimelockSettlementService, type TimelockSettlementSummary, type TrackedAccountValue, type TrancheKindArgs, type TransactionBuilder, TransactionClient, USDC_MINT, USD_STAR_JUNIOR_MINT, USD_STAR_MINT, USD_STAR_PRINCIPAL_MINT, type UpdateAccountParams, UpdateAssetPriceBuilder, type UpdateAssetPriceIxArgs, type UpdateAssetPriceTxArgs, UpdateConsensusOracleBuilder, type UpdateConsensusOracleIxArgs, type UpdateConsensusOracleTxArgs, UpdateConsensusSignersBuilder, type UpdateConsensusSignersIxArgs, type UpdateConsensusSignersTxArgs, type UpdateDynamicAprParams, UpdateTrancheConfigBuilder, type UpdateTrancheConfigIxArgs, type UpdateTrancheConfigTxArgs, VAULT_CACHE_CATEGORY, VAULT_CREATOR_WHITELIST, VAULT_ENVIRONMENTS, VAULT_LOOKUP_TABLES, VAULT_ORACLE_CACHE_CATEGORY, VAULT_PROGRAM_ID, VAULT_PROGRAM_IDS, VAULT_PROGRAM_PUBLIC_KEY, VAULT_ROLE_UPDATE_TIMELOCK_SECS, VAULT_TRANCHE_STATE_CACHE_CATEGORY, VAULT_TRANCHE_WITHDRAWAL_QUEUE_CACHE_CATEGORY, type Vault, type VaultAccountData, VaultBuilderBase, type VaultBuilderContext, type VaultCacheInvalidation, VaultClient, type VaultClientBundle, type VaultEnv, type VaultIncentiveAccount, type VaultIncentiveAccountData, type VaultIncentiveV3Account, type VaultIncentiveV3AccountData, type VaultLookupTableMap, VaultLutManager, type VaultOracleAccountData, type VaultOracleResult, type VaultPricingInputs, type VaultQuote, type VaultQuoteArgs, VaultQuoteClient, type VaultQuoteDirection, type VaultQuoteShareClass, VaultReallocationBuilder, type VaultReallocationIxArgs, type VaultReallocationTxArgs, type VaultTrancheStateAccountData, type VaultTrancheWithdrawalQueueAccountData, type VaultTransactionPlan, type VaultWithdrawalQueueAccount, type VaultWithdrawalQueueAccountData, WALLET_FEE_EXEMPT_WHITELIST, WITHDRAWABLE_RESERVE_FLOOR_BPS, type WithdrawProtocolFeesIxArgs, type WithdrawProtocolFeesTxArgs, type WithdrawalLeg, type WithdrawalPlan, type WithdrawalPricing, WithdrawalQueueService, type WithdrawalQueueSnapshot, type YieldAccount, type YieldAccountSnapshot, type YieldCalculationLog, type YieldCashflow, type YieldPaymentResponse, type YieldPaymentSnapshot, type YieldTracker, type YieldValuationModel, accountingUnitPriceToUsd, addCashflowUpdate, applyEffectiveApy, assertNoLargeBalanceChanges, assertNoUnconfirmedYieldPayments, assertOracleImpliedApy, assertReconciliationExternalValues, buildHoldingUpdate, buildKaminoDepositInteraction, buildKaminoWithdrawInteraction, buildMarginfiWithdrawInteraction, buildNestDepositRequest, buildNestWithdrawalRequest, buildUpdates, candidateGrossNav, coerceBool, collectSamples, collectVaultLookupTableAccounts, confirmYieldPayment, createAccount, createLiveConsensusOracleDeps, createRpcFromConnection, createTokenMint, createTokenMintIxs, createVaultClient, createYieldPayment, dateToStr, decodeNestDepositRequest, decodeNestWithdrawalRequest, decodePendingConsensusSigners, defaultKeypairPath, deleteAccount, discoverVaultsForSigner, externalWithdrawComputeBudget, externalWithdrawLookupTables, fetchExternalPositions, fetchNestRedemptionQuote, fetchNestRedemptionStatus, fetchNestTokenPrice, fetchReceiptMints, filterTargetHoldings, findLargeBalanceChanges, findSquadsWalletRoute, formatSettlementSimulation, fromUiAmount, gatherPricingInputs, getAccount, getAccounts, getAprYield, getBalance, getCashflows, getIncentiveRecipientShareAtas, getIncentiveRecipients, getIncentiveReportRecipients, getIncentiveTotals, getIncentiveV3OracleState, getIncentiveV3RecipientShareAtas, getIncentiveV3Recipients, getIncentiveV3Totals, getNavValue, getRpcUrl, getTotalOutstandingYield, getTotalTrackedValue, getTotalYield, getTrackedValue, getVaultLookupTables, getVaultProgramId, getYield, getYieldPayments, indexConfigByMint, isEvmNavPriceConfig, isNavAccountBalance, isNavAccountValue, isNavYieldAccount, isVaultEnv, keypairAddress, loadKaminoDeposit, loadKaminoWithdrawal, loadKeypair, logProspectiveApy, makeProvider, managerReconciliationStateKey, mintTokensTo, mints, mostFrequent, parseExternalLiquidityRefs, planExternalAllocation, planRebalance, planWithdrawalLegs, prepareSquadsProposalUpload, prepareVaultTransaction, previewNavPrice, previousPhysicalNav, priceInAccountingUnit, publishedConsensusBlockers, quoteWithdrawalPayout, readI64LE, readSplMintSupply, reconcileManagerWalletBalances, reconciliationExternalValues, refreshLiveOraclePrices, resolveExternalWithdraw, resolveKeypairPath, resolveSquadsWalletRoute, resolveTrackedAmounts, resolveWithdrawalPlan, roundToNextUtcMidnight, runLiveConsensusOracle, selectReportableHoldings, settleVault, signerInOracleData, simulateConsensusOracleSettlement, simulateDryRunSettlement, simulateOraclePublication, simulateSquadsProposalExecution, sumPositionsByMint, systemClock, toBigInt, toUiAmount, toWeb3AccountMeta, trackedValueFromResponse, uniqueLutAddresses, updateAccount, updateDynamicApr, validateSquadsWalletRoutes, variantName, vaultAuthorityForWallet, walletReconciliationGuardUpdates, withDiscoveredYieldAccounts, withVaultLookupTables, withdrawalComputeBudget };
|