@neutral-trade/sdk 1.0.4 → 1.0.6
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/generated/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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-PNArbjle.mjs";
|
|
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
|
|
|
3
3
|
export { ADD_STRATEGY_DISCRIMINATOR, APPLY_FEES_TO_USER_DISCRIMINATOR, BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR, BUNDLE_DISCRIMINATOR, BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR, BUNDLE_TEMP_DATA_DISCRIMINATOR, CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR, CHANGE_MANAGER_DISCRIMINATOR, CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR, CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR, CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR, DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR, ENABLE_STRATEGY_DISCRIMINATOR, END_DISTRIBUTION_DISCRIMINATOR, 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, 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, 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, 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, UPDATE_ALLOCATIONS_DISCRIMINATOR, UPDATE_ORACLE_DISCRIMINATOR, USER_BUNDLE_ACCOUNT_DISCRIMINATOR, decodeBundle, decodeBundleCreatorAccount, decodeBundleMasterAccount, decodeBundleTempData, decodeOracleData, decodeReferrerAccount, decodeStrategy, decodeUserBundleAccount, 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, fetchStrategy, fetchUserBundleAccount, 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, 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, getDistributeToReceiversDiscriminatorBytes, getDistributeToReceiversInstruction, getDistributeToReceiversInstructionAsync, getDistributeToReceiversInstructionDataCodec, getDistributeToReceiversInstructionDataDecoder, getDistributeToReceiversInstructionDataEncoder, 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, 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, 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, identifyNtbundleAccount, identifyNtbundleInstruction, isNtbundleError, ntbundleProgram, parseAddStrategyInstruction, 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 };
|
|
@@ -1497,7 +1497,7 @@ async function getAddStrategyInstructionAsync(input, config) {
|
|
|
1497
1497
|
if (!accounts.strategyAccount.value) accounts.strategyAccount.value = await findStrategyAccountPda({
|
|
1498
1498
|
receiverAddress: getAddressFromResolvedInstructionAccount("receiverAddress", accounts.receiverAddress.value),
|
|
1499
1499
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
1500
|
-
});
|
|
1500
|
+
}, { programAddress });
|
|
1501
1501
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
1502
1502
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
1503
1503
|
return Object.freeze({
|
|
@@ -1640,9 +1640,9 @@ async function getApplyFeesToUserInstructionAsync(input, config) {
|
|
|
1640
1640
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findUserBundleAccountPda({
|
|
1641
1641
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
1642
1642
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
1643
|
-
});
|
|
1644
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
1645
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
1643
|
+
}, { programAddress });
|
|
1644
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
1645
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
1646
1646
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
1647
1647
|
return Object.freeze({
|
|
1648
1648
|
accounts: [
|
|
@@ -1771,7 +1771,7 @@ async function getChangeBundleMasterAdminInstructionAsync(input, config) {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
};
|
|
1773
1773
|
const args = { ...input };
|
|
1774
|
-
if (!accounts.bundleMasterAccount.value) accounts.bundleMasterAccount.value = await findBundleMasterAccountPda();
|
|
1774
|
+
if (!accounts.bundleMasterAccount.value) accounts.bundleMasterAccount.value = await findBundleMasterAccountPda({ programAddress });
|
|
1775
1775
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
1776
1776
|
return Object.freeze({
|
|
1777
1777
|
accounts: [getAccountMeta("admin", accounts.admin), getAccountMeta("bundleMasterAccount", accounts.bundleMasterAccount)],
|
|
@@ -1953,7 +1953,7 @@ async function getClearUserFeeOverrideInstructionAsync(input, config) {
|
|
|
1953
1953
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findUserBundleAccountPda({
|
|
1954
1954
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
1955
1955
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
1956
|
-
});
|
|
1956
|
+
}, { programAddress });
|
|
1957
1957
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
1958
1958
|
return Object.freeze({
|
|
1959
1959
|
accounts: [
|
|
@@ -2080,7 +2080,7 @@ async function getClearUserWithdrawalTimingOverrideInstructionAsync(input, confi
|
|
|
2080
2080
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findUserBundleAccountPda({
|
|
2081
2081
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
2082
2082
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
2083
|
-
});
|
|
2083
|
+
}, { programAddress });
|
|
2084
2084
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2085
2085
|
return Object.freeze({
|
|
2086
2086
|
accounts: [
|
|
@@ -2202,7 +2202,7 @@ async function getCloseUserBundleAccountInstructionAsync(input, config) {
|
|
|
2202
2202
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findCloseUserBundleAccountUserBundleAccountPda({
|
|
2203
2203
|
authority: getAddressFromResolvedInstructionAccount("authority", accounts.authority.value),
|
|
2204
2204
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
2205
|
-
});
|
|
2205
|
+
}, { programAddress });
|
|
2206
2206
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2207
2207
|
return Object.freeze({
|
|
2208
2208
|
accounts: [
|
|
@@ -2345,7 +2345,7 @@ async function getDistributeToReceiversInstructionAsync(input, config) {
|
|
|
2345
2345
|
isWritable: true
|
|
2346
2346
|
}
|
|
2347
2347
|
};
|
|
2348
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
2348
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
2349
2349
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
2350
2350
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
2351
2351
|
seeds: [
|
|
@@ -2387,13 +2387,13 @@ async function getDistributeToReceiversInstructionAsync(input, config) {
|
|
|
2387
2387
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
2388
2388
|
]
|
|
2389
2389
|
});
|
|
2390
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
2390
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
2391
2391
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
2392
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
2392
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
2393
2393
|
if (!accounts.strategyAccount.value) accounts.strategyAccount.value = await findStrategyAccountPda({
|
|
2394
2394
|
receiverAddress: getAddressFromResolvedInstructionAccount("receiverAddress", accounts.receiverAddress.value),
|
|
2395
2395
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
2396
|
-
});
|
|
2396
|
+
}, { programAddress });
|
|
2397
2397
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2398
2398
|
return Object.freeze({
|
|
2399
2399
|
accounts: [
|
|
@@ -2572,7 +2572,7 @@ async function getEnableStrategyInstructionAsync(input, config) {
|
|
|
2572
2572
|
if (!accounts.strategyAccount.value) accounts.strategyAccount.value = await findStrategyAccountPda({
|
|
2573
2573
|
receiverAddress: getAddressFromResolvedInstructionAccount("receiverAddress", accounts.receiverAddress.value),
|
|
2574
2574
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
2575
|
-
});
|
|
2575
|
+
}, { programAddress });
|
|
2576
2576
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
2577
2577
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2578
2578
|
return Object.freeze({
|
|
@@ -2703,8 +2703,8 @@ async function getEndDistributionInstructionAsync(input, config) {
|
|
|
2703
2703
|
isWritable: true
|
|
2704
2704
|
}
|
|
2705
2705
|
};
|
|
2706
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
2707
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
2706
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
2707
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
2708
2708
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2709
2709
|
return Object.freeze({
|
|
2710
2710
|
accounts: [
|
|
@@ -2885,11 +2885,11 @@ async function getInitializeBundleInstructionAsync(input, config) {
|
|
|
2885
2885
|
}
|
|
2886
2886
|
};
|
|
2887
2887
|
const args = { ...input };
|
|
2888
|
-
if (!accounts.bundleCreatorAccount.value) accounts.bundleCreatorAccount.value = await findBundleCreatorAccountPda({ creator: getAddressFromResolvedInstructionAccount("creator", accounts.creator.value) });
|
|
2888
|
+
if (!accounts.bundleCreatorAccount.value) accounts.bundleCreatorAccount.value = await findBundleCreatorAccountPda({ creator: getAddressFromResolvedInstructionAccount("creator", accounts.creator.value) }, { programAddress });
|
|
2889
2889
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
2890
|
-
if (!accounts.bundleAccount.value) accounts.bundleAccount.value = await findBundleAccountPda({ name: getNonNullResolvedInstructionInput("name", args.name) });
|
|
2891
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
2892
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
2890
|
+
if (!accounts.bundleAccount.value) accounts.bundleAccount.value = await findBundleAccountPda({ name: getNonNullResolvedInstructionInput("name", args.name) }, { programAddress });
|
|
2891
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
2892
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
2893
2893
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
2894
2894
|
return Object.freeze({
|
|
2895
2895
|
accounts: [
|
|
@@ -3049,7 +3049,7 @@ async function getInitializeBundleDepositorInstructionAsync(input, config) {
|
|
|
3049
3049
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findCloseUserBundleAccountUserBundleAccountPda({
|
|
3050
3050
|
authority: getAddressFromResolvedInstructionAccount("authority", accounts.authority.value),
|
|
3051
3051
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
3052
|
-
});
|
|
3052
|
+
}, { programAddress });
|
|
3053
3053
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
3054
3054
|
return Object.freeze({
|
|
3055
3055
|
accounts: [
|
|
@@ -3175,7 +3175,7 @@ async function getInitializeBundleMasterAccountInstructionAsync(input, config) {
|
|
|
3175
3175
|
isWritable: false
|
|
3176
3176
|
}
|
|
3177
3177
|
};
|
|
3178
|
-
if (!accounts.bundleMasterAccount.value) accounts.bundleMasterAccount.value = await findBundleMasterAccountPda();
|
|
3178
|
+
if (!accounts.bundleMasterAccount.value) accounts.bundleMasterAccount.value = await findBundleMasterAccountPda({ programAddress });
|
|
3179
3179
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
3180
3180
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
3181
3181
|
return Object.freeze({
|
|
@@ -3300,7 +3300,7 @@ async function getInitializePermissionedBundleDepositorInstructionAsync(input, c
|
|
|
3300
3300
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findCloseUserBundleAccountUserBundleAccountPda({
|
|
3301
3301
|
authority: getAddressFromResolvedInstructionAccount("authority", accounts.authority.value),
|
|
3302
3302
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
3303
|
-
});
|
|
3303
|
+
}, { programAddress });
|
|
3304
3304
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
3305
3305
|
return Object.freeze({
|
|
3306
3306
|
accounts: [
|
|
@@ -3446,7 +3446,7 @@ async function getManagerWithdrawInstructionAsync(input, config) {
|
|
|
3446
3446
|
isWritable: false
|
|
3447
3447
|
}
|
|
3448
3448
|
};
|
|
3449
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
3449
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
3450
3450
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
3451
3451
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
3452
3452
|
seeds: [
|
|
@@ -3488,7 +3488,7 @@ async function getManagerWithdrawInstructionAsync(input, config) {
|
|
|
3488
3488
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
3489
3489
|
]
|
|
3490
3490
|
});
|
|
3491
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
3491
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
3492
3492
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
3493
3493
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
3494
3494
|
return Object.freeze({
|
|
@@ -3669,7 +3669,7 @@ async function getManagerWithdrawWithSplitInstructionAsync(input, config) {
|
|
|
3669
3669
|
}
|
|
3670
3670
|
};
|
|
3671
3671
|
const args = { ...input };
|
|
3672
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
3672
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
3673
3673
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
3674
3674
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
3675
3675
|
seeds: [
|
|
@@ -3711,7 +3711,7 @@ async function getManagerWithdrawWithSplitInstructionAsync(input, config) {
|
|
|
3711
3711
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
3712
3712
|
]
|
|
3713
3713
|
});
|
|
3714
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
3714
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
3715
3715
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
3716
3716
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
3717
3717
|
return Object.freeze({
|
|
@@ -3895,7 +3895,7 @@ async function getNetPendingTransactionsInstructionAsync(input, config) {
|
|
|
3895
3895
|
isWritable: false
|
|
3896
3896
|
}
|
|
3897
3897
|
};
|
|
3898
|
-
if (!accounts.pendingBundleAssetAuthority.value) accounts.pendingBundleAssetAuthority.value = await findPendingBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
3898
|
+
if (!accounts.pendingBundleAssetAuthority.value) accounts.pendingBundleAssetAuthority.value = await findPendingBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
3899
3899
|
if (!accounts.pendingDepositTokenAccount.value) accounts.pendingDepositTokenAccount.value = await getProgramDerivedAddress({
|
|
3900
3900
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
3901
3901
|
seeds: [
|
|
@@ -3937,7 +3937,7 @@ async function getNetPendingTransactionsInstructionAsync(input, config) {
|
|
|
3937
3937
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
3938
3938
|
]
|
|
3939
3939
|
});
|
|
3940
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
3940
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
3941
3941
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
3942
3942
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
3943
3943
|
seeds: [
|
|
@@ -3979,8 +3979,8 @@ async function getNetPendingTransactionsInstructionAsync(input, config) {
|
|
|
3979
3979
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
3980
3980
|
]
|
|
3981
3981
|
});
|
|
3982
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
3983
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
3982
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
3983
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
3984
3984
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
3985
3985
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
3986
3986
|
return Object.freeze({
|
|
@@ -4147,8 +4147,8 @@ async function getPauseDepositsWithdrawalsInstructionAsync(input, config) {
|
|
|
4147
4147
|
}
|
|
4148
4148
|
};
|
|
4149
4149
|
const args = { ...input };
|
|
4150
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4151
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4150
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4151
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4152
4152
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
4153
4153
|
return Object.freeze({
|
|
4154
4154
|
accounts: [
|
|
@@ -4292,7 +4292,7 @@ async function getPerformRefillInstructionAsync(input, config) {
|
|
|
4292
4292
|
}
|
|
4293
4293
|
};
|
|
4294
4294
|
const args = { ...input };
|
|
4295
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4295
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4296
4296
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
4297
4297
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
4298
4298
|
seeds: [
|
|
@@ -4337,8 +4337,8 @@ async function getPerformRefillInstructionAsync(input, config) {
|
|
|
4337
4337
|
if (!accounts.strategyAccount.value) accounts.strategyAccount.value = await findStrategyAccountPda({
|
|
4338
4338
|
receiverAddress: getAddressFromResolvedInstructionAccount("receiverAddress", accounts.receiverAddress.value),
|
|
4339
4339
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
4340
|
-
});
|
|
4341
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4340
|
+
}, { programAddress });
|
|
4341
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4342
4342
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
4343
4343
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
4344
4344
|
return Object.freeze({
|
|
@@ -4537,8 +4537,8 @@ async function getProcessDepositInstructionAsync(input, config) {
|
|
|
4537
4537
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findUserBundleAccountPda({
|
|
4538
4538
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
4539
4539
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
4540
|
-
});
|
|
4541
|
-
if (!accounts.pendingBundleAssetAuthority.value) accounts.pendingBundleAssetAuthority.value = await findPendingBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4540
|
+
}, { programAddress });
|
|
4541
|
+
if (!accounts.pendingBundleAssetAuthority.value) accounts.pendingBundleAssetAuthority.value = await findPendingBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4542
4542
|
if (!accounts.pendingDepositTokenAccount.value) accounts.pendingDepositTokenAccount.value = await getProgramDerivedAddress({
|
|
4543
4543
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
4544
4544
|
seeds: [
|
|
@@ -4580,7 +4580,7 @@ async function getProcessDepositInstructionAsync(input, config) {
|
|
|
4580
4580
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
4581
4581
|
]
|
|
4582
4582
|
});
|
|
4583
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4583
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4584
4584
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
4585
4585
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
4586
4586
|
seeds: [
|
|
@@ -4622,8 +4622,8 @@ async function getProcessDepositInstructionAsync(input, config) {
|
|
|
4622
4622
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
4623
4623
|
]
|
|
4624
4624
|
});
|
|
4625
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4626
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4625
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4626
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4627
4627
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
4628
4628
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
4629
4629
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
@@ -4840,7 +4840,7 @@ async function getProcessReferrerWithdrawalInstructionAsync(input, config) {
|
|
|
4840
4840
|
isWritable: false
|
|
4841
4841
|
}
|
|
4842
4842
|
};
|
|
4843
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4843
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4844
4844
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
4845
4845
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
4846
4846
|
seeds: [
|
|
@@ -4882,8 +4882,8 @@ async function getProcessReferrerWithdrawalInstructionAsync(input, config) {
|
|
|
4882
4882
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
4883
4883
|
]
|
|
4884
4884
|
});
|
|
4885
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4886
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
4885
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4886
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
4887
4887
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
4888
4888
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
4889
4889
|
return Object.freeze({
|
|
@@ -5120,7 +5120,7 @@ async function getProcessSwitchInstructionAsync(input, config) {
|
|
|
5120
5120
|
isWritable: false
|
|
5121
5121
|
}
|
|
5122
5122
|
};
|
|
5123
|
-
if (!accounts.sourceBundleAssetAuthority.value) accounts.sourceBundleAssetAuthority.value = await findSourceBundleAssetAuthorityPda({ sourceBundleAccount: getAddressFromResolvedInstructionAccount("sourceBundleAccount", accounts.sourceBundleAccount.value) });
|
|
5123
|
+
if (!accounts.sourceBundleAssetAuthority.value) accounts.sourceBundleAssetAuthority.value = await findSourceBundleAssetAuthorityPda({ sourceBundleAccount: getAddressFromResolvedInstructionAccount("sourceBundleAccount", accounts.sourceBundleAccount.value) }, { programAddress });
|
|
5124
5124
|
if (!accounts.sourceBundleAssetAccount.value) accounts.sourceBundleAssetAccount.value = await getProgramDerivedAddress({
|
|
5125
5125
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
5126
5126
|
seeds: [
|
|
@@ -5165,15 +5165,15 @@ async function getProcessSwitchInstructionAsync(input, config) {
|
|
|
5165
5165
|
if (!accounts.sourceUserBundleAccount.value) accounts.sourceUserBundleAccount.value = await findSourceUserBundleAccountPda({
|
|
5166
5166
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
5167
5167
|
sourceBundleAccount: getAddressFromResolvedInstructionAccount("sourceBundleAccount", accounts.sourceBundleAccount.value)
|
|
5168
|
-
});
|
|
5169
|
-
if (!accounts.sourceBundleTempData.value) accounts.sourceBundleTempData.value = await findSourceBundleTempDataPda({ sourceBundleAccount: getAddressFromResolvedInstructionAccount("sourceBundleAccount", accounts.sourceBundleAccount.value) });
|
|
5170
|
-
if (!accounts.sourceOracleData.value) accounts.sourceOracleData.value = await findSourceOracleDataPda({ sourceBundleAccount: getAddressFromResolvedInstructionAccount("sourceBundleAccount", accounts.sourceBundleAccount.value) });
|
|
5168
|
+
}, { programAddress });
|
|
5169
|
+
if (!accounts.sourceBundleTempData.value) accounts.sourceBundleTempData.value = await findSourceBundleTempDataPda({ sourceBundleAccount: getAddressFromResolvedInstructionAccount("sourceBundleAccount", accounts.sourceBundleAccount.value) }, { programAddress });
|
|
5170
|
+
if (!accounts.sourceOracleData.value) accounts.sourceOracleData.value = await findSourceOracleDataPda({ sourceBundleAccount: getAddressFromResolvedInstructionAccount("sourceBundleAccount", accounts.sourceBundleAccount.value) }, { programAddress });
|
|
5171
5171
|
if (!accounts.targetUserBundleAccount.value) accounts.targetUserBundleAccount.value = await findTargetUserBundleAccountPda({
|
|
5172
5172
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
5173
5173
|
targetBundleAccount: getAddressFromResolvedInstructionAccount("targetBundleAccount", accounts.targetBundleAccount.value)
|
|
5174
|
-
});
|
|
5175
|
-
if (!accounts.targetBundleTempData.value) accounts.targetBundleTempData.value = await findTargetBundleTempDataPda({ targetBundleAccount: getAddressFromResolvedInstructionAccount("targetBundleAccount", accounts.targetBundleAccount.value) });
|
|
5176
|
-
if (!accounts.targetPendingBundleAssetAuthority.value) accounts.targetPendingBundleAssetAuthority.value = await findTargetPendingBundleAssetAuthorityPda({ targetBundleAccount: getAddressFromResolvedInstructionAccount("targetBundleAccount", accounts.targetBundleAccount.value) });
|
|
5174
|
+
}, { programAddress });
|
|
5175
|
+
if (!accounts.targetBundleTempData.value) accounts.targetBundleTempData.value = await findTargetBundleTempDataPda({ targetBundleAccount: getAddressFromResolvedInstructionAccount("targetBundleAccount", accounts.targetBundleAccount.value) }, { programAddress });
|
|
5176
|
+
if (!accounts.targetPendingBundleAssetAuthority.value) accounts.targetPendingBundleAssetAuthority.value = await findTargetPendingBundleAssetAuthorityPda({ targetBundleAccount: getAddressFromResolvedInstructionAccount("targetBundleAccount", accounts.targetBundleAccount.value) }, { programAddress });
|
|
5177
5177
|
if (!accounts.targetPendingDepositTokenAccount.value) accounts.targetPendingDepositTokenAccount.value = await getProgramDerivedAddress({
|
|
5178
5178
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
5179
5179
|
seeds: [
|
|
@@ -5215,7 +5215,7 @@ async function getProcessSwitchInstructionAsync(input, config) {
|
|
|
5215
5215
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
5216
5216
|
]
|
|
5217
5217
|
});
|
|
5218
|
-
if (!accounts.targetOracleData.value) accounts.targetOracleData.value = await findTargetOracleDataPda({ targetBundleAccount: getAddressFromResolvedInstructionAccount("targetBundleAccount", accounts.targetBundleAccount.value) });
|
|
5218
|
+
if (!accounts.targetOracleData.value) accounts.targetOracleData.value = await findTargetOracleDataPda({ targetBundleAccount: getAddressFromResolvedInstructionAccount("targetBundleAccount", accounts.targetBundleAccount.value) }, { programAddress });
|
|
5219
5219
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
5220
5220
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
5221
5221
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
@@ -5493,7 +5493,7 @@ async function getProcessWithdrawalInstructionAsync(input, config) {
|
|
|
5493
5493
|
isWritable: false
|
|
5494
5494
|
}
|
|
5495
5495
|
};
|
|
5496
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
5496
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
5497
5497
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
5498
5498
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
5499
5499
|
seeds: [
|
|
@@ -5535,13 +5535,13 @@ async function getProcessWithdrawalInstructionAsync(input, config) {
|
|
|
5535
5535
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
5536
5536
|
]
|
|
5537
5537
|
});
|
|
5538
|
-
if (!accounts.pendingBundleAssetAuthority.value) accounts.pendingBundleAssetAuthority.value = await findPendingBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
5538
|
+
if (!accounts.pendingBundleAssetAuthority.value) accounts.pendingBundleAssetAuthority.value = await findPendingBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
5539
5539
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findUserBundleAccountPda({
|
|
5540
5540
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
5541
5541
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
5542
|
-
});
|
|
5543
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
5544
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
5542
|
+
}, { programAddress });
|
|
5543
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
5544
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
5545
5545
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
5546
5546
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
5547
5547
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
@@ -5741,12 +5741,12 @@ async function getReferrerRequestWithdrawInstructionAsync(input, config) {
|
|
|
5741
5741
|
isWritable: true
|
|
5742
5742
|
}
|
|
5743
5743
|
};
|
|
5744
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
5745
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
5744
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
5745
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
5746
5746
|
if (!accounts.referrerAccount.value) accounts.referrerAccount.value = await findReferrerAccountPda({
|
|
5747
5747
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value),
|
|
5748
5748
|
referrer: getAddressFromResolvedInstructionAccount("referrer", accounts.referrer.value)
|
|
5749
|
-
});
|
|
5749
|
+
}, { programAddress });
|
|
5750
5750
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
5751
5751
|
return Object.freeze({
|
|
5752
5752
|
accounts: [
|
|
@@ -5906,8 +5906,8 @@ async function getRefundDepositInstructionAsync(input, config) {
|
|
|
5906
5906
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findUserBundleAccountPda({
|
|
5907
5907
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
5908
5908
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
5909
|
-
});
|
|
5910
|
-
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
5909
|
+
}, { programAddress });
|
|
5910
|
+
if (!accounts.bundleAssetAuthority.value) accounts.bundleAssetAuthority.value = await findBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
5911
5911
|
if (!accounts.bundleAssetAccount.value) accounts.bundleAssetAccount.value = await getProgramDerivedAddress({
|
|
5912
5912
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
5913
5913
|
seeds: [
|
|
@@ -5949,7 +5949,7 @@ async function getRefundDepositInstructionAsync(input, config) {
|
|
|
5949
5949
|
getAddressEncoder().encode(getAddressFromResolvedInstructionAccount("assetAddress", accounts.assetAddress.value))
|
|
5950
5950
|
]
|
|
5951
5951
|
});
|
|
5952
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
5952
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
5953
5953
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
5954
5954
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
5955
5955
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
@@ -6131,11 +6131,11 @@ async function getRegisterReferrerInstructionAsync(input, config) {
|
|
|
6131
6131
|
if (!accounts.referrerAccount.value) accounts.referrerAccount.value = await findReferrerAccountPda({
|
|
6132
6132
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value),
|
|
6133
6133
|
referrer: getAddressFromResolvedInstructionAccount("referrer", accounts.referrer.value)
|
|
6134
|
-
});
|
|
6134
|
+
}, { programAddress });
|
|
6135
6135
|
if (!accounts.referrerUserBundleAccount.value) accounts.referrerUserBundleAccount.value = await findReferrerUserBundleAccountPda({
|
|
6136
6136
|
referrer: getAddressFromResolvedInstructionAccount("referrer", accounts.referrer.value),
|
|
6137
6137
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
6138
|
-
});
|
|
6138
|
+
}, { programAddress });
|
|
6139
6139
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
6140
6140
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
6141
6141
|
return Object.freeze({
|
|
@@ -6273,7 +6273,7 @@ async function getRemoveStrategyInstructionAsync(input, config) {
|
|
|
6273
6273
|
if (!accounts.strategyAccount.value) accounts.strategyAccount.value = await findStrategyAccountPda({
|
|
6274
6274
|
receiverAddress: getAddressFromResolvedInstructionAccount("receiverAddress", accounts.receiverAddress.value),
|
|
6275
6275
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
6276
|
-
});
|
|
6276
|
+
}, { programAddress });
|
|
6277
6277
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
6278
6278
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
6279
6279
|
return Object.freeze({
|
|
@@ -6432,9 +6432,9 @@ async function getRequestBundleSwitchInstructionAsync(input, config) {
|
|
|
6432
6432
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findRequestBundleSwitchUserBundleAccountPda({
|
|
6433
6433
|
user: getAddressFromResolvedInstructionAccount("user", accounts.user.value),
|
|
6434
6434
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
6435
|
-
});
|
|
6436
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
6437
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
6435
|
+
}, { programAddress });
|
|
6436
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
6437
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
6438
6438
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
6439
6439
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
6440
6440
|
if (!accounts.rent.value) accounts.rent.value = "SysvarRent111111111111111111111111111111111";
|
|
@@ -6638,7 +6638,7 @@ async function getRequestDepositInstructionAsync(input, config) {
|
|
|
6638
6638
|
}
|
|
6639
6639
|
};
|
|
6640
6640
|
const args = { ...input };
|
|
6641
|
-
if (!accounts.pendingBundleAssetAuthority.value) accounts.pendingBundleAssetAuthority.value = await findPendingBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
6641
|
+
if (!accounts.pendingBundleAssetAuthority.value) accounts.pendingBundleAssetAuthority.value = await findPendingBundleAssetAuthorityPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
6642
6642
|
if (!accounts.pendingDepositTokenAccount.value) accounts.pendingDepositTokenAccount.value = await getProgramDerivedAddress({
|
|
6643
6643
|
programAddress: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
|
|
6644
6644
|
seeds: [
|
|
@@ -6683,9 +6683,9 @@ async function getRequestDepositInstructionAsync(input, config) {
|
|
|
6683
6683
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findRequestBundleSwitchUserBundleAccountPda({
|
|
6684
6684
|
user: getAddressFromResolvedInstructionAccount("user", accounts.user.value),
|
|
6685
6685
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
6686
|
-
});
|
|
6687
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
6688
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
6686
|
+
}, { programAddress });
|
|
6687
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
6688
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
6689
6689
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
6690
6690
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
6691
6691
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
@@ -6888,9 +6888,9 @@ async function getRequestWithdrawalInstructionAsync(input, config) {
|
|
|
6888
6888
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findRequestBundleSwitchUserBundleAccountPda({
|
|
6889
6889
|
user: getAddressFromResolvedInstructionAccount("user", accounts.user.value),
|
|
6890
6890
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
6891
|
-
});
|
|
6892
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
6893
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
6891
|
+
}, { programAddress });
|
|
6892
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
6893
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
6894
6894
|
if (!accounts.tokenProgram.value) accounts.tokenProgram.value = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
6895
6895
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
6896
6896
|
if (!accounts.rent.value) accounts.rent.value = "SysvarRent111111111111111111111111111111111";
|
|
@@ -7052,8 +7052,8 @@ async function getSetBundleCreatorInstructionAsync(input, config) {
|
|
|
7052
7052
|
}
|
|
7053
7053
|
};
|
|
7054
7054
|
const args = { ...input };
|
|
7055
|
-
if (!accounts.bundleMasterAccount.value) accounts.bundleMasterAccount.value = await findBundleMasterAccountPda();
|
|
7056
|
-
if (!accounts.bundleCreatorAccount.value) accounts.bundleCreatorAccount.value = await findBundleCreatorAccountPda({ creator: getAddressFromResolvedInstructionAccount("creator", accounts.creator.value) });
|
|
7055
|
+
if (!accounts.bundleMasterAccount.value) accounts.bundleMasterAccount.value = await findBundleMasterAccountPda({ programAddress });
|
|
7056
|
+
if (!accounts.bundleCreatorAccount.value) accounts.bundleCreatorAccount.value = await findBundleCreatorAccountPda({ creator: getAddressFromResolvedInstructionAccount("creator", accounts.creator.value) }, { programAddress });
|
|
7057
7057
|
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
7058
7058
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
7059
7059
|
return Object.freeze({
|
|
@@ -8165,7 +8165,7 @@ async function getSetUserFeeOverrideInstructionAsync(input, config) {
|
|
|
8165
8165
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findUserBundleAccountPda({
|
|
8166
8166
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
8167
8167
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
8168
|
-
});
|
|
8168
|
+
}, { programAddress });
|
|
8169
8169
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
8170
8170
|
return Object.freeze({
|
|
8171
8171
|
accounts: [
|
|
@@ -8295,7 +8295,7 @@ async function getSetUserReferrerInstructionAsync(input, config) {
|
|
|
8295
8295
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findRequestBundleSwitchUserBundleAccountPda({
|
|
8296
8296
|
user: getAddressFromResolvedInstructionAccount("user", accounts.user.value),
|
|
8297
8297
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
8298
|
-
});
|
|
8298
|
+
}, { programAddress });
|
|
8299
8299
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
8300
8300
|
return Object.freeze({
|
|
8301
8301
|
accounts: [
|
|
@@ -8442,7 +8442,7 @@ async function getSetUserWithdrawalTimingOverrideInstructionAsync(input, config)
|
|
|
8442
8442
|
if (!accounts.userBundleAccount.value) accounts.userBundleAccount.value = await findUserBundleAccountPda({
|
|
8443
8443
|
userBundleAccountOwner: getAddressFromResolvedInstructionAccount("userBundleAccountOwner", accounts.userBundleAccountOwner.value),
|
|
8444
8444
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
8445
|
-
});
|
|
8445
|
+
}, { programAddress });
|
|
8446
8446
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
8447
8447
|
return Object.freeze({
|
|
8448
8448
|
accounts: [
|
|
@@ -8650,8 +8650,8 @@ async function getStartDistributionInstructionAsync(input, config) {
|
|
|
8650
8650
|
isWritable: true
|
|
8651
8651
|
}
|
|
8652
8652
|
};
|
|
8653
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
8654
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
8653
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
8654
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
8655
8655
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
8656
8656
|
return Object.freeze({
|
|
8657
8657
|
accounts: [
|
|
@@ -8777,7 +8777,7 @@ async function getUpdateAllocationsInstructionAsync(input, config) {
|
|
|
8777
8777
|
if (!accounts.strategyAccount.value) accounts.strategyAccount.value = await findStrategyAccountPda({
|
|
8778
8778
|
receiverAddress: getAddressFromResolvedInstructionAccount("receiverAddress", accounts.receiverAddress.value),
|
|
8779
8779
|
bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value)
|
|
8780
|
-
});
|
|
8780
|
+
}, { programAddress });
|
|
8781
8781
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
8782
8782
|
return Object.freeze({
|
|
8783
8783
|
accounts: [
|
|
@@ -8901,8 +8901,8 @@ async function getUpdateOracleInstructionAsync(input, config) {
|
|
|
8901
8901
|
}
|
|
8902
8902
|
};
|
|
8903
8903
|
const args = { ...input };
|
|
8904
|
-
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
8905
|
-
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) });
|
|
8904
|
+
if (!accounts.bundleTempData.value) accounts.bundleTempData.value = await findBundleTempDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
8905
|
+
if (!accounts.oracleData.value) accounts.oracleData.value = await findOracleDataPda({ bundleAccount: getAddressFromResolvedInstructionAccount("bundleAccount", accounts.bundleAccount.value) }, { programAddress });
|
|
8906
8906
|
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
8907
8907
|
return Object.freeze({
|
|
8908
8908
|
accounts: [
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-PNArbjle.mjs";
|
|
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
3
|
import { address, getAddressEncoder, getProgramDerivedAddress } from "@solana/kit";
|
|
4
4
|
|
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.6",
|
|
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",
|