@perena/vault-sdk 1.0.44 → 1.0.47

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/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as _solana_kit from '@solana/kit';
2
2
  import { Address, AccountRole, Instruction, Rpc, SolanaRpcApi, ProgramDerivedAddressBump } from '@solana/kit';
3
3
  export { address } from '@solana/kit';
4
4
  import * as _solana_web3_js from '@solana/web3.js';
5
- import { PublicKey, Connection, AccountMeta, Keypair, SimulatedTransactionResponse, Transaction, TransactionInstruction } from '@solana/web3.js';
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
8
  import { AssociatedTokenSeeds } from '@solana-program/token';
@@ -130,6 +130,33 @@ type Bankineco = {
130
130
  }
131
131
  ];
132
132
  },
133
+ {
134
+ name: "addIncentiveRecipientV3";
135
+ discriminator: [162, 229, 103, 189, 59, 242, 9, 39];
136
+ accounts: [
137
+ {
138
+ name: "oracle";
139
+ signer: true;
140
+ },
141
+ {
142
+ name: "vault";
143
+ },
144
+ {
145
+ name: "vaultOracle";
146
+ writable: true;
147
+ },
148
+ {
149
+ name: "incentive";
150
+ writable: true;
151
+ }
152
+ ];
153
+ args: [
154
+ {
155
+ name: "wallet";
156
+ type: "pubkey";
157
+ }
158
+ ];
159
+ },
133
160
  {
134
161
  name: "cancelIncentiveProposal";
135
162
  discriminator: [130, 245, 210, 51, 150, 220, 58, 96];
@@ -281,6 +308,36 @@ type Bankineco = {
281
308
  ];
282
309
  args: [];
283
310
  },
311
+ {
312
+ name: "claimIncentiveV3";
313
+ discriminator: [112, 63, 158, 234, 57, 42, 111, 243];
314
+ accounts: [
315
+ {
316
+ name: "recipient";
317
+ signer: true;
318
+ },
319
+ {
320
+ name: "vault";
321
+ writable: true;
322
+ },
323
+ {
324
+ name: "incentive";
325
+ writable: true;
326
+ },
327
+ {
328
+ name: "shareMint";
329
+ writable: true;
330
+ },
331
+ {
332
+ name: "shareTokenProgram";
333
+ },
334
+ {
335
+ name: "recipientShareAta";
336
+ writable: true;
337
+ }
338
+ ];
339
+ args: [];
340
+ },
284
341
  {
285
342
  name: "crankNav";
286
343
  docs: [
@@ -702,6 +759,71 @@ type Bankineco = {
702
759
  }
703
760
  ];
704
761
  },
762
+ {
763
+ name: "createIncentiveV3";
764
+ discriminator: [129, 235, 93, 47, 200, 163, 67, 150];
765
+ accounts: [
766
+ {
767
+ name: "oracle";
768
+ writable: true;
769
+ signer: true;
770
+ },
771
+ {
772
+ name: "vault";
773
+ },
774
+ {
775
+ name: "vaultOracle";
776
+ writable: true;
777
+ },
778
+ {
779
+ name: "incentive";
780
+ writable: true;
781
+ pda: {
782
+ seeds: [
783
+ {
784
+ kind: "const";
785
+ value: [
786
+ 105,
787
+ 110,
788
+ 99,
789
+ 101,
790
+ 110,
791
+ 116,
792
+ 105,
793
+ 118,
794
+ 101,
795
+ 95,
796
+ 118,
797
+ 51
798
+ ];
799
+ },
800
+ {
801
+ kind: "account";
802
+ path: "vault";
803
+ },
804
+ {
805
+ kind: "arg";
806
+ path: "args.id";
807
+ }
808
+ ];
809
+ };
810
+ },
811
+ {
812
+ name: "systemProgram";
813
+ address: "11111111111111111111111111111111";
814
+ }
815
+ ];
816
+ args: [
817
+ {
818
+ name: "args";
819
+ type: {
820
+ defined: {
821
+ name: "createIncentiveV3Args";
822
+ };
823
+ };
824
+ }
825
+ ];
826
+ },
705
827
  {
706
828
  name: "createVault";
707
829
  discriminator: [29, 237, 247, 208, 193, 82, 54, 135];
@@ -846,6 +968,32 @@ type Bankineco = {
846
968
  ];
847
969
  args: [];
848
970
  },
971
+ {
972
+ name: "distributeIncentiveV3";
973
+ discriminator: [226, 99, 113, 6, 13, 21, 19, 70];
974
+ accounts: [
975
+ {
976
+ name: "cranker";
977
+ signer: true;
978
+ },
979
+ {
980
+ name: "vault";
981
+ writable: true;
982
+ },
983
+ {
984
+ name: "incentive";
985
+ writable: true;
986
+ },
987
+ {
988
+ name: "shareMint";
989
+ writable: true;
990
+ },
991
+ {
992
+ name: "shareTokenProgram";
993
+ }
994
+ ];
995
+ args: [];
996
+ },
849
997
  {
850
998
  name: "executeDeposit";
851
999
  discriminator: [247, 103, 46, 184, 88, 188, 56, 46];
@@ -5459,6 +5607,37 @@ type Bankineco = {
5459
5607
  ];
5460
5608
  args: [];
5461
5609
  },
5610
+ {
5611
+ name: "reportIncentiveV3";
5612
+ discriminator: [167, 162, 150, 40, 140, 30, 39, 190];
5613
+ accounts: [
5614
+ {
5615
+ name: "oracle";
5616
+ signer: true;
5617
+ },
5618
+ {
5619
+ name: "vault";
5620
+ },
5621
+ {
5622
+ name: "vaultOracle";
5623
+ writable: true;
5624
+ },
5625
+ {
5626
+ name: "incentive";
5627
+ writable: true;
5628
+ }
5629
+ ];
5630
+ args: [
5631
+ {
5632
+ name: "args";
5633
+ type: {
5634
+ defined: {
5635
+ name: "reportIncentiveV3Args";
5636
+ };
5637
+ };
5638
+ }
5639
+ ];
5640
+ },
5462
5641
  {
5463
5642
  name: "requestJuniorTrancheWithdraw";
5464
5643
  discriminator: [163, 114, 93, 2, 82, 47, 70, 253];
@@ -5652,6 +5831,34 @@ type Bankineco = {
5652
5831
  }
5653
5832
  ];
