@perena/vault-sdk 1.0.47 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +244 -5
  2. package/dist/index.js +1588 -943
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -10252,6 +10252,8 @@ declare class PdaClient {
10252
10252
  constructor(programAddress: Address);
10253
10253
  /** Seeds: `["incentive", vault, id_u64_le]`. */
10254
10254
  deriveIncentivePda(vault: Address, id: bigint): Promise<readonly [Address, ProgramDerivedAddressBump]>;
10255
+ /** Separate V3 namespace: `["incentive_v3", vault, id_u64_le]`. */
10256
+ deriveIncentiveV3Pda(vault: Address, id: bigint): Promise<readonly [Address, ProgramDerivedAddressBump]>;
10255
10257
  /**
10256
10258
  * Vault PDA for a global vault id.
10257
10259
  *
@@ -10293,6 +10295,11 @@ declare const VAULT_TRANCHE_WITHDRAWAL_QUEUE_CACHE_CATEGORY = "vault_tranche_wit
10293
10295
  /** Decoded on-chain `Vault` account (from generated IDL types). */
10294
10296
  type VaultAccountData = IdlAccounts<Vault>["vault"];
10295
10297
  type VaultIncentiveAccountData = IdlAccounts<Vault>["vaultIncentive"];
10298
+ type VaultIncentiveV3AccountData = IdlAccounts<Vault>["vaultIncentiveV3"];
10299
+ interface VaultIncentiveV3Account {
10300
+ publicKey: Address;
10301
+ account: VaultIncentiveV3AccountData;
10302
+ }
10296
10303
  interface VaultIncentiveAccount {
10297
10304
  publicKey: Address;
10298
10305
  account: VaultIncentiveAccountData;
@@ -10308,6 +10315,14 @@ type VaultTrancheWithdrawalQueueAccountData = IdlAccounts<Vault>["vaultWithdrawa
10308
10315
  declare class AccountClient extends BaseAccountClient {
10309
10316
  private readonly program;
10310
10317
  readonly pda: PdaClient;
10318
+ /** Always fresh: report sequences, generations, USD and share counters must not be cached. */
10319
+ fetchIncentiveV3(incentive: Address): Promise<VaultIncentiveV3AccountData>;
10320
+ fetchIncentiveV3Nullable(incentive: Address): Promise<VaultIncentiveV3AccountData | null>;
10321
+ fetchIncentiveV3ForVault(vault: Address, id: bigint): Promise<VaultIncentiveV3AccountData>;
10322
+ /** Fresh batch lookup preserving input order, duplicates, and missing entries. */
10323
+ fetchIncentivesV3(incentives: Address[]): Promise<(VaultIncentiveV3AccountData | null)[]>;
10324
+ /** V3 campaigns only; the discriminator excludes legacy share-denominated accounts. */
10325
+ fetchAllIncentivesV3ForVault(vault: Address): Promise<VaultIncentiveV3Account[]>;
10311
10326
  /** Always fresh: callers use the proposal round and cumulative entitlements. */
10312
10327
  fetchIncentive(incentive: Address): Promise<VaultIncentiveAccountData>;
10313
10328
  /** Fresh lookup; returns null for missing or uninitialized accounts. */
@@ -11509,6 +11524,140 @@ declare class ClaimIncentiveBuilder extends VaultBuilderBase<ClaimIncentiveIxArg
11509
11524
  }>;
11510
11525
  }
11511
11526
 
11527
+ interface CreateIncentiveV3TxArgs {
11528
+ oracle: Address;
11529
+ vault: Address;
11530
+ id: bigint;
11531
+ recipients: Address[];
11532
+ /** Lifetime cap in atomic vault accounting units. Initial surplus budget is zero. */
11533
+ maxTotalUsd: bigint;
11534
+ }
11535
+ interface CreateIncentiveV3IxArgs extends CreateIncentiveV3TxArgs {
11536
+ vaultOracle: Address;
11537
+ incentive: Address;
11538
+ }
11539
+ declare class CreateIncentiveV3Builder extends VaultBuilderBase<CreateIncentiveV3IxArgs, CreateIncentiveV3TxArgs> {
11540
+ getIx(args: CreateIncentiveV3IxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
11541
+ protected deriveIxArgs(args: CreateIncentiveV3TxArgs): Promise<CreateIncentiveV3IxArgs>;
11542
+ protected buildPlanExtras(args: CreateIncentiveV3IxArgs): Promise<{
11543
+ postSuccessCacheInvalidations: {
11544
+ vaultPda: Address;
11545
+ vaultOraclePda: Address;
11546
+ }[];
11547
+ }>;
11548
+ }
11549
+ interface AddIncentiveRecipientV3TxArgs {
11550
+ oracle: Address;
11551
+ vault: Address;
11552
+ incentive: Address;
11553
+ wallet: Address;
11554
+ }
11555
+ interface AddIncentiveRecipientV3IxArgs extends AddIncentiveRecipientV3TxArgs {
11556
+ vaultOracle: Address;
11557
+ }
11558
+ declare class AddIncentiveRecipientV3Builder extends VaultBuilderBase<AddIncentiveRecipientV3IxArgs, AddIncentiveRecipientV3TxArgs> {
11559
+ getIx(args: AddIncentiveRecipientV3IxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
11560
+ protected deriveIxArgs(args: AddIncentiveRecipientV3TxArgs): Promise<AddIncentiveRecipientV3IxArgs>;
11561
+ protected buildPlanExtras(args: AddIncentiveRecipientV3IxArgs): Promise<{
11562
+ postSuccessCacheInvalidations: {
11563
+ vaultPda: Address;
11564
+ vaultOraclePda: Address;
11565
+ }[];
11566
+ }>;
11567
+ }
11568
+ interface SetIncentiveLimitsV3Args {
11569
+ curator: Address;
11570
+ vault: Address;
11571
+ incentive: Address;
11572
+ /** Campaign lifetime cap in atomic accounting units, including settled awards. */
11573
+ maxTotalUsd: bigint;
11574
+ /** Campaign lifetime surplus budget, including previously spent surplus. */
11575
+ maxSurplusValue: bigint;
11576
+ /** Vault-wide surplus floor in atomic accounting units. */
11577
+ minSurplusReserve: bigint;
11578
+ }
11579
+ /** Every configuration update invalidates outstanding reports, even if limits are unchanged. */
11580
+ declare class SetIncentiveLimitsV3Builder extends VaultBuilderBase<SetIncentiveLimitsV3Args> {
11581
+ getIx(args: SetIncentiveLimitsV3Args): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
11582
+ protected buildPlanExtras(args: SetIncentiveLimitsV3Args): Promise<{
11583
+ postSuccessCacheInvalidations: {
11584
+ vaultPda: Address;
11585
+ }[];
11586
+ }>;
11587
+ }
11588
+ interface IncentiveUsdUpdateArgs {
11589
+ recipientIndex: number;
11590
+ /** Absolute campaign-lifetime total in atomic accounting units; never a delta or shares. */
11591
+ totalUsd: bigint;
11592
+ }
11593
+ interface ReportIncentiveV3TxArgs {
11594
+ oracle: Address;
11595
+ vault: Address;
11596
+ incentive: Address;
11597
+ /** Effective vault consensus signer generation, including any matured pending rotation. */
11598
+ signerGeneration: bigint;
11599
+ configGeneration: bigint;
11600
+ /** Strictly increasing per oracle and campaign; reconcile uncertain submissions before retrying. */
11601
+ sequence: bigint;
11602
+ /** Unix seconds: future on-chain Clock timestamp, at most 86,400 seconds ahead. */
11603
+ expiresAt: bigint;
11604
+ updates: IncentiveUsdUpdateArgs[];
11605
+ }
11606
+ interface ReportIncentiveV3IxArgs extends ReportIncentiveV3TxArgs {
11607
+ vaultOracle: Address;
11608
+ }
11609
+ /** Records independent partial reports without funding or settling NAV. */
11610
+ declare class ReportIncentiveV3Builder extends VaultBuilderBase<ReportIncentiveV3IxArgs, ReportIncentiveV3TxArgs> {
11611
+ getIx(args: ReportIncentiveV3IxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
11612
+ protected deriveIxArgs(args: ReportIncentiveV3TxArgs): Promise<ReportIncentiveV3IxArgs>;
11613
+ protected buildPlanExtras(args: ReportIncentiveV3IxArgs): Promise<{
11614
+ postSuccessCacheInvalidations: {
11615
+ vaultPda: Address;
11616
+ vaultOraclePda: Address;
11617
+ }[];
11618
+ }>;
11619
+ }
11620
+ interface SettleIncentiveV3TxArgs {
11621
+ cranker: Address;
11622
+ vault: Address;
11623
+ incentive: Address;
11624
+ /** Only select recipients with two valid reports. Other recipients do not block settlement. */
11625
+ recipientIndices: number[];
11626
+ }
11627
+ interface SettleIncentiveV3IxArgs extends SettleIncentiveV3TxArgs {
11628
+ vaultOracle: Address;
11629
+ shareMint: Address;
11630
+ vaultTrancheState: Address | null;
11631
+ juniorTrancheShareMint: Address | null;
11632
+ seniorTrancheShareMint: Address | null;
11633
+ }
11634
+ /** Converts the newly authorized minimum USD total into reserved shares at fresh NAV. */
11635
+ declare class SettleIncentiveV3Builder extends VaultBuilderBase<SettleIncentiveV3IxArgs, SettleIncentiveV3TxArgs> {
11636
+ getIx(args: SettleIncentiveV3IxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
11637
+ protected deriveIxArgs(args: SettleIncentiveV3TxArgs): Promise<SettleIncentiveV3IxArgs>;
11638
+ protected buildPlanExtras(args: SettleIncentiveV3IxArgs): Promise<{
11639
+ postSuccessCacheInvalidations: {
11640
+ vaultPda: Address;
11641
+ vaultOraclePda: Address;
11642
+ vaultTrancheStatePda: Address | undefined;
11643
+ }[];
11644
+ }>;
11645
+ }
11646
+
11647
+ type ClaimIncentiveV3TxArgs = ClaimIncentiveTxArgs;
11648
+ type ClaimIncentiveV3IxArgs = ClaimIncentiveIxArgs;
11649
+ type DistributeIncentiveV3TxArgs = DistributeIncentiveTxArgs;
11650
+ type DistributeIncentiveV3IxArgs = DistributeIncentiveIxArgs;
11651
+ /** Pays reserved shares for the signing recipient; getTx creates the canonical ATA if needed. */
11652
+ declare class ClaimIncentiveV3Builder extends ClaimIncentiveBuilder {
11653
+ getIx(args: ClaimIncentiveV3IxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
11654
+ }
11655
+ /** Batch payout requires consent from every recipient with outstanding reserved shares. */
11656
+ declare class DistributeIncentiveV3Builder extends DistributeIncentiveBuilder {
11657
+ getIx(args: DistributeIncentiveV3IxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
11658
+ protected deriveIxArgs(args: DistributeIncentiveV3TxArgs): Promise<DistributeIncentiveV3IxArgs>;
11659
+ }
11660
+
11512
11661
  declare class CancelJuniorTrancheWithdrawBuilder extends VaultBuilderBase<CancelJuniorTrancheWithdrawIxArgs, CancelJuniorTrancheWithdrawTxArgs> {
11513
11662
  getIx(args: CancelJuniorTrancheWithdrawIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
11514
11663
  protected deriveIxArgs(txArgs: CancelJuniorTrancheWithdrawTxArgs): Promise<CancelJuniorTrancheWithdrawIxArgs>;
@@ -12038,6 +12187,13 @@ declare class VaultReallocationBuilder extends VaultBuilderBase<VaultReallocatio
12038
12187
  }
12039
12188
 
12040
12189
  declare class TransactionClient {
12190
+ readonly createIncentiveV3: CreateIncentiveV3Builder;
12191
+ readonly addIncentiveRecipientV3: AddIncentiveRecipientV3Builder;
12192
+ readonly setIncentiveLimitsV3: SetIncentiveLimitsV3Builder;
12193
+ readonly reportIncentiveV3: ReportIncentiveV3Builder;
12194
+ readonly settleIncentiveV3: SettleIncentiveV3Builder;
12195
+ readonly claimIncentiveV3: ClaimIncentiveV3Builder;
12196
+ readonly distributeIncentiveV3: DistributeIncentiveV3Builder;
12041
12197
  readonly claimIncentive: ClaimIncentiveBuilder;
12042
12198
  readonly createIncentive: CreateIncentiveBuilder;
12043
12199
  readonly addIncentiveRecipient: AddIncentiveRecipientBuilder;
@@ -12230,6 +12386,40 @@ declare function getIncentiveRecipientShareAtas(incentive: VaultIncentiveAccount
12230
12386
  */
12231
12387
  declare function getIncentiveReportRecipients(incentive: VaultIncentiveAccountData): IncentiveRecipient[];
12232
12388
 
12389
+ declare const MAX_INCENTIVE_REPORT_TTL = 86400n;
12390
+ interface IncentiveV3OracleState {
12391
+ signers: readonly [Address, Address];
12392
+ signerGeneration: bigint;
12393
+ }
12394
+ /** Effective reporting slots at the live Clock timestamp, including a matured pending rotation.
12395
+ * Pass a freshly fetched oracle. Reports remain subject to on-chain generation checks.
12396
+ */
12397
+ declare function getIncentiveV3OracleState(oracle: VaultOracleAccountData, now: bigint): IncentiveV3OracleState;
12398
+ /** USD fields are atomic vault accounting units; share fields are atomic share units. */
12399
+ interface IncentiveV3Recipient {
12400
+ recipientIndex: number;
12401
+ wallet: Address;
12402
+ /** Raw reports; expiry and signer generation must be checked before settlement. */
12403
+ oracleTotalUsd: readonly [bigint, bigint];
12404
+ expiresAt: readonly [bigint, bigint];
12405
+ settledUsd: bigint;
12406
+ settledShares: bigint;
12407
+ claimedShares: bigint;
12408
+ outstandingShares: bigint;
12409
+ }
12410
+ interface IncentiveV3Totals {
12411
+ settledUsd: bigint;
12412
+ settledShares: bigint;
12413
+ claimedShares: bigint;
12414
+ outstandingShares: bigint;
12415
+ }
12416
+ /** Append-only registration order, retaining recipient indices for partial reports. */
12417
+ declare function getIncentiveV3Recipients(incentive: VaultIncentiveV3AccountData): IncentiveV3Recipient[];
12418
+ /** Funded accounting value and shares only; unconverted reports are not claims. */
12419
+ declare function getIncentiveV3Totals(incentive: VaultIncentiveV3AccountData): IncentiveV3Totals;
12420
+ /** One canonical ATA per registered wallet, including zero claims and PDA owners. */
12421
+ declare function getIncentiveV3RecipientShareAtas(incentive: VaultIncentiveV3AccountData, shareMint: Address, shareTokenProgram: Address): Address[];
12422
+
12233
12423
  declare function makeProvider(connection: Connection, payer: Keypair): AnchorProvider;
12234
12424
 
12235
12425
  declare function createRpcFromConnection(connection: Connection): Rpc<SolanaRpcApi>;
@@ -12797,6 +12987,11 @@ interface ExternalPositionContext {
12797
12987
  interface ExternalPositionProvider {
12798
12988
  positionsFor(ctx: ExternalPositionContext): Promise<ExternalPosition[]>;
12799
12989
  }
12990
+ /** All token accounts owned by the manager, summed per requested base mint. */
12991
+ interface ManagerWalletBalanceSource {
12992
+ /** Missing mints have zero balance; failed reads must throw. Amounts are raw units. */
12993
+ fetchBalances(manager: Address, mints: Address[]): Promise<Map<string, bigint>>;
12994
+ }
12800
12995
  /**
12801
12996
  * One account's accrual snapshot consumed by the oracle. Amounts are
12802
12997
  * **UI amounts** (token units, not base units); callers convert with
@@ -12874,6 +13069,8 @@ interface ConsensusOracleDeps {
12874
13069
  priceSource: PriceSource;
12875
13070
  /** Optional; omitted ⇒ no live-LP balances are folded in. */
12876
13071
  externalPositions?: ExternalPositionProvider;
13072
+ /** Optional NAV-drop recovery source; configured by the live runtime. */
13073
+ managerWalletBalances?: ManagerWalletBalanceSource;
12877
13074
  /** Optional; omitted ⇒ no yield accrual is folded in. */
12878
13075
  yieldTracker?: YieldTracker;
12879
13076
  clock?: Clock;
@@ -12903,7 +13100,11 @@ interface HoldingUpdatePreview {
12903
13100
  trackedPrincipalAmount: bigint;
12904
13101
  /** Complete tracked value, including NAV accounts (base units). */
12905
13102
  trackedValueAmount: bigint;
12906
- /** Total external balance pushed = LP + complete tracked value. */
13103
+ /** Manager base tokens admitted by the ±0.05% NAV reconciliation (base units). */
13104
+ managerWalletAmount?: bigint;
13105
+ /** Withdrawn nPERENA retained until the manager-wallet NAV rule matches proceeds. */
13106
+ pendingNestAmount?: bigint;
13107
+ /** Total external balance = LP + tracked value + pending Nest + manager wallet. */
12907
13108
  externalAmount: bigint;
12908
13109
  }
12909
13110
  interface VaultOracleResult {
@@ -13288,6 +13489,35 @@ interface RefreshLiveOraclePricesParams {
13288
13489
  /** Returns true when at least one price was actually refreshed on-chain. */
13289
13490
  declare function refreshLiveOraclePrices({ oracle, signer, vault, vaultState, nowSecs, log, dryRun, }: RefreshLiveOraclePricesParams): Promise<boolean>;
13290
13491
 
13492
+ /** A NAV drop of at least 0.1% triggers the manager-wallet lookup. */
13493
+ declare const MANAGER_WALLET_NAV_DROP_TRIGGER_BPS = 10n;
13494
+ /** The adjusted NAV must be within ±0.05%, including both boundaries. */
13495
+ declare const MANAGER_WALLET_NAV_TOLERANCE_BPS = 5n;
13496
+ /** Previous physical NAV, including banked APY, adjusted for recorded cash flows. */
13497
+ declare function previousPhysicalNav(state: DecodedVault): bigint;
13498
+ /** Same per-holding integer valuation as the program's gross_nav_from_holdings. */
13499
+ declare function candidateGrossNav(state: DecodedVault, updates: readonly HoldingUpdatePreview[]): bigint;
13500
+ interface ManagerWalletReconciliation {
13501
+ accepted: boolean;
13502
+ updates: HoldingUpdatePreview[];
13503
+ previousNav: bigint;
13504
+ candidateNav: bigint;
13505
+ adjustedNav?: bigint;
13506
+ }
13507
+ /**
13508
+ * Rebuild from sourced external amounts every pass. Never carry forward a prior
13509
+ * wallet attribution or cap/select wallet balances to make the NAV fit.
13510
+ */
13511
+ declare function reconcileManagerWalletBalances({ vault, vaultState, updates, source, log, }: {
13512
+ vault: Address;
13513
+ vaultState: DecodedVault;
13514
+ updates: HoldingUpdatePreview[];
13515
+ source?: ManagerWalletBalanceSource;
13516
+ log?: (message: string) => void;
13517
+ }): Promise<ManagerWalletReconciliation>;
13518
+ /** The vault fields whose changes would invalidate a wallet reconciliation. */
13519
+ declare function managerReconciliationStateKey(state: DecodedVault): string;
13520
+
13291
13521
  declare function gatherPricingInputs(deps: ConsensusOracleDeps, target: ConsensusOracleTarget, vaultState: DecodedVault, reportableHoldings: ConsensusHoldingEntry[], log?: (msg: string) => void): Promise<VaultPricingInputs>;
13292
13522
  /**
13293
13523
  * Live-LP balances for the target, summed by mint (empty if no provider).
@@ -13326,9 +13556,11 @@ interface SettleVaultParams {
13326
13556
  vaultState: DecodedVault;
13327
13557
  nowSecs: bigint;
13328
13558
  log: (msg: string) => void;
13559
+ /** Revalidate a wallet attribution after projections and before publication. */
13560
+ beforeSubmit?: () => Promise<void>;
13329
13561
  }
13330
13562
  /** Push the consensus report for all holdings, then settle NAV. */
13331
- declare function settleVault({ client, oracle, yieldTracker, signer, target, updates, vaultState, nowSecs, log, }: SettleVaultParams): Promise<SettleVaultResult>;
13563
+ declare function settleVault({ client, oracle, yieldTracker, signer, target, updates, vaultState, nowSecs, log, beforeSubmit, }: SettleVaultParams): Promise<SettleVaultResult>;
13332
13564
  interface LogProspectiveApyParams {
13333
13565
  client: VaultClient;
13334
13566
  vault: Address;
@@ -13509,6 +13741,13 @@ declare class LivePriceSource implements PriceSource {
13509
13741
  fetchUsdPrices(mints: Address[]): Promise<Record<string, number>>;
13510
13742
  }
13511
13743
 
13744
+ /** Includes non-ATA accounts and both supported token programs, using raw units. */
13745
+ declare class RpcManagerWalletBalanceSource implements ManagerWalletBalanceSource {
13746
+ private readonly connection;
13747
+ constructor(connection: Connection);
13748
+ fetchBalances(manager: Address, mints: Address[]): Promise<Map<string, bigint>>;
13749
+ }
13750
+
13512
13751
  /**
13513
13752
  * Aggregation of {@link ExternalPositionProvider}s plus a trivial static
13514
13753
  * provider. Concrete live-LP providers (Kamino, Marginfi) wrap protocol SDKs,
@@ -13661,7 +13900,7 @@ declare function formatSettlementSimulation(simulation: SettlementSimulation): s
13661
13900
 
13662
13901
  interface LiveConsensusOracleDepsOptions {
13663
13902
  log?: (msg: string) => void;
13664
- /** @deprecated Ignored. Manager-wallet balance sourcing has been removed. */
13903
+ /** @deprecated Ignored. The NAV-gated manager-wallet check is always enabled. */
13665
13904
  rpcOnly?: boolean;
13666
13905
  includeExternalPositions?: boolean;
13667
13906
  }
@@ -13672,7 +13911,7 @@ interface RunLiveConsensusOracleOptions extends RunOptions {
13672
13911
  rpcUrl?: string;
13673
13912
  /** Override the vault program id. Defaults to the environment's configured program. */
13674
13913
  programId?: Address;
13675
- /** @deprecated Ignored. Manager-wallet balance sourcing has been removed. */
13914
+ /** @deprecated Ignored. The NAV-gated manager-wallet check is always enabled. */
13676
13915
  rpcOnly?: boolean;
13677
13916
  /** Include live Kamino/Marginfi positions in external amount updates. Defaults to true. */
13678
13917
  includeExternalPositions?: boolean;
@@ -14033,4 +14272,4 @@ declare function decodeNestWithdrawalRequest(args: {
14033
14272
  txBase64: string;
14034
14273
  }): Promise<VaultTransactionPlan>;
14035
14274
 
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 };
14275
+ 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_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, DistributeIncentiveV3Builder, type DistributeIncentiveV3IxArgs, type DistributeIncentiveV3TxArgs, 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, type IncentiveUsdUpdateArgs, type IncentiveV3OracleState, type IncentiveV3Recipient, type IncentiveV3Totals, 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, MANAGER_WALLET_NAV_DROP_TRIGGER_BPS, MANAGER_WALLET_NAV_TOLERANCE_BPS, MAX_APY_ANCHOR_WINDOW_SECS, MAX_BALANCE_CHANGE_BPS, MAX_CONSENSUS_SIGNERS, MAX_INCENTIVE_RECIPIENTS, MAX_INCENTIVE_REPORT_TTL, MAX_MANAGER_WITHDRAW_DESTINATIONS, 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, 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, ReportIncentiveV3Builder, type ReportIncentiveV3IxArgs, type ReportIncentiveV3TxArgs, RequestJuniorTrancheWithdrawBuilder, type RequestJuniorTrancheWithdrawIxArgs, type RequestJuniorTrancheWithdrawTxArgs, type ResolveExternalWithdrawArgs, type ResolvedExternalWithdraw, type ResolvedSquadsWalletRoute, type RollingLimitConfig, type RollingRebalanceLimitConfig, RpcManagerWalletBalanceSource, 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_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 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, candidateGrossNav, 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, getIncentiveV3OracleState, getIncentiveV3RecipientShareAtas, getIncentiveV3Recipients, getIncentiveV3Totals, getNavValue, getRpcUrl, getTotalOutstandingYield, getTotalTrackedValue, getTotalYield, getTrackedValue, getVaultProgramId, getYield, getYieldPayments, indexConfigByMint, isNavAccountBalance, isNavAccountValue, isNavYieldAccount, isVaultEnv, keypairAddress, loadKeypair, logProspectiveApy, makeProvider, managerReconciliationStateKey, mintTokensTo, mints, mostFrequent, parseExternalLiquidityRefs, planRebalance, prepareSquadsProposalUpload, prepareVaultTransaction, previousPhysicalNav, priceInAccountingUnit, readI64LE, readSplMintSupply, reconcileManagerWalletBalances, 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 };