@neutral-trade/sdk 1.0.11 → 1.0.13
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.mts +43 -7
- package/dist/index.mjs +86 -30
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -219,7 +219,10 @@ declare enum VaultId {
|
|
|
219
219
|
declare enum SupportedChain {
|
|
220
220
|
Solana = "Solana",
|
|
221
221
|
Hyperliquid = "Hyperliquid",
|
|
222
|
+
Robinhood = "Robinhood",
|
|
222
223
|
}
|
|
224
|
+
/** Robinhood Chain (Arbitrum Orbit L2). Gas is paid in ETH. */
|
|
225
|
+
declare const ROBINHOOD_CHAIN_ID = 4663;
|
|
223
226
|
declare enum SupportedToken {
|
|
224
227
|
USDC = "USDC",
|
|
225
228
|
USDT = "USDT",
|
|
@@ -252,6 +255,8 @@ declare enum VaultType {
|
|
|
252
255
|
Bundle = "Bundle",
|
|
253
256
|
Hyperliquid = "Hyperliquid",
|
|
254
257
|
Kamino = "Kamino",
|
|
258
|
+
/** Accountable ERC-4626 NAV vault (e.g. on Robinhood Chain) */
|
|
259
|
+
AccountableNav = "AccountableNav",
|
|
255
260
|
}
|
|
256
261
|
declare enum VaultCategory {
|
|
257
262
|
marketNeutral = "Market Neutral",
|
|
@@ -281,6 +286,17 @@ interface VaultRegistryEntry {
|
|
|
281
286
|
pointsMultiplier?: number;
|
|
282
287
|
/** Points: include in points calculation (default true) */
|
|
283
288
|
pointsEnabled?: boolean;
|
|
289
|
+
/**
|
|
290
|
+
* Accountable-only: numeric loan id used exclusively to query the
|
|
291
|
+
* Accountable API. Never a Neutral vaultId, never a contract address.
|
|
292
|
+
*/
|
|
293
|
+
accountableLoanId?: number;
|
|
294
|
+
/**
|
|
295
|
+
* Accountable-only: strategy/loan contract address (VOA message,
|
|
296
|
+
* `navGraceDeadline`). Distinct from `vaultAddress`, which stays the
|
|
297
|
+
* ERC-4626 transaction target.
|
|
298
|
+
*/
|
|
299
|
+
strategyAddress?: string;
|
|
284
300
|
}
|
|
285
301
|
/** Registry entry after cluster-specific program ids have been resolved. */
|
|
286
302
|
type VaultConfig = Omit<VaultRegistryEntry, 'bundleProgramId' | 'driftProgramId'> & {
|
|
@@ -349,6 +365,16 @@ declare function getPointsVaults(registry: VaultRegistry): PointsVaultEntry[];
|
|
|
349
365
|
*/
|
|
350
366
|
declare const ASSOCIATED_TOKEN_PROGRAM_ADDRESS: Address<"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL">;
|
|
351
367
|
declare const TOKEN_PROGRAM_ADDRESS: Address<"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA">;
|
|
368
|
+
/**
|
|
369
|
+
* Builds a Classic Token Program ATA create that succeeds when the account
|
|
370
|
+
* already exists. `payer` must sign the transaction assembled by the caller.
|
|
371
|
+
*/
|
|
372
|
+
declare function createAssociatedTokenAccountIdempotentInstruction(input: {
|
|
373
|
+
ata: Address;
|
|
374
|
+
mint: Address;
|
|
375
|
+
owner: Address;
|
|
376
|
+
payer: Address;
|
|
377
|
+
}): Instruction;
|
|
352
378
|
/**
|
|
353
379
|
* Derives the associated token account for `owner` and `mint`.
|
|
354
380
|
* Works for PDA owners as well (the derivation is curve-agnostic).
|
|
@@ -358,6 +384,12 @@ declare function findAssociatedTokenPda(seeds: {
|
|
|
358
384
|
mint: Address;
|
|
359
385
|
tokenProgram?: Address;
|
|
360
386
|
}): Promise<ProgramDerivedAddress>;
|
|
387
|
+
/** Uses the Classic Token Program for both derivation and account creation. */
|
|
388
|
+
declare function buildEnsureAssociatedTokenAccountInstruction(input: {
|
|
389
|
+
owner: Address;
|
|
390
|
+
mint: Address;
|
|
391
|
+
payer: Address;
|
|
392
|
+
}): Promise<Instruction>;
|
|
361
393
|
//#endregion
|
|
362
394
|
//#region src/extensions/fees.d.ts
|
|
363
395
|
/** Mirrors the onchain `FEE_OVERRIDE_DEPOSIT` flag. */
|
|
@@ -510,7 +542,10 @@ type BuildRequestWithdrawInstructionParams = {
|
|
|
510
542
|
/**
|
|
511
543
|
* Mirrors the legacy `buildBundleRequestWithdrawInstructionWithVault` flow.
|
|
512
544
|
* This helper rejects a zero-share result instead of forwarding it to the
|
|
513
|
-
* program as the legacy helper did.
|
|
545
|
+
* program as the legacy helper did. Prepend an idempotent associated token
|
|
546
|
+
* account create, using `buildEnsureAssociatedTokenAccountInstruction` or
|
|
547
|
+
* `createAssociatedTokenAccountIdempotentInstruction`, so the user's asset
|
|
548
|
+
* token account exists when the withdrawal is processed after its cooldown.
|
|
514
549
|
*/
|
|
515
550
|
declare function buildRequestWithdrawInstruction(rpc: ExtensionsRpc, params: BuildRequestWithdrawInstructionParams): Promise<Instruction>;
|
|
516
551
|
type BuildRequestSwitchInstructionsParams = {
|
|
@@ -523,7 +558,12 @@ type BuildRequestSwitchInstructionsParams = {
|
|
|
523
558
|
/**
|
|
524
559
|
* Mirrors the legacy `buildBundleRequestSwitchInstructionsWithVaults` flow.
|
|
525
560
|
* This version-locked client does not perform the legacy runtime IDL capability
|
|
526
|
-
* probe for `request_bundle_switch`.
|
|
561
|
+
* probe for `request_bundle_switch`. Before these instructions, add an
|
|
562
|
+
* idempotent associated token account create using
|
|
563
|
+
* `buildEnsureAssociatedTokenAccountInstruction` or
|
|
564
|
+
* `createAssociatedTokenAccountIdempotentInstruction`. `processSwitch`
|
|
565
|
+
* validates the user's asset token account and transfers the redemption there
|
|
566
|
+
* if the target bundle cannot accept the switch.
|
|
527
567
|
*/
|
|
528
568
|
declare function buildRequestSwitchInstructions(rpc: ExtensionsRpc, params: BuildRequestSwitchInstructionsParams): Promise<Instruction[]>;
|
|
529
569
|
//#endregion
|
|
@@ -767,10 +807,6 @@ declare function fetchReferrerStatus(rpc: ExtensionsRpc, params: {
|
|
|
767
807
|
* to verify active status and the net-deposit threshold.
|
|
768
808
|
* Deterministic eligibility failures use stable error messages; deposits below
|
|
769
809
|
* the vault minimum throw `BuilderDepositAmountTooLowError`.
|
|
770
|
-
*
|
|
771
|
-
* One transaction: bind the on-chain referrer for fee split, request the
|
|
772
|
-
* deposit, and emit the points attribution memo. Atomic — a partial link is
|
|
773
|
-
* not possible.
|
|
774
810
|
*/
|
|
775
811
|
declare function buildAttributedDepositTx(rpc: ExtensionsRpc, params: BuildAttributedDepositTxParams): Promise<Array<Instruction>>;
|
|
776
812
|
/**
|
|
@@ -797,4 +833,4 @@ declare function buildBuilderRegistrationTx(rpc: ExtensionsRpc, params: BuildBui
|
|
|
797
833
|
*/
|
|
798
834
|
declare function buildReferrerWithdrawRequestTx(rpc: ExtensionsRpc, params: BuildReferrerWithdrawRequestTxParams): Promise<ReferrerWithdrawRequestPlan>;
|
|
799
835
|
//#endregion
|
|
800
|
-
export { ADD_STRATEGY_DISCRIMINATOR, ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, APPLY_FEES_TO_USER_DISCRIMINATOR, ASSOCIATED_TOKEN_PROGRAM_ADDRESS, AddStrategyAsyncInput, AddStrategyInput, AddStrategyInstruction, AddStrategyInstructionData, AddStrategyInstructionDataArgs, ApplyFeesToUserAsyncInput, ApplyFeesToUserInput, ApplyFeesToUserInstruction, ApplyFeesToUserInstructionData, ApplyFeesToUserInstructionDataArgs, BPS_DENOMINATOR, BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR, BUNDLE_DISCRIMINATOR, BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, BUNDLE_PROGRAM_ID_V2_MAINNET, BUNDLE_TEMP_DATA_DISCRIMINATOR, BuildAttributedDepositTxParams, BuildBuilderRegistrationTxParams, type BuildDepositInstructionsParams, BuildReferrerWithdrawRequestTxParams, BuildRequestSwitchInstructionsParams, BuildRequestWithdrawInstructionParams, BuilderDepositAmountTooLowError, BuilderRegistrationPlan, Bundle, BundleAccountSeeds, BundleArgs, BundleAssetAuthoritySeeds, type BundleCluster, BundleCreatorAccount, BundleCreatorAccountArgs, BundleCreatorAccountSeeds, BundleMasterAccount, BundleMasterAccountArgs, BundleTempData, BundleTempDataArgs, BundleTempDataSeeds, BundleVaultInput, CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR, CHANGE_MANAGER_DISCRIMINATOR, CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR, CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR, ChangeBundleMasterAdminAsyncInput, ChangeBundleMasterAdminInput, ChangeBundleMasterAdminInstruction, ChangeBundleMasterAdminInstructionData, ChangeBundleMasterAdminInstructionDataArgs, ChangeManagerInput, ChangeManagerInstruction, ChangeManagerInstructionData, ChangeManagerInstructionDataArgs, ClearUserFeeOverrideAsyncInput, ClearUserFeeOverrideInput, ClearUserFeeOverrideInstruction, ClearUserFeeOverrideInstructionData, ClearUserFeeOverrideInstructionDataArgs, ClearUserWithdrawalTimingOverrideAsyncInput, ClearUserWithdrawalTimingOverrideInput, ClearUserWithdrawalTimingOverrideInstruction, ClearUserWithdrawalTimingOverrideInstructionData, ClearUserWithdrawalTimingOverrideInstructionDataArgs, CloseUserBundleAccountAsyncInput, CloseUserBundleAccountInput, CloseUserBundleAccountInstruction, CloseUserBundleAccountInstructionData, CloseUserBundleAccountInstructionDataArgs, CloseUserBundleAccountUserBundleAccountSeeds, DEFAULT_BUNDLE_PROGRAM_ID_DEVNET, DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR, DevnetVaultId, DistributeToReceiversAsyncInput, DistributeToReceiversInput, DistributeToReceiversInstruction, DistributeToReceiversInstructionData, DistributeToReceiversInstructionDataArgs, ENABLE_STRATEGY_DISCRIMINATOR, END_DISTRIBUTION_DISCRIMINATOR, EffectiveFees, EffectiveReferralRates, EnableStrategyAsyncInput, EnableStrategyInput, EnableStrategyInstruction, EnableStrategyInstructionData, EnableStrategyInstructionDataArgs, EndDistributionAsyncInput, EndDistributionInput, EndDistributionInstruction, EndDistributionInstructionData, EndDistributionInstructionDataArgs, ExtensionsRpc, FEE_OVERRIDE_DEPOSIT, FEE_OVERRIDE_MANAGEMENT, FEE_OVERRIDE_PERFORMANCE, FEE_OVERRIDE_WITHDRAWAL, GetAccountInfoRpc, GetMultipleAccountsRpc, GetProgramAccountsRpc, INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR, INITIALIZE_BUNDLE_DISCRIMINATOR, INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR, InitializeBundleAsyncInput, InitializeBundleDepositorAsyncInput, InitializeBundleDepositorInput, InitializeBundleDepositorInstruction, InitializeBundleDepositorInstructionData, InitializeBundleDepositorInstructionDataArgs, InitializeBundleInput, InitializeBundleInstruction, InitializeBundleInstructionData, InitializeBundleInstructionDataArgs, InitializeBundleMasterAccountAsyncInput, InitializeBundleMasterAccountInput, InitializeBundleMasterAccountInstruction, InitializeBundleMasterAccountInstructionData, InitializeBundleMasterAccountInstructionDataArgs, InitializePermissionedBundleDepositorAsyncInput, InitializePermissionedBundleDepositorInput, InitializePermissionedBundleDepositorInstruction, InitializePermissionedBundleDepositorInstructionData, InitializePermissionedBundleDepositorInstructionDataArgs, MANAGER_WITHDRAW_DISCRIMINATOR, MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR, MAX_DEPOSIT_FEE_BPS, MAX_REFERRAL_TIERS, ManagerWithdrawAsyncInput, ManagerWithdrawInput, ManagerWithdrawInstruction, ManagerWithdrawInstructionData, ManagerWithdrawInstructionDataArgs, ManagerWithdrawWithSplitAsyncInput, ManagerWithdrawWithSplitInput, ManagerWithdrawWithSplitInstruction, ManagerWithdrawWithSplitInstructionData, ManagerWithdrawWithSplitInstructionDataArgs, NET_PENDING_TRANSACTIONS_DISCRIMINATOR, NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO, NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS, NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO, NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX, NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED, NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED, NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER, NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO, NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO, NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED, NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED, NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST, NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST, NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND, NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE, NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE, NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE, NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE, NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE, NTBUNDLE_ERROR__INSUFFICIENT_FUNDS, NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE, NTBUNDLE_ERROR__INVALID_ALLOCATIONS, NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS, NTBUNDLE_ERROR__INVALID_ASSET_PRECISION, NTBUNDLE_ERROR__INVALID_FEE_SPLIT, NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER, NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER, NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE, NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT, NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR, NTBUNDLE_ERROR__INVALID_RECEIVER, NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG, NTBUNDLE_ERROR__INVALID_REFERRAL_TIER_CONFIG, NTBUNDLE_ERROR__INVALID_TWAP_PERIOD, NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG, NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE, NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO, NTBUNDLE_ERROR__MANAGER_SHARES_ZERO, NTBUNDLE_ERROR__MATH_ERROR, NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET, NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST, NTBUNDLE_ERROR__NETTING_ALREADY_DONE, NTBUNDLE_ERROR__NETTING_NOT_DONE, NTBUNDLE_ERROR__NO_PENDING_SWITCH, NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS, NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL, NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR, NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR, NTBUNDLE_ERROR__ORACLE_NOT_UPDATED, NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT, NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS, NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY, NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO, NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS, NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS, NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST, NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS, NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO, NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER, NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO, NTBUNDLE_ERROR__REFERRALS_DISABLED, NTBUNDLE_ERROR__REFERRAL_ALREADY_SET, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING, NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW, NTBUNDLE_ERROR__REFERRER_SHARES_ZERO, NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID, NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED, NTBUNDLE_ERROR__STRATEGY_DISABLED, NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE, NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH, NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE, NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS, NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT, NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR, NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION, NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY, NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED, NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET, NTBUNDLE_PROGRAM_ADDRESS, NetPendingTransactionsAsyncInput, NetPendingTransactionsInput, NetPendingTransactionsInstruction, NetPendingTransactionsInstructionData, NetPendingTransactionsInstructionDataArgs, NettingRequiredBuilderRegistration, NtbundleAccount, NtbundleError, NtbundleInstruction, NtbundlePlugin, NtbundlePluginAccounts, NtbundlePluginInstructions, NtbundlePluginPdas, NtbundlePluginRequirements, ORACLE_DATA_DISCRIMINATOR, OracleData, OracleDataArgs, OracleDataSeeds, PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR, PERFORM_REFILL_DISCRIMINATOR, PROCESS_DEPOSIT_DISCRIMINATOR, PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR, PROCESS_SWITCH_DISCRIMINATOR, PROCESS_WITHDRAWAL_DISCRIMINATOR, ParsedAddStrategyInstruction, ParsedApplyFeesToUserInstruction, ParsedChangeBundleMasterAdminInstruction, ParsedChangeManagerInstruction, ParsedClearUserFeeOverrideInstruction, ParsedClearUserWithdrawalTimingOverrideInstruction, ParsedCloseUserBundleAccountInstruction, ParsedDistributeToReceiversInstruction, ParsedEnableStrategyInstruction, ParsedEndDistributionInstruction, ParsedInitializeBundleDepositorInstruction, ParsedInitializeBundleInstruction, ParsedInitializeBundleMasterAccountInstruction, ParsedInitializePermissionedBundleDepositorInstruction, ParsedManagerWithdrawInstruction, ParsedManagerWithdrawWithSplitInstruction, ParsedNetPendingTransactionsInstruction, ParsedNtbundleInstruction, ParsedPauseDepositsWithdrawalsInstruction, ParsedPerformRefillInstruction, ParsedProcessDepositInstruction, ParsedProcessReferrerWithdrawalInstruction, ParsedProcessSwitchInstruction, ParsedProcessWithdrawalInstruction, ParsedReferrerRequestWithdrawInstruction, ParsedRefundDepositInstruction, ParsedRegisterReferrerInstruction, ParsedRemoveStrategyInstruction, ParsedRequestBundleSwitchInstruction, ParsedRequestDepositInstruction, ParsedRequestWithdrawalInstruction, ParsedSetBundleCreatorInstruction, ParsedSetDelaysInstruction, ParsedSetFeesInstruction, ParsedSetKeeperInstruction, ParsedSetMaxDepositAmountInstruction, ParsedSetMinDepositAmountInstruction, ParsedSetOracleBufferInstruction, ParsedSetOracleMaxAgeInstruction, ParsedSetOracleUpdateTimeLimitInstruction, ParsedSetReferralTierConfigInstruction, ParsedSetReferrerActiveInstruction, ParsedSetReferrerConfigInstruction, ParsedSetReferrerRateOverrideInstruction, ParsedSetUserFeeOverrideInstruction, ParsedSetUserReferrerInstruction, ParsedSetUserWithdrawalTimingOverrideInstruction, ParsedSetWithdrawalRedemptionScheduleInstruction, ParsedStartDistributionInstruction, ParsedUpdateAllocationsInstruction, ParsedUpdateOracleInstruction, PauseDepositsWithdrawalsAsyncInput, PauseDepositsWithdrawalsInput, PauseDepositsWithdrawalsInstruction, PauseDepositsWithdrawalsInstructionData, PauseDepositsWithdrawalsInstructionDataArgs, PendingBundleAssetAuthoritySeeds, PendingFeeEstimate, PerformRefillAsyncInput, PerformRefillInput, PerformRefillInstruction, PerformRefillInstructionData, PerformRefillInstructionDataArgs, type PointsVaultEntry, ProcessDepositAsyncInput, ProcessDepositInput, ProcessDepositInstruction, ProcessDepositInstructionData, ProcessDepositInstructionDataArgs, ProcessReferrerWithdrawalAsyncInput, ProcessReferrerWithdrawalInput, ProcessReferrerWithdrawalInstruction, ProcessReferrerWithdrawalInstructionData, ProcessReferrerWithdrawalInstructionDataArgs, ProcessSwitchAsyncInput, ProcessSwitchInput, ProcessSwitchInstruction, ProcessSwitchInstructionData, ProcessSwitchInstructionDataArgs, ProcessWithdrawalAsyncInput, ProcessWithdrawalInput, ProcessWithdrawalInstruction, ProcessWithdrawalInstructionData, ProcessWithdrawalInstructionDataArgs, REFERRAL_OVERRIDE_MFEE, REFERRAL_OVERRIDE_PFEE, REFERRER_ACCOUNT_DISCRIMINATOR, REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR, REFUND_DEPOSIT_DISCRIMINATOR, REGISTER_REFERRER_DISCRIMINATOR, REMOVE_STRATEGY_DISCRIMINATOR, REQUEST_BUNDLE_SWITCH_DISCRIMINATOR, REQUEST_DEPOSIT_DISCRIMINATOR, REQUEST_WITHDRAWAL_DISCRIMINATOR, ReferralTier, ReferralTierArgs, ReferrerAccount, ReferrerAccountArgs, ReferrerAccountSeeds, ReferrerCodeResolver, ReferrerRequestWithdrawAsyncInput, ReferrerRequestWithdrawInput, ReferrerRequestWithdrawInstruction, ReferrerRequestWithdrawInstructionData, ReferrerRequestWithdrawInstructionDataArgs, ReferrerStatus, ReferrerTierProgress, ReferrerTierScheduleProgress, ReferrerUserBundleAccountSeeds, ReferrerWithdrawRequestPlan, RefundDepositAsyncInput, RefundDepositInput, RefundDepositInstruction, RefundDepositInstructionData, RefundDepositInstructionDataArgs, RegisterReferrerAsyncInput, RegisterReferrerInput, RegisterReferrerInstruction, RegisterReferrerInstructionData, RegisterReferrerInstructionDataArgs, RemoveStrategyAsyncInput, RemoveStrategyInput, RemoveStrategyInstruction, RemoveStrategyInstructionData, RemoveStrategyInstructionDataArgs, RequestBundleSwitchAsyncInput, RequestBundleSwitchInput, RequestBundleSwitchInstruction, RequestBundleSwitchInstructionData, RequestBundleSwitchInstructionDataArgs, RequestBundleSwitchUserBundleAccountSeeds, RequestDepositAsyncInput, RequestDepositInput, RequestDepositInstruction, RequestDepositInstructionData, RequestDepositInstructionDataArgs, RequestWithdrawalAsyncInput, RequestWithdrawalInput, RequestWithdrawalInstruction, RequestWithdrawalInstructionData, RequestWithdrawalInstructionDataArgs, SECONDS_IN_YEAR, SET_BUNDLE_CREATOR_DISCRIMINATOR, SET_DELAYS_DISCRIMINATOR, SET_FEES_DISCRIMINATOR, SET_KEEPER_DISCRIMINATOR, SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR, SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR, SET_ORACLE_BUFFER_DISCRIMINATOR, SET_ORACLE_MAX_AGE_DISCRIMINATOR, SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR, SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR, SET_REFERRER_ACTIVE_DISCRIMINATOR, SET_REFERRER_CONFIG_DISCRIMINATOR, SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR, SET_USER_FEE_OVERRIDE_DISCRIMINATOR, SET_USER_REFERRER_DISCRIMINATOR, SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR, START_DISTRIBUTION_DISCRIMINATOR, STRATEGY_DISCRIMINATOR, SetBundleCreatorAsyncInput, SetBundleCreatorInput, SetBundleCreatorInstruction, SetBundleCreatorInstructionData, SetBundleCreatorInstructionDataArgs, SetDelaysInput, SetDelaysInstruction, SetDelaysInstructionData, SetDelaysInstructionDataArgs, SetFeesInput, SetFeesInstruction, SetFeesInstructionData, SetFeesInstructionDataArgs, SetKeeperInput, SetKeeperInstruction, SetKeeperInstructionData, SetKeeperInstructionDataArgs, SetMaxDepositAmountInput, SetMaxDepositAmountInstruction, SetMaxDepositAmountInstructionData, SetMaxDepositAmountInstructionDataArgs, SetMinDepositAmountInput, SetMinDepositAmountInstruction, SetMinDepositAmountInstructionData, SetMinDepositAmountInstructionDataArgs, SetOracleBufferInput, SetOracleBufferInstruction, SetOracleBufferInstructionData, SetOracleBufferInstructionDataArgs, SetOracleMaxAgeInput, SetOracleMaxAgeInstruction, SetOracleMaxAgeInstructionData, SetOracleMaxAgeInstructionDataArgs, SetOracleUpdateTimeLimitInput, SetOracleUpdateTimeLimitInstruction, SetOracleUpdateTimeLimitInstructionData, SetOracleUpdateTimeLimitInstructionDataArgs, SetReferralTierConfigInput, SetReferralTierConfigInstruction, SetReferralTierConfigInstructionData, SetReferralTierConfigInstructionDataArgs, SetReferrerActiveInput, SetReferrerActiveInstruction, SetReferrerActiveInstructionData, SetReferrerActiveInstructionDataArgs, SetReferrerConfigInput, SetReferrerConfigInstruction, SetReferrerConfigInstructionData, SetReferrerConfigInstructionDataArgs, SetReferrerRateOverrideInput, SetReferrerRateOverrideInstruction, SetReferrerRateOverrideInstructionData, SetReferrerRateOverrideInstructionDataArgs, SetUserFeeOverrideAsyncInput, SetUserFeeOverrideInput, SetUserFeeOverrideInstruction, SetUserFeeOverrideInstructionData, SetUserFeeOverrideInstructionDataArgs, SetUserReferrerAsyncInput, SetUserReferrerInput, SetUserReferrerInstruction, SetUserReferrerInstructionData, SetUserReferrerInstructionDataArgs, SetUserWithdrawalTimingOverrideAsyncInput, SetUserWithdrawalTimingOverrideInput, SetUserWithdrawalTimingOverrideInstruction, SetUserWithdrawalTimingOverrideInstructionData, SetUserWithdrawalTimingOverrideInstructionDataArgs, SetWithdrawalRedemptionScheduleInput, SetWithdrawalRedemptionScheduleInstruction, SetWithdrawalRedemptionScheduleInstructionData, SetWithdrawalRedemptionScheduleInstructionDataArgs, SingleTransactionBuilderRegistration, SourceBundleAssetAuthoritySeeds, SourceBundleTempDataSeeds, SourceOracleDataSeeds, SourceUserBundleAccountSeeds, StartDistributionAsyncInput, StartDistributionInput, StartDistributionInstruction, StartDistributionInstructionData, StartDistributionInstructionDataArgs, Strategy, StrategyAccountSeeds, StrategyArgs, SupportedChain, SupportedToken, TOKEN_PROGRAM_ADDRESS, TargetBundleTempDataSeeds, TargetOracleDataSeeds, TargetPendingBundleAssetAuthoritySeeds, TargetUserBundleAccountSeeds, type Token, U64_MAX, UPDATE_ALLOCATIONS_DISCRIMINATOR, UPDATE_ORACLE_DISCRIMINATOR, USER_BUNDLE_ACCOUNT_DISCRIMINATOR, UpdateAllocationsAsyncInput, UpdateAllocationsInput, UpdateAllocationsInstruction, UpdateAllocationsInstructionData, UpdateAllocationsInstructionDataArgs, UpdateOracleAsyncInput, UpdateOracleInput, UpdateOracleInstruction, UpdateOracleInstructionData, UpdateOracleInstructionDataArgs, UserBundleAccount, UserBundleAccountArgs, UserBundleAccountSeeds, UserBundleBalance, VaultCategory, type VaultConfig, VaultId, type VaultRegistry, type VaultRegistryEntry, VaultType, assertAllowlistedBundleProgramId, assertValidAmountRaw, buildAttributedDepositTx, buildBuilderRegistrationTx, buildDepositInstructions, buildReferrerWithdrawRequestTx, buildRequestSwitchInstructions, buildRequestWithdrawInstruction, calculateAssetsFromShares, calculateGrossDepositAmount, calculateOnChainPps, calculateReferrerTierProgress, calculateReferrerTierScheduleProgress, computeUserBundleBalance, computeWithdrawalShares, decodeBundle, decodeBundleCreatorAccount, decodeBundleMasterAccount, decodeBundleTempData, decodeOracleData, decodeReferrerAccount, decodeStrategy, decodeUserBundleAccount, deriveReferrerAccountForUser, estimatePendingUserFees, estimateWithdrawalAvailableTimestamp, estimateWithdrawalCooldownSeconds, fetchAllBundle, fetchAllBundleCreatorAccount, fetchAllBundleMasterAccount, fetchAllBundleTempData, fetchAllMaybeBundle, fetchAllMaybeBundleCreatorAccount, fetchAllMaybeBundleMasterAccount, fetchAllMaybeBundleTempData, fetchAllMaybeOracleData, fetchAllMaybeReferrerAccount, fetchAllMaybeStrategy, fetchAllMaybeUserBundleAccount, fetchAllOracleData, fetchAllReferrerAccount, fetchAllStrategy, fetchAllUserBundleAccount, fetchBundle, fetchBundleCreatorAccount, fetchBundleMasterAccount, fetchBundleTempData, fetchMaybeBundle, fetchMaybeBundleCreatorAccount, fetchMaybeBundleMasterAccount, fetchMaybeBundleTempData, fetchMaybeOracleData, fetchMaybeReferrerAccount, fetchMaybeStrategy, fetchMaybeUserBundleAccount, fetchOracleData, fetchReferrerAccount, fetchReferrerStatus, fetchStrategy, fetchUserBundleAccount, fetchUserBundleBalance, fetchUserBundleBalances, findAssociatedTokenPda, findBundleAccountPda, findBundleAssetAuthorityPda, findBundleCreatorAccountPda, findBundleMasterAccountPda, findBundleTempDataPda, findCloseUserBundleAccountUserBundleAccountPda, findOracleDataPda, findPendingBundleAssetAuthorityPda, findReferrerAccountPda, findReferrerUserBundleAccountPda, findRequestBundleSwitchUserBundleAccountPda, findSourceBundleAssetAuthorityPda, findSourceBundleTempDataPda, findSourceOracleDataPda, findSourceUserBundleAccountPda, findStrategyAccountPda, findTargetBundleTempDataPda, findTargetOracleDataPda, findTargetPendingBundleAssetAuthorityPda, findTargetUserBundleAccountPda, findUserBundleAccountPda, getAddStrategyDiscriminatorBytes, getAddStrategyInstruction, getAddStrategyInstructionAsync, getAddStrategyInstructionDataCodec, getAddStrategyInstructionDataDecoder, getAddStrategyInstructionDataEncoder, getApplyFeesToUserDiscriminatorBytes, getApplyFeesToUserInstruction, getApplyFeesToUserInstructionAsync, getApplyFeesToUserInstructionDataCodec, getApplyFeesToUserInstructionDataDecoder, getApplyFeesToUserInstructionDataEncoder, getBundleCodec, getBundleCreatorAccountCodec, getBundleCreatorAccountDecoder, getBundleCreatorAccountDiscriminatorBytes, getBundleCreatorAccountEncoder, getBundleCreatorAccountSize, getBundleDecoder, getBundleDiscriminatorBytes, getBundleEncoder, getBundleMasterAccountCodec, getBundleMasterAccountDecoder, getBundleMasterAccountDiscriminatorBytes, getBundleMasterAccountEncoder, getBundleMasterAccountSize, getBundleProgramId, getBundleTempDataCodec, getBundleTempDataDecoder, getBundleTempDataDiscriminatorBytes, getBundleTempDataEncoder, getBundleTempDataSize, getChangeBundleMasterAdminDiscriminatorBytes, getChangeBundleMasterAdminInstruction, getChangeBundleMasterAdminInstructionAsync, getChangeBundleMasterAdminInstructionDataCodec, getChangeBundleMasterAdminInstructionDataDecoder, getChangeBundleMasterAdminInstructionDataEncoder, getChangeManagerDiscriminatorBytes, getChangeManagerInstruction, getChangeManagerInstructionDataCodec, getChangeManagerInstructionDataDecoder, getChangeManagerInstructionDataEncoder, getClearUserFeeOverrideDiscriminatorBytes, getClearUserFeeOverrideInstruction, getClearUserFeeOverrideInstructionAsync, getClearUserFeeOverrideInstructionDataCodec, getClearUserFeeOverrideInstructionDataDecoder, getClearUserFeeOverrideInstructionDataEncoder, getClearUserWithdrawalTimingOverrideDiscriminatorBytes, getClearUserWithdrawalTimingOverrideInstruction, getClearUserWithdrawalTimingOverrideInstructionAsync, getClearUserWithdrawalTimingOverrideInstructionDataCodec, getClearUserWithdrawalTimingOverrideInstructionDataDecoder, getClearUserWithdrawalTimingOverrideInstructionDataEncoder, getCloseUserBundleAccountDiscriminatorBytes, getCloseUserBundleAccountInstruction, getCloseUserBundleAccountInstructionAsync, getCloseUserBundleAccountInstructionDataCodec, getCloseUserBundleAccountInstructionDataDecoder, getCloseUserBundleAccountInstructionDataEncoder, getDefaultBundleProgramIdByCluster, getDistributeToReceiversDiscriminatorBytes, getDistributeToReceiversInstruction, getDistributeToReceiversInstructionAsync, getDistributeToReceiversInstructionDataCodec, getDistributeToReceiversInstructionDataDecoder, getDistributeToReceiversInstructionDataEncoder, getDriftProgramId, getEnableStrategyDiscriminatorBytes, getEnableStrategyInstruction, getEnableStrategyInstructionAsync, getEnableStrategyInstructionDataCodec, getEnableStrategyInstructionDataDecoder, getEnableStrategyInstructionDataEncoder, getEndDistributionDiscriminatorBytes, getEndDistributionInstruction, getEndDistributionInstructionAsync, getEndDistributionInstructionDataCodec, getEndDistributionInstructionDataDecoder, getEndDistributionInstructionDataEncoder, getInitializeBundleDepositorDiscriminatorBytes, getInitializeBundleDepositorInstruction, getInitializeBundleDepositorInstructionAsync, getInitializeBundleDepositorInstructionDataCodec, getInitializeBundleDepositorInstructionDataDecoder, getInitializeBundleDepositorInstructionDataEncoder, getInitializeBundleDiscriminatorBytes, getInitializeBundleInstruction, getInitializeBundleInstructionAsync, getInitializeBundleInstructionDataCodec, getInitializeBundleInstructionDataDecoder, getInitializeBundleInstructionDataEncoder, getInitializeBundleMasterAccountDiscriminatorBytes, getInitializeBundleMasterAccountInstruction, getInitializeBundleMasterAccountInstructionAsync, getInitializeBundleMasterAccountInstructionDataCodec, getInitializeBundleMasterAccountInstructionDataDecoder, getInitializeBundleMasterAccountInstructionDataEncoder, getInitializePermissionedBundleDepositorDiscriminatorBytes, getInitializePermissionedBundleDepositorInstruction, getInitializePermissionedBundleDepositorInstructionAsync, getInitializePermissionedBundleDepositorInstructionDataCodec, getInitializePermissionedBundleDepositorInstructionDataDecoder, getInitializePermissionedBundleDepositorInstructionDataEncoder, getManagerWithdrawDiscriminatorBytes, getManagerWithdrawInstruction, getManagerWithdrawInstructionAsync, getManagerWithdrawInstructionDataCodec, getManagerWithdrawInstructionDataDecoder, getManagerWithdrawInstructionDataEncoder, getManagerWithdrawWithSplitDiscriminatorBytes, getManagerWithdrawWithSplitInstruction, getManagerWithdrawWithSplitInstructionAsync, getManagerWithdrawWithSplitInstructionDataCodec, getManagerWithdrawWithSplitInstructionDataDecoder, getManagerWithdrawWithSplitInstructionDataEncoder, getNetPendingTransactionsDiscriminatorBytes, getNetPendingTransactionsInstruction, getNetPendingTransactionsInstructionAsync, getNetPendingTransactionsInstructionDataCodec, getNetPendingTransactionsInstructionDataDecoder, getNetPendingTransactionsInstructionDataEncoder, getNtbundleErrorMessage, getOracleDataCodec, getOracleDataDecoder, getOracleDataDiscriminatorBytes, getOracleDataEncoder, getOracleDataSize, getPauseDepositsWithdrawalsDiscriminatorBytes, getPauseDepositsWithdrawalsInstruction, getPauseDepositsWithdrawalsInstructionAsync, getPauseDepositsWithdrawalsInstructionDataCodec, getPauseDepositsWithdrawalsInstructionDataDecoder, getPauseDepositsWithdrawalsInstructionDataEncoder, getPerformRefillDiscriminatorBytes, getPerformRefillInstruction, getPerformRefillInstructionAsync, getPerformRefillInstructionDataCodec, getPerformRefillInstructionDataDecoder, getPerformRefillInstructionDataEncoder, getPointsVaults, getProcessDepositDiscriminatorBytes, getProcessDepositInstruction, getProcessDepositInstructionAsync, getProcessDepositInstructionDataCodec, getProcessDepositInstructionDataDecoder, getProcessDepositInstructionDataEncoder, getProcessReferrerWithdrawalDiscriminatorBytes, getProcessReferrerWithdrawalInstruction, getProcessReferrerWithdrawalInstructionAsync, getProcessReferrerWithdrawalInstructionDataCodec, getProcessReferrerWithdrawalInstructionDataDecoder, getProcessReferrerWithdrawalInstructionDataEncoder, getProcessSwitchDiscriminatorBytes, getProcessSwitchInstruction, getProcessSwitchInstructionAsync, getProcessSwitchInstructionDataCodec, getProcessSwitchInstructionDataDecoder, getProcessSwitchInstructionDataEncoder, getProcessWithdrawalDiscriminatorBytes, getProcessWithdrawalInstruction, getProcessWithdrawalInstructionAsync, getProcessWithdrawalInstructionDataCodec, getProcessWithdrawalInstructionDataDecoder, getProcessWithdrawalInstructionDataEncoder, getReferralTierCodec, getReferralTierDecoder, getReferralTierEncoder, getReferrerAccountCodec, getReferrerAccountDecoder, getReferrerAccountDiscriminatorBytes, getReferrerAccountEncoder, getReferrerAccountSize, getReferrerRequestWithdrawDiscriminatorBytes, getReferrerRequestWithdrawInstruction, getReferrerRequestWithdrawInstructionAsync, getReferrerRequestWithdrawInstructionDataCodec, getReferrerRequestWithdrawInstructionDataDecoder, getReferrerRequestWithdrawInstructionDataEncoder, getRefundDepositDiscriminatorBytes, getRefundDepositInstruction, getRefundDepositInstructionAsync, getRefundDepositInstructionDataCodec, getRefundDepositInstructionDataDecoder, getRefundDepositInstructionDataEncoder, getRegisterReferrerDiscriminatorBytes, getRegisterReferrerInstruction, getRegisterReferrerInstructionAsync, getRegisterReferrerInstructionDataCodec, getRegisterReferrerInstructionDataDecoder, getRegisterReferrerInstructionDataEncoder, getRemoveStrategyDiscriminatorBytes, getRemoveStrategyInstruction, getRemoveStrategyInstructionAsync, getRemoveStrategyInstructionDataCodec, getRemoveStrategyInstructionDataDecoder, getRemoveStrategyInstructionDataEncoder, getRequestBundleSwitchDiscriminatorBytes, getRequestBundleSwitchInstruction, getRequestBundleSwitchInstructionAsync, getRequestBundleSwitchInstructionDataCodec, getRequestBundleSwitchInstructionDataDecoder, getRequestBundleSwitchInstructionDataEncoder, getRequestDepositDiscriminatorBytes, getRequestDepositInstruction, getRequestDepositInstructionAsync, getRequestDepositInstructionDataCodec, getRequestDepositInstructionDataDecoder, getRequestDepositInstructionDataEncoder, getRequestWithdrawalDiscriminatorBytes, getRequestWithdrawalInstruction, getRequestWithdrawalInstructionAsync, getRequestWithdrawalInstructionDataCodec, getRequestWithdrawalInstructionDataDecoder, getRequestWithdrawalInstructionDataEncoder, getSetBundleCreatorDiscriminatorBytes, getSetBundleCreatorInstruction, getSetBundleCreatorInstructionAsync, getSetBundleCreatorInstructionDataCodec, getSetBundleCreatorInstructionDataDecoder, getSetBundleCreatorInstructionDataEncoder, getSetDelaysDiscriminatorBytes, getSetDelaysInstruction, getSetDelaysInstructionDataCodec, getSetDelaysInstructionDataDecoder, getSetDelaysInstructionDataEncoder, getSetFeesDiscriminatorBytes, getSetFeesInstruction, getSetFeesInstructionDataCodec, getSetFeesInstructionDataDecoder, getSetFeesInstructionDataEncoder, getSetKeeperDiscriminatorBytes, getSetKeeperInstruction, getSetKeeperInstructionDataCodec, getSetKeeperInstructionDataDecoder, getSetKeeperInstructionDataEncoder, getSetMaxDepositAmountDiscriminatorBytes, getSetMaxDepositAmountInstruction, getSetMaxDepositAmountInstructionDataCodec, getSetMaxDepositAmountInstructionDataDecoder, getSetMaxDepositAmountInstructionDataEncoder, getSetMinDepositAmountDiscriminatorBytes, getSetMinDepositAmountInstruction, getSetMinDepositAmountInstructionDataCodec, getSetMinDepositAmountInstructionDataDecoder, getSetMinDepositAmountInstructionDataEncoder, getSetOracleBufferDiscriminatorBytes, getSetOracleBufferInstruction, getSetOracleBufferInstructionDataCodec, getSetOracleBufferInstructionDataDecoder, getSetOracleBufferInstructionDataEncoder, getSetOracleMaxAgeDiscriminatorBytes, getSetOracleMaxAgeInstruction, getSetOracleMaxAgeInstructionDataCodec, getSetOracleMaxAgeInstructionDataDecoder, getSetOracleMaxAgeInstructionDataEncoder, getSetOracleUpdateTimeLimitDiscriminatorBytes, getSetOracleUpdateTimeLimitInstruction, getSetOracleUpdateTimeLimitInstructionDataCodec, getSetOracleUpdateTimeLimitInstructionDataDecoder, getSetOracleUpdateTimeLimitInstructionDataEncoder, getSetReferralTierConfigDiscriminatorBytes, getSetReferralTierConfigInstruction, getSetReferralTierConfigInstructionDataCodec, getSetReferralTierConfigInstructionDataDecoder, getSetReferralTierConfigInstructionDataEncoder, getSetReferrerActiveDiscriminatorBytes, getSetReferrerActiveInstruction, getSetReferrerActiveInstructionDataCodec, getSetReferrerActiveInstructionDataDecoder, getSetReferrerActiveInstructionDataEncoder, getSetReferrerConfigDiscriminatorBytes, getSetReferrerConfigInstruction, getSetReferrerConfigInstructionDataCodec, getSetReferrerConfigInstructionDataDecoder, getSetReferrerConfigInstructionDataEncoder, getSetReferrerRateOverrideDiscriminatorBytes, getSetReferrerRateOverrideInstruction, getSetReferrerRateOverrideInstructionDataCodec, getSetReferrerRateOverrideInstructionDataDecoder, getSetReferrerRateOverrideInstructionDataEncoder, getSetUserFeeOverrideDiscriminatorBytes, getSetUserFeeOverrideInstruction, getSetUserFeeOverrideInstructionAsync, getSetUserFeeOverrideInstructionDataCodec, getSetUserFeeOverrideInstructionDataDecoder, getSetUserFeeOverrideInstructionDataEncoder, getSetUserReferrerDiscriminatorBytes, getSetUserReferrerInstruction, getSetUserReferrerInstructionAsync, getSetUserReferrerInstructionDataCodec, getSetUserReferrerInstructionDataDecoder, getSetUserReferrerInstructionDataEncoder, getSetUserWithdrawalTimingOverrideDiscriminatorBytes, getSetUserWithdrawalTimingOverrideInstruction, getSetUserWithdrawalTimingOverrideInstructionAsync, getSetUserWithdrawalTimingOverrideInstructionDataCodec, getSetUserWithdrawalTimingOverrideInstructionDataDecoder, getSetUserWithdrawalTimingOverrideInstructionDataEncoder, getSetWithdrawalRedemptionScheduleDiscriminatorBytes, getSetWithdrawalRedemptionScheduleInstruction, getSetWithdrawalRedemptionScheduleInstructionDataCodec, getSetWithdrawalRedemptionScheduleInstructionDataDecoder, getSetWithdrawalRedemptionScheduleInstructionDataEncoder, getSolanaTokenDecimals, getSolanaTokenMint, getStartDistributionDiscriminatorBytes, getStartDistributionInstruction, getStartDistributionInstructionAsync, getStartDistributionInstructionDataCodec, getStartDistributionInstructionDataDecoder, getStartDistributionInstructionDataEncoder, getStrategyCodec, getStrategyDecoder, getStrategyDiscriminatorBytes, getStrategyEncoder, getStrategySize, getUpdateAllocationsDiscriminatorBytes, getUpdateAllocationsInstruction, getUpdateAllocationsInstructionAsync, getUpdateAllocationsInstructionDataCodec, getUpdateAllocationsInstructionDataDecoder, getUpdateAllocationsInstructionDataEncoder, getUpdateOracleDiscriminatorBytes, getUpdateOracleInstruction, getUpdateOracleInstructionAsync, getUpdateOracleInstructionDataCodec, getUpdateOracleInstructionDataDecoder, getUpdateOracleInstructionDataEncoder, getUserBundleAccountCodec, getUserBundleAccountDecoder, getUserBundleAccountDiscriminatorBytes, getUserBundleAccountEncoder, getUserBundleAccountSize, getVaultByAddress, getVaultById, getVaultRegistry, humanFloatToAmountRaw, identifyNtbundleAccount, identifyNtbundleInstruction, isAllowlistedBundleProgramId, isNtbundleError, isValidVaultAddress, ntbundleProgram, parseAddStrategyInstruction, parseAmountRaw, parseApplyFeesToUserInstruction, parseChangeBundleMasterAdminInstruction, parseChangeManagerInstruction, parseClearUserFeeOverrideInstruction, parseClearUserWithdrawalTimingOverrideInstruction, parseCloseUserBundleAccountInstruction, parseDistributeToReceiversInstruction, parseEnableStrategyInstruction, parseEndDistributionInstruction, parseInitializeBundleDepositorInstruction, parseInitializeBundleInstruction, parseInitializeBundleMasterAccountInstruction, parseInitializePermissionedBundleDepositorInstruction, parseManagerWithdrawInstruction, parseManagerWithdrawWithSplitInstruction, parseNetPendingTransactionsInstruction, parseNtbundleInstruction, parsePauseDepositsWithdrawalsInstruction, parsePerformRefillInstruction, parseProcessDepositInstruction, parseProcessReferrerWithdrawalInstruction, parseProcessSwitchInstruction, parseProcessWithdrawalInstruction, parseReferrerRequestWithdrawInstruction, parseRefundDepositInstruction, parseRegisterReferrerInstruction, parseRemoveStrategyInstruction, parseRequestBundleSwitchInstruction, parseRequestDepositInstruction, parseRequestWithdrawalInstruction, parseSetBundleCreatorInstruction, parseSetDelaysInstruction, parseSetFeesInstruction, parseSetKeeperInstruction, parseSetMaxDepositAmountInstruction, parseSetMinDepositAmountInstruction, parseSetOracleBufferInstruction, parseSetOracleMaxAgeInstruction, parseSetOracleUpdateTimeLimitInstruction, parseSetReferralTierConfigInstruction, parseSetReferrerActiveInstruction, parseSetReferrerConfigInstruction, parseSetReferrerRateOverrideInstruction, parseSetUserFeeOverrideInstruction, parseSetUserReferrerInstruction, parseSetUserWithdrawalTimingOverrideInstruction, parseSetWithdrawalRedemptionScheduleInstruction, parseStartDistributionInstruction, parseUpdateAllocationsInstruction, parseUpdateOracleInstruction, resolveBundleReferralRates, resolveEffectiveFees, resolveEffectiveReferralRates, sharePriceRaw, toVaultConfig, toVaultRegistry, tokens, totalEquityRaw, vaults, vaultsDevnet };
|
|
836
|
+
export { ADD_STRATEGY_DISCRIMINATOR, ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, APPLY_FEES_TO_USER_DISCRIMINATOR, ASSOCIATED_TOKEN_PROGRAM_ADDRESS, AddStrategyAsyncInput, AddStrategyInput, AddStrategyInstruction, AddStrategyInstructionData, AddStrategyInstructionDataArgs, ApplyFeesToUserAsyncInput, ApplyFeesToUserInput, ApplyFeesToUserInstruction, ApplyFeesToUserInstructionData, ApplyFeesToUserInstructionDataArgs, BPS_DENOMINATOR, BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR, BUNDLE_DISCRIMINATOR, BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, BUNDLE_PROGRAM_ID_V2_MAINNET, BUNDLE_TEMP_DATA_DISCRIMINATOR, BuildAttributedDepositTxParams, BuildBuilderRegistrationTxParams, type BuildDepositInstructionsParams, BuildReferrerWithdrawRequestTxParams, BuildRequestSwitchInstructionsParams, BuildRequestWithdrawInstructionParams, BuilderDepositAmountTooLowError, BuilderRegistrationPlan, Bundle, BundleAccountSeeds, BundleArgs, BundleAssetAuthoritySeeds, type BundleCluster, BundleCreatorAccount, BundleCreatorAccountArgs, BundleCreatorAccountSeeds, BundleMasterAccount, BundleMasterAccountArgs, BundleTempData, BundleTempDataArgs, BundleTempDataSeeds, BundleVaultInput, CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR, CHANGE_MANAGER_DISCRIMINATOR, CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR, CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR, ChangeBundleMasterAdminAsyncInput, ChangeBundleMasterAdminInput, ChangeBundleMasterAdminInstruction, ChangeBundleMasterAdminInstructionData, ChangeBundleMasterAdminInstructionDataArgs, ChangeManagerInput, ChangeManagerInstruction, ChangeManagerInstructionData, ChangeManagerInstructionDataArgs, ClearUserFeeOverrideAsyncInput, ClearUserFeeOverrideInput, ClearUserFeeOverrideInstruction, ClearUserFeeOverrideInstructionData, ClearUserFeeOverrideInstructionDataArgs, ClearUserWithdrawalTimingOverrideAsyncInput, ClearUserWithdrawalTimingOverrideInput, ClearUserWithdrawalTimingOverrideInstruction, ClearUserWithdrawalTimingOverrideInstructionData, ClearUserWithdrawalTimingOverrideInstructionDataArgs, CloseUserBundleAccountAsyncInput, CloseUserBundleAccountInput, CloseUserBundleAccountInstruction, CloseUserBundleAccountInstructionData, CloseUserBundleAccountInstructionDataArgs, CloseUserBundleAccountUserBundleAccountSeeds, DEFAULT_BUNDLE_PROGRAM_ID_DEVNET, DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR, DevnetVaultId, DistributeToReceiversAsyncInput, DistributeToReceiversInput, DistributeToReceiversInstruction, DistributeToReceiversInstructionData, DistributeToReceiversInstructionDataArgs, ENABLE_STRATEGY_DISCRIMINATOR, END_DISTRIBUTION_DISCRIMINATOR, EffectiveFees, EffectiveReferralRates, EnableStrategyAsyncInput, EnableStrategyInput, EnableStrategyInstruction, EnableStrategyInstructionData, EnableStrategyInstructionDataArgs, EndDistributionAsyncInput, EndDistributionInput, EndDistributionInstruction, EndDistributionInstructionData, EndDistributionInstructionDataArgs, ExtensionsRpc, FEE_OVERRIDE_DEPOSIT, FEE_OVERRIDE_MANAGEMENT, FEE_OVERRIDE_PERFORMANCE, FEE_OVERRIDE_WITHDRAWAL, GetAccountInfoRpc, GetMultipleAccountsRpc, GetProgramAccountsRpc, INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR, INITIALIZE_BUNDLE_DISCRIMINATOR, INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR, InitializeBundleAsyncInput, InitializeBundleDepositorAsyncInput, InitializeBundleDepositorInput, InitializeBundleDepositorInstruction, InitializeBundleDepositorInstructionData, InitializeBundleDepositorInstructionDataArgs, InitializeBundleInput, InitializeBundleInstruction, InitializeBundleInstructionData, InitializeBundleInstructionDataArgs, InitializeBundleMasterAccountAsyncInput, InitializeBundleMasterAccountInput, InitializeBundleMasterAccountInstruction, InitializeBundleMasterAccountInstructionData, InitializeBundleMasterAccountInstructionDataArgs, InitializePermissionedBundleDepositorAsyncInput, InitializePermissionedBundleDepositorInput, InitializePermissionedBundleDepositorInstruction, InitializePermissionedBundleDepositorInstructionData, InitializePermissionedBundleDepositorInstructionDataArgs, MANAGER_WITHDRAW_DISCRIMINATOR, MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR, MAX_DEPOSIT_FEE_BPS, MAX_REFERRAL_TIERS, ManagerWithdrawAsyncInput, ManagerWithdrawInput, ManagerWithdrawInstruction, ManagerWithdrawInstructionData, ManagerWithdrawInstructionDataArgs, ManagerWithdrawWithSplitAsyncInput, ManagerWithdrawWithSplitInput, ManagerWithdrawWithSplitInstruction, ManagerWithdrawWithSplitInstructionData, ManagerWithdrawWithSplitInstructionDataArgs, NET_PENDING_TRANSACTIONS_DISCRIMINATOR, NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO, NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS, NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO, NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX, NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED, NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED, NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER, NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO, NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO, NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED, NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED, NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST, NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST, NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND, NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE, NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE, NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE, NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE, NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE, NTBUNDLE_ERROR__INSUFFICIENT_FUNDS, NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE, NTBUNDLE_ERROR__INVALID_ALLOCATIONS, NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS, NTBUNDLE_ERROR__INVALID_ASSET_PRECISION, NTBUNDLE_ERROR__INVALID_FEE_SPLIT, NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER, NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER, NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE, NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT, NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR, NTBUNDLE_ERROR__INVALID_RECEIVER, NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG, NTBUNDLE_ERROR__INVALID_REFERRAL_TIER_CONFIG, NTBUNDLE_ERROR__INVALID_TWAP_PERIOD, NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG, NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE, NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO, NTBUNDLE_ERROR__MANAGER_SHARES_ZERO, NTBUNDLE_ERROR__MATH_ERROR, NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET, NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST, NTBUNDLE_ERROR__NETTING_ALREADY_DONE, NTBUNDLE_ERROR__NETTING_NOT_DONE, NTBUNDLE_ERROR__NO_PENDING_SWITCH, NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS, NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL, NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR, NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR, NTBUNDLE_ERROR__ORACLE_NOT_UPDATED, NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT, NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS, NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY, NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO, NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS, NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS, NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST, NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS, NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO, NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER, NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO, NTBUNDLE_ERROR__REFERRALS_DISABLED, NTBUNDLE_ERROR__REFERRAL_ALREADY_SET, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING, NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW, NTBUNDLE_ERROR__REFERRER_SHARES_ZERO, NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID, NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED, NTBUNDLE_ERROR__STRATEGY_DISABLED, NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE, NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH, NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE, NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS, NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT, NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR, NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION, NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY, NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED, NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET, NTBUNDLE_PROGRAM_ADDRESS, NetPendingTransactionsAsyncInput, NetPendingTransactionsInput, NetPendingTransactionsInstruction, NetPendingTransactionsInstructionData, NetPendingTransactionsInstructionDataArgs, NettingRequiredBuilderRegistration, NtbundleAccount, NtbundleError, NtbundleInstruction, NtbundlePlugin, NtbundlePluginAccounts, NtbundlePluginInstructions, NtbundlePluginPdas, NtbundlePluginRequirements, ORACLE_DATA_DISCRIMINATOR, OracleData, OracleDataArgs, OracleDataSeeds, PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR, PERFORM_REFILL_DISCRIMINATOR, PROCESS_DEPOSIT_DISCRIMINATOR, PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR, PROCESS_SWITCH_DISCRIMINATOR, PROCESS_WITHDRAWAL_DISCRIMINATOR, ParsedAddStrategyInstruction, ParsedApplyFeesToUserInstruction, ParsedChangeBundleMasterAdminInstruction, ParsedChangeManagerInstruction, ParsedClearUserFeeOverrideInstruction, ParsedClearUserWithdrawalTimingOverrideInstruction, ParsedCloseUserBundleAccountInstruction, ParsedDistributeToReceiversInstruction, ParsedEnableStrategyInstruction, ParsedEndDistributionInstruction, ParsedInitializeBundleDepositorInstruction, ParsedInitializeBundleInstruction, ParsedInitializeBundleMasterAccountInstruction, ParsedInitializePermissionedBundleDepositorInstruction, ParsedManagerWithdrawInstruction, ParsedManagerWithdrawWithSplitInstruction, ParsedNetPendingTransactionsInstruction, ParsedNtbundleInstruction, ParsedPauseDepositsWithdrawalsInstruction, ParsedPerformRefillInstruction, ParsedProcessDepositInstruction, ParsedProcessReferrerWithdrawalInstruction, ParsedProcessSwitchInstruction, ParsedProcessWithdrawalInstruction, ParsedReferrerRequestWithdrawInstruction, ParsedRefundDepositInstruction, ParsedRegisterReferrerInstruction, ParsedRemoveStrategyInstruction, ParsedRequestBundleSwitchInstruction, ParsedRequestDepositInstruction, ParsedRequestWithdrawalInstruction, ParsedSetBundleCreatorInstruction, ParsedSetDelaysInstruction, ParsedSetFeesInstruction, ParsedSetKeeperInstruction, ParsedSetMaxDepositAmountInstruction, ParsedSetMinDepositAmountInstruction, ParsedSetOracleBufferInstruction, ParsedSetOracleMaxAgeInstruction, ParsedSetOracleUpdateTimeLimitInstruction, ParsedSetReferralTierConfigInstruction, ParsedSetReferrerActiveInstruction, ParsedSetReferrerConfigInstruction, ParsedSetReferrerRateOverrideInstruction, ParsedSetUserFeeOverrideInstruction, ParsedSetUserReferrerInstruction, ParsedSetUserWithdrawalTimingOverrideInstruction, ParsedSetWithdrawalRedemptionScheduleInstruction, ParsedStartDistributionInstruction, ParsedUpdateAllocationsInstruction, ParsedUpdateOracleInstruction, PauseDepositsWithdrawalsAsyncInput, PauseDepositsWithdrawalsInput, PauseDepositsWithdrawalsInstruction, PauseDepositsWithdrawalsInstructionData, PauseDepositsWithdrawalsInstructionDataArgs, PendingBundleAssetAuthoritySeeds, PendingFeeEstimate, PerformRefillAsyncInput, PerformRefillInput, PerformRefillInstruction, PerformRefillInstructionData, PerformRefillInstructionDataArgs, type PointsVaultEntry, ProcessDepositAsyncInput, ProcessDepositInput, ProcessDepositInstruction, ProcessDepositInstructionData, ProcessDepositInstructionDataArgs, ProcessReferrerWithdrawalAsyncInput, ProcessReferrerWithdrawalInput, ProcessReferrerWithdrawalInstruction, ProcessReferrerWithdrawalInstructionData, ProcessReferrerWithdrawalInstructionDataArgs, ProcessSwitchAsyncInput, ProcessSwitchInput, ProcessSwitchInstruction, ProcessSwitchInstructionData, ProcessSwitchInstructionDataArgs, ProcessWithdrawalAsyncInput, ProcessWithdrawalInput, ProcessWithdrawalInstruction, ProcessWithdrawalInstructionData, ProcessWithdrawalInstructionDataArgs, REFERRAL_OVERRIDE_MFEE, REFERRAL_OVERRIDE_PFEE, REFERRER_ACCOUNT_DISCRIMINATOR, REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR, REFUND_DEPOSIT_DISCRIMINATOR, REGISTER_REFERRER_DISCRIMINATOR, REMOVE_STRATEGY_DISCRIMINATOR, REQUEST_BUNDLE_SWITCH_DISCRIMINATOR, REQUEST_DEPOSIT_DISCRIMINATOR, REQUEST_WITHDRAWAL_DISCRIMINATOR, ROBINHOOD_CHAIN_ID, ReferralTier, ReferralTierArgs, ReferrerAccount, ReferrerAccountArgs, ReferrerAccountSeeds, ReferrerCodeResolver, ReferrerRequestWithdrawAsyncInput, ReferrerRequestWithdrawInput, ReferrerRequestWithdrawInstruction, ReferrerRequestWithdrawInstructionData, ReferrerRequestWithdrawInstructionDataArgs, ReferrerStatus, ReferrerTierProgress, ReferrerTierScheduleProgress, ReferrerUserBundleAccountSeeds, ReferrerWithdrawRequestPlan, RefundDepositAsyncInput, RefundDepositInput, RefundDepositInstruction, RefundDepositInstructionData, RefundDepositInstructionDataArgs, RegisterReferrerAsyncInput, RegisterReferrerInput, RegisterReferrerInstruction, RegisterReferrerInstructionData, RegisterReferrerInstructionDataArgs, RemoveStrategyAsyncInput, RemoveStrategyInput, RemoveStrategyInstruction, RemoveStrategyInstructionData, RemoveStrategyInstructionDataArgs, RequestBundleSwitchAsyncInput, RequestBundleSwitchInput, RequestBundleSwitchInstruction, RequestBundleSwitchInstructionData, RequestBundleSwitchInstructionDataArgs, RequestBundleSwitchUserBundleAccountSeeds, RequestDepositAsyncInput, RequestDepositInput, RequestDepositInstruction, RequestDepositInstructionData, RequestDepositInstructionDataArgs, RequestWithdrawalAsyncInput, RequestWithdrawalInput, RequestWithdrawalInstruction, RequestWithdrawalInstructionData, RequestWithdrawalInstructionDataArgs, SECONDS_IN_YEAR, SET_BUNDLE_CREATOR_DISCRIMINATOR, SET_DELAYS_DISCRIMINATOR, SET_FEES_DISCRIMINATOR, SET_KEEPER_DISCRIMINATOR, SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR, SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR, SET_ORACLE_BUFFER_DISCRIMINATOR, SET_ORACLE_MAX_AGE_DISCRIMINATOR, SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR, SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR, SET_REFERRER_ACTIVE_DISCRIMINATOR, SET_REFERRER_CONFIG_DISCRIMINATOR, SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR, SET_USER_FEE_OVERRIDE_DISCRIMINATOR, SET_USER_REFERRER_DISCRIMINATOR, SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR, START_DISTRIBUTION_DISCRIMINATOR, STRATEGY_DISCRIMINATOR, SetBundleCreatorAsyncInput, SetBundleCreatorInput, SetBundleCreatorInstruction, SetBundleCreatorInstructionData, SetBundleCreatorInstructionDataArgs, SetDelaysInput, SetDelaysInstruction, SetDelaysInstructionData, SetDelaysInstructionDataArgs, SetFeesInput, SetFeesInstruction, SetFeesInstructionData, SetFeesInstructionDataArgs, SetKeeperInput, SetKeeperInstruction, SetKeeperInstructionData, SetKeeperInstructionDataArgs, SetMaxDepositAmountInput, SetMaxDepositAmountInstruction, SetMaxDepositAmountInstructionData, SetMaxDepositAmountInstructionDataArgs, SetMinDepositAmountInput, SetMinDepositAmountInstruction, SetMinDepositAmountInstructionData, SetMinDepositAmountInstructionDataArgs, SetOracleBufferInput, SetOracleBufferInstruction, SetOracleBufferInstructionData, SetOracleBufferInstructionDataArgs, SetOracleMaxAgeInput, SetOracleMaxAgeInstruction, SetOracleMaxAgeInstructionData, SetOracleMaxAgeInstructionDataArgs, SetOracleUpdateTimeLimitInput, SetOracleUpdateTimeLimitInstruction, SetOracleUpdateTimeLimitInstructionData, SetOracleUpdateTimeLimitInstructionDataArgs, SetReferralTierConfigInput, SetReferralTierConfigInstruction, SetReferralTierConfigInstructionData, SetReferralTierConfigInstructionDataArgs, SetReferrerActiveInput, SetReferrerActiveInstruction, SetReferrerActiveInstructionData, SetReferrerActiveInstructionDataArgs, SetReferrerConfigInput, SetReferrerConfigInstruction, SetReferrerConfigInstructionData, SetReferrerConfigInstructionDataArgs, SetReferrerRateOverrideInput, SetReferrerRateOverrideInstruction, SetReferrerRateOverrideInstructionData, SetReferrerRateOverrideInstructionDataArgs, SetUserFeeOverrideAsyncInput, SetUserFeeOverrideInput, SetUserFeeOverrideInstruction, SetUserFeeOverrideInstructionData, SetUserFeeOverrideInstructionDataArgs, SetUserReferrerAsyncInput, SetUserReferrerInput, SetUserReferrerInstruction, SetUserReferrerInstructionData, SetUserReferrerInstructionDataArgs, SetUserWithdrawalTimingOverrideAsyncInput, SetUserWithdrawalTimingOverrideInput, SetUserWithdrawalTimingOverrideInstruction, SetUserWithdrawalTimingOverrideInstructionData, SetUserWithdrawalTimingOverrideInstructionDataArgs, SetWithdrawalRedemptionScheduleInput, SetWithdrawalRedemptionScheduleInstruction, SetWithdrawalRedemptionScheduleInstructionData, SetWithdrawalRedemptionScheduleInstructionDataArgs, SingleTransactionBuilderRegistration, SourceBundleAssetAuthoritySeeds, SourceBundleTempDataSeeds, SourceOracleDataSeeds, SourceUserBundleAccountSeeds, StartDistributionAsyncInput, StartDistributionInput, StartDistributionInstruction, StartDistributionInstructionData, StartDistributionInstructionDataArgs, Strategy, StrategyAccountSeeds, StrategyArgs, SupportedChain, SupportedToken, TOKEN_PROGRAM_ADDRESS, TargetBundleTempDataSeeds, TargetOracleDataSeeds, TargetPendingBundleAssetAuthoritySeeds, TargetUserBundleAccountSeeds, type Token, U64_MAX, UPDATE_ALLOCATIONS_DISCRIMINATOR, UPDATE_ORACLE_DISCRIMINATOR, USER_BUNDLE_ACCOUNT_DISCRIMINATOR, UpdateAllocationsAsyncInput, UpdateAllocationsInput, UpdateAllocationsInstruction, UpdateAllocationsInstructionData, UpdateAllocationsInstructionDataArgs, UpdateOracleAsyncInput, UpdateOracleInput, UpdateOracleInstruction, UpdateOracleInstructionData, UpdateOracleInstructionDataArgs, UserBundleAccount, UserBundleAccountArgs, UserBundleAccountSeeds, UserBundleBalance, VaultCategory, type VaultConfig, VaultId, type VaultRegistry, type VaultRegistryEntry, VaultType, assertAllowlistedBundleProgramId, assertValidAmountRaw, buildAttributedDepositTx, buildBuilderRegistrationTx, buildDepositInstructions, buildEnsureAssociatedTokenAccountInstruction, buildReferrerWithdrawRequestTx, buildRequestSwitchInstructions, buildRequestWithdrawInstruction, calculateAssetsFromShares, calculateGrossDepositAmount, calculateOnChainPps, calculateReferrerTierProgress, calculateReferrerTierScheduleProgress, computeUserBundleBalance, computeWithdrawalShares, createAssociatedTokenAccountIdempotentInstruction, decodeBundle, decodeBundleCreatorAccount, decodeBundleMasterAccount, decodeBundleTempData, decodeOracleData, decodeReferrerAccount, decodeStrategy, decodeUserBundleAccount, deriveReferrerAccountForUser, estimatePendingUserFees, estimateWithdrawalAvailableTimestamp, estimateWithdrawalCooldownSeconds, fetchAllBundle, fetchAllBundleCreatorAccount, fetchAllBundleMasterAccount, fetchAllBundleTempData, fetchAllMaybeBundle, fetchAllMaybeBundleCreatorAccount, fetchAllMaybeBundleMasterAccount, fetchAllMaybeBundleTempData, fetchAllMaybeOracleData, fetchAllMaybeReferrerAccount, fetchAllMaybeStrategy, fetchAllMaybeUserBundleAccount, fetchAllOracleData, fetchAllReferrerAccount, fetchAllStrategy, fetchAllUserBundleAccount, fetchBundle, fetchBundleCreatorAccount, fetchBundleMasterAccount, fetchBundleTempData, fetchMaybeBundle, fetchMaybeBundleCreatorAccount, fetchMaybeBundleMasterAccount, fetchMaybeBundleTempData, fetchMaybeOracleData, fetchMaybeReferrerAccount, fetchMaybeStrategy, fetchMaybeUserBundleAccount, fetchOracleData, fetchReferrerAccount, fetchReferrerStatus, fetchStrategy, fetchUserBundleAccount, fetchUserBundleBalance, fetchUserBundleBalances, findAssociatedTokenPda, findBundleAccountPda, findBundleAssetAuthorityPda, findBundleCreatorAccountPda, findBundleMasterAccountPda, findBundleTempDataPda, findCloseUserBundleAccountUserBundleAccountPda, findOracleDataPda, findPendingBundleAssetAuthorityPda, findReferrerAccountPda, findReferrerUserBundleAccountPda, findRequestBundleSwitchUserBundleAccountPda, findSourceBundleAssetAuthorityPda, findSourceBundleTempDataPda, findSourceOracleDataPda, findSourceUserBundleAccountPda, findStrategyAccountPda, findTargetBundleTempDataPda, findTargetOracleDataPda, findTargetPendingBundleAssetAuthorityPda, findTargetUserBundleAccountPda, findUserBundleAccountPda, getAddStrategyDiscriminatorBytes, getAddStrategyInstruction, getAddStrategyInstructionAsync, getAddStrategyInstructionDataCodec, getAddStrategyInstructionDataDecoder, getAddStrategyInstructionDataEncoder, getApplyFeesToUserDiscriminatorBytes, getApplyFeesToUserInstruction, getApplyFeesToUserInstructionAsync, getApplyFeesToUserInstructionDataCodec, getApplyFeesToUserInstructionDataDecoder, getApplyFeesToUserInstructionDataEncoder, getBundleCodec, getBundleCreatorAccountCodec, getBundleCreatorAccountDecoder, getBundleCreatorAccountDiscriminatorBytes, getBundleCreatorAccountEncoder, getBundleCreatorAccountSize, getBundleDecoder, getBundleDiscriminatorBytes, getBundleEncoder, getBundleMasterAccountCodec, getBundleMasterAccountDecoder, getBundleMasterAccountDiscriminatorBytes, getBundleMasterAccountEncoder, getBundleMasterAccountSize, getBundleProgramId, getBundleTempDataCodec, getBundleTempDataDecoder, getBundleTempDataDiscriminatorBytes, getBundleTempDataEncoder, getBundleTempDataSize, getChangeBundleMasterAdminDiscriminatorBytes, getChangeBundleMasterAdminInstruction, getChangeBundleMasterAdminInstructionAsync, getChangeBundleMasterAdminInstructionDataCodec, getChangeBundleMasterAdminInstructionDataDecoder, getChangeBundleMasterAdminInstructionDataEncoder, getChangeManagerDiscriminatorBytes, getChangeManagerInstruction, getChangeManagerInstructionDataCodec, getChangeManagerInstructionDataDecoder, getChangeManagerInstructionDataEncoder, getClearUserFeeOverrideDiscriminatorBytes, getClearUserFeeOverrideInstruction, getClearUserFeeOverrideInstructionAsync, getClearUserFeeOverrideInstructionDataCodec, getClearUserFeeOverrideInstructionDataDecoder, getClearUserFeeOverrideInstructionDataEncoder, getClearUserWithdrawalTimingOverrideDiscriminatorBytes, getClearUserWithdrawalTimingOverrideInstruction, getClearUserWithdrawalTimingOverrideInstructionAsync, getClearUserWithdrawalTimingOverrideInstructionDataCodec, getClearUserWithdrawalTimingOverrideInstructionDataDecoder, getClearUserWithdrawalTimingOverrideInstructionDataEncoder, getCloseUserBundleAccountDiscriminatorBytes, getCloseUserBundleAccountInstruction, getCloseUserBundleAccountInstructionAsync, getCloseUserBundleAccountInstructionDataCodec, getCloseUserBundleAccountInstructionDataDecoder, getCloseUserBundleAccountInstructionDataEncoder, getDefaultBundleProgramIdByCluster, getDistributeToReceiversDiscriminatorBytes, getDistributeToReceiversInstruction, getDistributeToReceiversInstructionAsync, getDistributeToReceiversInstructionDataCodec, getDistributeToReceiversInstructionDataDecoder, getDistributeToReceiversInstructionDataEncoder, getDriftProgramId, getEnableStrategyDiscriminatorBytes, getEnableStrategyInstruction, getEnableStrategyInstructionAsync, getEnableStrategyInstructionDataCodec, getEnableStrategyInstructionDataDecoder, getEnableStrategyInstructionDataEncoder, getEndDistributionDiscriminatorBytes, getEndDistributionInstruction, getEndDistributionInstructionAsync, getEndDistributionInstructionDataCodec, getEndDistributionInstructionDataDecoder, getEndDistributionInstructionDataEncoder, getInitializeBundleDepositorDiscriminatorBytes, getInitializeBundleDepositorInstruction, getInitializeBundleDepositorInstructionAsync, getInitializeBundleDepositorInstructionDataCodec, getInitializeBundleDepositorInstructionDataDecoder, getInitializeBundleDepositorInstructionDataEncoder, getInitializeBundleDiscriminatorBytes, getInitializeBundleInstruction, getInitializeBundleInstructionAsync, getInitializeBundleInstructionDataCodec, getInitializeBundleInstructionDataDecoder, getInitializeBundleInstructionDataEncoder, getInitializeBundleMasterAccountDiscriminatorBytes, getInitializeBundleMasterAccountInstruction, getInitializeBundleMasterAccountInstructionAsync, getInitializeBundleMasterAccountInstructionDataCodec, getInitializeBundleMasterAccountInstructionDataDecoder, getInitializeBundleMasterAccountInstructionDataEncoder, getInitializePermissionedBundleDepositorDiscriminatorBytes, getInitializePermissionedBundleDepositorInstruction, getInitializePermissionedBundleDepositorInstructionAsync, getInitializePermissionedBundleDepositorInstructionDataCodec, getInitializePermissionedBundleDepositorInstructionDataDecoder, getInitializePermissionedBundleDepositorInstructionDataEncoder, getManagerWithdrawDiscriminatorBytes, getManagerWithdrawInstruction, getManagerWithdrawInstructionAsync, getManagerWithdrawInstructionDataCodec, getManagerWithdrawInstructionDataDecoder, getManagerWithdrawInstructionDataEncoder, getManagerWithdrawWithSplitDiscriminatorBytes, getManagerWithdrawWithSplitInstruction, getManagerWithdrawWithSplitInstructionAsync, getManagerWithdrawWithSplitInstructionDataCodec, getManagerWithdrawWithSplitInstructionDataDecoder, getManagerWithdrawWithSplitInstructionDataEncoder, getNetPendingTransactionsDiscriminatorBytes, getNetPendingTransactionsInstruction, getNetPendingTransactionsInstructionAsync, getNetPendingTransactionsInstructionDataCodec, getNetPendingTransactionsInstructionDataDecoder, getNetPendingTransactionsInstructionDataEncoder, getNtbundleErrorMessage, getOracleDataCodec, getOracleDataDecoder, getOracleDataDiscriminatorBytes, getOracleDataEncoder, getOracleDataSize, getPauseDepositsWithdrawalsDiscriminatorBytes, getPauseDepositsWithdrawalsInstruction, getPauseDepositsWithdrawalsInstructionAsync, getPauseDepositsWithdrawalsInstructionDataCodec, getPauseDepositsWithdrawalsInstructionDataDecoder, getPauseDepositsWithdrawalsInstructionDataEncoder, getPerformRefillDiscriminatorBytes, getPerformRefillInstruction, getPerformRefillInstructionAsync, getPerformRefillInstructionDataCodec, getPerformRefillInstructionDataDecoder, getPerformRefillInstructionDataEncoder, getPointsVaults, getProcessDepositDiscriminatorBytes, getProcessDepositInstruction, getProcessDepositInstructionAsync, getProcessDepositInstructionDataCodec, getProcessDepositInstructionDataDecoder, getProcessDepositInstructionDataEncoder, getProcessReferrerWithdrawalDiscriminatorBytes, getProcessReferrerWithdrawalInstruction, getProcessReferrerWithdrawalInstructionAsync, getProcessReferrerWithdrawalInstructionDataCodec, getProcessReferrerWithdrawalInstructionDataDecoder, getProcessReferrerWithdrawalInstructionDataEncoder, getProcessSwitchDiscriminatorBytes, getProcessSwitchInstruction, getProcessSwitchInstructionAsync, getProcessSwitchInstructionDataCodec, getProcessSwitchInstructionDataDecoder, getProcessSwitchInstructionDataEncoder, getProcessWithdrawalDiscriminatorBytes, getProcessWithdrawalInstruction, getProcessWithdrawalInstructionAsync, getProcessWithdrawalInstructionDataCodec, getProcessWithdrawalInstructionDataDecoder, getProcessWithdrawalInstructionDataEncoder, getReferralTierCodec, getReferralTierDecoder, getReferralTierEncoder, getReferrerAccountCodec, getReferrerAccountDecoder, getReferrerAccountDiscriminatorBytes, getReferrerAccountEncoder, getReferrerAccountSize, getReferrerRequestWithdrawDiscriminatorBytes, getReferrerRequestWithdrawInstruction, getReferrerRequestWithdrawInstructionAsync, getReferrerRequestWithdrawInstructionDataCodec, getReferrerRequestWithdrawInstructionDataDecoder, getReferrerRequestWithdrawInstructionDataEncoder, getRefundDepositDiscriminatorBytes, getRefundDepositInstruction, getRefundDepositInstructionAsync, getRefundDepositInstructionDataCodec, getRefundDepositInstructionDataDecoder, getRefundDepositInstructionDataEncoder, getRegisterReferrerDiscriminatorBytes, getRegisterReferrerInstruction, getRegisterReferrerInstructionAsync, getRegisterReferrerInstructionDataCodec, getRegisterReferrerInstructionDataDecoder, getRegisterReferrerInstructionDataEncoder, getRemoveStrategyDiscriminatorBytes, getRemoveStrategyInstruction, getRemoveStrategyInstructionAsync, getRemoveStrategyInstructionDataCodec, getRemoveStrategyInstructionDataDecoder, getRemoveStrategyInstructionDataEncoder, getRequestBundleSwitchDiscriminatorBytes, getRequestBundleSwitchInstruction, getRequestBundleSwitchInstructionAsync, getRequestBundleSwitchInstructionDataCodec, getRequestBundleSwitchInstructionDataDecoder, getRequestBundleSwitchInstructionDataEncoder, getRequestDepositDiscriminatorBytes, getRequestDepositInstruction, getRequestDepositInstructionAsync, getRequestDepositInstructionDataCodec, getRequestDepositInstructionDataDecoder, getRequestDepositInstructionDataEncoder, getRequestWithdrawalDiscriminatorBytes, getRequestWithdrawalInstruction, getRequestWithdrawalInstructionAsync, getRequestWithdrawalInstructionDataCodec, getRequestWithdrawalInstructionDataDecoder, getRequestWithdrawalInstructionDataEncoder, getSetBundleCreatorDiscriminatorBytes, getSetBundleCreatorInstruction, getSetBundleCreatorInstructionAsync, getSetBundleCreatorInstructionDataCodec, getSetBundleCreatorInstructionDataDecoder, getSetBundleCreatorInstructionDataEncoder, getSetDelaysDiscriminatorBytes, getSetDelaysInstruction, getSetDelaysInstructionDataCodec, getSetDelaysInstructionDataDecoder, getSetDelaysInstructionDataEncoder, getSetFeesDiscriminatorBytes, getSetFeesInstruction, getSetFeesInstructionDataCodec, getSetFeesInstructionDataDecoder, getSetFeesInstructionDataEncoder, getSetKeeperDiscriminatorBytes, getSetKeeperInstruction, getSetKeeperInstructionDataCodec, getSetKeeperInstructionDataDecoder, getSetKeeperInstructionDataEncoder, getSetMaxDepositAmountDiscriminatorBytes, getSetMaxDepositAmountInstruction, getSetMaxDepositAmountInstructionDataCodec, getSetMaxDepositAmountInstructionDataDecoder, getSetMaxDepositAmountInstructionDataEncoder, getSetMinDepositAmountDiscriminatorBytes, getSetMinDepositAmountInstruction, getSetMinDepositAmountInstructionDataCodec, getSetMinDepositAmountInstructionDataDecoder, getSetMinDepositAmountInstructionDataEncoder, getSetOracleBufferDiscriminatorBytes, getSetOracleBufferInstruction, getSetOracleBufferInstructionDataCodec, getSetOracleBufferInstructionDataDecoder, getSetOracleBufferInstructionDataEncoder, getSetOracleMaxAgeDiscriminatorBytes, getSetOracleMaxAgeInstruction, getSetOracleMaxAgeInstructionDataCodec, getSetOracleMaxAgeInstructionDataDecoder, getSetOracleMaxAgeInstructionDataEncoder, getSetOracleUpdateTimeLimitDiscriminatorBytes, getSetOracleUpdateTimeLimitInstruction, getSetOracleUpdateTimeLimitInstructionDataCodec, getSetOracleUpdateTimeLimitInstructionDataDecoder, getSetOracleUpdateTimeLimitInstructionDataEncoder, getSetReferralTierConfigDiscriminatorBytes, getSetReferralTierConfigInstruction, getSetReferralTierConfigInstructionDataCodec, getSetReferralTierConfigInstructionDataDecoder, getSetReferralTierConfigInstructionDataEncoder, getSetReferrerActiveDiscriminatorBytes, getSetReferrerActiveInstruction, getSetReferrerActiveInstructionDataCodec, getSetReferrerActiveInstructionDataDecoder, getSetReferrerActiveInstructionDataEncoder, getSetReferrerConfigDiscriminatorBytes, getSetReferrerConfigInstruction, getSetReferrerConfigInstructionDataCodec, getSetReferrerConfigInstructionDataDecoder, getSetReferrerConfigInstructionDataEncoder, getSetReferrerRateOverrideDiscriminatorBytes, getSetReferrerRateOverrideInstruction, getSetReferrerRateOverrideInstructionDataCodec, getSetReferrerRateOverrideInstructionDataDecoder, getSetReferrerRateOverrideInstructionDataEncoder, getSetUserFeeOverrideDiscriminatorBytes, getSetUserFeeOverrideInstruction, getSetUserFeeOverrideInstructionAsync, getSetUserFeeOverrideInstructionDataCodec, getSetUserFeeOverrideInstructionDataDecoder, getSetUserFeeOverrideInstructionDataEncoder, getSetUserReferrerDiscriminatorBytes, getSetUserReferrerInstruction, getSetUserReferrerInstructionAsync, getSetUserReferrerInstructionDataCodec, getSetUserReferrerInstructionDataDecoder, getSetUserReferrerInstructionDataEncoder, getSetUserWithdrawalTimingOverrideDiscriminatorBytes, getSetUserWithdrawalTimingOverrideInstruction, getSetUserWithdrawalTimingOverrideInstructionAsync, getSetUserWithdrawalTimingOverrideInstructionDataCodec, getSetUserWithdrawalTimingOverrideInstructionDataDecoder, getSetUserWithdrawalTimingOverrideInstructionDataEncoder, getSetWithdrawalRedemptionScheduleDiscriminatorBytes, getSetWithdrawalRedemptionScheduleInstruction, getSetWithdrawalRedemptionScheduleInstructionDataCodec, getSetWithdrawalRedemptionScheduleInstructionDataDecoder, getSetWithdrawalRedemptionScheduleInstructionDataEncoder, getSolanaTokenDecimals, getSolanaTokenMint, getStartDistributionDiscriminatorBytes, getStartDistributionInstruction, getStartDistributionInstructionAsync, getStartDistributionInstructionDataCodec, getStartDistributionInstructionDataDecoder, getStartDistributionInstructionDataEncoder, getStrategyCodec, getStrategyDecoder, getStrategyDiscriminatorBytes, getStrategyEncoder, getStrategySize, getUpdateAllocationsDiscriminatorBytes, getUpdateAllocationsInstruction, getUpdateAllocationsInstructionAsync, getUpdateAllocationsInstructionDataCodec, getUpdateAllocationsInstructionDataDecoder, getUpdateAllocationsInstructionDataEncoder, getUpdateOracleDiscriminatorBytes, getUpdateOracleInstruction, getUpdateOracleInstructionAsync, getUpdateOracleInstructionDataCodec, getUpdateOracleInstructionDataDecoder, getUpdateOracleInstructionDataEncoder, getUserBundleAccountCodec, getUserBundleAccountDecoder, getUserBundleAccountDiscriminatorBytes, getUserBundleAccountEncoder, getUserBundleAccountSize, getVaultByAddress, getVaultById, getVaultRegistry, humanFloatToAmountRaw, identifyNtbundleAccount, identifyNtbundleInstruction, isAllowlistedBundleProgramId, isNtbundleError, isValidVaultAddress, ntbundleProgram, parseAddStrategyInstruction, parseAmountRaw, parseApplyFeesToUserInstruction, parseChangeBundleMasterAdminInstruction, parseChangeManagerInstruction, parseClearUserFeeOverrideInstruction, parseClearUserWithdrawalTimingOverrideInstruction, parseCloseUserBundleAccountInstruction, parseDistributeToReceiversInstruction, parseEnableStrategyInstruction, parseEndDistributionInstruction, parseInitializeBundleDepositorInstruction, parseInitializeBundleInstruction, parseInitializeBundleMasterAccountInstruction, parseInitializePermissionedBundleDepositorInstruction, parseManagerWithdrawInstruction, parseManagerWithdrawWithSplitInstruction, parseNetPendingTransactionsInstruction, parseNtbundleInstruction, parsePauseDepositsWithdrawalsInstruction, parsePerformRefillInstruction, parseProcessDepositInstruction, parseProcessReferrerWithdrawalInstruction, parseProcessSwitchInstruction, parseProcessWithdrawalInstruction, parseReferrerRequestWithdrawInstruction, parseRefundDepositInstruction, parseRegisterReferrerInstruction, parseRemoveStrategyInstruction, parseRequestBundleSwitchInstruction, parseRequestDepositInstruction, parseRequestWithdrawalInstruction, parseSetBundleCreatorInstruction, parseSetDelaysInstruction, parseSetFeesInstruction, parseSetKeeperInstruction, parseSetMaxDepositAmountInstruction, parseSetMinDepositAmountInstruction, parseSetOracleBufferInstruction, parseSetOracleMaxAgeInstruction, parseSetOracleUpdateTimeLimitInstruction, parseSetReferralTierConfigInstruction, parseSetReferrerActiveInstruction, parseSetReferrerConfigInstruction, parseSetReferrerRateOverrideInstruction, parseSetUserFeeOverrideInstruction, parseSetUserReferrerInstruction, parseSetUserWithdrawalTimingOverrideInstruction, parseSetWithdrawalRedemptionScheduleInstruction, parseStartDistributionInstruction, parseUpdateAllocationsInstruction, parseUpdateOracleInstruction, resolveBundleReferralRates, resolveEffectiveFees, resolveEffectiveReferralRates, sharePriceRaw, toVaultConfig, toVaultRegistry, tokens, totalEquityRaw, vaults, vaultsDevnet };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR, $a as PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR, $c as getAddStrategyInstructionAsync, $i as getRequestBundleSwitchInstruction, $l as getReferrerAccountCodec, $n as getSetReferrerRateOverrideInstruction, $o as getManagerWithdrawInstructionDataEncoder, $r as SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR, $s as getDistributeToReceiversInstructionDataCodec, $t as getUpdateOracleInstructionAsync, $u as fetchMaybeBundle, A as NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR, Aa as getReferrerRequestWithdrawDiscriminatorBytes, Ac as getChangeManagerInstructionDataCodec, Ai as getSetBundleCreatorInstructionAsync, Al as fetchUserBundleAccount, An as getSetUserWithdrawalTimingOverrideInstructionAsync, Ao as parsePauseDepositsWithdrawalsInstruction, Ar as getSetOracleUpdateTimeLimitInstructionDataEncoder, As as getInitializeBundleInstructionDataDecoder, At as NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT, Au as fetchBundleMasterAccount, B as NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE, Ba as getProcessWithdrawalInstructionAsync, Bc as getChangeBundleMasterAdminInstructionDataEncoder, Bi as getRequestWithdrawalInstructionDataDecoder, Bl as fetchMaybeStrategy, Bn as getSetUserReferrerInstructionDataDecoder, Bo as getManagerWithdrawWithSplitDiscriminatorBytes, Br as getSetOracleBufferDiscriminatorBytes, Bs as parseEndDistributionInstruction, Bt as NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET, Bu as fetchAllMaybeBundleCreatorAccount, C as NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS, Ca as getRefundDepositInstruction, Cc as getClearUserFeeOverrideInstructionDataCodec, Ci as getSetDelaysInstructionDataCodec, Cl as findBundleAssetAuthorityPda, Cn as getSetWithdrawalRedemptionScheduleInstructionDataCodec, Co as PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR, Cr as getSetReferralTierConfigInstructionDataEncoder, Cs as getInitializeBundleDepositorInstructionDataEncoder, Ct as NTBUNDLE_ERROR__STRATEGY_DISABLED, Cu as getBundleTempDataDiscriminatorBytes, D as NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER, Da as getRefundDepositInstructionDataEncoder, Dc as CHANGE_MANAGER_DISCRIMINATOR, Di as SET_BUNDLE_CREATOR_DISCRIMINATOR, Dl as fetchAllMaybeUserBundleAccount, Dn as SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, Do as getPauseDepositsWithdrawalsInstructionDataCodec, Dr as getSetOracleUpdateTimeLimitInstruction, Ds as getInitializeBundleInstruction, Dt as NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH, Du as decodeBundleMasterAccount, E as NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER, Ea as getRefundDepositInstructionDataDecoder, Ec as parseClearUserFeeOverrideInstruction, Ei as parseSetDelaysInstruction, El as decodeUserBundleAccount, En as parseSetWithdrawalRedemptionScheduleInstruction, Eo as getPauseDepositsWithdrawalsInstructionAsync, Er as getSetOracleUpdateTimeLimitDiscriminatorBytes, Es as getInitializeBundleDiscriminatorBytes, Et as NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING, Eu as BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, F as NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG, Fa as getReferrerRequestWithdrawInstructionDataEncoder, Fc as getChangeBundleMasterAdminDiscriminatorBytes, Fi as REQUEST_WITHDRAWAL_DISCRIMINATOR, Fl as getUserBundleAccountSize, Fn as SET_USER_REFERRER_DISCRIMINATOR, Fo as getNetPendingTransactionsInstructionDataCodec, Fr as getSetOracleMaxAgeInstructionDataCodec, Fs as getEndDistributionInstruction, Ft as NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION, Fu as getBundleMasterAccountEncoder, G as NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET, Ga as PROCESS_SWITCH_DISCRIMINATOR, Gc as getApplyFeesToUserInstructionAsync, Gi as getRequestDepositInstruction, Gl as getStrategyEncoder, Gn as getSetUserFeeOverrideInstruction, Go as getManagerWithdrawWithSplitInstructionDataEncoder, Gr as parseSetOracleBufferInstruction, Gs as getEnableStrategyInstructionDataCodec, Gt as NtbundleInstruction, Gu as getBundleCreatorAccountDiscriminatorBytes, H as NTBUNDLE_ERROR__MANAGER_SHARES_ZERO, Ha as getProcessWithdrawalInstructionDataDecoder, Hc as APPLY_FEES_TO_USER_DISCRIMINATOR, Hi as parseRequestWithdrawalInstruction, Hl as getStrategyCodec, Hn as parseSetUserReferrerInstruction, Ho as getManagerWithdrawWithSplitInstructionAsync, Hr as getSetOracleBufferInstructionDataCodec, Hs as getEnableStrategyDiscriminatorBytes, Ht as isNtbundleError, Hu as fetchMaybeBundleCreatorAccount, I as NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG, Ia as parseReferrerRequestWithdrawInstruction, Ic as getChangeBundleMasterAdminInstruction, Ii as getRequestWithdrawalDiscriminatorBytes, Il as STRATEGY_DISCRIMINATOR, In as getSetUserReferrerDiscriminatorBytes, Io as getNetPendingTransactionsInstructionDataDecoder, Ir as getSetOracleMaxAgeInstructionDataDecoder, Is as getEndDistributionInstructionAsync, It as NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS, Iu as getBundleMasterAccountSize, J as NTBUNDLE_ERROR__NETTING_NOT_DONE, Ja as getProcessSwitchInstructionAsync, Jc as getApplyFeesToUserInstructionDataEncoder, Ji as getRequestDepositInstructionDataDecoder, Jl as decodeReferrerAccount, Jn as getSetUserFeeOverrideInstructionDataDecoder, Jo as getManagerWithdrawDiscriminatorBytes, Jr as getSetMinDepositAmountInstruction, Js as parseEnableStrategyInstruction, Jt as ntbundleProgram, Ju as BUNDLE_DISCRIMINATOR, K as NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST, Ka as getProcessSwitchDiscriminatorBytes, Kc as getApplyFeesToUserInstructionDataCodec, Ki as getRequestDepositInstructionAsync, Kl as getStrategySize, Kn as getSetUserFeeOverrideInstructionAsync, Ko as parseManagerWithdrawWithSplitInstruction, Kr as SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR, Ks as getEnableStrategyInstructionDataDecoder, Kt as identifyNtbundleAccount, Ku as getBundleCreatorAccountEncoder, L as NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT, La as PROCESS_WITHDRAWAL_DISCRIMINATOR, Lc as getChangeBundleMasterAdminInstructionAsync, Li as getRequestWithdrawalInstruction, Ll as decodeStrategy, Ln as getSetUserReferrerInstruction, Lo as getNetPendingTransactionsInstructionDataEncoder, Lr as getSetOracleMaxAgeInstructionDataEncoder, Ls as getEndDistributionInstructionDataCodec, Lt as NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY, Lu as BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR, M as NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG, Ma as getReferrerRequestWithdrawInstructionAsync, Mc as getChangeManagerInstructionDataEncoder, Mi as getSetBundleCreatorInstructionDataDecoder, Ml as getUserBundleAccountDecoder, Mn as getSetUserWithdrawalTimingOverrideInstructionDataDecoder, Mo as getNetPendingTransactionsDiscriminatorBytes, Mr as SET_ORACLE_MAX_AGE_DISCRIMINATOR, Ms as parseInitializeBundleInstruction, Mt as NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR, Mu as getBundleMasterAccountCodec, N as NTBUNDLE_ERROR__INVALID_REFERRAL_TIER_CONFIG, Na as getReferrerRequestWithdrawInstructionDataCodec, Nc as parseChangeManagerInstruction, Ni as getSetBundleCreatorInstructionDataEncoder, Nl as getUserBundleAccountDiscriminatorBytes, Nn as getSetUserWithdrawalTimingOverrideInstructionDataEncoder, No as getNetPendingTransactionsInstruction, Nr as getSetOracleMaxAgeDiscriminatorBytes, Ns as END_DISTRIBUTION_DISCRIMINATOR, Nt as NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION, Nu as getBundleMasterAccountDecoder, O as NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE, Oa as parseRefundDepositInstruction, Oc as getChangeManagerDiscriminatorBytes, Oi as getSetBundleCreatorDiscriminatorBytes, Ol as fetchAllUserBundleAccount, On as getSetUserWithdrawalTimingOverrideDiscriminatorBytes, Oo as getPauseDepositsWithdrawalsInstructionDataDecoder, Or as getSetOracleUpdateTimeLimitInstructionDataCodec, Os as getInitializeBundleInstructionAsync, Ot as NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE, Ou as fetchAllBundleMasterAccount, P as NTBUNDLE_ERROR__INVALID_TWAP_PERIOD, Pa as getReferrerRequestWithdrawInstructionDataDecoder, Pc as CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR, Pi as parseSetBundleCreatorInstruction, Pl as getUserBundleAccountEncoder, Pn as parseSetUserWithdrawalTimingOverrideInstruction, Po as getNetPendingTransactionsInstructionAsync, Pr as getSetOracleMaxAgeInstruction, Ps as getEndDistributionDiscriminatorBytes, Pt as NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION, Pu as getBundleMasterAccountDiscriminatorBytes, Q as NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR, Qa as parseProcessSwitchInstruction, Qc as getAddStrategyInstruction, Qi as getRequestBundleSwitchDiscriminatorBytes, Ql as fetchReferrerAccount, Qn as getSetReferrerRateOverrideDiscriminatorBytes, Qo as getManagerWithdrawInstructionDataDecoder, Qr as parseSetMinDepositAmountInstruction, Qs as getDistributeToReceiversInstructionAsync, Qt as getUpdateOracleInstruction, Qu as fetchBundle, R as NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD, Ra as getProcessWithdrawalDiscriminatorBytes, Rc as getChangeBundleMasterAdminInstructionDataCodec, Ri as getRequestWithdrawalInstructionAsync, Rl as fetchAllMaybeStrategy, Rn as getSetUserReferrerInstructionAsync, Ro as parseNetPendingTransactionsInstruction, Rr as parseSetOracleMaxAgeInstruction, Rs as getEndDistributionInstructionDataDecoder, Rt as NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY, Ru as decodeBundleCreatorAccount, S as NTBUNDLE_ERROR__INVALID_ALLOCATIONS, Sa as getRefundDepositDiscriminatorBytes, Sc as getClearUserFeeOverrideInstructionAsync, Si as getSetDelaysInstruction, Sl as findBundleCreatorAccountPda, Sn as getSetWithdrawalRedemptionScheduleInstruction, So as parsePerformRefillInstruction, Sr as getSetReferralTierConfigInstructionDataDecoder, Ss as getInitializeBundleDepositorInstructionDataDecoder, St as NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED, Su as getBundleTempDataDecoder, T as NTBUNDLE_ERROR__INVALID_FEE_SPLIT, Ta as getRefundDepositInstructionDataCodec, Tc as getClearUserFeeOverrideInstructionDataEncoder, Ti as getSetDelaysInstructionDataEncoder, Tl as USER_BUNDLE_ACCOUNT_DISCRIMINATOR, Tn as getSetWithdrawalRedemptionScheduleInstructionDataEncoder, To as getPauseDepositsWithdrawalsInstruction, Tr as SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR, Ts as INITIALIZE_BUNDLE_DISCRIMINATOR, Tt as NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH, Tu as getBundleTempDataSize, U as NTBUNDLE_ERROR__MATH_ERROR, Ua as getProcessWithdrawalInstructionDataEncoder, Uc as getApplyFeesToUserDiscriminatorBytes, Ui as REQUEST_DEPOSIT_DISCRIMINATOR, Ul as getStrategyDecoder, Un as SET_USER_FEE_OVERRIDE_DISCRIMINATOR, Uo as getManagerWithdrawWithSplitInstructionDataCodec, Ur as getSetOracleBufferInstructionDataDecoder, Us as getEnableStrategyInstruction, Ut as NTBUNDLE_PROGRAM_ADDRESS, Uu as getBundleCreatorAccountCodec, V as NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO, Va as getProcessWithdrawalInstructionDataCodec, Vc as parseChangeBundleMasterAdminInstruction, Vi as getRequestWithdrawalInstructionDataEncoder, Vl as fetchStrategy, Vn as getSetUserReferrerInstructionDataEncoder, Vo as getManagerWithdrawWithSplitInstruction, Vr as getSetOracleBufferInstruction, Vs as ENABLE_STRATEGY_DISCRIMINATOR, Vt as getNtbundleErrorMessage, Vu as fetchBundleCreatorAccount, W as NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED, Wa as parseProcessWithdrawalInstruction, Wc as getApplyFeesToUserInstruction, Wi as getRequestDepositDiscriminatorBytes, Wl as getStrategyDiscriminatorBytes, Wn as getSetUserFeeOverrideDiscriminatorBytes, Wo as getManagerWithdrawWithSplitInstructionDataDecoder, Wr as getSetOracleBufferInstructionDataEncoder, Ws as getEnableStrategyInstructionAsync, Wt as NtbundleAccount, Wu as getBundleCreatorAccountDecoder, X as NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS, Xa as getProcessSwitchInstructionDataDecoder, Xc as ADD_STRATEGY_DISCRIMINATOR, Xi as parseRequestDepositInstruction, Xl as fetchAllReferrerAccount, Xn as parseSetUserFeeOverrideInstruction, Xo as getManagerWithdrawInstructionAsync, Xr as getSetMinDepositAmountInstructionDataDecoder, Xs as getDistributeToReceiversDiscriminatorBytes, Xt as UPDATE_ORACLE_DISCRIMINATOR, Xu as fetchAllBundle, Y as NTBUNDLE_ERROR__NO_PENDING_SWITCH, Ya as getProcessSwitchInstructionDataCodec, Yc as parseApplyFeesToUserInstruction, Yi as getRequestDepositInstructionDataEncoder, Yl as fetchAllMaybeReferrerAccount, Yn as getSetUserFeeOverrideInstructionDataEncoder, Yo as getManagerWithdrawInstruction, Yr as getSetMinDepositAmountInstructionDataCodec, Ys as DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR, Yt as parseNtbundleInstruction, Yu as decodeBundle, Z as NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL, Za as getProcessSwitchInstructionDataEncoder, Zc as getAddStrategyDiscriminatorBytes, Zi as REQUEST_BUNDLE_SWITCH_DISCRIMINATOR, Zl as fetchMaybeReferrerAccount, Zn as SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR, Zo as getManagerWithdrawInstructionDataCodec, Zr as getSetMinDepositAmountInstructionDataEncoder, Zs as getDistributeToReceiversInstruction, Zt as getUpdateOracleDiscriminatorBytes, Zu as fetchAllMaybeBundle, _ as NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE, _a as getRegisterReferrerInstructionDataCodec, _c as getClearUserWithdrawalTimingOverrideInstructionDataEncoder, _i as getSetFeesInstructionDataDecoder, _l as findPendingBundleAssetAuthorityPda, _n as getStartDistributionInstructionDataDecoder, _o as getPerformRefillInstruction, _r as parseSetReferrerActiveInstruction, _s as INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR, _t as NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING, _u as fetchAllBundleTempData, a as NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED, aa as REMOVE_STRATEGY_DISCRIMINATOR, ac as getCloseUserBundleAccountInstruction, ad as getReferralTierDecoder, ai as parseSetMaxDepositAmountInstruction, al as findTargetUserBundleAccountPda, an as getUpdateAllocationsDiscriminatorBytes, ao as getProcessReferrerWithdrawalInstructionDataEncoder, ar as getSetReferrerConfigDiscriminatorBytes, as as getInitializePermissionedBundleDepositorInstructionDataCodec, at as NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS, au as decodeOracleData, b as NTBUNDLE_ERROR__INSUFFICIENT_FUNDS, ba as parseRegisterReferrerInstruction, bc as getClearUserFeeOverrideDiscriminatorBytes, bi as SET_DELAYS_DISCRIMINATOR, bl as findBundleTempDataPda, bn as SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR, bo as getPerformRefillInstructionDataDecoder, br as getSetReferralTierConfigInstruction, bs as getInitializeBundleDepositorInstructionAsync, bt as NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED, bu as fetchMaybeBundleTempData, c as NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO, ca as getRemoveStrategyInstructionAsync, cc as getCloseUserBundleAccountInstructionDataDecoder, ci as getSetKeeperInstruction, cl as findTargetBundleTempDataPda, cn as getUpdateAllocationsInstructionDataCodec, co as getProcessDepositDiscriminatorBytes, cr as getSetReferrerConfigInstructionDataDecoder, cs as parseInitializePermissionedBundleDepositorInstruction, ct as NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS, cu as fetchMaybeOracleData, d as NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED, da as getRemoveStrategyInstructionDataEncoder, dc as CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, di as getSetKeeperInstructionDataEncoder, dl as findSourceOracleDataPda, dn as parseUpdateAllocationsInstruction, do as getProcessDepositInstructionDataCodec, dr as SET_REFERRER_ACTIVE_DISCRIMINATOR, ds as getInitializeBundleMasterAccountInstruction, dt as NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED, du as getOracleDataDecoder, ea as getRequestBundleSwitchInstructionAsync, ec as getDistributeToReceiversInstructionDataDecoder, ed as getBundleCodec, ei as getSetMaxDepositAmountDiscriminatorBytes, el as getAddStrategyInstructionDataCodec, en as getUpdateOracleInstructionDataCodec, eo as getProcessReferrerWithdrawalDiscriminatorBytes, er as getSetReferrerRateOverrideInstructionDataCodec, es as parseManagerWithdrawInstruction, et as NTBUNDLE_ERROR__ORACLE_NOT_UPDATED, eu as getReferrerAccountDecoder, f as NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST, fa as parseRemoveStrategyInstruction, fc as getClearUserWithdrawalTimingOverrideDiscriminatorBytes, fi as parseSetKeeperInstruction, fl as findSourceBundleTempDataPda, fn as START_DISTRIBUTION_DISCRIMINATOR, fo as getProcessDepositInstructionDataDecoder, fr as getSetReferrerActiveDiscriminatorBytes, fs as getInitializeBundleMasterAccountInstructionAsync, ft as NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED, fu as getOracleDataDiscriminatorBytes, g as NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE, ga as getRegisterReferrerInstructionAsync, gc as getClearUserWithdrawalTimingOverrideInstructionDataDecoder, gi as getSetFeesInstructionDataCodec, gl as findReferrerAccountPda, gn as getStartDistributionInstructionDataCodec, go as getPerformRefillDiscriminatorBytes, gr as getSetReferrerActiveInstructionDataEncoder, gs as parseInitializeBundleMasterAccountInstruction, gt as NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH, gu as decodeBundleTempData, h as NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE, ha as getRegisterReferrerInstruction, hc as getClearUserWithdrawalTimingOverrideInstructionDataCodec, hi as getSetFeesInstruction, hl as findReferrerUserBundleAccountPda, hn as getStartDistributionInstructionAsync, ho as PERFORM_REFILL_DISCRIMINATOR, hr as getSetReferrerActiveInstructionDataDecoder, hs as getInitializeBundleMasterAccountInstructionDataEncoder, ht as NTBUNDLE_ERROR__REFERRAL_ALREADY_SET, hu as BUNDLE_TEMP_DATA_DISCRIMINATOR, i as NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX, ia as parseRequestBundleSwitchInstruction, ic as getCloseUserBundleAccountDiscriminatorBytes, id as getReferralTierCodec, ii as getSetMaxDepositAmountInstructionDataEncoder, il as findUserBundleAccountPda, in as UPDATE_ALLOCATIONS_DISCRIMINATOR, io as getProcessReferrerWithdrawalInstructionDataDecoder, ir as SET_REFERRER_CONFIG_DISCRIMINATOR, is as getInitializePermissionedBundleDepositorInstructionAsync, it as NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO, iu as ORACLE_DATA_DISCRIMINATOR, j as NTBUNDLE_ERROR__INVALID_RECEIVER, ja as getReferrerRequestWithdrawInstruction, jc as getChangeManagerInstructionDataDecoder, ji as getSetBundleCreatorInstructionDataCodec, jl as getUserBundleAccountCodec, jn as getSetUserWithdrawalTimingOverrideInstructionDataCodec, jo as NET_PENDING_TRANSACTIONS_DISCRIMINATOR, jr as parseSetOracleUpdateTimeLimitInstruction, js as getInitializeBundleInstructionDataEncoder, jt as NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION, ju as fetchMaybeBundleMasterAccount, k as NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT, ka as REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR, kc as getChangeManagerInstruction, ki as getSetBundleCreatorInstruction, kl as fetchMaybeUserBundleAccount, kn as getSetUserWithdrawalTimingOverrideInstruction, ko as getPauseDepositsWithdrawalsInstructionDataEncoder, kr as getSetOracleUpdateTimeLimitInstructionDataDecoder, ks as getInitializeBundleInstructionDataCodec, kt as NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS, ku as fetchAllMaybeBundleMasterAccount, l as NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO, la as getRemoveStrategyInstructionDataCodec, lc as getCloseUserBundleAccountInstructionDataEncoder, li as getSetKeeperInstructionDataCodec, ll as findStrategyAccountPda, ln as getUpdateAllocationsInstructionDataDecoder, lo as getProcessDepositInstruction, lr as getSetReferrerConfigInstructionDataEncoder, ls as INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, lt as NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO, lu as fetchOracleData, m as NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND, ma as getRegisterReferrerDiscriminatorBytes, mc as getClearUserWithdrawalTimingOverrideInstructionAsync, mi as getSetFeesDiscriminatorBytes, ml as findRequestBundleSwitchUserBundleAccountPda, mn as getStartDistributionInstruction, mo as parseProcessDepositInstruction, mr as getSetReferrerActiveInstructionDataCodec, ms as getInitializeBundleMasterAccountInstructionDataDecoder, mt as NTBUNDLE_ERROR__REFERRALS_DISABLED, mu as getOracleDataSize, n as NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS, na as getRequestBundleSwitchInstructionDataDecoder, nc as parseDistributeToReceiversInstruction, nd as getBundleDiscriminatorBytes, ni as getSetMaxDepositAmountInstructionDataCodec, nl as getAddStrategyInstructionDataEncoder, nn as getUpdateOracleInstructionDataEncoder, no as getProcessReferrerWithdrawalInstructionAsync, nr as getSetReferrerRateOverrideInstructionDataEncoder, ns as getInitializePermissionedBundleDepositorDiscriminatorBytes, nt as NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS, nu as getReferrerAccountEncoder, o as NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED, oa as getRemoveStrategyDiscriminatorBytes, oc as getCloseUserBundleAccountInstructionAsync, od as getReferralTierEncoder, oi as SET_KEEPER_DISCRIMINATOR, ol as findTargetPendingBundleAssetAuthorityPda, on as getUpdateAllocationsInstruction, oo as parseProcessReferrerWithdrawalInstruction, or as getSetReferrerConfigInstruction, os as getInitializePermissionedBundleDepositorInstructionDataDecoder, ot as NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS, ou as fetchAllMaybeOracleData, p as NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST, pa as REGISTER_REFERRER_DISCRIMINATOR, pc as getClearUserWithdrawalTimingOverrideInstruction, pi as SET_FEES_DISCRIMINATOR, pl as findSourceBundleAssetAuthorityPda, pn as getStartDistributionDiscriminatorBytes, po as getProcessDepositInstructionDataEncoder, pr as getSetReferrerActiveInstruction, ps as getInitializeBundleMasterAccountInstructionDataCodec, pt as NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO, pu as getOracleDataEncoder, q as NTBUNDLE_ERROR__NETTING_ALREADY_DONE, qa as getProcessSwitchInstruction, qc as getApplyFeesToUserInstructionDataDecoder, qi as getRequestDepositInstructionDataCodec, ql as REFERRER_ACCOUNT_DISCRIMINATOR, qn as getSetUserFeeOverrideInstructionDataCodec, qo as MANAGER_WITHDRAW_DISCRIMINATOR, qr as getSetMinDepositAmountDiscriminatorBytes, qs as getEnableStrategyInstructionDataEncoder, qt as identifyNtbundleInstruction, qu as getBundleCreatorAccountSize, r as NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO, ra as getRequestBundleSwitchInstructionDataEncoder, rc as CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR, rd as getBundleEncoder, ri as getSetMaxDepositAmountInstructionDataDecoder, rl as parseAddStrategyInstruction, rn as parseUpdateOracleInstruction, ro as getProcessReferrerWithdrawalInstructionDataCodec, rr as parseSetReferrerRateOverrideInstruction, rs as getInitializePermissionedBundleDepositorInstruction, rt as NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY, ru as getReferrerAccountSize, s as NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER, sa as getRemoveStrategyInstruction, sc as getCloseUserBundleAccountInstructionDataCodec, si as getSetKeeperDiscriminatorBytes, sl as findTargetOracleDataPda, sn as getUpdateAllocationsInstructionAsync, so as PROCESS_DEPOSIT_DISCRIMINATOR, sr as getSetReferrerConfigInstructionDataCodec, ss as getInitializePermissionedBundleDepositorInstructionDataEncoder, st as NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST, su as fetchAllOracleData, t as NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO, ta as getRequestBundleSwitchInstructionDataCodec, tc as getDistributeToReceiversInstructionDataEncoder, td as getBundleDecoder, ti as getSetMaxDepositAmountInstruction, tl as getAddStrategyInstructionDataDecoder, tn as getUpdateOracleInstructionDataDecoder, to as getProcessReferrerWithdrawalInstruction, tr as getSetReferrerRateOverrideInstructionDataDecoder, ts as INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR, tt as NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT, tu as getReferrerAccountDiscriminatorBytes, u as NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED, ua as getRemoveStrategyInstructionDataDecoder, uc as parseCloseUserBundleAccountInstruction, ui as getSetKeeperInstructionDataDecoder, ul as findSourceUserBundleAccountPda, un as getUpdateAllocationsInstructionDataEncoder, uo as getProcessDepositInstructionAsync, ur as parseSetReferrerConfigInstruction, us as getInitializeBundleMasterAccountDiscriminatorBytes, ut as NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER, uu as getOracleDataCodec, v as NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE, va as getRegisterReferrerInstructionDataDecoder, vc as parseClearUserWithdrawalTimingOverrideInstruction, vi as getSetFeesInstructionDataEncoder, vl as findOracleDataPda, vn as getStartDistributionInstructionDataEncoder, vo as getPerformRefillInstructionAsync, vr as SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR, vs as getInitializeBundleDepositorDiscriminatorBytes, vt as NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW, vu as fetchAllMaybeBundleTempData, w as NTBUNDLE_ERROR__INVALID_ASSET_PRECISION, wa as getRefundDepositInstructionAsync, wc as getClearUserFeeOverrideInstructionDataDecoder, wi as getSetDelaysInstructionDataDecoder, wl as findBundleAccountPda, wn as getSetWithdrawalRedemptionScheduleInstructionDataDecoder, wo as getPauseDepositsWithdrawalsDiscriminatorBytes, wr as parseSetReferralTierConfigInstruction, ws as parseInitializeBundleDepositorInstruction, wt as NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE, wu as getBundleTempDataEncoder, x as NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE, xa as REFUND_DEPOSIT_DISCRIMINATOR, xc as getClearUserFeeOverrideInstruction, xi as getSetDelaysDiscriminatorBytes, xl as findBundleMasterAccountPda, xn as getSetWithdrawalRedemptionScheduleDiscriminatorBytes, xo as getPerformRefillInstructionDataEncoder, xr as getSetReferralTierConfigInstructionDataCodec, xs as getInitializeBundleDepositorInstructionDataCodec, xt as NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID, xu as getBundleTempDataCodec, y as NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE, ya as getRegisterReferrerInstructionDataEncoder, yc as CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR, yi as parseSetFeesInstruction, yl as findCloseUserBundleAccountUserBundleAccountPda, yn as parseStartDistributionInstruction, yo as getPerformRefillInstructionDataCodec, yr as getSetReferralTierConfigDiscriminatorBytes, ys as getInitializeBundleDepositorInstruction, yt as NTBUNDLE_ERROR__REFERRER_SHARES_ZERO, yu as fetchBundleTempData, z as NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY, za as getProcessWithdrawalInstruction, zc as getChangeBundleMasterAdminInstructionDataDecoder, zi as getRequestWithdrawalInstructionDataCodec, zl as fetchAllStrategy, zn as getSetUserReferrerInstructionDataCodec, zo as MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR, zr as SET_ORACLE_BUFFER_DISCRIMINATOR, zs as getEndDistributionInstructionDataEncoder, zt as NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED, zu as fetchAllBundleCreatorAccount } from "./generated-pvyt97aD.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import { address, getAddressEncoder, getProgramDerivedAddress } from "@solana/kit";
|
|
3
|
+
import { AccountRole, address, getAddressEncoder, getProgramDerivedAddress } from "@solana/kit";
|
|
4
4
|
|
|
5
5
|
//#region src/constants/programs.ts
|
|
6
6
|
const DEFAULT_BUNDLE_PROGRAM_ID_MAINNET = "BUNDDh4P5XviMm1f3gCvnq2qKx6TGosAGnoUK12e7cXU";
|
|
@@ -1177,8 +1177,11 @@ var vaults_default = [
|
|
|
1177
1177
|
let SupportedChain = /* @__PURE__ */ function(SupportedChain$1) {
|
|
1178
1178
|
SupportedChain$1["Solana"] = "Solana";
|
|
1179
1179
|
SupportedChain$1["Hyperliquid"] = "Hyperliquid";
|
|
1180
|
+
SupportedChain$1["Robinhood"] = "Robinhood";
|
|
1180
1181
|
return SupportedChain$1;
|
|
1181
1182
|
}({});
|
|
1183
|
+
/** Robinhood Chain (Arbitrum Orbit L2). Gas is paid in ETH. */
|
|
1184
|
+
const ROBINHOOD_CHAIN_ID = 4663;
|
|
1182
1185
|
let SupportedToken = /* @__PURE__ */ function(SupportedToken$1) {
|
|
1183
1186
|
SupportedToken$1["USDC"] = "USDC";
|
|
1184
1187
|
SupportedToken$1["USDT"] = "USDT";
|
|
@@ -1198,7 +1201,8 @@ const tokens = {
|
|
|
1198
1201
|
address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
|
|
1199
1202
|
decimals: 6
|
|
1200
1203
|
},
|
|
1201
|
-
[SupportedChain.Hyperliquid]: null
|
|
1204
|
+
[SupportedChain.Hyperliquid]: null,
|
|
1205
|
+
[SupportedChain.Robinhood]: null
|
|
1202
1206
|
}
|
|
1203
1207
|
},
|
|
1204
1208
|
[SupportedToken.USDT]: {
|
|
@@ -1209,7 +1213,8 @@ const tokens = {
|
|
|
1209
1213
|
address: "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
|
|
1210
1214
|
decimals: 6
|
|
1211
1215
|
},
|
|
1212
|
-
[SupportedChain.Hyperliquid]: null
|
|
1216
|
+
[SupportedChain.Hyperliquid]: null,
|
|
1217
|
+
[SupportedChain.Robinhood]: null
|
|
1213
1218
|
}
|
|
1214
1219
|
},
|
|
1215
1220
|
[SupportedToken.USDE]: {
|
|
@@ -1220,7 +1225,11 @@ const tokens = {
|
|
|
1220
1225
|
address: "DEkqHyPN7GMRJ5cArtQFAWefqbZb33Hyf6s5iCwjEonT",
|
|
1221
1226
|
decimals: 9
|
|
1222
1227
|
},
|
|
1223
|
-
[SupportedChain.Hyperliquid]: null
|
|
1228
|
+
[SupportedChain.Hyperliquid]: null,
|
|
1229
|
+
[SupportedChain.Robinhood]: {
|
|
1230
|
+
address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34",
|
|
1231
|
+
decimals: 18
|
|
1232
|
+
}
|
|
1224
1233
|
}
|
|
1225
1234
|
},
|
|
1226
1235
|
[SupportedToken.SOL]: {
|
|
@@ -1231,7 +1240,8 @@ const tokens = {
|
|
|
1231
1240
|
address: "So11111111111111111111111111111111111111112",
|
|
1232
1241
|
decimals: 9
|
|
1233
1242
|
},
|
|
1234
|
-
[SupportedChain.Hyperliquid]: null
|
|
1243
|
+
[SupportedChain.Hyperliquid]: null,
|
|
1244
|
+
[SupportedChain.Robinhood]: null
|
|
1235
1245
|
}
|
|
1236
1246
|
},
|
|
1237
1247
|
[SupportedToken.WBTC]: {
|
|
@@ -1242,7 +1252,8 @@ const tokens = {
|
|
|
1242
1252
|
address: "3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",
|
|
1243
1253
|
decimals: 8
|
|
1244
1254
|
},
|
|
1245
|
-
[SupportedChain.Hyperliquid]: null
|
|
1255
|
+
[SupportedChain.Hyperliquid]: null,
|
|
1256
|
+
[SupportedChain.Robinhood]: null
|
|
1246
1257
|
}
|
|
1247
1258
|
},
|
|
1248
1259
|
[SupportedToken.WETH]: {
|
|
@@ -1253,7 +1264,8 @@ const tokens = {
|
|
|
1253
1264
|
address: "7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",
|
|
1254
1265
|
decimals: 8
|
|
1255
1266
|
},
|
|
1256
|
-
[SupportedChain.Hyperliquid]: null
|
|
1267
|
+
[SupportedChain.Hyperliquid]: null,
|
|
1268
|
+
[SupportedChain.Robinhood]: null
|
|
1257
1269
|
}
|
|
1258
1270
|
},
|
|
1259
1271
|
[SupportedToken.JLP]: {
|
|
@@ -1264,7 +1276,8 @@ const tokens = {
|
|
|
1264
1276
|
address: "27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4",
|
|
1265
1277
|
decimals: 6
|
|
1266
1278
|
},
|
|
1267
|
-
[SupportedChain.Hyperliquid]: null
|
|
1279
|
+
[SupportedChain.Hyperliquid]: null,
|
|
1280
|
+
[SupportedChain.Robinhood]: null
|
|
1268
1281
|
}
|
|
1269
1282
|
}
|
|
1270
1283
|
};
|
|
@@ -1297,6 +1310,8 @@ let VaultType = /* @__PURE__ */ function(VaultType$1) {
|
|
|
1297
1310
|
VaultType$1["Bundle"] = "Bundle";
|
|
1298
1311
|
VaultType$1["Hyperliquid"] = "Hyperliquid";
|
|
1299
1312
|
VaultType$1["Kamino"] = "Kamino";
|
|
1313
|
+
/** Accountable ERC-4626 NAV vault (e.g. on Robinhood Chain) */
|
|
1314
|
+
VaultType$1["AccountableNav"] = "AccountableNav";
|
|
1300
1315
|
return VaultType$1;
|
|
1301
1316
|
}({});
|
|
1302
1317
|
let VaultCategory = /* @__PURE__ */ function(VaultCategory$1) {
|
|
@@ -1323,7 +1338,9 @@ const VaultRegistryEntrySchema = z.object({
|
|
|
1323
1338
|
driftProgramId: z.string().min(32).max(44).optional(),
|
|
1324
1339
|
bundleProgramId: z.string().min(32).max(44).optional(),
|
|
1325
1340
|
pointsMultiplier: z.number().min(0).optional(),
|
|
1326
|
-
pointsEnabled: z.boolean().optional()
|
|
1341
|
+
pointsEnabled: z.boolean().optional(),
|
|
1342
|
+
accountableLoanId: z.number().int().positive().optional(),
|
|
1343
|
+
strategyAddress: z.string().regex(/^0x[0-9a-f]{40}$/i).optional()
|
|
1327
1344
|
});
|
|
1328
1345
|
/** Schema for validating array of registry entries */
|
|
1329
1346
|
const VaultRegistryArraySchema = z.array(VaultRegistryEntrySchema).superRefine((vaults$1, ctx) => {
|
|
@@ -1422,6 +1439,7 @@ function toPointsVaultEntry(entry) {
|
|
|
1422
1439
|
|
|
1423
1440
|
//#endregion
|
|
1424
1441
|
//#region src/extensions/ata.ts
|
|
1442
|
+
const SYSTEM_PROGRAM_ADDRESS = address("11111111111111111111111111111111");
|
|
1425
1443
|
/**
|
|
1426
1444
|
* SPL Associated Token Account program. Codama cannot derive PDAs owned by an
|
|
1427
1445
|
* external program, so this helper is hand-written. It mirrors the hardcoded
|
|
@@ -1431,6 +1449,42 @@ function toPointsVaultEntry(entry) {
|
|
|
1431
1449
|
const ASSOCIATED_TOKEN_PROGRAM_ADDRESS = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
1432
1450
|
const TOKEN_PROGRAM_ADDRESS = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1433
1451
|
/**
|
|
1452
|
+
* Builds a Classic Token Program ATA create that succeeds when the account
|
|
1453
|
+
* already exists. `payer` must sign the transaction assembled by the caller.
|
|
1454
|
+
*/
|
|
1455
|
+
function createAssociatedTokenAccountIdempotentInstruction(input) {
|
|
1456
|
+
return {
|
|
1457
|
+
accounts: [
|
|
1458
|
+
{
|
|
1459
|
+
address: input.payer,
|
|
1460
|
+
role: AccountRole.WRITABLE_SIGNER
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
address: input.ata,
|
|
1464
|
+
role: AccountRole.WRITABLE
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
address: input.owner,
|
|
1468
|
+
role: AccountRole.READONLY
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
address: input.mint,
|
|
1472
|
+
role: AccountRole.READONLY
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
address: SYSTEM_PROGRAM_ADDRESS,
|
|
1476
|
+
role: AccountRole.READONLY
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
address: TOKEN_PROGRAM_ADDRESS,
|
|
1480
|
+
role: AccountRole.READONLY
|
|
1481
|
+
}
|
|
1482
|
+
],
|
|
1483
|
+
data: new Uint8Array([1]),
|
|
1484
|
+
programAddress: ASSOCIATED_TOKEN_PROGRAM_ADDRESS
|
|
1485
|
+
};
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1434
1488
|
* Derives the associated token account for `owner` and `mint`.
|
|
1435
1489
|
* Works for PDA owners as well (the derivation is curve-agnostic).
|
|
1436
1490
|
*/
|
|
@@ -1445,6 +1499,17 @@ async function findAssociatedTokenPda(seeds) {
|
|
|
1445
1499
|
]
|
|
1446
1500
|
});
|
|
1447
1501
|
}
|
|
1502
|
+
/** Uses the Classic Token Program for both derivation and account creation. */
|
|
1503
|
+
async function buildEnsureAssociatedTokenAccountInstruction(input) {
|
|
1504
|
+
const [ata] = await findAssociatedTokenPda({
|
|
1505
|
+
owner: input.owner,
|
|
1506
|
+
mint: input.mint
|
|
1507
|
+
});
|
|
1508
|
+
return createAssociatedTokenAccountIdempotentInstruction({
|
|
1509
|
+
...input,
|
|
1510
|
+
ata
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1448
1513
|
|
|
1449
1514
|
//#endregion
|
|
1450
1515
|
//#region src/extensions/math.ts
|
|
@@ -1821,7 +1886,10 @@ async function buildDepositInstructions(rpc, params) {
|
|
|
1821
1886
|
/**
|
|
1822
1887
|
* Mirrors the legacy `buildBundleRequestWithdrawInstructionWithVault` flow.
|
|
1823
1888
|
* This helper rejects a zero-share result instead of forwarding it to the
|
|
1824
|
-
* program as the legacy helper did.
|
|
1889
|
+
* program as the legacy helper did. Prepend an idempotent associated token
|
|
1890
|
+
* account create, using `buildEnsureAssociatedTokenAccountInstruction` or
|
|
1891
|
+
* `createAssociatedTokenAccountIdempotentInstruction`, so the user's asset
|
|
1892
|
+
* token account exists when the withdrawal is processed after its cooldown.
|
|
1825
1893
|
*/
|
|
1826
1894
|
async function buildRequestWithdrawInstruction(rpc, params) {
|
|
1827
1895
|
assertValidAmountRaw(params.amountRaw);
|
|
@@ -1864,7 +1932,12 @@ async function buildRequestWithdrawInstruction(rpc, params) {
|
|
|
1864
1932
|
/**
|
|
1865
1933
|
* Mirrors the legacy `buildBundleRequestSwitchInstructionsWithVaults` flow.
|
|
1866
1934
|
* This version-locked client does not perform the legacy runtime IDL capability
|
|
1867
|
-
* probe for `request_bundle_switch`.
|
|
1935
|
+
* probe for `request_bundle_switch`. Before these instructions, add an
|
|
1936
|
+
* idempotent associated token account create using
|
|
1937
|
+
* `buildEnsureAssociatedTokenAccountInstruction` or
|
|
1938
|
+
* `createAssociatedTokenAccountIdempotentInstruction`. `processSwitch`
|
|
1939
|
+
* validates the user's asset token account and transfers the redemption there
|
|
1940
|
+
* if the target bundle cannot accept the switch.
|
|
1868
1941
|
*/
|
|
1869
1942
|
async function buildRequestSwitchInstructions(rpc, params) {
|
|
1870
1943
|
assertValidAmountRaw(params.amountRaw);
|
|
@@ -1931,19 +2004,6 @@ async function buildRequestSwitchInstructions(rpc, params) {
|
|
|
1931
2004
|
* oracle freshness, remains authoritative onchain because it can race a build.
|
|
1932
2005
|
*/
|
|
1933
2006
|
const DEFAULT_PUBLIC_KEY = "11111111111111111111111111111111";
|
|
1934
|
-
const MEMO_PROGRAM_ADDRESS = "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr";
|
|
1935
|
-
/**
|
|
1936
|
-
* Points attribution rides the same transaction as the on-chain referral
|
|
1937
|
-
* binding, so a builder wires one call and gets both. The memo carries the
|
|
1938
|
-
* referrer address because an instruction builder has no code to carry and no
|
|
1939
|
-
* business making an HTTP call to look one up.
|
|
1940
|
-
*/
|
|
1941
|
-
function buildPointsAttributionMemoInstruction(referrer) {
|
|
1942
|
-
return {
|
|
1943
|
-
programAddress: MEMO_PROGRAM_ADDRESS,
|
|
1944
|
-
data: new TextEncoder().encode(`NT_REF=v1|op=register|ref=${referrer}`)
|
|
1945
|
-
};
|
|
1946
|
-
}
|
|
1947
2007
|
/**
|
|
1948
2008
|
* Converts the signed aggregate from one `ReferrerAccount` read into exact
|
|
1949
2009
|
* basis-point progress between two product-supplied tier thresholds.
|
|
@@ -2139,10 +2199,6 @@ async function fetchReferrerStatus(rpc, params) {
|
|
|
2139
2199
|
* to verify active status and the net-deposit threshold.
|
|
2140
2200
|
* Deterministic eligibility failures use stable error messages; deposits below
|
|
2141
2201
|
* the vault minimum throw `BuilderDepositAmountTooLowError`.
|
|
2142
|
-
*
|
|
2143
|
-
* One transaction: bind the on-chain referrer for fee split, request the
|
|
2144
|
-
* deposit, and emit the points attribution memo. Atomic — a partial link is
|
|
2145
|
-
* not possible.
|
|
2146
2202
|
*/
|
|
2147
2203
|
async function buildAttributedDepositTx(rpc, params) {
|
|
2148
2204
|
assertValidAmountRaw(params.amount);
|
|
@@ -2177,7 +2233,7 @@ async function buildAttributedDepositTx(rpc, params) {
|
|
|
2177
2233
|
}, { programAddress: resolvedVault.programAddress });
|
|
2178
2234
|
const instructions = [];
|
|
2179
2235
|
if (depositContext.initializeInstruction) instructions.push(depositContext.initializeInstruction);
|
|
2180
|
-
instructions.push(setUserReferrerInstruction, depositContext.requestInstruction
|
|
2236
|
+
instructions.push(setUserReferrerInstruction, depositContext.requestInstruction);
|
|
2181
2237
|
return instructions;
|
|
2182
2238
|
}
|
|
2183
2239
|
/**
|
|
@@ -2342,4 +2398,4 @@ async function buildReferrerWithdrawRequestTx(rpc, params) {
|
|
|
2342
2398
|
}
|
|
2343
2399
|
|
|
2344
2400
|
//#endregion
|
|
2345
|
-
export { ADD_STRATEGY_DISCRIMINATOR, ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, APPLY_FEES_TO_USER_DISCRIMINATOR, ASSOCIATED_TOKEN_PROGRAM_ADDRESS, BPS_DENOMINATOR, BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR, BUNDLE_DISCRIMINATOR, BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, BUNDLE_PROGRAM_ID_V2_MAINNET, BUNDLE_TEMP_DATA_DISCRIMINATOR, BuilderDepositAmountTooLowError, CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR, CHANGE_MANAGER_DISCRIMINATOR, CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR, CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR, DEFAULT_BUNDLE_PROGRAM_ID_DEVNET, DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR, DevnetVaultId, ENABLE_STRATEGY_DISCRIMINATOR, END_DISTRIBUTION_DISCRIMINATOR, FEE_OVERRIDE_DEPOSIT, FEE_OVERRIDE_MANAGEMENT, FEE_OVERRIDE_PERFORMANCE, FEE_OVERRIDE_WITHDRAWAL, INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR, INITIALIZE_BUNDLE_DISCRIMINATOR, INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR, MANAGER_WITHDRAW_DISCRIMINATOR, MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR, MAX_DEPOSIT_FEE_BPS, MAX_REFERRAL_TIERS, NET_PENDING_TRANSACTIONS_DISCRIMINATOR, NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO, NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS, NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO, NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX, NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED, NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED, NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER, NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO, NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO, NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED, NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED, NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST, NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST, NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND, NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE, NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE, NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE, NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE, NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE, NTBUNDLE_ERROR__INSUFFICIENT_FUNDS, NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE, NTBUNDLE_ERROR__INVALID_ALLOCATIONS, NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS, NTBUNDLE_ERROR__INVALID_ASSET_PRECISION, NTBUNDLE_ERROR__INVALID_FEE_SPLIT, NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER, NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER, NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE, NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT, NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR, NTBUNDLE_ERROR__INVALID_RECEIVER, NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG, NTBUNDLE_ERROR__INVALID_REFERRAL_TIER_CONFIG, NTBUNDLE_ERROR__INVALID_TWAP_PERIOD, NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG, NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE, NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO, NTBUNDLE_ERROR__MANAGER_SHARES_ZERO, NTBUNDLE_ERROR__MATH_ERROR, NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET, NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST, NTBUNDLE_ERROR__NETTING_ALREADY_DONE, NTBUNDLE_ERROR__NETTING_NOT_DONE, NTBUNDLE_ERROR__NO_PENDING_SWITCH, NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS, NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL, NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR, NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR, NTBUNDLE_ERROR__ORACLE_NOT_UPDATED, NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT, NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS, NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY, NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO, NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS, NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS, NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST, NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS, NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO, NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER, NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO, NTBUNDLE_ERROR__REFERRALS_DISABLED, NTBUNDLE_ERROR__REFERRAL_ALREADY_SET, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING, NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW, NTBUNDLE_ERROR__REFERRER_SHARES_ZERO, NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID, NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED, NTBUNDLE_ERROR__STRATEGY_DISABLED, NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE, NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH, NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE, NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS, NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT, NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR, NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION, NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY, NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED, NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET, NTBUNDLE_PROGRAM_ADDRESS, NtbundleAccount, NtbundleInstruction, ORACLE_DATA_DISCRIMINATOR, PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR, PERFORM_REFILL_DISCRIMINATOR, PROCESS_DEPOSIT_DISCRIMINATOR, PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR, PROCESS_SWITCH_DISCRIMINATOR, PROCESS_WITHDRAWAL_DISCRIMINATOR, REFERRAL_OVERRIDE_MFEE, REFERRAL_OVERRIDE_PFEE, REFERRER_ACCOUNT_DISCRIMINATOR, REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR, REFUND_DEPOSIT_DISCRIMINATOR, REGISTER_REFERRER_DISCRIMINATOR, REMOVE_STRATEGY_DISCRIMINATOR, REQUEST_BUNDLE_SWITCH_DISCRIMINATOR, REQUEST_DEPOSIT_DISCRIMINATOR, REQUEST_WITHDRAWAL_DISCRIMINATOR, SECONDS_IN_YEAR, SET_BUNDLE_CREATOR_DISCRIMINATOR, SET_DELAYS_DISCRIMINATOR, SET_FEES_DISCRIMINATOR, SET_KEEPER_DISCRIMINATOR, SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR, SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR, SET_ORACLE_BUFFER_DISCRIMINATOR, SET_ORACLE_MAX_AGE_DISCRIMINATOR, SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR, SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR, SET_REFERRER_ACTIVE_DISCRIMINATOR, SET_REFERRER_CONFIG_DISCRIMINATOR, SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR, SET_USER_FEE_OVERRIDE_DISCRIMINATOR, SET_USER_REFERRER_DISCRIMINATOR, SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR, START_DISTRIBUTION_DISCRIMINATOR, STRATEGY_DISCRIMINATOR, SupportedChain, SupportedToken, TOKEN_PROGRAM_ADDRESS, U64_MAX, UPDATE_ALLOCATIONS_DISCRIMINATOR, UPDATE_ORACLE_DISCRIMINATOR, USER_BUNDLE_ACCOUNT_DISCRIMINATOR, VaultCategory, VaultId, VaultType, assertAllowlistedBundleProgramId, assertValidAmountRaw, buildAttributedDepositTx, buildBuilderRegistrationTx, buildDepositInstructions, buildReferrerWithdrawRequestTx, buildRequestSwitchInstructions, buildRequestWithdrawInstruction, calculateAssetsFromShares, calculateGrossDepositAmount, calculateOnChainPps, calculateReferrerTierProgress, calculateReferrerTierScheduleProgress, computeUserBundleBalance, computeWithdrawalShares, decodeBundle, decodeBundleCreatorAccount, decodeBundleMasterAccount, decodeBundleTempData, decodeOracleData, decodeReferrerAccount, decodeStrategy, decodeUserBundleAccount, deriveReferrerAccountForUser, estimatePendingUserFees, estimateWithdrawalAvailableTimestamp, estimateWithdrawalCooldownSeconds, fetchAllBundle, fetchAllBundleCreatorAccount, fetchAllBundleMasterAccount, fetchAllBundleTempData, fetchAllMaybeBundle, fetchAllMaybeBundleCreatorAccount, fetchAllMaybeBundleMasterAccount, fetchAllMaybeBundleTempData, fetchAllMaybeOracleData, fetchAllMaybeReferrerAccount, fetchAllMaybeStrategy, fetchAllMaybeUserBundleAccount, fetchAllOracleData, fetchAllReferrerAccount, fetchAllStrategy, fetchAllUserBundleAccount, fetchBundle, fetchBundleCreatorAccount, fetchBundleMasterAccount, fetchBundleTempData, fetchMaybeBundle, fetchMaybeBundleCreatorAccount, fetchMaybeBundleMasterAccount, fetchMaybeBundleTempData, fetchMaybeOracleData, fetchMaybeReferrerAccount, fetchMaybeStrategy, fetchMaybeUserBundleAccount, fetchOracleData, fetchReferrerAccount, fetchReferrerStatus, fetchStrategy, fetchUserBundleAccount, fetchUserBundleBalance, fetchUserBundleBalances, findAssociatedTokenPda, findBundleAccountPda, findBundleAssetAuthorityPda, findBundleCreatorAccountPda, findBundleMasterAccountPda, findBundleTempDataPda, findCloseUserBundleAccountUserBundleAccountPda, findOracleDataPda, findPendingBundleAssetAuthorityPda, findReferrerAccountPda, findReferrerUserBundleAccountPda, findRequestBundleSwitchUserBundleAccountPda, findSourceBundleAssetAuthorityPda, findSourceBundleTempDataPda, findSourceOracleDataPda, findSourceUserBundleAccountPda, findStrategyAccountPda, findTargetBundleTempDataPda, findTargetOracleDataPda, findTargetPendingBundleAssetAuthorityPda, findTargetUserBundleAccountPda, findUserBundleAccountPda, getAddStrategyDiscriminatorBytes, getAddStrategyInstruction, getAddStrategyInstructionAsync, getAddStrategyInstructionDataCodec, getAddStrategyInstructionDataDecoder, getAddStrategyInstructionDataEncoder, getApplyFeesToUserDiscriminatorBytes, getApplyFeesToUserInstruction, getApplyFeesToUserInstructionAsync, getApplyFeesToUserInstructionDataCodec, getApplyFeesToUserInstructionDataDecoder, getApplyFeesToUserInstructionDataEncoder, getBundleCodec, getBundleCreatorAccountCodec, getBundleCreatorAccountDecoder, getBundleCreatorAccountDiscriminatorBytes, getBundleCreatorAccountEncoder, getBundleCreatorAccountSize, getBundleDecoder, getBundleDiscriminatorBytes, getBundleEncoder, getBundleMasterAccountCodec, getBundleMasterAccountDecoder, getBundleMasterAccountDiscriminatorBytes, getBundleMasterAccountEncoder, getBundleMasterAccountSize, getBundleProgramId, getBundleTempDataCodec, getBundleTempDataDecoder, getBundleTempDataDiscriminatorBytes, getBundleTempDataEncoder, getBundleTempDataSize, getChangeBundleMasterAdminDiscriminatorBytes, getChangeBundleMasterAdminInstruction, getChangeBundleMasterAdminInstructionAsync, getChangeBundleMasterAdminInstructionDataCodec, getChangeBundleMasterAdminInstructionDataDecoder, getChangeBundleMasterAdminInstructionDataEncoder, getChangeManagerDiscriminatorBytes, getChangeManagerInstruction, getChangeManagerInstructionDataCodec, getChangeManagerInstructionDataDecoder, getChangeManagerInstructionDataEncoder, getClearUserFeeOverrideDiscriminatorBytes, getClearUserFeeOverrideInstruction, getClearUserFeeOverrideInstructionAsync, getClearUserFeeOverrideInstructionDataCodec, getClearUserFeeOverrideInstructionDataDecoder, getClearUserFeeOverrideInstructionDataEncoder, getClearUserWithdrawalTimingOverrideDiscriminatorBytes, getClearUserWithdrawalTimingOverrideInstruction, getClearUserWithdrawalTimingOverrideInstructionAsync, getClearUserWithdrawalTimingOverrideInstructionDataCodec, getClearUserWithdrawalTimingOverrideInstructionDataDecoder, getClearUserWithdrawalTimingOverrideInstructionDataEncoder, getCloseUserBundleAccountDiscriminatorBytes, getCloseUserBundleAccountInstruction, getCloseUserBundleAccountInstructionAsync, getCloseUserBundleAccountInstructionDataCodec, getCloseUserBundleAccountInstructionDataDecoder, getCloseUserBundleAccountInstructionDataEncoder, getDefaultBundleProgramIdByCluster, getDistributeToReceiversDiscriminatorBytes, getDistributeToReceiversInstruction, getDistributeToReceiversInstructionAsync, getDistributeToReceiversInstructionDataCodec, getDistributeToReceiversInstructionDataDecoder, getDistributeToReceiversInstructionDataEncoder, getDriftProgramId, getEnableStrategyDiscriminatorBytes, getEnableStrategyInstruction, getEnableStrategyInstructionAsync, getEnableStrategyInstructionDataCodec, getEnableStrategyInstructionDataDecoder, getEnableStrategyInstructionDataEncoder, getEndDistributionDiscriminatorBytes, getEndDistributionInstruction, getEndDistributionInstructionAsync, getEndDistributionInstructionDataCodec, getEndDistributionInstructionDataDecoder, getEndDistributionInstructionDataEncoder, getInitializeBundleDepositorDiscriminatorBytes, getInitializeBundleDepositorInstruction, getInitializeBundleDepositorInstructionAsync, getInitializeBundleDepositorInstructionDataCodec, getInitializeBundleDepositorInstructionDataDecoder, getInitializeBundleDepositorInstructionDataEncoder, getInitializeBundleDiscriminatorBytes, getInitializeBundleInstruction, getInitializeBundleInstructionAsync, getInitializeBundleInstructionDataCodec, getInitializeBundleInstructionDataDecoder, getInitializeBundleInstructionDataEncoder, getInitializeBundleMasterAccountDiscriminatorBytes, getInitializeBundleMasterAccountInstruction, getInitializeBundleMasterAccountInstructionAsync, getInitializeBundleMasterAccountInstructionDataCodec, getInitializeBundleMasterAccountInstructionDataDecoder, getInitializeBundleMasterAccountInstructionDataEncoder, getInitializePermissionedBundleDepositorDiscriminatorBytes, getInitializePermissionedBundleDepositorInstruction, getInitializePermissionedBundleDepositorInstructionAsync, getInitializePermissionedBundleDepositorInstructionDataCodec, getInitializePermissionedBundleDepositorInstructionDataDecoder, getInitializePermissionedBundleDepositorInstructionDataEncoder, getManagerWithdrawDiscriminatorBytes, getManagerWithdrawInstruction, getManagerWithdrawInstructionAsync, getManagerWithdrawInstructionDataCodec, getManagerWithdrawInstructionDataDecoder, getManagerWithdrawInstructionDataEncoder, getManagerWithdrawWithSplitDiscriminatorBytes, getManagerWithdrawWithSplitInstruction, getManagerWithdrawWithSplitInstructionAsync, getManagerWithdrawWithSplitInstructionDataCodec, getManagerWithdrawWithSplitInstructionDataDecoder, getManagerWithdrawWithSplitInstructionDataEncoder, getNetPendingTransactionsDiscriminatorBytes, getNetPendingTransactionsInstruction, getNetPendingTransactionsInstructionAsync, getNetPendingTransactionsInstructionDataCodec, getNetPendingTransactionsInstructionDataDecoder, getNetPendingTransactionsInstructionDataEncoder, getNtbundleErrorMessage, getOracleDataCodec, getOracleDataDecoder, getOracleDataDiscriminatorBytes, getOracleDataEncoder, getOracleDataSize, getPauseDepositsWithdrawalsDiscriminatorBytes, getPauseDepositsWithdrawalsInstruction, getPauseDepositsWithdrawalsInstructionAsync, getPauseDepositsWithdrawalsInstructionDataCodec, getPauseDepositsWithdrawalsInstructionDataDecoder, getPauseDepositsWithdrawalsInstructionDataEncoder, getPerformRefillDiscriminatorBytes, getPerformRefillInstruction, getPerformRefillInstructionAsync, getPerformRefillInstructionDataCodec, getPerformRefillInstructionDataDecoder, getPerformRefillInstructionDataEncoder, getPointsVaults, getProcessDepositDiscriminatorBytes, getProcessDepositInstruction, getProcessDepositInstructionAsync, getProcessDepositInstructionDataCodec, getProcessDepositInstructionDataDecoder, getProcessDepositInstructionDataEncoder, getProcessReferrerWithdrawalDiscriminatorBytes, getProcessReferrerWithdrawalInstruction, getProcessReferrerWithdrawalInstructionAsync, getProcessReferrerWithdrawalInstructionDataCodec, getProcessReferrerWithdrawalInstructionDataDecoder, getProcessReferrerWithdrawalInstructionDataEncoder, getProcessSwitchDiscriminatorBytes, getProcessSwitchInstruction, getProcessSwitchInstructionAsync, getProcessSwitchInstructionDataCodec, getProcessSwitchInstructionDataDecoder, getProcessSwitchInstructionDataEncoder, getProcessWithdrawalDiscriminatorBytes, getProcessWithdrawalInstruction, getProcessWithdrawalInstructionAsync, getProcessWithdrawalInstructionDataCodec, getProcessWithdrawalInstructionDataDecoder, getProcessWithdrawalInstructionDataEncoder, getReferralTierCodec, getReferralTierDecoder, getReferralTierEncoder, getReferrerAccountCodec, getReferrerAccountDecoder, getReferrerAccountDiscriminatorBytes, getReferrerAccountEncoder, getReferrerAccountSize, getReferrerRequestWithdrawDiscriminatorBytes, getReferrerRequestWithdrawInstruction, getReferrerRequestWithdrawInstructionAsync, getReferrerRequestWithdrawInstructionDataCodec, getReferrerRequestWithdrawInstructionDataDecoder, getReferrerRequestWithdrawInstructionDataEncoder, getRefundDepositDiscriminatorBytes, getRefundDepositInstruction, getRefundDepositInstructionAsync, getRefundDepositInstructionDataCodec, getRefundDepositInstructionDataDecoder, getRefundDepositInstructionDataEncoder, getRegisterReferrerDiscriminatorBytes, getRegisterReferrerInstruction, getRegisterReferrerInstructionAsync, getRegisterReferrerInstructionDataCodec, getRegisterReferrerInstructionDataDecoder, getRegisterReferrerInstructionDataEncoder, getRemoveStrategyDiscriminatorBytes, getRemoveStrategyInstruction, getRemoveStrategyInstructionAsync, getRemoveStrategyInstructionDataCodec, getRemoveStrategyInstructionDataDecoder, getRemoveStrategyInstructionDataEncoder, getRequestBundleSwitchDiscriminatorBytes, getRequestBundleSwitchInstruction, getRequestBundleSwitchInstructionAsync, getRequestBundleSwitchInstructionDataCodec, getRequestBundleSwitchInstructionDataDecoder, getRequestBundleSwitchInstructionDataEncoder, getRequestDepositDiscriminatorBytes, getRequestDepositInstruction, getRequestDepositInstructionAsync, getRequestDepositInstructionDataCodec, getRequestDepositInstructionDataDecoder, getRequestDepositInstructionDataEncoder, getRequestWithdrawalDiscriminatorBytes, getRequestWithdrawalInstruction, getRequestWithdrawalInstructionAsync, getRequestWithdrawalInstructionDataCodec, getRequestWithdrawalInstructionDataDecoder, getRequestWithdrawalInstructionDataEncoder, getSetBundleCreatorDiscriminatorBytes, getSetBundleCreatorInstruction, getSetBundleCreatorInstructionAsync, getSetBundleCreatorInstructionDataCodec, getSetBundleCreatorInstructionDataDecoder, getSetBundleCreatorInstructionDataEncoder, getSetDelaysDiscriminatorBytes, getSetDelaysInstruction, getSetDelaysInstructionDataCodec, getSetDelaysInstructionDataDecoder, getSetDelaysInstructionDataEncoder, getSetFeesDiscriminatorBytes, getSetFeesInstruction, getSetFeesInstructionDataCodec, getSetFeesInstructionDataDecoder, getSetFeesInstructionDataEncoder, getSetKeeperDiscriminatorBytes, getSetKeeperInstruction, getSetKeeperInstructionDataCodec, getSetKeeperInstructionDataDecoder, getSetKeeperInstructionDataEncoder, getSetMaxDepositAmountDiscriminatorBytes, getSetMaxDepositAmountInstruction, getSetMaxDepositAmountInstructionDataCodec, getSetMaxDepositAmountInstructionDataDecoder, getSetMaxDepositAmountInstructionDataEncoder, getSetMinDepositAmountDiscriminatorBytes, getSetMinDepositAmountInstruction, getSetMinDepositAmountInstructionDataCodec, getSetMinDepositAmountInstructionDataDecoder, getSetMinDepositAmountInstructionDataEncoder, getSetOracleBufferDiscriminatorBytes, getSetOracleBufferInstruction, getSetOracleBufferInstructionDataCodec, getSetOracleBufferInstructionDataDecoder, getSetOracleBufferInstructionDataEncoder, getSetOracleMaxAgeDiscriminatorBytes, getSetOracleMaxAgeInstruction, getSetOracleMaxAgeInstructionDataCodec, getSetOracleMaxAgeInstructionDataDecoder, getSetOracleMaxAgeInstructionDataEncoder, getSetOracleUpdateTimeLimitDiscriminatorBytes, getSetOracleUpdateTimeLimitInstruction, getSetOracleUpdateTimeLimitInstructionDataCodec, getSetOracleUpdateTimeLimitInstructionDataDecoder, getSetOracleUpdateTimeLimitInstructionDataEncoder, getSetReferralTierConfigDiscriminatorBytes, getSetReferralTierConfigInstruction, getSetReferralTierConfigInstructionDataCodec, getSetReferralTierConfigInstructionDataDecoder, getSetReferralTierConfigInstructionDataEncoder, getSetReferrerActiveDiscriminatorBytes, getSetReferrerActiveInstruction, getSetReferrerActiveInstructionDataCodec, getSetReferrerActiveInstructionDataDecoder, getSetReferrerActiveInstructionDataEncoder, getSetReferrerConfigDiscriminatorBytes, getSetReferrerConfigInstruction, getSetReferrerConfigInstructionDataCodec, getSetReferrerConfigInstructionDataDecoder, getSetReferrerConfigInstructionDataEncoder, getSetReferrerRateOverrideDiscriminatorBytes, getSetReferrerRateOverrideInstruction, getSetReferrerRateOverrideInstructionDataCodec, getSetReferrerRateOverrideInstructionDataDecoder, getSetReferrerRateOverrideInstructionDataEncoder, getSetUserFeeOverrideDiscriminatorBytes, getSetUserFeeOverrideInstruction, getSetUserFeeOverrideInstructionAsync, getSetUserFeeOverrideInstructionDataCodec, getSetUserFeeOverrideInstructionDataDecoder, getSetUserFeeOverrideInstructionDataEncoder, getSetUserReferrerDiscriminatorBytes, getSetUserReferrerInstruction, getSetUserReferrerInstructionAsync, getSetUserReferrerInstructionDataCodec, getSetUserReferrerInstructionDataDecoder, getSetUserReferrerInstructionDataEncoder, getSetUserWithdrawalTimingOverrideDiscriminatorBytes, getSetUserWithdrawalTimingOverrideInstruction, getSetUserWithdrawalTimingOverrideInstructionAsync, getSetUserWithdrawalTimingOverrideInstructionDataCodec, getSetUserWithdrawalTimingOverrideInstructionDataDecoder, getSetUserWithdrawalTimingOverrideInstructionDataEncoder, getSetWithdrawalRedemptionScheduleDiscriminatorBytes, getSetWithdrawalRedemptionScheduleInstruction, getSetWithdrawalRedemptionScheduleInstructionDataCodec, getSetWithdrawalRedemptionScheduleInstructionDataDecoder, getSetWithdrawalRedemptionScheduleInstructionDataEncoder, getSolanaTokenDecimals, getSolanaTokenMint, getStartDistributionDiscriminatorBytes, getStartDistributionInstruction, getStartDistributionInstructionAsync, getStartDistributionInstructionDataCodec, getStartDistributionInstructionDataDecoder, getStartDistributionInstructionDataEncoder, getStrategyCodec, getStrategyDecoder, getStrategyDiscriminatorBytes, getStrategyEncoder, getStrategySize, getUpdateAllocationsDiscriminatorBytes, getUpdateAllocationsInstruction, getUpdateAllocationsInstructionAsync, getUpdateAllocationsInstructionDataCodec, getUpdateAllocationsInstructionDataDecoder, getUpdateAllocationsInstructionDataEncoder, getUpdateOracleDiscriminatorBytes, getUpdateOracleInstruction, getUpdateOracleInstructionAsync, getUpdateOracleInstructionDataCodec, getUpdateOracleInstructionDataDecoder, getUpdateOracleInstructionDataEncoder, getUserBundleAccountCodec, getUserBundleAccountDecoder, getUserBundleAccountDiscriminatorBytes, getUserBundleAccountEncoder, getUserBundleAccountSize, getVaultByAddress, getVaultById, getVaultRegistry, humanFloatToAmountRaw, identifyNtbundleAccount, identifyNtbundleInstruction, isAllowlistedBundleProgramId, isNtbundleError, isValidVaultAddress, ntbundleProgram, parseAddStrategyInstruction, parseAmountRaw, parseApplyFeesToUserInstruction, parseChangeBundleMasterAdminInstruction, parseChangeManagerInstruction, parseClearUserFeeOverrideInstruction, parseClearUserWithdrawalTimingOverrideInstruction, parseCloseUserBundleAccountInstruction, parseDistributeToReceiversInstruction, parseEnableStrategyInstruction, parseEndDistributionInstruction, parseInitializeBundleDepositorInstruction, parseInitializeBundleInstruction, parseInitializeBundleMasterAccountInstruction, parseInitializePermissionedBundleDepositorInstruction, parseManagerWithdrawInstruction, parseManagerWithdrawWithSplitInstruction, parseNetPendingTransactionsInstruction, parseNtbundleInstruction, parsePauseDepositsWithdrawalsInstruction, parsePerformRefillInstruction, parseProcessDepositInstruction, parseProcessReferrerWithdrawalInstruction, parseProcessSwitchInstruction, parseProcessWithdrawalInstruction, parseReferrerRequestWithdrawInstruction, parseRefundDepositInstruction, parseRegisterReferrerInstruction, parseRemoveStrategyInstruction, parseRequestBundleSwitchInstruction, parseRequestDepositInstruction, parseRequestWithdrawalInstruction, parseSetBundleCreatorInstruction, parseSetDelaysInstruction, parseSetFeesInstruction, parseSetKeeperInstruction, parseSetMaxDepositAmountInstruction, parseSetMinDepositAmountInstruction, parseSetOracleBufferInstruction, parseSetOracleMaxAgeInstruction, parseSetOracleUpdateTimeLimitInstruction, parseSetReferralTierConfigInstruction, parseSetReferrerActiveInstruction, parseSetReferrerConfigInstruction, parseSetReferrerRateOverrideInstruction, parseSetUserFeeOverrideInstruction, parseSetUserReferrerInstruction, parseSetUserWithdrawalTimingOverrideInstruction, parseSetWithdrawalRedemptionScheduleInstruction, parseStartDistributionInstruction, parseUpdateAllocationsInstruction, parseUpdateOracleInstruction, resolveBundleReferralRates, resolveEffectiveFees, resolveEffectiveReferralRates, sharePriceRaw, toVaultConfig, toVaultRegistry, tokens, totalEquityRaw, vaults, vaultsDevnet };
|
|
2401
|
+
export { ADD_STRATEGY_DISCRIMINATOR, ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, APPLY_FEES_TO_USER_DISCRIMINATOR, ASSOCIATED_TOKEN_PROGRAM_ADDRESS, BPS_DENOMINATOR, BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR, BUNDLE_DISCRIMINATOR, BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, BUNDLE_PROGRAM_ID_V2_MAINNET, BUNDLE_TEMP_DATA_DISCRIMINATOR, BuilderDepositAmountTooLowError, CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR, CHANGE_MANAGER_DISCRIMINATOR, CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR, CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR, DEFAULT_BUNDLE_PROGRAM_ID_DEVNET, DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR, DevnetVaultId, ENABLE_STRATEGY_DISCRIMINATOR, END_DISTRIBUTION_DISCRIMINATOR, FEE_OVERRIDE_DEPOSIT, FEE_OVERRIDE_MANAGEMENT, FEE_OVERRIDE_PERFORMANCE, FEE_OVERRIDE_WITHDRAWAL, INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR, INITIALIZE_BUNDLE_DISCRIMINATOR, INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR, MANAGER_WITHDRAW_DISCRIMINATOR, MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR, MAX_DEPOSIT_FEE_BPS, MAX_REFERRAL_TIERS, NET_PENDING_TRANSACTIONS_DISCRIMINATOR, NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO, NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS, NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO, NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX, NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED, NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED, NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER, NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO, NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO, NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED, NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED, NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST, NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST, NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND, NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE, NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE, NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE, NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE, NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE, NTBUNDLE_ERROR__INSUFFICIENT_FUNDS, NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE, NTBUNDLE_ERROR__INVALID_ALLOCATIONS, NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS, NTBUNDLE_ERROR__INVALID_ASSET_PRECISION, NTBUNDLE_ERROR__INVALID_FEE_SPLIT, NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER, NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER, NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE, NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT, NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR, NTBUNDLE_ERROR__INVALID_RECEIVER, NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG, NTBUNDLE_ERROR__INVALID_REFERRAL_TIER_CONFIG, NTBUNDLE_ERROR__INVALID_TWAP_PERIOD, NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG, NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE, NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO, NTBUNDLE_ERROR__MANAGER_SHARES_ZERO, NTBUNDLE_ERROR__MATH_ERROR, NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET, NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST, NTBUNDLE_ERROR__NETTING_ALREADY_DONE, NTBUNDLE_ERROR__NETTING_NOT_DONE, NTBUNDLE_ERROR__NO_PENDING_SWITCH, NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS, NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL, NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR, NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR, NTBUNDLE_ERROR__ORACLE_NOT_UPDATED, NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT, NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS, NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY, NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO, NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS, NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS, NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST, NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS, NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO, NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER, NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO, NTBUNDLE_ERROR__REFERRALS_DISABLED, NTBUNDLE_ERROR__REFERRAL_ALREADY_SET, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING, NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW, NTBUNDLE_ERROR__REFERRER_SHARES_ZERO, NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED, NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID, NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED, NTBUNDLE_ERROR__STRATEGY_DISABLED, NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE, NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH, NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE, NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS, NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT, NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR, NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION, NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION, NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY, NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED, NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET, NTBUNDLE_PROGRAM_ADDRESS, NtbundleAccount, NtbundleInstruction, ORACLE_DATA_DISCRIMINATOR, PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR, PERFORM_REFILL_DISCRIMINATOR, PROCESS_DEPOSIT_DISCRIMINATOR, PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR, PROCESS_SWITCH_DISCRIMINATOR, PROCESS_WITHDRAWAL_DISCRIMINATOR, REFERRAL_OVERRIDE_MFEE, REFERRAL_OVERRIDE_PFEE, REFERRER_ACCOUNT_DISCRIMINATOR, REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR, REFUND_DEPOSIT_DISCRIMINATOR, REGISTER_REFERRER_DISCRIMINATOR, REMOVE_STRATEGY_DISCRIMINATOR, REQUEST_BUNDLE_SWITCH_DISCRIMINATOR, REQUEST_DEPOSIT_DISCRIMINATOR, REQUEST_WITHDRAWAL_DISCRIMINATOR, ROBINHOOD_CHAIN_ID, SECONDS_IN_YEAR, SET_BUNDLE_CREATOR_DISCRIMINATOR, SET_DELAYS_DISCRIMINATOR, SET_FEES_DISCRIMINATOR, SET_KEEPER_DISCRIMINATOR, SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR, SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR, SET_ORACLE_BUFFER_DISCRIMINATOR, SET_ORACLE_MAX_AGE_DISCRIMINATOR, SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR, SET_REFERRAL_TIER_CONFIG_DISCRIMINATOR, SET_REFERRER_ACTIVE_DISCRIMINATOR, SET_REFERRER_CONFIG_DISCRIMINATOR, SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR, SET_USER_FEE_OVERRIDE_DISCRIMINATOR, SET_USER_REFERRER_DISCRIMINATOR, SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR, START_DISTRIBUTION_DISCRIMINATOR, STRATEGY_DISCRIMINATOR, SupportedChain, SupportedToken, TOKEN_PROGRAM_ADDRESS, U64_MAX, UPDATE_ALLOCATIONS_DISCRIMINATOR, UPDATE_ORACLE_DISCRIMINATOR, USER_BUNDLE_ACCOUNT_DISCRIMINATOR, VaultCategory, VaultId, VaultType, assertAllowlistedBundleProgramId, assertValidAmountRaw, buildAttributedDepositTx, buildBuilderRegistrationTx, buildDepositInstructions, buildEnsureAssociatedTokenAccountInstruction, buildReferrerWithdrawRequestTx, buildRequestSwitchInstructions, buildRequestWithdrawInstruction, calculateAssetsFromShares, calculateGrossDepositAmount, calculateOnChainPps, calculateReferrerTierProgress, calculateReferrerTierScheduleProgress, computeUserBundleBalance, computeWithdrawalShares, createAssociatedTokenAccountIdempotentInstruction, decodeBundle, decodeBundleCreatorAccount, decodeBundleMasterAccount, decodeBundleTempData, decodeOracleData, decodeReferrerAccount, decodeStrategy, decodeUserBundleAccount, deriveReferrerAccountForUser, estimatePendingUserFees, estimateWithdrawalAvailableTimestamp, estimateWithdrawalCooldownSeconds, fetchAllBundle, fetchAllBundleCreatorAccount, fetchAllBundleMasterAccount, fetchAllBundleTempData, fetchAllMaybeBundle, fetchAllMaybeBundleCreatorAccount, fetchAllMaybeBundleMasterAccount, fetchAllMaybeBundleTempData, fetchAllMaybeOracleData, fetchAllMaybeReferrerAccount, fetchAllMaybeStrategy, fetchAllMaybeUserBundleAccount, fetchAllOracleData, fetchAllReferrerAccount, fetchAllStrategy, fetchAllUserBundleAccount, fetchBundle, fetchBundleCreatorAccount, fetchBundleMasterAccount, fetchBundleTempData, fetchMaybeBundle, fetchMaybeBundleCreatorAccount, fetchMaybeBundleMasterAccount, fetchMaybeBundleTempData, fetchMaybeOracleData, fetchMaybeReferrerAccount, fetchMaybeStrategy, fetchMaybeUserBundleAccount, fetchOracleData, fetchReferrerAccount, fetchReferrerStatus, fetchStrategy, fetchUserBundleAccount, fetchUserBundleBalance, fetchUserBundleBalances, findAssociatedTokenPda, findBundleAccountPda, findBundleAssetAuthorityPda, findBundleCreatorAccountPda, findBundleMasterAccountPda, findBundleTempDataPda, findCloseUserBundleAccountUserBundleAccountPda, findOracleDataPda, findPendingBundleAssetAuthorityPda, findReferrerAccountPda, findReferrerUserBundleAccountPda, findRequestBundleSwitchUserBundleAccountPda, findSourceBundleAssetAuthorityPda, findSourceBundleTempDataPda, findSourceOracleDataPda, findSourceUserBundleAccountPda, findStrategyAccountPda, findTargetBundleTempDataPda, findTargetOracleDataPda, findTargetPendingBundleAssetAuthorityPda, findTargetUserBundleAccountPda, findUserBundleAccountPda, getAddStrategyDiscriminatorBytes, getAddStrategyInstruction, getAddStrategyInstructionAsync, getAddStrategyInstructionDataCodec, getAddStrategyInstructionDataDecoder, getAddStrategyInstructionDataEncoder, getApplyFeesToUserDiscriminatorBytes, getApplyFeesToUserInstruction, getApplyFeesToUserInstructionAsync, getApplyFeesToUserInstructionDataCodec, getApplyFeesToUserInstructionDataDecoder, getApplyFeesToUserInstructionDataEncoder, getBundleCodec, getBundleCreatorAccountCodec, getBundleCreatorAccountDecoder, getBundleCreatorAccountDiscriminatorBytes, getBundleCreatorAccountEncoder, getBundleCreatorAccountSize, getBundleDecoder, getBundleDiscriminatorBytes, getBundleEncoder, getBundleMasterAccountCodec, getBundleMasterAccountDecoder, getBundleMasterAccountDiscriminatorBytes, getBundleMasterAccountEncoder, getBundleMasterAccountSize, getBundleProgramId, getBundleTempDataCodec, getBundleTempDataDecoder, getBundleTempDataDiscriminatorBytes, getBundleTempDataEncoder, getBundleTempDataSize, getChangeBundleMasterAdminDiscriminatorBytes, getChangeBundleMasterAdminInstruction, getChangeBundleMasterAdminInstructionAsync, getChangeBundleMasterAdminInstructionDataCodec, getChangeBundleMasterAdminInstructionDataDecoder, getChangeBundleMasterAdminInstructionDataEncoder, getChangeManagerDiscriminatorBytes, getChangeManagerInstruction, getChangeManagerInstructionDataCodec, getChangeManagerInstructionDataDecoder, getChangeManagerInstructionDataEncoder, getClearUserFeeOverrideDiscriminatorBytes, getClearUserFeeOverrideInstruction, getClearUserFeeOverrideInstructionAsync, getClearUserFeeOverrideInstructionDataCodec, getClearUserFeeOverrideInstructionDataDecoder, getClearUserFeeOverrideInstructionDataEncoder, getClearUserWithdrawalTimingOverrideDiscriminatorBytes, getClearUserWithdrawalTimingOverrideInstruction, getClearUserWithdrawalTimingOverrideInstructionAsync, getClearUserWithdrawalTimingOverrideInstructionDataCodec, getClearUserWithdrawalTimingOverrideInstructionDataDecoder, getClearUserWithdrawalTimingOverrideInstructionDataEncoder, getCloseUserBundleAccountDiscriminatorBytes, getCloseUserBundleAccountInstruction, getCloseUserBundleAccountInstructionAsync, getCloseUserBundleAccountInstructionDataCodec, getCloseUserBundleAccountInstructionDataDecoder, getCloseUserBundleAccountInstructionDataEncoder, getDefaultBundleProgramIdByCluster, getDistributeToReceiversDiscriminatorBytes, getDistributeToReceiversInstruction, getDistributeToReceiversInstructionAsync, getDistributeToReceiversInstructionDataCodec, getDistributeToReceiversInstructionDataDecoder, getDistributeToReceiversInstructionDataEncoder, getDriftProgramId, getEnableStrategyDiscriminatorBytes, getEnableStrategyInstruction, getEnableStrategyInstructionAsync, getEnableStrategyInstructionDataCodec, getEnableStrategyInstructionDataDecoder, getEnableStrategyInstructionDataEncoder, getEndDistributionDiscriminatorBytes, getEndDistributionInstruction, getEndDistributionInstructionAsync, getEndDistributionInstructionDataCodec, getEndDistributionInstructionDataDecoder, getEndDistributionInstructionDataEncoder, getInitializeBundleDepositorDiscriminatorBytes, getInitializeBundleDepositorInstruction, getInitializeBundleDepositorInstructionAsync, getInitializeBundleDepositorInstructionDataCodec, getInitializeBundleDepositorInstructionDataDecoder, getInitializeBundleDepositorInstructionDataEncoder, getInitializeBundleDiscriminatorBytes, getInitializeBundleInstruction, getInitializeBundleInstructionAsync, getInitializeBundleInstructionDataCodec, getInitializeBundleInstructionDataDecoder, getInitializeBundleInstructionDataEncoder, getInitializeBundleMasterAccountDiscriminatorBytes, getInitializeBundleMasterAccountInstruction, getInitializeBundleMasterAccountInstructionAsync, getInitializeBundleMasterAccountInstructionDataCodec, getInitializeBundleMasterAccountInstructionDataDecoder, getInitializeBundleMasterAccountInstructionDataEncoder, getInitializePermissionedBundleDepositorDiscriminatorBytes, getInitializePermissionedBundleDepositorInstruction, getInitializePermissionedBundleDepositorInstructionAsync, getInitializePermissionedBundleDepositorInstructionDataCodec, getInitializePermissionedBundleDepositorInstructionDataDecoder, getInitializePermissionedBundleDepositorInstructionDataEncoder, getManagerWithdrawDiscriminatorBytes, getManagerWithdrawInstruction, getManagerWithdrawInstructionAsync, getManagerWithdrawInstructionDataCodec, getManagerWithdrawInstructionDataDecoder, getManagerWithdrawInstructionDataEncoder, getManagerWithdrawWithSplitDiscriminatorBytes, getManagerWithdrawWithSplitInstruction, getManagerWithdrawWithSplitInstructionAsync, getManagerWithdrawWithSplitInstructionDataCodec, getManagerWithdrawWithSplitInstructionDataDecoder, getManagerWithdrawWithSplitInstructionDataEncoder, getNetPendingTransactionsDiscriminatorBytes, getNetPendingTransactionsInstruction, getNetPendingTransactionsInstructionAsync, getNetPendingTransactionsInstructionDataCodec, getNetPendingTransactionsInstructionDataDecoder, getNetPendingTransactionsInstructionDataEncoder, getNtbundleErrorMessage, getOracleDataCodec, getOracleDataDecoder, getOracleDataDiscriminatorBytes, getOracleDataEncoder, getOracleDataSize, getPauseDepositsWithdrawalsDiscriminatorBytes, getPauseDepositsWithdrawalsInstruction, getPauseDepositsWithdrawalsInstructionAsync, getPauseDepositsWithdrawalsInstructionDataCodec, getPauseDepositsWithdrawalsInstructionDataDecoder, getPauseDepositsWithdrawalsInstructionDataEncoder, getPerformRefillDiscriminatorBytes, getPerformRefillInstruction, getPerformRefillInstructionAsync, getPerformRefillInstructionDataCodec, getPerformRefillInstructionDataDecoder, getPerformRefillInstructionDataEncoder, getPointsVaults, getProcessDepositDiscriminatorBytes, getProcessDepositInstruction, getProcessDepositInstructionAsync, getProcessDepositInstructionDataCodec, getProcessDepositInstructionDataDecoder, getProcessDepositInstructionDataEncoder, getProcessReferrerWithdrawalDiscriminatorBytes, getProcessReferrerWithdrawalInstruction, getProcessReferrerWithdrawalInstructionAsync, getProcessReferrerWithdrawalInstructionDataCodec, getProcessReferrerWithdrawalInstructionDataDecoder, getProcessReferrerWithdrawalInstructionDataEncoder, getProcessSwitchDiscriminatorBytes, getProcessSwitchInstruction, getProcessSwitchInstructionAsync, getProcessSwitchInstructionDataCodec, getProcessSwitchInstructionDataDecoder, getProcessSwitchInstructionDataEncoder, getProcessWithdrawalDiscriminatorBytes, getProcessWithdrawalInstruction, getProcessWithdrawalInstructionAsync, getProcessWithdrawalInstructionDataCodec, getProcessWithdrawalInstructionDataDecoder, getProcessWithdrawalInstructionDataEncoder, getReferralTierCodec, getReferralTierDecoder, getReferralTierEncoder, getReferrerAccountCodec, getReferrerAccountDecoder, getReferrerAccountDiscriminatorBytes, getReferrerAccountEncoder, getReferrerAccountSize, getReferrerRequestWithdrawDiscriminatorBytes, getReferrerRequestWithdrawInstruction, getReferrerRequestWithdrawInstructionAsync, getReferrerRequestWithdrawInstructionDataCodec, getReferrerRequestWithdrawInstructionDataDecoder, getReferrerRequestWithdrawInstructionDataEncoder, getRefundDepositDiscriminatorBytes, getRefundDepositInstruction, getRefundDepositInstructionAsync, getRefundDepositInstructionDataCodec, getRefundDepositInstructionDataDecoder, getRefundDepositInstructionDataEncoder, getRegisterReferrerDiscriminatorBytes, getRegisterReferrerInstruction, getRegisterReferrerInstructionAsync, getRegisterReferrerInstructionDataCodec, getRegisterReferrerInstructionDataDecoder, getRegisterReferrerInstructionDataEncoder, getRemoveStrategyDiscriminatorBytes, getRemoveStrategyInstruction, getRemoveStrategyInstructionAsync, getRemoveStrategyInstructionDataCodec, getRemoveStrategyInstructionDataDecoder, getRemoveStrategyInstructionDataEncoder, getRequestBundleSwitchDiscriminatorBytes, getRequestBundleSwitchInstruction, getRequestBundleSwitchInstructionAsync, getRequestBundleSwitchInstructionDataCodec, getRequestBundleSwitchInstructionDataDecoder, getRequestBundleSwitchInstructionDataEncoder, getRequestDepositDiscriminatorBytes, getRequestDepositInstruction, getRequestDepositInstructionAsync, getRequestDepositInstructionDataCodec, getRequestDepositInstructionDataDecoder, getRequestDepositInstructionDataEncoder, getRequestWithdrawalDiscriminatorBytes, getRequestWithdrawalInstruction, getRequestWithdrawalInstructionAsync, getRequestWithdrawalInstructionDataCodec, getRequestWithdrawalInstructionDataDecoder, getRequestWithdrawalInstructionDataEncoder, getSetBundleCreatorDiscriminatorBytes, getSetBundleCreatorInstruction, getSetBundleCreatorInstructionAsync, getSetBundleCreatorInstructionDataCodec, getSetBundleCreatorInstructionDataDecoder, getSetBundleCreatorInstructionDataEncoder, getSetDelaysDiscriminatorBytes, getSetDelaysInstruction, getSetDelaysInstructionDataCodec, getSetDelaysInstructionDataDecoder, getSetDelaysInstructionDataEncoder, getSetFeesDiscriminatorBytes, getSetFeesInstruction, getSetFeesInstructionDataCodec, getSetFeesInstructionDataDecoder, getSetFeesInstructionDataEncoder, getSetKeeperDiscriminatorBytes, getSetKeeperInstruction, getSetKeeperInstructionDataCodec, getSetKeeperInstructionDataDecoder, getSetKeeperInstructionDataEncoder, getSetMaxDepositAmountDiscriminatorBytes, getSetMaxDepositAmountInstruction, getSetMaxDepositAmountInstructionDataCodec, getSetMaxDepositAmountInstructionDataDecoder, getSetMaxDepositAmountInstructionDataEncoder, getSetMinDepositAmountDiscriminatorBytes, getSetMinDepositAmountInstruction, getSetMinDepositAmountInstructionDataCodec, getSetMinDepositAmountInstructionDataDecoder, getSetMinDepositAmountInstructionDataEncoder, getSetOracleBufferDiscriminatorBytes, getSetOracleBufferInstruction, getSetOracleBufferInstructionDataCodec, getSetOracleBufferInstructionDataDecoder, getSetOracleBufferInstructionDataEncoder, getSetOracleMaxAgeDiscriminatorBytes, getSetOracleMaxAgeInstruction, getSetOracleMaxAgeInstructionDataCodec, getSetOracleMaxAgeInstructionDataDecoder, getSetOracleMaxAgeInstructionDataEncoder, getSetOracleUpdateTimeLimitDiscriminatorBytes, getSetOracleUpdateTimeLimitInstruction, getSetOracleUpdateTimeLimitInstructionDataCodec, getSetOracleUpdateTimeLimitInstructionDataDecoder, getSetOracleUpdateTimeLimitInstructionDataEncoder, getSetReferralTierConfigDiscriminatorBytes, getSetReferralTierConfigInstruction, getSetReferralTierConfigInstructionDataCodec, getSetReferralTierConfigInstructionDataDecoder, getSetReferralTierConfigInstructionDataEncoder, getSetReferrerActiveDiscriminatorBytes, getSetReferrerActiveInstruction, getSetReferrerActiveInstructionDataCodec, getSetReferrerActiveInstructionDataDecoder, getSetReferrerActiveInstructionDataEncoder, getSetReferrerConfigDiscriminatorBytes, getSetReferrerConfigInstruction, getSetReferrerConfigInstructionDataCodec, getSetReferrerConfigInstructionDataDecoder, getSetReferrerConfigInstructionDataEncoder, getSetReferrerRateOverrideDiscriminatorBytes, getSetReferrerRateOverrideInstruction, getSetReferrerRateOverrideInstructionDataCodec, getSetReferrerRateOverrideInstructionDataDecoder, getSetReferrerRateOverrideInstructionDataEncoder, getSetUserFeeOverrideDiscriminatorBytes, getSetUserFeeOverrideInstruction, getSetUserFeeOverrideInstructionAsync, getSetUserFeeOverrideInstructionDataCodec, getSetUserFeeOverrideInstructionDataDecoder, getSetUserFeeOverrideInstructionDataEncoder, getSetUserReferrerDiscriminatorBytes, getSetUserReferrerInstruction, getSetUserReferrerInstructionAsync, getSetUserReferrerInstructionDataCodec, getSetUserReferrerInstructionDataDecoder, getSetUserReferrerInstructionDataEncoder, getSetUserWithdrawalTimingOverrideDiscriminatorBytes, getSetUserWithdrawalTimingOverrideInstruction, getSetUserWithdrawalTimingOverrideInstructionAsync, getSetUserWithdrawalTimingOverrideInstructionDataCodec, getSetUserWithdrawalTimingOverrideInstructionDataDecoder, getSetUserWithdrawalTimingOverrideInstructionDataEncoder, getSetWithdrawalRedemptionScheduleDiscriminatorBytes, getSetWithdrawalRedemptionScheduleInstruction, getSetWithdrawalRedemptionScheduleInstructionDataCodec, getSetWithdrawalRedemptionScheduleInstructionDataDecoder, getSetWithdrawalRedemptionScheduleInstructionDataEncoder, getSolanaTokenDecimals, getSolanaTokenMint, getStartDistributionDiscriminatorBytes, getStartDistributionInstruction, getStartDistributionInstructionAsync, getStartDistributionInstructionDataCodec, getStartDistributionInstructionDataDecoder, getStartDistributionInstructionDataEncoder, getStrategyCodec, getStrategyDecoder, getStrategyDiscriminatorBytes, getStrategyEncoder, getStrategySize, getUpdateAllocationsDiscriminatorBytes, getUpdateAllocationsInstruction, getUpdateAllocationsInstructionAsync, getUpdateAllocationsInstructionDataCodec, getUpdateAllocationsInstructionDataDecoder, getUpdateAllocationsInstructionDataEncoder, getUpdateOracleDiscriminatorBytes, getUpdateOracleInstruction, getUpdateOracleInstructionAsync, getUpdateOracleInstructionDataCodec, getUpdateOracleInstructionDataDecoder, getUpdateOracleInstructionDataEncoder, getUserBundleAccountCodec, getUserBundleAccountDecoder, getUserBundleAccountDiscriminatorBytes, getUserBundleAccountEncoder, getUserBundleAccountSize, getVaultByAddress, getVaultById, getVaultRegistry, humanFloatToAmountRaw, identifyNtbundleAccount, identifyNtbundleInstruction, isAllowlistedBundleProgramId, isNtbundleError, isValidVaultAddress, ntbundleProgram, parseAddStrategyInstruction, parseAmountRaw, parseApplyFeesToUserInstruction, parseChangeBundleMasterAdminInstruction, parseChangeManagerInstruction, parseClearUserFeeOverrideInstruction, parseClearUserWithdrawalTimingOverrideInstruction, parseCloseUserBundleAccountInstruction, parseDistributeToReceiversInstruction, parseEnableStrategyInstruction, parseEndDistributionInstruction, parseInitializeBundleDepositorInstruction, parseInitializeBundleInstruction, parseInitializeBundleMasterAccountInstruction, parseInitializePermissionedBundleDepositorInstruction, parseManagerWithdrawInstruction, parseManagerWithdrawWithSplitInstruction, parseNetPendingTransactionsInstruction, parseNtbundleInstruction, parsePauseDepositsWithdrawalsInstruction, parsePerformRefillInstruction, parseProcessDepositInstruction, parseProcessReferrerWithdrawalInstruction, parseProcessSwitchInstruction, parseProcessWithdrawalInstruction, parseReferrerRequestWithdrawInstruction, parseRefundDepositInstruction, parseRegisterReferrerInstruction, parseRemoveStrategyInstruction, parseRequestBundleSwitchInstruction, parseRequestDepositInstruction, parseRequestWithdrawalInstruction, parseSetBundleCreatorInstruction, parseSetDelaysInstruction, parseSetFeesInstruction, parseSetKeeperInstruction, parseSetMaxDepositAmountInstruction, parseSetMinDepositAmountInstruction, parseSetOracleBufferInstruction, parseSetOracleMaxAgeInstruction, parseSetOracleUpdateTimeLimitInstruction, parseSetReferralTierConfigInstruction, parseSetReferrerActiveInstruction, parseSetReferrerConfigInstruction, parseSetReferrerRateOverrideInstruction, parseSetUserFeeOverrideInstruction, parseSetUserReferrerInstruction, parseSetUserWithdrawalTimingOverrideInstruction, parseSetWithdrawalRedemptionScheduleInstruction, parseStartDistributionInstruction, parseUpdateAllocationsInstruction, parseUpdateOracleInstruction, resolveBundleReferralRates, resolveEffectiveFees, resolveEffectiveReferralRates, sharePriceRaw, toVaultConfig, toVaultRegistry, tokens, totalEquityRaw, vaults, vaultsDevnet };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutral-trade/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.13",
|
|
5
5
|
"description": "Neutral Trade vault registry and Codama-generated ntbundle client for @solana/kit",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/neutral-trade/sdk#readme",
|