5654
5833
  },
5834
+ {
5835
+ name: "setIncentiveLimitsV3";
5836
+ discriminator: [34, 95, 33, 96, 223, 192, 51, 136];
5837
+ accounts: [
5838
+ {
5839
+ name: "curator";
5840
+ signer: true;
5841
+ },
5842
+ {
5843
+ name: "vault";
5844
+ writable: true;
5845
+ },
5846
+ {
5847
+ name: "incentive";
5848
+ writable: true;
5849
+ }
5850
+ ];
5851
+ args: [
5852
+ {
5853
+ name: "args";
5854
+ type: {
5855
+ defined: {
5856
+ name: "setIncentiveLimitsV3Args";
5857
+ };
5858
+ };
5859
+ }
5860
+ ];
5861
+ },
5655
5862
  {
5656
5863
  name: "setManagerWithdrawDestination";
5657
5864
  discriminator: [84, 201, 106, 46, 102, 249, 14, 189];
@@ -5750,6 +5957,50 @@ type Bankineco = {
5750
5957
  }
5751
5958
  ];
5752
5959
  },
5960
+ {
5961
+ name: "settleIncentiveV3";
5962
+ discriminator: [103, 14, 249, 252, 63, 221, 211, 119];
5963
+ accounts: [
5964
+ {
5965
+ name: "cranker";
5966
+ signer: true;
5967
+ },
5968
+ {
5969
+ name: "vault";
5970
+ writable: true;
5971
+ },
5972
+ {
5973
+ name: "incentive";
5974
+ writable: true;
5975
+ },
5976
+ {
5977
+ name: "vaultOracle";
5978
+ writable: true;
5979
+ },
5980
+ {
5981
+ name: "shareMint";
5982
+ },
5983
+ {
5984
+ name: "vaultTrancheState";
5985
+ writable: true;
5986
+ optional: true;
5987
+ },
5988
+ {
5989
+ name: "juniorTrancheShareMint";
5990
+ optional: true;
5991
+ },
5992
+ {
5993
+ name: "seniorTrancheShareMint";
5994
+ optional: true;
5995
+ }
5996
+ ];
5997
+ args: [
5998
+ {
5999
+ name: "recipientIndices";
6000
+ type: "bytes";
6001
+ }
6002
+ ];
6003
+ },
5753
6004
  {
5754
6005
  name: "submitIncentive";
5755
6006
  discriminator: [254, 156, 245, 213, 133, 22, 132, 222];
@@ -6216,6 +6467,10 @@ type Bankineco = {
6216
6467
  name: "vaultIncentive";
6217
6468
  discriminator: [120, 176, 124, 51, 97, 144, 12, 50];
6218
6469
  },
6470
+ {
6471
+ name: "vaultIncentiveV3";
6472
+ discriminator: [226, 191, 170, 109, 188, 240, 31, 7];
6473
+ },
6219
6474
  {
6220
6475
  name: "vaultOracle";
6221
6476
  discriminator: [55, 234, 122, 181, 207, 61, 41, 204];
@@ -6234,13 +6489,37 @@ type Bankineco = {
6234
6489
  name: "incentiveClaimed";
6235
6490
  discriminator: [93, 82, 106, 244, 88, 183, 241, 75];
6236
6491
  },
6492
+ {
6493
+ name: "incentiveClaimedV3";
6494
+ discriminator: [74, 19, 58, 182, 5, 249, 169, 151];
6495
+ },
6496
+ {
6497
+ name: "incentiveDisagreementV3";
6498
+ discriminator: [122, 157, 194, 177, 35, 139, 117, 244];
6499
+ },
6237
6500
  {
6238
6501
  name: "incentiveDistributed";
6239
6502
  discriminator: [149, 100, 29, 146, 164, 197, 158, 34];
6240
6503
  },
6504
+ {
6505
+ name: "incentiveDistributedV3";
6506
+ discriminator: [87, 187, 242, 158, 216, 39, 103, 176];
6507
+ },
6508
+ {
6509
+ name: "incentiveLimitsChangedV3";
6510
+ discriminator: [49, 41, 70, 3, 252, 113, 144, 12];
6511
+ },
6512
+ {
6513
+ name: "incentiveReportedV3";
6514
+ discriminator: [195, 32, 74, 25, 155, 129, 202, 150];
6515
+ },
6241
6516
  {
6242
6517
  name: "incentiveReserved";
6243
6518
  discriminator: [168, 145, 110, 44, 228, 193, 56, 235];
6519
+ },
6520
+ {
6521
+ name: "incentiveSettledV3";
6522
+ discriminator: [236, 37, 94, 105, 80, 157, 154, 140];
6244
6523
  }
6245
6524
  ];
6246
6525
  errors: [
@@ -6797,21 +7076,43 @@ type Bankineco = {
6797
7076
  };
6798
7077
  },
6799
7078
  {
6800
- name: "externalLiquiditySlot";
6801
- serialization: "bytemuck";
6802
- repr: {
6803
- kind: "c";
6804
- };
7079
+ name: "createIncentiveV3Args";
6805
7080
  type: {
6806
7081
  kind: "struct";
6807
7082
  fields: [
6808
7083
  {
6809
- name: "data";
7084
+ name: "id";
7085
+ type: "u64";
7086
+ },
7087
+ {
7088
+ name: "recipients";
6810
7089
  type: {
6811
- array: ["u8", 256];
7090
+ vec: "pubkey";
6812
7091
  };
6813
- }
6814
- ];
7092
+ },
7093
+ {
7094
+ name: "maxTotalUsd";
7095
+ type: "u64";
7096
+ }
7097
+ ];
7098
+ };
7099
+ },
7100
+ {
7101
+ name: "externalLiquiditySlot";
7102
+ serialization: "bytemuck";
7103
+ repr: {
7104
+ kind: "c";
7105
+ };
7106
+ type: {
7107
+ kind: "struct";
7108
+ fields: [
7109
+ {
7110
+ name: "data";
7111
+ type: {
7112
+ array: ["u8", 256];
7113
+ };
7114
+ }
7115
+ ];
6815
7116
  };
6816
7117
  },
6817
7118
  {
@@ -6946,6 +7247,56 @@ type Bankineco = {
6946
7247
  ];
6947
7248
  };
6948
7249
  },
7250
+ {
7251
+ name: "incentiveClaimedV3";
7252
+ type: {
7253
+ kind: "struct";
7254
+ fields: [
7255
+ {
7256
+ name: "vault";
7257
+ type: "pubkey";
7258
+ },
7259
+ {
7260
+ name: "incentive";
7261
+ type: "pubkey";
7262
+ },
7263
+ {
7264
+ name: "wallet";
7265
+ type: "pubkey";
7266
+ },
7267
+ {
7268
+ name: "shares";
7269
+ type: "u64";
7270
+ }
7271
+ ];
7272
+ };
7273
+ },
7274
+ {
7275
+ name: "incentiveDisagreementV3";
7276
+ type: {
7277
+ kind: "struct";
7278
+ fields: [
7279
+ {
7280
+ name: "vault";
7281
+ type: "pubkey";
7282
+ },
7283
+ {
7284
+ name: "incentive";
7285
+ type: "pubkey";
7286
+ },
7287
+ {
7288
+ name: "wallet";
7289
+ type: "pubkey";
7290
+ },
7291
+ {
7292
+ name: "totalsUsd";
7293
+ type: {
7294
+ array: ["u64", 2];
7295
+ };
7296
+ }
7297
+ ];
7298
+ };
7299
+ },
6949
7300
  {
6950
7301
  name: "incentiveDistributed";
6951
7302
  type: {
@@ -6966,6 +7317,58 @@ type Bankineco = {
6966
7317
  ];
6967
7318
  };
6968
7319
  },
7320
+ {
7321
+ name: "incentiveDistributedV3";
7322
+ type: {
7323
+ kind: "struct";
7324
+ fields: [
7325
+ {
7326
+ name: "vault";
7327
+ type: "pubkey";
7328
+ },
7329
+ {
7330
+ name: "incentive";
7331
+ type: "pubkey";
7332
+ },
7333
+ {
7334
+ name: "shares";
7335
+ type: "u64";
7336
+ }
7337
+ ];
7338
+ };
7339
+ },
7340
+ {
7341
+ name: "incentiveLimitsChangedV3";
7342
+ type: {
7343
+ kind: "struct";
7344
+ fields: [
7345
+ {
7346
+ name: "vault";
7347
+ type: "pubkey";
7348
+ },
7349
+ {
7350
+ name: "incentive";
7351
+ type: "pubkey";
7352
+ },
7353
+ {
7354
+ name: "configGeneration";
7355
+ type: "u64";
7356
+ },
7357
+ {
7358
+ name: "maxTotalUsd";
7359
+ type: "u64";
7360
+ },
7361
+ {
7362
+ name: "maxSurplusValue";
7363
+ type: "u64";
7364
+ },
7365
+ {
7366
+ name: "minSurplusReserve";
7367
+ type: "u64";
7368
+ }
7369
+ ];
7370
+ };
7371
+ },
6969
7372
  {
6970
7373
  name: "incentiveRecipient";
6971
7374
  serialization: "bytemuck";
@@ -6999,6 +7402,101 @@ type Bankineco = {
6999
7402
  ];
7000
7403
  };
7001
7404
  },
7405
+ {
7406
+ name: "incentiveRecipientV3";
7407
+ serialization: "bytemuck";
7408
+ repr: {
7409
+ kind: "c";
7410
+ };
7411
+ type: {
7412
+ kind: "struct";
7413
+ fields: [
7414
+ {
7415
+ name: "wallet";
7416
+ type: "pubkey";
7417
+ },
7418
+ {
7419
+ name: "oracleTotalUsd";
7420
+ docs: [
7421
+ "Lifetime atomic accounting units (USD when that is the vault's unit)."
7422
+ ];
7423
+ type: {
7424
+ array: ["u64", 2];
7425
+ };
7426
+ },
7427
+ {
7428
+ name: "expiresAt";
7429
+ docs: [
7430
+ "Independent deadlines. Zero means this slot has not authorized this wallet."
7431
+ ];
7432
+ type: {
7433
+ array: ["i64", 2];
7434
+ };
7435
+ },
7436
+ {
7437
+ name: "settledUsd";
7438
+ docs: [
7439
+ "Cumulative accounting units actually converted and funded."
7440
+ ];
7441
+ type: "u64";
7442
+ },
7443
+ {
7444
+ name: "settledShares";
7445
+ type: "u64";
7446
+ },
7447
+ {
7448
+ name: "claimedShares";
7449
+ type: "u64";
7450
+ }
7451
+ ];
7452
+ };
7453
+ },
7454
+ {
7455
+ name: "incentiveReportedV3";
7456
+ type: {
7457
+ kind: "struct";
7458
+ fields: [
7459
+ {
7460
+ name: "vault";
7461
+ type: "pubkey";
7462
+ },
7463
+ {
7464
+ name: "incentive";
7465
+ type: "pubkey";
7466
+ },
7467
+ {
7468
+ name: "oracleIndex";
7469
+ type: "u8";
7470
+ },
7471
+ {
7472
+ name: "signerGeneration";
7473
+ type: "u64";
7474
+ },
7475
+ {
7476
+ name: "configGeneration";
7477
+ type: "u64";
7478
+ },
7479
+ {
7480
+ name: "sequence";
7481
+ type: "u64";
7482
+ },
7483
+ {
7484
+ name: "expiresAt";
7485
+ type: "i64";
7486
+ },
7487
+ {
7488
+ name: "updates";
7489
+ type: {
7490
+ vec: {
7491
+ defined: {
7492
+ name: "incentiveUsdUpdate";
7493
+ };
7494
+ };
7495
+ };
7496
+ }
7497
+ ];
7498
+ };
7499
+ },
7002
7500
  {
7003
7501
  name: "incentiveReserved";
7004
7502
  type: {
@@ -7031,6 +7529,74 @@ type Bankineco = {
7031
7529
  ];
7032
7530
  };
7033
7531
  },
7532
+ {
7533
+ name: "incentiveSettledV3";
7534
+ type: {
7535
+ kind: "struct";
7536
+ fields: [
7537
+ {
7538
+ name: "vault";
7539
+ type: "pubkey";
7540
+ },
7541
+ {
7542
+ name: "incentive";
7543
+ type: "pubkey";
7544
+ },
7545
+ {
7546
+ name: "signerGeneration";
7547
+ type: "u64";
7548
+ },
7549
+ {
7550
+ name: "configGeneration";
7551
+ type: "u64";
7552
+ },
7553
+ {
7554
+ name: "additionalUsd";
7555
+ type: {
7556
+ array: ["u64", 5];
7557
+ };
7558
+ },
7559
+ {
7560
+ name: "additionalShares";
7561
+ type: {
7562
+ array: ["u64", 5];
7563
+ };
7564
+ },
7565
+ {
7566
+ name: "curatorShares";
7567
+ type: "u64";
7568
+ },
7569
+ {
7570
+ name: "surplusValue";
7571
+ type: "u64";
7572
+ },
7573
+ {
7574
+ name: "regularBacking";
7575
+ type: "u64";
7576
+ },
7577
+ {
7578
+ name: "effectiveSupply";
7579
+ type: "u64";
7580
+ }
7581
+ ];
7582
+ };
7583
+ },
7584
+ {
7585
+ name: "incentiveUsdUpdate";
7586
+ type: {
7587
+ kind: "struct";
7588
+ fields: [
7589
+ {
7590
+ name: "recipientIndex";
7591
+ type: "u8";
7592
+ },
7593
+ {
7594
+ name: "totalUsd";
7595
+ type: "u64";
7596
+ }
7597
+ ];
7598
+ };
7599
+ },
7034
7600
  {
7035
7601
  name: "initializeVaultRolesArgs";
7036
7602
  type: {
@@ -7371,6 +7937,40 @@ type Bankineco = {
7371
7937
  ];
7372
7938
  };
7373
7939
  },
7940
+ {
7941
+ name: "reportIncentiveV3Args";
7942
+ type: {
7943
+ kind: "struct";
7944
+ fields: [
7945
+ {
7946
+ name: "signerGeneration";
7947
+ type: "u64";
7948
+ },
7949
+ {
7950
+ name: "configGeneration";
7951
+ type: "u64";
7952
+ },
7953
+ {
7954
+ name: "sequence";
7955
+ type: "u64";
7956
+ },
7957
+ {
7958
+ name: "expiresAt";
7959
+ type: "i64";
7960
+ },
7961
+ {
7962
+ name: "updates";
7963
+ type: {
7964
+ vec: {
7965
+ defined: {
7966
+ name: "incentiveUsdUpdate";
7967
+ };
7968
+ };
7969
+ };
7970
+ }
7971
+ ];
7972
+ };
7973
+ },
7374
7974
  {
7375
7975
  name: "rollingLimitConfig";
7376
7976
  docs: [
@@ -7591,6 +8191,26 @@ type Bankineco = {
7591
8191
  ];
7592
8192
  };
7593
8193
  },
8194
+ {
8195
+ name: "setIncentiveLimitsV3Args";
8196
+ type: {
8197
+ kind: "struct";
8198
+ fields: [
8199
+ {
8200
+ name: "maxTotalUsd";
8201
+ type: "u64";
8202
+ },
8203
+ {
8204
+ name: "maxSurplusValue";
8205
+ type: "u64";
8206
+ },
8207
+ {
8208
+ name: "minSurplusReserve";
8209
+ type: "u64";
8210
+ }
8211
+ ];
8212
+ };
8213
+ },
7594
8214
  {
7595
8215
  name: "setManagerWithdrawDestinationArgs";
7596
8216
  type: {
@@ -8787,6 +9407,93 @@ type Bankineco = {
8787
9407
  ];
8788
9408
  };
8789
9409
  },
9410
+ {
9411
+ name: "vaultIncentiveV3";
9412
+ docs: [
9413
+ "Separate discriminator and PDA namespace: legacy share counters are never",
9414
+ "interpreted as USD. No per-wallet program accounts are needed."
9415
+ ];
9416
+ serialization: "bytemuck";
9417
+ repr: {
9418
+ kind: "c";
9419
+ };
9420
+ type: {
9421
+ kind: "struct";
9422
+ fields: [
9423
+ {
9424
+ name: "vault";
9425
+ type: "pubkey";
9426
+ },
9427
+ {
9428
+ name: "id";
9429
+ type: "u64";
9430
+ },
9431
+ {
9432
+ name: "maxTotalUsd";
9433
+ type: "u64";
9434
+ },
9435
+ {
9436
+ name: "maxSurplusValue";
9437
+ docs: ["Lifetime surplus budget, including previous settlements."];
9438
+ type: "u64";
9439
+ },
9440
+ {
9441
+ name: "spentSurplusValue";
9442
+ type: "u64";
9443
+ },
9444
+ {
9445
+ name: "configGeneration";
9446
+ type: "u64";
9447
+ },
9448
+ {
9449
+ name: "oracleSequences";
9450
+ docs: [
9451
+ "Each signer orders its own partial updates; sequences never reset."
9452
+ ];
9453
+ type: {
9454
+ array: ["u64", 2];
9455
+ };
9456
+ },
9457
+ {
9458
+ name: "oracleGenerations";
9459
+ type: {
9460
+ array: ["u64", 2];
9461
+ };
9462
+ },
9463
+ {
9464
+ name: "recipients";
9465
+ type: {
9466
+ array: [
9467
+ {
9468
+ defined: {
9469
+ name: "incentiveRecipientV3";
9470
+ };
9471
+ },
9472
+ 5
9473
+ ];
9474
+ };
9475
+ },
9476
+ {
9477
+ name: "bump";
9478
+ type: "u8";
9479
+ },
9480
+ {
9481
+ name: "recipientCount";
9482
+ type: "u8";
9483
+ },
9484
+ {
9485
+ name: "version";
9486
+ type: "u8";
9487
+ },
9488
+ {
9489
+ name: "padding";
9490
+ type: {
9491
+ array: ["u8", 5];
9492
+ };
9493
+ }
9494
+ ];
9495
+ };
9496
+ },
8790
9497
  {
8791
9498
  name: "vaultOracle";
8792
9499
  serialization: "bytemuck";
@@ -11599,6 +12306,7 @@ declare function simulateSquadsProposalExecution(args: {
11599
12306
  feePayer: PublicKey;
11600
12307
  instructions: readonly TransactionInstruction[];
11601
12308
  recentBlockhash?: string;
12309
+ addressLookupTableAccounts?: AddressLookupTableAccount[];
11602
12310
  }): Promise<SimulatedTransactionResponse>;
11603
12311
  /**
11604
12312
  * Build either a normal transaction or a Squads proposal-creation transaction,
@@ -11614,8 +12322,25 @@ declare function prepareVaultTransaction(args: {
11614
12322
  squadsRoutes?: readonly SquadsWalletRouteConfig[];
11615
12323
  /** Skip execution simulation when proposing a transaction that depends on future funding. */
11616
12324
  skipSimulation?: boolean;
12325
+ addressLookupTableAccounts?: AddressLookupTableAccount[];
11617
12326
  }): Promise<PreparedVaultTransaction>;
11618
12327
 
12328
+ interface SquadsProposalUpload {
12329
+ /** Send these sequentially, waiting for confirmation after each. */
12330
+ setupTransactions: Transaction[];
12331
+ /** Creates the proposal only after the entire message is stored. */
12332
+ proposalTransaction: Transaction;
12333
+ bufferPda?: PublicKey;
12334
+ /** Explicit recovery if upload is interrupted. Never submit this automatically. */
12335
+ closeBufferInstruction?: TransactionInstruction;
12336
+ }
12337
+ /** Large cross-chain messages need Squads' buffer upload even when execution uses ALTs. */
12338
+ declare function prepareSquadsProposalUpload(args: {
12339
+ connection: Connection;
12340
+ proposer: PublicKey;
12341
+ prepared: PreparedSquadsTransaction;
12342
+ }): Promise<SquadsProposalUpload>;
12343
+
11619
12344
  interface CreateTokenMintIxs {
11620
12345
  mint: Keypair;
11621
12346
  ixs: TransactionInstruction[];
@@ -12698,6 +13423,56 @@ interface FetchNestVaultSharePriceOptions {
12698
13423
  fetchFn?: typeof fetch;
12699
13424
  }
12700
13425
 
13426
+ interface NestApiOptions {
13427
+ baseUrl?: string;
13428
+ fetchFn?: typeof fetch;
13429
+ signal?: AbortSignal;
13430
+ }
13431
+ interface NestRedemptionQuote {
13432
+ nestVaultSlug: string;
13433
+ redemptionAsset: "USDC";
13434
+ shareAmount: string;
13435
+ shareDecimals: number;
13436
+ redemptionAmount: string;
13437
+ redemptionDecimals: number;
13438
+ feeAmount: string;
13439
+ }
13440
+ interface NestRedemptionStep {
13441
+ status: string;
13442
+ statusCode?: number;
13443
+ signature?: string;
13444
+ amount?: string;
13445
+ usdcClaimed?: string;
13446
+ error?: string;
13447
+ }
13448
+ interface NestRedemptionStatus {
13449
+ solanaBurnSignature: string;
13450
+ solanaWallet: string;
13451
+ overallStatus: string;
13452
+ progress?: string;
13453
+ steps: {
13454
+ solanaBurn: NestRedemptionStep;
13455
+ plumeProcessing: NestRedemptionStep;
13456
+ cctpAttestation: NestRedemptionStep;
13457
+ solanaClaim: NestRedemptionStep;
13458
+ };
13459
+ error?: {
13460
+ code?: string;
13461
+ message?: string;
13462
+ };
13463
+ }
13464
+ declare class NestApiError extends Error {
13465
+ readonly status: number;
13466
+ constructor(status: number, message: string);
13467
+ }
13468
+ /** Indicative quote only: the settlement price and fees may change in the queue. */
13469
+ declare function fetchNestRedemptionQuote(args: {
13470
+ nestVaultSlug: string;
13471
+ rawAmountNestToken: bigint;
13472
+ }, options?: NestApiOptions): Promise<NestRedemptionQuote>;
13473
+ /** Use the Squads EXECUTION signature, not the proposal-creation signature. */
13474
+ declare function fetchNestRedemptionStatus(signature: string, options?: NestApiOptions): Promise<NestRedemptionStatus | null>;
13475
+
12701
13476
  /**
12702
13477
  * {@link PriceSource} adapter over the `nest` package's price API, bound to the
12703
13478
  * Perena vault's Nest slug and share mint.
@@ -13066,10 +13841,10 @@ declare class ExternalLiquidityIntegrityService {
13066
13841
  * Keeps a floor of idle USDC in the vault so junior withdrawals and other
13067
13842
  * payouts can be served without unwinding yield positions on demand.
13068
13843
  *
13069
- * Idle USDC is measured as the USDC holding's `local_amount + external_amount`
13070
- * valued at the holding price — external (Marginfi-deployed) USDC counts,
13071
- * because the external-liquidity service sweeps local balances into Marginfi on
13072
- * its own schedule and that liquidity is withdrawable.
13844
+ * Idle USDC is the live balance of the vault's USDC token account plus USDC
13845
+ * deposits in external-liquidity slot 0 (Marginfi), valued at the holding price.
13846
+ * The holding's aggregate `external_amount` includes other deployed capital
13847
+ * and must not be used as the idle reserve.
13073
13848
  *
13074
13849
  * When idle USDC drops below {@link IDLE_RESERVE_FLOOR_BPS} of vault TVL, the
13075
13850
  * service swaps PST into USDC through the permissioned `jupiter_swap`
@@ -13105,7 +13880,7 @@ interface IdleLiquidityResult {
13105
13880
  reason: string;
13106
13881
  /** Vault TVL in accounting units. */
13107
13882
  tvl: bigint;
13108
- /** Idle USDC (local + external) valued in accounting units. */
13883
+ /** Live vault USDC + slot-0 Marginfi USDC deposits, in accounting units. */
13109
13884
  idleValue: bigint;
13110
13885
  /** Idle USDC as a share of TVL, in bps. */
13111
13886
  idleBps: number;
@@ -13141,6 +13916,8 @@ declare class IdleLiquidityService {
13141
13916
  * Never throws for an expected no-op — inspect `status` on the result.
13142
13917
  */
13143
13918
  run(vault: Address, hwManager: Keypair, opts?: IdleLiquidityOptions): Promise<IdleLiquidityResult>;
13919
+ /** Read only the two locations that constitute the idle USDC reserve. */
13920
+ private fetchIdleUsdc;
13144
13921
  /**
13145
13922
  * Decide whether a top-up is warranted. Returns either a terminal `result`
13146
13923
  * (nothing to do) or the holdings and sizing needed to build the swap.
@@ -13233,4 +14010,27 @@ declare class TimelockSettlementService {
13233
14010
  private execute;
13234
14011
  }
13235
14012
 
13236
- 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, 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, 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, type CreateTokenMintIxs, CreateTrancheStateBuilder, type CreateTrancheStateIxArgs, type CreateTrancheStateTxArgs, CreateVaultBuilder, type CreateVaultClientOptions, type CreateVaultIxArgs, type CreateVaultParams, type CreateVaultTxArgs, type CreateYieldPaymentParams, DEFAULT_CU_PRICE_MICRO_LAMPORTS, DEFAULT_JUNIOR_EARLY_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_STANDARD_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_WITHDRAWAL_LOCKUP_SECS, DEFAULT_MAX_ACCEPTABLE_APY_BPS, DEFAULT_MAX_ACCOUNTS, 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_VAULT_ID, type DecodedHolding, type DecodedVault, type DecodedVaultTrancheState, type DeleteAccountParams, DisableCircuitBreakerBuilder, type DisableCircuitBreakerIxArgs, type DisableCircuitBreakerTxArgs, DistributeIncentiveBuilder, type DistributeIncentiveIxArgs, type DistributeIncentiveTxArgs, EXTERNAL_POSITION_SAMPLES, 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, IDL, IDLE_RESERVE_FLOOR_BPS, IDLE_RESERVE_TARGET_BPS, type IdleLiquidityOptions, type IdleLiquidityResult, IdleLiquidityService, type IdleLiquidityStatus, type IncentiveRecipient, type IncentiveTotals, InitializeVaultRolesBuilder, type InitializeVaultRolesIxArgs, type InitializeVaultRolesTxArgs, type JuniorWithdrawalMode, JupiterPriceSource, type JupiterPriceSourceOptions, JupiterSwapBuilder, type JupiterSwapIxArgs, type JupiterSwapTxArgs, KaminoPositionProvider, LIVE_ORACLE_VARIANTS, LIVE_PRICE_REFRESH_INTERVAL_SECS, LOCAL_PROTOCOL_ADMIN, LargeBalanceChangeError, type LargeBalanceChangeViolation, type LiveConsensusOracleDepsOptions, LivePriceSource, type LivePriceSourceOptions, MAX_APY_ANCHOR_WINDOW_SECS, MAX_BALANCE_CHANGE_BPS, MAX_CONSENSUS_SIGNERS, MAX_INCENTIVE_RECIPIENTS, MAX_MANAGER_WITHDRAW_DESTINATIONS, MAX_PRICE_STALENESS_THRESHOLD_SECS, MIN_EXTERNAL_POSITION_SAMPLES, ManagerRedepositAssetBuilder, type ManagerRedepositAssetIxArgs, type ManagerRedepositAssetTxArgs, ManagerWithdrawAssetBuilder, type ManagerWithdrawAssetIxArgs, type ManagerWithdrawAssetTxArgs, MarginfiPositionProvider, type MaxApyAnchorSnapshot, type MintConfig, type MintIdentifier, type MintInfo, MintRegistry, type MintRegistryOptions, type MockYieldAccountConfig, MockYieldTracker, type MockYieldTrackerOptions, NEST_API_BASE_URL, NEST_RWA_SHARE_MINT, NEST_VAULT_SLUG, type NavAccountBalanceResponse, type NavAccountValueResponse, type NavCrankBlocker, type NavCrankBlockerReason, type NavCrankReadiness, type NavCrankResult, type NavPriceConfig, type NavYieldAccount, NestPriceSource, type NestPriceSourceOptions, 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, PdaClient, type PendingConsensusSignerSet, type PreparedDirectTransaction, type PreparedSquadsTransaction, type PreparedVaultTransaction, type PriceOracleTypeArgs, type PriceSource, ProtocolInteractionBuilder, type ProtocolInteractionIxArgs, type ProtocolInteractionTxArgs, type QuoteFeeUnit, REPORTABLE_ORACLE_VARIANTS, type RealizedApySimulation, type RefreshLiveOraclePricesParams, RemoveAssetHoldingBuilder, type RemoveAssetHoldingIxArgs, type RemoveAssetHoldingTxArgs, RequestJuniorTrancheWithdrawBuilder, type RequestJuniorTrancheWithdrawIxArgs, type RequestJuniorTrancheWithdrawTxArgs, type ResolveExternalWithdrawArgs, type ResolvedExternalWithdraw, type ResolvedSquadsWalletRoute, type RollingLimitConfig, type RollingRebalanceLimitConfig, type RunLiveConsensusOracleOptions, type RunOptions, type RunSummary, SHARE_DECIMALS, SYSTEM_PROGRAM, SetAssetPriceOracleBuilder, type SetAssetPriceOracleIxArgs, type SetAssetPriceOracleTxArgs, SetExternalLiquidityBuilder, type SetExternalLiquidityIxArgs, type SetExternalLiquidityTxArgs, type SetIncentiveLimitsArgs, SetIncentiveLimitsBuilder, SetManagerWithdrawDestinationBuilder, type SetManagerWithdrawDestinationIxArgs, type SetManagerWithdrawDestinationTxArgs, SetProtocolFeeBuilder, type SetProtocolFeeIxArgs, type SetProtocolFeeTxArgs, SetVaultConfigBuilder, type SetVaultConfigIxArgs, type SetVaultConfigTxArgs, type SettleVaultParams, type SettleVaultResult, type SettlementSimulation, type SettlementSimulationSnapshot, type SimulateDryRunSettlementParams, type SimulateSettlementArgs, type SimulatedShareClass, SquadsProposalExecutionSimulationError, 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_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 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 WithdrawProtocolFeesIxArgs, type WithdrawProtocolFeesTxArgs, WithdrawalQueueService, type WithdrawalQueueSnapshot, type YieldAccount, type YieldAccountSnapshot, type YieldCalculationLog, type YieldCashflow, type YieldPaymentResponse, type YieldPaymentSnapshot, type YieldTracker, type YieldValuationModel, accountingUnitPriceToUsd, addCashflowUpdate, applyEffectiveApy, assertNoLargeBalanceChanges, assertNoUnconfirmedYieldPayments, buildHoldingUpdate, buildMarginfiWithdrawInteraction, buildUpdates, coerceBool, collectSamples, confirmYieldPayment, createAccount, createLiveConsensusOracleDeps, createRpcFromConnection, createTokenMint, createTokenMintIxs, createVaultClient, createYieldPayment, dateToStr, decodePendingConsensusSigners, defaultKeypairPath, deleteAccount, discoverVaultsForSigner, fetchExternalPositions, fetchNestTokenPrice, fetchReceiptMints, filterTargetHoldings, findLargeBalanceChanges, findSquadsWalletRoute, formatSettlementSimulation, fromUiAmount, gatherPricingInputs, getAccount, getAccounts, getAprYield, getBalance, getCashflows, getIncentiveRecipientShareAtas, getIncentiveRecipients, getIncentiveReportRecipients, getIncentiveTotals, getNavValue, getRpcUrl, getTotalOutstandingYield, getTotalTrackedValue, getTotalYield, getTrackedValue, getVaultProgramId, getYield, getYieldPayments, indexConfigByMint, isNavAccountBalance, isNavAccountValue, isNavYieldAccount, isVaultEnv, keypairAddress, loadKeypair, logProspectiveApy, makeProvider, mintTokensTo, mints, mostFrequent, parseExternalLiquidityRefs, planRebalance, prepareVaultTransaction, priceInAccountingUnit, readI64LE, readSplMintSupply, refreshLiveOraclePrices, resolveExternalWithdraw, resolveKeypairPath, resolveSquadsWalletRoute, resolveTrackedAmounts, roundToNextUtcMidnight, runLiveConsensusOracle, selectReportableHoldings, settleVault, signerInOracleData, simulateConsensusOracleSettlement, simulateDryRunSettlement, simulateSquadsProposalExecution, sumPositionsByMint, systemClock, toBigInt, toUiAmount, toWeb3AccountMeta, trackedValueFromResponse, updateAccount, updateDynamicApr, validateSquadsWalletRoutes, variantName, vaultAuthorityForWallet, withDiscoveredYieldAccounts };
14013
+ /**
14014
+ * Build a standard nPERENA withdrawal from its current owner's ATA. The owner
14015
+ * must already hold the shares; move program-held shares to the manager first.
14016
+ * The returned plan can be proposed in Squads with the owner set to its vault PDA.
14017
+ *
14018
+ * Nest keepers settle the cross-chain withdrawal asynchronously and return USDC
14019
+ * to the same owner. There is no user-signed Nest fulfillment transaction in the
14020
+ * documented API. This plan deliberately does not append a premature redeposit.
14021
+ */
14022
+ declare function buildNestWithdrawalRequest(args: {
14023
+ connection: Connection;
14024
+ owner: PublicKey;
14025
+ rawAmountNestToken: bigint;
14026
+ apiOptions?: NestApiOptions;
14027
+ }): Promise<VaultTransactionPlan>;
14028
+ /** Resolve ALTs before decompiling; reject additional signers Squads cannot supply. */
14029
+ declare function decodeNestWithdrawalRequest(args: {
14030
+ connection: Connection;
14031
+ owner: PublicKey;
14032
+ rawAmountNestToken: bigint;
14033
+ txBase64: string;
14034
+ }): Promise<VaultTransactionPlan>;
14035
+
14036
+ 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, 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, 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, type CreateTokenMintIxs, CreateTrancheStateBuilder, type CreateTrancheStateIxArgs, type CreateTrancheStateTxArgs, CreateVaultBuilder, type CreateVaultClientOptions, type CreateVaultIxArgs, type CreateVaultParams, type CreateVaultTxArgs, type CreateYieldPaymentParams, DEFAULT_CU_PRICE_MICRO_LAMPORTS, DEFAULT_JUNIOR_EARLY_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_STANDARD_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_WITHDRAWAL_LOCKUP_SECS, DEFAULT_MAX_ACCEPTABLE_APY_BPS, DEFAULT_MAX_ACCOUNTS, 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_VAULT_ID, type DecodedHolding, type DecodedVault, type DecodedVaultTrancheState, type DeleteAccountParams, DisableCircuitBreakerBuilder, type DisableCircuitBreakerIxArgs, type DisableCircuitBreakerTxArgs, DistributeIncentiveBuilder, type DistributeIncentiveIxArgs, type DistributeIncentiveTxArgs, EXTERNAL_POSITION_SAMPLES, 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, IDL, IDLE_RESERVE_FLOOR_BPS, IDLE_RESERVE_TARGET_BPS, type IdleLiquidityOptions, type IdleLiquidityResult, IdleLiquidityService, type IdleLiquidityStatus, type IncentiveRecipient, type IncentiveTotals, InitializeVaultRolesBuilder, type InitializeVaultRolesIxArgs, type InitializeVaultRolesTxArgs, type JuniorWithdrawalMode, JupiterPriceSource, type JupiterPriceSourceOptions, JupiterSwapBuilder, type JupiterSwapIxArgs, type JupiterSwapTxArgs, KaminoPositionProvider, LIVE_ORACLE_VARIANTS, LIVE_PRICE_REFRESH_INTERVAL_SECS, LOCAL_PROTOCOL_ADMIN, LargeBalanceChangeError, type LargeBalanceChangeViolation, type LiveConsensusOracleDepsOptions, LivePriceSource, type LivePriceSourceOptions, MAX_APY_ANCHOR_WINDOW_SECS, MAX_BALANCE_CHANGE_BPS, MAX_CONSENSUS_SIGNERS, MAX_INCENTIVE_RECIPIENTS, MAX_MANAGER_WITHDRAW_DESTINATIONS, MAX_PRICE_STALENESS_THRESHOLD_SECS, MIN_EXTERNAL_POSITION_SAMPLES, ManagerRedepositAssetBuilder, type ManagerRedepositAssetIxArgs, type ManagerRedepositAssetTxArgs, ManagerWithdrawAssetBuilder, type ManagerWithdrawAssetIxArgs, type ManagerWithdrawAssetTxArgs, MarginfiPositionProvider, type MaxApyAnchorSnapshot, type MintConfig, type MintIdentifier, type MintInfo, MintRegistry, type MintRegistryOptions, type MockYieldAccountConfig, MockYieldTracker, type MockYieldTrackerOptions, NEST_API_BASE_URL, NEST_RWA_SHARE_MINT, NEST_VAULT_SLUG, type NavAccountBalanceResponse, type NavAccountValueResponse, type NavCrankBlocker, type NavCrankBlockerReason, type NavCrankReadiness, type NavCrankResult, type NavPriceConfig, type NavYieldAccount, NestApiError, type NestApiOptions, 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, PdaClient, type PendingConsensusSignerSet, type PreparedDirectTransaction, type PreparedSquadsTransaction, type PreparedVaultTransaction, type PriceOracleTypeArgs, type PriceSource, ProtocolInteractionBuilder, type ProtocolInteractionIxArgs, type ProtocolInteractionTxArgs, type QuoteFeeUnit, REPORTABLE_ORACLE_VARIANTS, type RealizedApySimulation, type RefreshLiveOraclePricesParams, RemoveAssetHoldingBuilder, type RemoveAssetHoldingIxArgs, type RemoveAssetHoldingTxArgs, RequestJuniorTrancheWithdrawBuilder, type RequestJuniorTrancheWithdrawIxArgs, type RequestJuniorTrancheWithdrawTxArgs, type ResolveExternalWithdrawArgs, type ResolvedExternalWithdraw, type ResolvedSquadsWalletRoute, type RollingLimitConfig, type RollingRebalanceLimitConfig, type RunLiveConsensusOracleOptions, type RunOptions, type RunSummary, SHARE_DECIMALS, SYSTEM_PROGRAM, SetAssetPriceOracleBuilder, type SetAssetPriceOracleIxArgs, type SetAssetPriceOracleTxArgs, SetExternalLiquidityBuilder, type SetExternalLiquidityIxArgs, type SetExternalLiquidityTxArgs, type SetIncentiveLimitsArgs, SetIncentiveLimitsBuilder, SetManagerWithdrawDestinationBuilder, type SetManagerWithdrawDestinationIxArgs, type SetManagerWithdrawDestinationTxArgs, SetProtocolFeeBuilder, type SetProtocolFeeIxArgs, type SetProtocolFeeTxArgs, SetVaultConfigBuilder, type SetVaultConfigIxArgs, type SetVaultConfigTxArgs, 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_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 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 WithdrawProtocolFeesIxArgs, type WithdrawProtocolFeesTxArgs, WithdrawalQueueService, type WithdrawalQueueSnapshot, type YieldAccount, type YieldAccountSnapshot, type YieldCalculationLog, type YieldCashflow, type YieldPaymentResponse, type YieldPaymentSnapshot, type YieldTracker, type YieldValuationModel, accountingUnitPriceToUsd, addCashflowUpdate, applyEffectiveApy, assertNoLargeBalanceChanges, assertNoUnconfirmedYieldPayments, buildHoldingUpdate, buildMarginfiWithdrawInteraction, buildNestWithdrawalRequest, buildUpdates, coerceBool, collectSamples, confirmYieldPayment, createAccount, createLiveConsensusOracleDeps, createRpcFromConnection, createTokenMint, createTokenMintIxs, createVaultClient, createYieldPayment, dateToStr, decodeNestWithdrawalRequest, decodePendingConsensusSigners, defaultKeypairPath, deleteAccount, discoverVaultsForSigner, fetchExternalPositions, fetchNestRedemptionQuote, fetchNestRedemptionStatus, fetchNestTokenPrice, fetchReceiptMints, filterTargetHoldings, findLargeBalanceChanges, findSquadsWalletRoute, formatSettlementSimulation, fromUiAmount, gatherPricingInputs, getAccount, getAccounts, getAprYield, getBalance, getCashflows, getIncentiveRecipientShareAtas, getIncentiveRecipients, getIncentiveReportRecipients, getIncentiveTotals, getNavValue, getRpcUrl, getTotalOutstandingYield, getTotalTrackedValue, getTotalYield, getTrackedValue, getVaultProgramId, getYield, getYieldPayments, indexConfigByMint, isNavAccountBalance, isNavAccountValue, isNavYieldAccount, isVaultEnv, keypairAddress, loadKeypair, logProspectiveApy, makeProvider, mintTokensTo, mints, mostFrequent, parseExternalLiquidityRefs, planRebalance, prepareSquadsProposalUpload, prepareVaultTransaction, priceInAccountingUnit, readI64LE, readSplMintSupply, refreshLiveOraclePrices, resolveExternalWithdraw, resolveKeypairPath, resolveSquadsWalletRoute, resolveTrackedAmounts, roundToNextUtcMidnight, runLiveConsensusOracle, selectReportableHoldings, settleVault, signerInOracleData, simulateConsensusOracleSettlement, simulateDryRunSettlement, simulateSquadsProposalExecution, sumPositionsByMint, systemClock, toBigInt, toUiAmount, toWeb3AccountMeta, trackedValueFromResponse, updateAccount, updateDynamicApr, validateSquadsWalletRoutes, variantName, vaultAuthorityForWallet, withDiscoveredYieldAccounts };