@neutral-trade/sdk 0.4.18 → 1.0.1

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.
@@ -0,0 +1,3489 @@
1
+ import { Account, AccountMeta, AccountSignerMeta, Address, ClientWithPayer, ClientWithRpc, ClientWithTransactionPlanning, ClientWithTransactionSending, Codec, Decoder, EncodedAccount, Encoder, ExtendedClient, FetchAccountConfig, FetchAccountsConfig, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, GetAccountInfoApi, GetMultipleAccountsApi, Instruction, InstructionWithAccounts, InstructionWithData, MaybeAccount, MaybeEncodedAccount, ProgramDerivedAddress, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, SolanaError, TransactionSigner, WritableAccount, WritableSignerAccount, fetchEncodedAccount, fetchEncodedAccounts } from "@solana/kit";
2
+ import { SelfFetchFunctions, SelfPlanAndSendFunctions } from "@solana/program-client-core";
3
+
4
+ //#region src/generated/accounts/bundle.d.ts
5
+
6
+ declare const BUNDLE_DISCRIMINATOR: ReadonlyUint8Array;
7
+ declare function getBundleDiscriminatorBytes(): ReadonlyUint8Array;
8
+ type Bundle = {
9
+ discriminator: ReadonlyUint8Array;
10
+ name: ReadonlyUint8Array;
11
+ manager: Address;
12
+ keeper: Address;
13
+ treasuryAccount: Address;
14
+ allocatedReceivers: Array<Address>;
15
+ bundleUnderlyingBalance: bigint;
16
+ maxDepositAmount: bigint;
17
+ withdrawalDelay: bigint;
18
+ performanceFee: number;
19
+ managementFeeBps: number;
20
+ depositFee: number;
21
+ withdrawalFee: number;
22
+ managerPfeeShares: bigint;
23
+ currentAllocationBps: number;
24
+ oracleBuffer: bigint;
25
+ totalShares: bigint;
26
+ assetPrecision: bigint;
27
+ assetAddress: Address;
28
+ assetDecimals: number;
29
+ withdrawalTMin: bigint;
30
+ withdrawalTMax: bigint;
31
+ withdrawalCurve: number;
32
+ permissionned: boolean;
33
+ managerMfeeShares: bigint;
34
+ minDepositAmount: bigint;
35
+ oracleUpdateTimeLimit: bigint;
36
+ oracleMaxAge: bigint;
37
+ withdrawalRedemptionRequestCutoffTs: bigint;
38
+ withdrawalRedemptionUnlockCurrentCycleTs: bigint;
39
+ withdrawalRedemptionUnlockNextCycleTs: bigint;
40
+ referralPfeeBps: number;
41
+ referralMfeeBps: number;
42
+ referrerEnabled: boolean;
43
+ referrerMinDepositAmount: bigint;
44
+ padding: ReadonlyUint8Array;
45
+ };
46
+ type BundleArgs = {
47
+ name: ReadonlyUint8Array;
48
+ manager: Address;
49
+ keeper: Address;
50
+ treasuryAccount: Address;
51
+ allocatedReceivers: Array<Address>;
52
+ bundleUnderlyingBalance: number | bigint;
53
+ maxDepositAmount: number | bigint;
54
+ withdrawalDelay: number | bigint;
55
+ performanceFee: number;
56
+ managementFeeBps: number;
57
+ depositFee: number;
58
+ withdrawalFee: number;
59
+ managerPfeeShares: number | bigint;
60
+ currentAllocationBps: number;
61
+ oracleBuffer: number | bigint;
62
+ totalShares: number | bigint;
63
+ assetPrecision: number | bigint;
64
+ assetAddress: Address;
65
+ assetDecimals: number;
66
+ withdrawalTMin: number | bigint;
67
+ withdrawalTMax: number | bigint;
68
+ withdrawalCurve: number;
69
+ permissionned: boolean;
70
+ managerMfeeShares: number | bigint;
71
+ minDepositAmount: number | bigint;
72
+ oracleUpdateTimeLimit: number | bigint;
73
+ oracleMaxAge: number | bigint;
74
+ withdrawalRedemptionRequestCutoffTs: number | bigint;
75
+ withdrawalRedemptionUnlockCurrentCycleTs: number | bigint;
76
+ withdrawalRedemptionUnlockNextCycleTs: number | bigint;
77
+ referralPfeeBps: number;
78
+ referralMfeeBps: number;
79
+ referrerEnabled: boolean;
80
+ referrerMinDepositAmount: number | bigint;
81
+ padding: ReadonlyUint8Array;
82
+ };
83
+ /** Gets the encoder for {@link BundleArgs} account data. */
84
+ declare function getBundleEncoder(): Encoder<BundleArgs>;
85
+ /** Gets the decoder for {@link Bundle} account data. */
86
+ declare function getBundleDecoder(): Decoder<Bundle>;
87
+ /** Gets the codec for {@link Bundle} account data. */
88
+ declare function getBundleCodec(): Codec<BundleArgs, Bundle>;
89
+ declare function decodeBundle<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<Bundle, TAddress>;
90
+ declare function decodeBundle<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<Bundle, TAddress>;
91
+ declare function fetchBundle<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<Bundle, TAddress>>;
92
+ declare function fetchMaybeBundle<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<Bundle, TAddress>>;
93
+ declare function fetchAllBundle(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<Bundle>[]>;
94
+ declare function fetchAllMaybeBundle(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<Bundle>[]>;
95
+ //#endregion
96
+ //#region src/generated/accounts/bundleCreatorAccount.d.ts
97
+ declare const BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR: ReadonlyUint8Array;
98
+ declare function getBundleCreatorAccountDiscriminatorBytes(): ReadonlyUint8Array;
99
+ type BundleCreatorAccount = {
100
+ discriminator: ReadonlyUint8Array;
101
+ allowed: boolean;
102
+ padding: ReadonlyUint8Array;
103
+ };
104
+ type BundleCreatorAccountArgs = {
105
+ allowed: boolean;
106
+ padding: ReadonlyUint8Array;
107
+ };
108
+ /** Gets the encoder for {@link BundleCreatorAccountArgs} account data. */
109
+ declare function getBundleCreatorAccountEncoder(): FixedSizeEncoder<BundleCreatorAccountArgs>;
110
+ /** Gets the decoder for {@link BundleCreatorAccount} account data. */
111
+ declare function getBundleCreatorAccountDecoder(): FixedSizeDecoder<BundleCreatorAccount>;
112
+ /** Gets the codec for {@link BundleCreatorAccount} account data. */
113
+ declare function getBundleCreatorAccountCodec(): FixedSizeCodec<BundleCreatorAccountArgs, BundleCreatorAccount>;
114
+ declare function decodeBundleCreatorAccount<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<BundleCreatorAccount, TAddress>;
115
+ declare function decodeBundleCreatorAccount<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<BundleCreatorAccount, TAddress>;
116
+ declare function fetchBundleCreatorAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<BundleCreatorAccount, TAddress>>;
117
+ declare function fetchMaybeBundleCreatorAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<BundleCreatorAccount, TAddress>>;
118
+ declare function fetchAllBundleCreatorAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<BundleCreatorAccount>[]>;
119
+ declare function fetchAllMaybeBundleCreatorAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<BundleCreatorAccount>[]>;
120
+ declare function getBundleCreatorAccountSize(): number;
121
+ //#endregion
122
+ //#region src/generated/accounts/bundleMasterAccount.d.ts
123
+ declare const BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR: ReadonlyUint8Array;
124
+ declare function getBundleMasterAccountDiscriminatorBytes(): ReadonlyUint8Array;
125
+ type BundleMasterAccount = {
126
+ discriminator: ReadonlyUint8Array;
127
+ admin: Address;
128
+ padding: ReadonlyUint8Array;
129
+ };
130
+ type BundleMasterAccountArgs = {
131
+ admin: Address;
132
+ padding: ReadonlyUint8Array;
133
+ };
134
+ /** Gets the encoder for {@link BundleMasterAccountArgs} account data. */
135
+ declare function getBundleMasterAccountEncoder(): FixedSizeEncoder<BundleMasterAccountArgs>;
136
+ /** Gets the decoder for {@link BundleMasterAccount} account data. */
137
+ declare function getBundleMasterAccountDecoder(): FixedSizeDecoder<BundleMasterAccount>;
138
+ /** Gets the codec for {@link BundleMasterAccount} account data. */
139
+ declare function getBundleMasterAccountCodec(): FixedSizeCodec<BundleMasterAccountArgs, BundleMasterAccount>;
140
+ declare function decodeBundleMasterAccount<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<BundleMasterAccount, TAddress>;
141
+ declare function decodeBundleMasterAccount<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<BundleMasterAccount, TAddress>;
142
+ declare function fetchBundleMasterAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<BundleMasterAccount, TAddress>>;
143
+ declare function fetchMaybeBundleMasterAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<BundleMasterAccount, TAddress>>;
144
+ declare function fetchAllBundleMasterAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<BundleMasterAccount>[]>;
145
+ declare function fetchAllMaybeBundleMasterAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<BundleMasterAccount>[]>;
146
+ declare function getBundleMasterAccountSize(): number;
147
+ //#endregion
148
+ //#region src/generated/accounts/bundleTempData.d.ts
149
+ declare const BUNDLE_TEMP_DATA_DISCRIMINATOR: ReadonlyUint8Array;
150
+ declare function getBundleTempDataDiscriminatorBytes(): ReadonlyUint8Array;
151
+ type BundleTempData = {
152
+ discriminator: ReadonlyUint8Array;
153
+ cumulativePendingDeposits: bigint;
154
+ pendingDepositsCounter: bigint;
155
+ pendingWithdrawalsCounter: bigint;
156
+ pendingLockedWithdrawalsCounter: bigint;
157
+ lastTotalSharesMinted: bigint;
158
+ lastNettingTimestamp: bigint;
159
+ isNettingDone: boolean;
160
+ distributionBaseAmount: bigint;
161
+ isDistributionStarted: boolean;
162
+ pausedDepositsWithdrawals: boolean;
163
+ leftToDistribute: bigint;
164
+ allocatedShares: bigint;
165
+ padding: ReadonlyUint8Array;
166
+ };
167
+ type BundleTempDataArgs = {
168
+ cumulativePendingDeposits: number | bigint;
169
+ pendingDepositsCounter: number | bigint;
170
+ pendingWithdrawalsCounter: number | bigint;
171
+ pendingLockedWithdrawalsCounter: number | bigint;
172
+ lastTotalSharesMinted: number | bigint;
173
+ lastNettingTimestamp: number | bigint;
174
+ isNettingDone: boolean;
175
+ distributionBaseAmount: number | bigint;
176
+ isDistributionStarted: boolean;
177
+ pausedDepositsWithdrawals: boolean;
178
+ leftToDistribute: number | bigint;
179
+ allocatedShares: number | bigint;
180
+ padding: ReadonlyUint8Array;
181
+ };
182
+ /** Gets the encoder for {@link BundleTempDataArgs} account data. */
183
+ declare function getBundleTempDataEncoder(): FixedSizeEncoder<BundleTempDataArgs>;
184
+ /** Gets the decoder for {@link BundleTempData} account data. */
185
+ declare function getBundleTempDataDecoder(): FixedSizeDecoder<BundleTempData>;
186
+ /** Gets the codec for {@link BundleTempData} account data. */
187
+ declare function getBundleTempDataCodec(): FixedSizeCodec<BundleTempDataArgs, BundleTempData>;
188
+ declare function decodeBundleTempData<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<BundleTempData, TAddress>;
189
+ declare function decodeBundleTempData<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<BundleTempData, TAddress>;
190
+ declare function fetchBundleTempData<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<BundleTempData, TAddress>>;
191
+ declare function fetchMaybeBundleTempData<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<BundleTempData, TAddress>>;
192
+ declare function fetchAllBundleTempData(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<BundleTempData>[]>;
193
+ declare function fetchAllMaybeBundleTempData(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<BundleTempData>[]>;
194
+ declare function getBundleTempDataSize(): number;
195
+ //#endregion
196
+ //#region src/generated/accounts/oracleData.d.ts
197
+ declare const ORACLE_DATA_DISCRIMINATOR: ReadonlyUint8Array;
198
+ declare function getOracleDataDiscriminatorBytes(): ReadonlyUint8Array;
199
+ type OracleData = {
200
+ discriminator: ReadonlyUint8Array;
201
+ averageExternalEquity: bigint;
202
+ lastUpdateTime: bigint;
203
+ padding: ReadonlyUint8Array;
204
+ };
205
+ type OracleDataArgs = {
206
+ averageExternalEquity: number | bigint;
207
+ lastUpdateTime: number | bigint;
208
+ padding: ReadonlyUint8Array;
209
+ };
210
+ /** Gets the encoder for {@link OracleDataArgs} account data. */
211
+ declare function getOracleDataEncoder(): FixedSizeEncoder<OracleDataArgs>;
212
+ /** Gets the decoder for {@link OracleData} account data. */
213
+ declare function getOracleDataDecoder(): FixedSizeDecoder<OracleData>;
214
+ /** Gets the codec for {@link OracleData} account data. */
215
+ declare function getOracleDataCodec(): FixedSizeCodec<OracleDataArgs, OracleData>;
216
+ declare function decodeOracleData<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<OracleData, TAddress>;
217
+ declare function decodeOracleData<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<OracleData, TAddress>;
218
+ declare function fetchOracleData<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<OracleData, TAddress>>;
219
+ declare function fetchMaybeOracleData<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<OracleData, TAddress>>;
220
+ declare function fetchAllOracleData(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<OracleData>[]>;
221
+ declare function fetchAllMaybeOracleData(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<OracleData>[]>;
222
+ declare function getOracleDataSize(): number;
223
+ //#endregion
224
+ //#region src/generated/accounts/referrerAccount.d.ts
225
+ declare const REFERRER_ACCOUNT_DISCRIMINATOR: ReadonlyUint8Array;
226
+ declare function getReferrerAccountDiscriminatorBytes(): ReadonlyUint8Array;
227
+ type ReferrerAccount = {
228
+ discriminator: ReadonlyUint8Array;
229
+ bundle: Address;
230
+ referrer: Address;
231
+ accruedPfeeShares: bigint;
232
+ accruedMfeeShares: bigint;
233
+ active: boolean;
234
+ bump: number;
235
+ customPfeeBps: number;
236
+ customMfeeBps: number;
237
+ rateOverrideFlags: number;
238
+ pendingWithdrawShares: bigint;
239
+ estimatedPendingWithdrawalValue: bigint;
240
+ withdrawalAvailableTimestamp: bigint;
241
+ lastWithdrawalProcessTimestamp: bigint;
242
+ padding: ReadonlyUint8Array;
243
+ };
244
+ type ReferrerAccountArgs = {
245
+ bundle: Address;
246
+ referrer: Address;
247
+ accruedPfeeShares: number | bigint;
248
+ accruedMfeeShares: number | bigint;
249
+ active: boolean;
250
+ bump: number;
251
+ customPfeeBps: number;
252
+ customMfeeBps: number;
253
+ rateOverrideFlags: number;
254
+ pendingWithdrawShares: number | bigint;
255
+ estimatedPendingWithdrawalValue: number | bigint;
256
+ withdrawalAvailableTimestamp: number | bigint;
257
+ lastWithdrawalProcessTimestamp: number | bigint;
258
+ padding: ReadonlyUint8Array;
259
+ };
260
+ /** Gets the encoder for {@link ReferrerAccountArgs} account data. */
261
+ declare function getReferrerAccountEncoder(): FixedSizeEncoder<ReferrerAccountArgs>;
262
+ /** Gets the decoder for {@link ReferrerAccount} account data. */
263
+ declare function getReferrerAccountDecoder(): FixedSizeDecoder<ReferrerAccount>;
264
+ /** Gets the codec for {@link ReferrerAccount} account data. */
265
+ declare function getReferrerAccountCodec(): FixedSizeCodec<ReferrerAccountArgs, ReferrerAccount>;
266
+ declare function decodeReferrerAccount<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<ReferrerAccount, TAddress>;
267
+ declare function decodeReferrerAccount<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<ReferrerAccount, TAddress>;
268
+ declare function fetchReferrerAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<ReferrerAccount, TAddress>>;
269
+ declare function fetchMaybeReferrerAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<ReferrerAccount, TAddress>>;
270
+ declare function fetchAllReferrerAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<ReferrerAccount>[]>;
271
+ declare function fetchAllMaybeReferrerAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<ReferrerAccount>[]>;
272
+ declare function getReferrerAccountSize(): number;
273
+ //#endregion
274
+ //#region src/generated/accounts/strategy.d.ts
275
+ declare const STRATEGY_DISCRIMINATOR: ReadonlyUint8Array;
276
+ declare function getStrategyDiscriminatorBytes(): ReadonlyUint8Array;
277
+ type Strategy = {
278
+ discriminator: ReadonlyUint8Array;
279
+ receiverAddress: Address;
280
+ allocationBps: number;
281
+ allowed: boolean;
282
+ padding: ReadonlyUint8Array;
283
+ };
284
+ type StrategyArgs = {
285
+ receiverAddress: Address;
286
+ allocationBps: number;
287
+ allowed: boolean;
288
+ padding: ReadonlyUint8Array;
289
+ };
290
+ /** Gets the encoder for {@link StrategyArgs} account data. */
291
+ declare function getStrategyEncoder(): FixedSizeEncoder<StrategyArgs>;
292
+ /** Gets the decoder for {@link Strategy} account data. */
293
+ declare function getStrategyDecoder(): FixedSizeDecoder<Strategy>;
294
+ /** Gets the codec for {@link Strategy} account data. */
295
+ declare function getStrategyCodec(): FixedSizeCodec<StrategyArgs, Strategy>;
296
+ declare function decodeStrategy<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<Strategy, TAddress>;
297
+ declare function decodeStrategy<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<Strategy, TAddress>;
298
+ declare function fetchStrategy<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<Strategy, TAddress>>;
299
+ declare function fetchMaybeStrategy<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<Strategy, TAddress>>;
300
+ declare function fetchAllStrategy(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<Strategy>[]>;
301
+ declare function fetchAllMaybeStrategy(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<Strategy>[]>;
302
+ declare function getStrategySize(): number;
303
+ //#endregion
304
+ //#region src/generated/accounts/userBundleAccount.d.ts
305
+ declare const USER_BUNDLE_ACCOUNT_DISCRIMINATOR: ReadonlyUint8Array;
306
+ declare function getUserBundleAccountDiscriminatorBytes(): ReadonlyUint8Array;
307
+ type UserBundleAccount = {
308
+ discriminator: ReadonlyUint8Array;
309
+ owner: Address;
310
+ lastDepositTimestamp: bigint;
311
+ shares: bigint;
312
+ pendingDeposit: bigint;
313
+ pendingShares: bigint;
314
+ estimatedPendingWithdrawalValue: bigint;
315
+ withdrawalAvailableTimestamp: bigint;
316
+ lastWithdrawalProcessTimestamp: bigint;
317
+ lastHighWaterMark: bigint;
318
+ hwmPerShare: bigint;
319
+ lastManagementFeeTimestamp: bigint;
320
+ netDeposits: bigint;
321
+ totalFeeCharged: bigint;
322
+ customDepositFeeBps: number;
323
+ customWithdrawalFeeBps: number;
324
+ customPerformanceFeeBps: number;
325
+ customManagementFeeBps: number;
326
+ feeOverrideFlags: number;
327
+ customWithdrawalDelay: bigint;
328
+ customWithdrawalTMin: bigint;
329
+ customWithdrawalTMax: bigint;
330
+ customWithdrawalCurve: number;
331
+ withdrawalTimingOverrideFlags: number;
332
+ switchActive: boolean;
333
+ switchTargetBundle: Address;
334
+ switchCreatedAt: bigint;
335
+ referrer: Address;
336
+ referralPfeeBps: number;
337
+ referralMfeeBps: number;
338
+ referralFlags: number;
339
+ padding: ReadonlyUint8Array;
340
+ };
341
+ type UserBundleAccountArgs = {
342
+ owner: Address;
343
+ lastDepositTimestamp: number | bigint;
344
+ shares: number | bigint;
345
+ pendingDeposit: number | bigint;
346
+ pendingShares: number | bigint;
347
+ estimatedPendingWithdrawalValue: number | bigint;
348
+ withdrawalAvailableTimestamp: number | bigint;
349
+ lastWithdrawalProcessTimestamp: number | bigint;
350
+ lastHighWaterMark: number | bigint;
351
+ hwmPerShare: number | bigint;
352
+ lastManagementFeeTimestamp: number | bigint;
353
+ netDeposits: number | bigint;
354
+ totalFeeCharged: number | bigint;
355
+ customDepositFeeBps: number;
356
+ customWithdrawalFeeBps: number;
357
+ customPerformanceFeeBps: number;
358
+ customManagementFeeBps: number;
359
+ feeOverrideFlags: number;
360
+ customWithdrawalDelay: number | bigint;
361
+ customWithdrawalTMin: number | bigint;
362
+ customWithdrawalTMax: number | bigint;
363
+ customWithdrawalCurve: number;
364
+ withdrawalTimingOverrideFlags: number;
365
+ switchActive: boolean;
366
+ switchTargetBundle: Address;
367
+ switchCreatedAt: number | bigint;
368
+ referrer: Address;
369
+ referralPfeeBps: number;
370
+ referralMfeeBps: number;
371
+ referralFlags: number;
372
+ padding: ReadonlyUint8Array;
373
+ };
374
+ /** Gets the encoder for {@link UserBundleAccountArgs} account data. */
375
+ declare function getUserBundleAccountEncoder(): FixedSizeEncoder<UserBundleAccountArgs>;
376
+ /** Gets the decoder for {@link UserBundleAccount} account data. */
377
+ declare function getUserBundleAccountDecoder(): FixedSizeDecoder<UserBundleAccount>;
378
+ /** Gets the codec for {@link UserBundleAccount} account data. */
379
+ declare function getUserBundleAccountCodec(): FixedSizeCodec<UserBundleAccountArgs, UserBundleAccount>;
380
+ declare function decodeUserBundleAccount<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<UserBundleAccount, TAddress>;
381
+ declare function decodeUserBundleAccount<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<UserBundleAccount, TAddress>;
382
+ declare function fetchUserBundleAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<UserBundleAccount, TAddress>>;
383
+ declare function fetchMaybeUserBundleAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<UserBundleAccount, TAddress>>;
384
+ declare function fetchAllUserBundleAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<UserBundleAccount>[]>;
385
+ declare function fetchAllMaybeUserBundleAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<UserBundleAccount>[]>;
386
+ declare function getUserBundleAccountSize(): number;
387
+ //#endregion
388
+ //#region src/generated/errors/ntbundle.d.ts
389
+ /** InsufficientFunds: Insufficient funds to process withdrawal */
390
+ declare const NTBUNDLE_ERROR__INSUFFICIENT_FUNDS = 6000;
391
+ /** AllocationAmountZero: Allocation amount must be > 0 */
392
+ declare const NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO = 6001;
393
+ /** RedemptionAmountExceeded: Redemption exceeds bundle balance */
394
+ declare const NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED = 6002;
395
+ /** RefillAmountInvalid: Refill amount must be > 0 */
396
+ declare const NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID = 6003;
397
+ /** UnauthorizedKeeperAction: Not bundle keeper */
398
+ declare const NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION = 6004;
399
+ /** UnauthorizedManagerAction: Not bundle manager */
400
+ declare const NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION = 6005;
401
+ /** UnauthorizedAdminAction: Not bundle admin */
402
+ declare const NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION = 6006;
403
+ /** UnauthorizedBundleCreator: Not whitelisted bundle creator */
404
+ declare const NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR = 6007;
405
+ /** CallerNotNeutralFeeIncrementer: Not neutral fee incrementer */
406
+ declare const NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER = 6008;
407
+ /** AmountMustBeBelowMax: Amount above max limit */
408
+ declare const NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX = 6009;
409
+ /** InvalidNeutralFeeIncrementer: Invalid fee incrementer */
410
+ declare const NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER = 6010;
411
+ /** InvalidReceiver: Invalid receiver address */
412
+ declare const NTBUNDLE_ERROR__INVALID_RECEIVER = 6011;
413
+ /** MathError: Math error */
414
+ declare const NTBUNDLE_ERROR__MATH_ERROR = 6012;
415
+ /** InvalidAllocations: Invalid allocations */
416
+ declare const NTBUNDLE_ERROR__INVALID_ALLOCATIONS = 6013;
417
+ /** MustBeInWhitelist: Not in whitelist */
418
+ declare const NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST = 6014;
419
+ /** DistributionAlreadyStarted: Distribution already started */
420
+ declare const NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED = 6015;
421
+ /** DistributionNotStarted: Distribution not started */
422
+ declare const NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED = 6016;
423
+ /** LeftToDistributeNotZero: Distribution amount not zero */
424
+ declare const NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO = 6017;
425
+ /** ReceiverAlreadyAllocated: Receiver already allocated */
426
+ declare const NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED = 6018;
427
+ /** RawTransferReceiver: Not a raw transfer receiver */
428
+ declare const NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER = 6019;
429
+ /** InvalidTwapPeriod: Invalid twap period */
430
+ declare const NTBUNDLE_ERROR__INVALID_TWAP_PERIOD = 6020;
431
+ /** RefillAmountExceeded: Refill amount exceeded */
432
+ declare const NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED = 6021;
433
+ /** PodTokenTotalSupplyZero: Pod token total supply is zero */
434
+ declare const NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO = 6022;
435
+ /** AllocationBpsGreaterThanGlobalAllocationBps: Allocation bps greater than global allocation bps */
436
+ declare const NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS = 6023;
437
+ /** EquityOutOfBufferBound: Equity out of buffer bound */
438
+ declare const NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND = 6024;
439
+ /** RedemptionAmountZero: Redemption amount must be > 0 */
440
+ declare const NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO = 6025;
441
+ /** PendingDepositExists: Pending deposit exists */
442
+ declare const NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS = 6026;
443
+ /** InsufficientSharesBalance: Insufficient Shares balance */
444
+ declare const NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE = 6027;
445
+ /** PendingWithdrawalExists: Pending withdrawal exists */
446
+ declare const NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS = 6028;
447
+ /** PendingDepositOrWithdrawalExists: Pending deposit or withdrawal exists */
448
+ declare const NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS = 6029;
449
+ /** NoPendingWithdrawal: No pending withdrawal */
450
+ declare const NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL = 6030;
451
+ /** WithdrawalAlreadyProcessed: Withdrawal already processed */
452
+ declare const NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED = 6031;
453
+ /** PendingDepositAmountZero: Pending deposit amount is zero */
454
+ declare const NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO = 6032;
455
+ /** InsufficientBundleBalance: Insufficient bundle balance */
456
+ declare const NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE = 6033;
457
+ /** NoPendingTransactions: No pending transactions */
458
+ declare const NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS = 6034;
459
+ /** DepositsExtraInPendingsNotZero: Deposits extra in pendings not zero */
460
+ declare const NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO = 6035;
461
+ /** PendingTransactionsExist: Pending transactions exist */
462
+ declare const NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST = 6036;
463
+ /** ManagerSharesZero: Manager shares is zero */
464
+ declare const NTBUNDLE_ERROR__MANAGER_SHARES_ZERO = 6037;
465
+ /** PausedDepositsWithdrawals: Paused deposits withdrawals */
466
+ declare const NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS = 6038;
467
+ /** UnpausedDepositsWithdrawals: Unpaused deposits withdrawals */
468
+ declare const NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS = 6039;
469
+ /** NettingNotDone: Netting not done */
470
+ declare const NTBUNDLE_ERROR__NETTING_NOT_DONE = 6040;
471
+ /** NettingAlreadyDone: Netting already done */
472
+ declare const NTBUNDLE_ERROR__NETTING_ALREADY_DONE = 6041;
473
+ /** OracleNotUpdated: Oracle not updated */
474
+ declare const NTBUNDLE_ERROR__ORACLE_NOT_UPDATED = 6042;
475
+ /** MaxDepositAmountExceeded: Max deposit amount exceeded */
476
+ declare const NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED = 6043;
477
+ /** TotalAssetExceedNewMaxDepositAmount: Total asset exceed new max deposit amount */
478
+ declare const NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT = 6044;
479
+ /** AllocationBpsIsZero: Allocation bps is zero */
480
+ declare const NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO = 6045;
481
+ /** DepositAmountZero: Deposit amount is zero */
482
+ declare const NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO = 6046;
483
+ /** InvalidWithdrawalDelay: Invalid withdrawal delay */
484
+ declare const NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY = 6047;
485
+ /** InvalidWithdrawalCooldownPeriod: Invalid withdrawal cooldown period */
486
+ declare const NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD = 6048;
487
+ /** InvalidOracleBuffer: Invalid oracle buffer */
488
+ declare const NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER = 6049;
489
+ /** ExcessivePerformanceFee: Excessive performance fee */
490
+ declare const NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE = 6050;
491
+ /** ExcessiveManagementFee: Excessive management fee */
492
+ declare const NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE = 6051;
493
+ /** ExcessiveDepositFee: Excessive deposit fee */
494
+ declare const NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE = 6052;
495
+ /** ExcessiveWithdrawFee: Excessive withdraw fee */
496
+ declare const NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE = 6053;
497
+ /** WithdrawalDelayNotMet: Withdrawal delay not met */
498
+ declare const NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET = 6054;
499
+ /** InvalidAssetPrecision: Invalid asset precision */
500
+ declare const NTBUNDLE_ERROR__INVALID_ASSET_PRECISION = 6055;
501
+ /** InvalidAssetAddress: Invalid asset address */
502
+ declare const NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS = 6056;
503
+ /** InvalidPermissionnedDepositor: Invalid permissionned depositor */
504
+ declare const NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR = 6057;
505
+ /** PayerNotAuthority: Payer is not the authority */
506
+ declare const NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY = 6058;
507
+ /** StrategyAlreadyEnabled: Strategy is already enabled */
508
+ declare const NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED = 6059;
509
+ /** StrategyDisabled: Strategy is disabled */
510
+ declare const NTBUNDLE_ERROR__STRATEGY_DISABLED = 6060;
511
+ /** InvalidWithdrawalAmount: Invalid withdrawal amount */
512
+ declare const NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT = 6061;
513
+ /** BundleNotPermissionned: Not permissionned */
514
+ declare const NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED = 6062;
515
+ /** BundleIsPermissionned: Bundle is permissionned, use initialize_permissioned_bundle_depositor */
516
+ declare const NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED = 6063;
517
+ /** TooManyAllocatedReceivers: Too many allocated receivers */
518
+ declare const NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS = 6064;
519
+ /** OracleUpdateTooFrequent: Oracle update too frequent */
520
+ declare const NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT = 6065;
521
+ /** UserBundleAccountNotEmpty: User bundle account not empty */
522
+ declare const NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY = 6066;
523
+ /** MinDepositAmountNotMet: Min deposit amount not met */
524
+ declare const NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET = 6067;
525
+ /** InvalidOracleMaxAge: Invalid oracle max age */
526
+ declare const NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE = 6068;
527
+ /** InvalidOracleUpdateTimeLimit: Invalid oracle update time limit */
528
+ declare const NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT = 6069;
529
+ /** InvalidWithdrawalRedemptionSchedule: Invalid withdrawal redemption schedule */
530
+ declare const NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE = 6070;
531
+ /** InvalidUserFeeConfig: Invalid user fee configuration */
532
+ declare const NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG = 6071;
533
+ /** EmptyUserFeeClearRequest: Empty user fee clear request */
534
+ declare const NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST = 6072;
535
+ /** NoUserFeeOverrideToClear: No user fee override to clear */
536
+ declare const NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR = 6073;
537
+ /** InvalidUserWithdrawalTimingConfig: Invalid user withdrawal timing configuration */
538
+ declare const NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG = 6074;
539
+ /** EmptyUserWithdrawalTimingClearRequest: Empty user withdrawal timing clear request */
540
+ declare const NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST = 6075;
541
+ /** NoUserWithdrawalTimingOverrideToClear: No user withdrawal timing override to clear */
542
+ declare const NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR = 6076;
543
+ /** SwitchTargetSameAsSource: Switch target cannot be source bundle */
544
+ declare const NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE = 6077;
545
+ /** SwitchAssetMintMismatch: Switch asset mint mismatch */
546
+ declare const NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH = 6078;
547
+ /** SwitchAlreadyActive: Switch already active */
548
+ declare const NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE = 6079;
549
+ /** NoPendingSwitch: No pending switch */
550
+ declare const NTBUNDLE_ERROR__NO_PENDING_SWITCH = 6080;
551
+ /** SwitchTargetAccountsMissing: Switch target accounts missing */
552
+ declare const NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING = 6081;
553
+ /** SwitchTargetAccountMismatch: Switch target account mismatch */
554
+ declare const NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH = 6082;
555
+ /** InvalidFeeSplit: Invalid fee split */
556
+ declare const NTBUNDLE_ERROR__INVALID_FEE_SPLIT = 6083;
557
+ /** InvalidReferralConfig: Invalid referral configuration */
558
+ declare const NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG = 6084;
559
+ /** ReferralsDisabled: Referrals disabled for bundle */
560
+ declare const NTBUNDLE_ERROR__REFERRALS_DISABLED = 6085;
561
+ /** ReferralAlreadySet: Referral already set */
562
+ declare const NTBUNDLE_ERROR__REFERRAL_ALREADY_SET = 6086;
563
+ /** UserBundleAccountHasActivity: User has existing bundle activity */
564
+ declare const NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY = 6087;
565
+ /** ReferrerAccountMissing: Referrer account missing */
566
+ declare const NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING = 6088;
567
+ /** ReferrerAccountMismatch: Referrer account mismatch */
568
+ declare const NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH = 6089;
569
+ /** ReferrerSharesZero: Referrer shares are zero */
570
+ declare const NTBUNDLE_ERROR__REFERRER_SHARES_ZERO = 6090;
571
+ /** UnauthorizedReferrerAction: Not referrer */
572
+ declare const NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION = 6091;
573
+ /** ReferrerDepositTooLow: Referrer deposit too low */
574
+ declare const NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW = 6092;
575
+ type NtbundleError = typeof NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO | typeof NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS | typeof NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO | typeof NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX | typeof NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED | typeof NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED | typeof NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER | typeof NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO | typeof NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO | typeof NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED | typeof NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED | typeof NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST | typeof NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST | typeof NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND | typeof NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE | typeof NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE | typeof NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE | typeof NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE | typeof NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE | typeof NTBUNDLE_ERROR__INSUFFICIENT_FUNDS | typeof NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE | typeof NTBUNDLE_ERROR__INVALID_ALLOCATIONS | typeof NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS | typeof NTBUNDLE_ERROR__INVALID_ASSET_PRECISION | typeof NTBUNDLE_ERROR__INVALID_FEE_SPLIT | typeof NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER | typeof NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER | typeof NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE | typeof NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT | typeof NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR | typeof NTBUNDLE_ERROR__INVALID_RECEIVER | typeof NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG | typeof NTBUNDLE_ERROR__INVALID_TWAP_PERIOD | typeof NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG | typeof NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG | typeof NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT | typeof NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD | typeof NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY | typeof NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE | typeof NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO | typeof NTBUNDLE_ERROR__MANAGER_SHARES_ZERO | typeof NTBUNDLE_ERROR__MATH_ERROR | typeof NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED | typeof NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET | typeof NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST | typeof NTBUNDLE_ERROR__NETTING_ALREADY_DONE | typeof NTBUNDLE_ERROR__NETTING_NOT_DONE | typeof NTBUNDLE_ERROR__NO_PENDING_SWITCH | typeof NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS | typeof NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL | typeof NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR | typeof NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR | typeof NTBUNDLE_ERROR__ORACLE_NOT_UPDATED | typeof NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT | typeof NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS | typeof NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY | typeof NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO | typeof NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS | typeof NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS | typeof NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST | typeof NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS | typeof NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO | typeof NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER | typeof NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED | typeof NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED | typeof NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO | typeof NTBUNDLE_ERROR__REFERRAL_ALREADY_SET | typeof NTBUNDLE_ERROR__REFERRALS_DISABLED | typeof NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH | typeof NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING | typeof NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW | typeof NTBUNDLE_ERROR__REFERRER_SHARES_ZERO | typeof NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED | typeof NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID | typeof NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED | typeof NTBUNDLE_ERROR__STRATEGY_DISABLED | typeof NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE | typeof NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH | typeof NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH | typeof NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING | typeof NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE | typeof NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS | typeof NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT | typeof NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION | typeof NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR | typeof NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION | typeof NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION | typeof NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION | typeof NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS | typeof NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY | typeof NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY | typeof NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED | typeof NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET;
576
+ declare function getNtbundleErrorMessage(code: NtbundleError): string;
577
+ declare function isNtbundleError<TProgramErrorCode extends NtbundleError>(error: unknown, transactionMessage: {
578
+ instructions: Record<number, {
579
+ programAddress: Address;
580
+ }>;
581
+ }, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
582
+ context: Readonly<{
583
+ code: TProgramErrorCode;
584
+ }>;
585
+ }>;
586
+ //#endregion
587
+ //#region src/generated/pdas/bundleAccount.d.ts
588
+ type BundleAccountSeeds = {
589
+ name: ReadonlyUint8Array;
590
+ };
591
+ declare function findBundleAccountPda(seeds: BundleAccountSeeds, config?: {
592
+ programAddress?: Address | undefined;
593
+ }): Promise<ProgramDerivedAddress>;
594
+ //#endregion
595
+ //#region src/generated/pdas/bundleAssetAuthority.d.ts
596
+ type BundleAssetAuthoritySeeds = {
597
+ bundleAccount: Address;
598
+ };
599
+ declare function findBundleAssetAuthorityPda(seeds: BundleAssetAuthoritySeeds, config?: {
600
+ programAddress?: Address | undefined;
601
+ }): Promise<ProgramDerivedAddress>;
602
+ //#endregion
603
+ //#region src/generated/pdas/bundleCreatorAccount.d.ts
604
+ type BundleCreatorAccountSeeds = {
605
+ creator: Address;
606
+ };
607
+ declare function findBundleCreatorAccountPda(seeds: BundleCreatorAccountSeeds, config?: {
608
+ programAddress?: Address | undefined;
609
+ }): Promise<ProgramDerivedAddress>;
610
+ //#endregion
611
+ //#region src/generated/pdas/bundleMasterAccount.d.ts
612
+ declare function findBundleMasterAccountPda(config?: {
613
+ programAddress?: Address | undefined;
614
+ }): Promise<ProgramDerivedAddress>;
615
+ //#endregion
616
+ //#region src/generated/pdas/bundleTempData.d.ts
617
+ type BundleTempDataSeeds = {
618
+ bundleAccount: Address;
619
+ };
620
+ declare function findBundleTempDataPda(seeds: BundleTempDataSeeds, config?: {
621
+ programAddress?: Address | undefined;
622
+ }): Promise<ProgramDerivedAddress>;
623
+ //#endregion
624
+ //#region src/generated/pdas/closeUserBundleAccountUserBundleAccount.d.ts
625
+ type CloseUserBundleAccountUserBundleAccountSeeds = {
626
+ authority: Address;
627
+ bundleAccount: Address;
628
+ };
629
+ declare function findCloseUserBundleAccountUserBundleAccountPda(seeds: CloseUserBundleAccountUserBundleAccountSeeds, config?: {
630
+ programAddress?: Address | undefined;
631
+ }): Promise<ProgramDerivedAddress>;
632
+ //#endregion
633
+ //#region src/generated/pdas/oracleData.d.ts
634
+ type OracleDataSeeds = {
635
+ bundleAccount: Address;
636
+ };
637
+ declare function findOracleDataPda(seeds: OracleDataSeeds, config?: {
638
+ programAddress?: Address | undefined;
639
+ }): Promise<ProgramDerivedAddress>;
640
+ //#endregion
641
+ //#region src/generated/pdas/pendingBundleAssetAuthority.d.ts
642
+ type PendingBundleAssetAuthoritySeeds = {
643
+ bundleAccount: Address;
644
+ };
645
+ declare function findPendingBundleAssetAuthorityPda(seeds: PendingBundleAssetAuthoritySeeds, config?: {
646
+ programAddress?: Address | undefined;
647
+ }): Promise<ProgramDerivedAddress>;
648
+ //#endregion
649
+ //#region src/generated/pdas/referrerAccount.d.ts
650
+ type ReferrerAccountSeeds = {
651
+ bundleAccount: Address;
652
+ referrer: Address;
653
+ };
654
+ declare function findReferrerAccountPda(seeds: ReferrerAccountSeeds, config?: {
655
+ programAddress?: Address | undefined;
656
+ }): Promise<ProgramDerivedAddress>;
657
+ //#endregion
658
+ //#region src/generated/pdas/referrerUserBundleAccount.d.ts
659
+ type ReferrerUserBundleAccountSeeds = {
660
+ referrer: Address;
661
+ bundleAccount: Address;
662
+ };
663
+ declare function findReferrerUserBundleAccountPda(seeds: ReferrerUserBundleAccountSeeds, config?: {
664
+ programAddress?: Address | undefined;
665
+ }): Promise<ProgramDerivedAddress>;
666
+ //#endregion
667
+ //#region src/generated/pdas/requestBundleSwitchUserBundleAccount.d.ts
668
+ type RequestBundleSwitchUserBundleAccountSeeds = {
669
+ user: Address;
670
+ bundleAccount: Address;
671
+ };
672
+ declare function findRequestBundleSwitchUserBundleAccountPda(seeds: RequestBundleSwitchUserBundleAccountSeeds, config?: {
673
+ programAddress?: Address | undefined;
674
+ }): Promise<ProgramDerivedAddress>;
675
+ //#endregion
676
+ //#region src/generated/pdas/sourceBundleAssetAuthority.d.ts
677
+ type SourceBundleAssetAuthoritySeeds = {
678
+ sourceBundleAccount: Address;
679
+ };
680
+ declare function findSourceBundleAssetAuthorityPda(seeds: SourceBundleAssetAuthoritySeeds, config?: {
681
+ programAddress?: Address | undefined;
682
+ }): Promise<ProgramDerivedAddress>;
683
+ //#endregion
684
+ //#region src/generated/pdas/sourceBundleTempData.d.ts
685
+ type SourceBundleTempDataSeeds = {
686
+ sourceBundleAccount: Address;
687
+ };
688
+ declare function findSourceBundleTempDataPda(seeds: SourceBundleTempDataSeeds, config?: {
689
+ programAddress?: Address | undefined;
690
+ }): Promise<ProgramDerivedAddress>;
691
+ //#endregion
692
+ //#region src/generated/pdas/sourceOracleData.d.ts
693
+ type SourceOracleDataSeeds = {
694
+ sourceBundleAccount: Address;
695
+ };
696
+ declare function findSourceOracleDataPda(seeds: SourceOracleDataSeeds, config?: {
697
+ programAddress?: Address | undefined;
698
+ }): Promise<ProgramDerivedAddress>;
699
+ //#endregion
700
+ //#region src/generated/pdas/sourceUserBundleAccount.d.ts
701
+ type SourceUserBundleAccountSeeds = {
702
+ userBundleAccountOwner: Address;
703
+ sourceBundleAccount: Address;
704
+ };
705
+ declare function findSourceUserBundleAccountPda(seeds: SourceUserBundleAccountSeeds, config?: {
706
+ programAddress?: Address | undefined;
707
+ }): Promise<ProgramDerivedAddress>;
708
+ //#endregion
709
+ //#region src/generated/pdas/strategyAccount.d.ts
710
+ type StrategyAccountSeeds = {
711
+ receiverAddress: Address;
712
+ bundleAccount: Address;
713
+ };
714
+ declare function findStrategyAccountPda(seeds: StrategyAccountSeeds, config?: {
715
+ programAddress?: Address | undefined;
716
+ }): Promise<ProgramDerivedAddress>;
717
+ //#endregion
718
+ //#region src/generated/pdas/targetBundleTempData.d.ts
719
+ type TargetBundleTempDataSeeds = {
720
+ targetBundleAccount: Address;
721
+ };
722
+ declare function findTargetBundleTempDataPda(seeds: TargetBundleTempDataSeeds, config?: {
723
+ programAddress?: Address | undefined;
724
+ }): Promise<ProgramDerivedAddress>;
725
+ //#endregion
726
+ //#region src/generated/pdas/targetOracleData.d.ts
727
+ type TargetOracleDataSeeds = {
728
+ targetBundleAccount: Address;
729
+ };
730
+ declare function findTargetOracleDataPda(seeds: TargetOracleDataSeeds, config?: {
731
+ programAddress?: Address | undefined;
732
+ }): Promise<ProgramDerivedAddress>;
733
+ //#endregion
734
+ //#region src/generated/pdas/targetPendingBundleAssetAuthority.d.ts
735
+ type TargetPendingBundleAssetAuthoritySeeds = {
736
+ targetBundleAccount: Address;
737
+ };
738
+ declare function findTargetPendingBundleAssetAuthorityPda(seeds: TargetPendingBundleAssetAuthoritySeeds, config?: {
739
+ programAddress?: Address | undefined;
740
+ }): Promise<ProgramDerivedAddress>;
741
+ //#endregion
742
+ //#region src/generated/pdas/targetUserBundleAccount.d.ts
743
+ type TargetUserBundleAccountSeeds = {
744
+ userBundleAccountOwner: Address;
745
+ targetBundleAccount: Address;
746
+ };
747
+ declare function findTargetUserBundleAccountPda(seeds: TargetUserBundleAccountSeeds, config?: {
748
+ programAddress?: Address | undefined;
749
+ }): Promise<ProgramDerivedAddress>;
750
+ //#endregion
751
+ //#region src/generated/pdas/userBundleAccount.d.ts
752
+ type UserBundleAccountSeeds = {
753
+ userBundleAccountOwner: Address;
754
+ bundleAccount: Address;
755
+ };
756
+ declare function findUserBundleAccountPda(seeds: UserBundleAccountSeeds, config?: {
757
+ programAddress?: Address | undefined;
758
+ }): Promise<ProgramDerivedAddress>;
759
+ //#endregion
760
+ //#region src/generated/programs/ntbundle.d.ts
761
+ declare const NTBUNDLE_PROGRAM_ADDRESS: Address<"BUNDDh4P5XviMm1f3gCvnq2qKx6TGosAGnoUK12e7cXU">;
762
+ declare enum NtbundleAccount {
763
+ Bundle = 0,
764
+ BundleCreatorAccount = 1,
765
+ BundleMasterAccount = 2,
766
+ BundleTempData = 3,
767
+ OracleData = 4,
768
+ ReferrerAccount = 5,
769
+ Strategy = 6,
770
+ UserBundleAccount = 7,
771
+ }
772
+ declare function identifyNtbundleAccount(account: {
773
+ data: ReadonlyUint8Array;
774
+ } | ReadonlyUint8Array): NtbundleAccount;
775
+ declare enum NtbundleInstruction {
776
+ AddStrategy = 0,
777
+ ApplyFeesToUser = 1,
778
+ ChangeBundleMasterAdmin = 2,
779
+ ChangeManager = 3,
780
+ ClearUserFeeOverride = 4,
781
+ ClearUserWithdrawalTimingOverride = 5,
782
+ CloseUserBundleAccount = 6,
783
+ DistributeToReceivers = 7,
784
+ EnableStrategy = 8,
785
+ EndDistribution = 9,
786
+ InitializeBundle = 10,
787
+ InitializeBundleDepositor = 11,
788
+ InitializeBundleMasterAccount = 12,
789
+ InitializePermissionedBundleDepositor = 13,
790
+ ManagerWithdraw = 14,
791
+ ManagerWithdrawWithSplit = 15,
792
+ NetPendingTransactions = 16,
793
+ PauseDepositsWithdrawals = 17,
794
+ PerformRefill = 18,
795
+ ProcessDeposit = 19,
796
+ ProcessReferrerWithdrawal = 20,
797
+ ProcessSwitch = 21,
798
+ ProcessWithdrawal = 22,
799
+ ReferrerRequestWithdraw = 23,
800
+ RefundDeposit = 24,
801
+ RegisterReferrer = 25,
802
+ RemoveStrategy = 26,
803
+ RequestBundleSwitch = 27,
804
+ RequestDeposit = 28,
805
+ RequestWithdrawal = 29,
806
+ SetBundleCreator = 30,
807
+ SetDelays = 31,
808
+ SetFees = 32,
809
+ SetKeeper = 33,
810
+ SetMaxDepositAmount = 34,
811
+ SetMinDepositAmount = 35,
812
+ SetOracleBuffer = 36,
813
+ SetOracleMaxAge = 37,
814
+ SetOracleUpdateTimeLimit = 38,
815
+ SetReferrerActive = 39,
816
+ SetReferrerConfig = 40,
817
+ SetReferrerRateOverride = 41,
818
+ SetUserFeeOverride = 42,
819
+ SetUserReferrer = 43,
820
+ SetUserWithdrawalTimingOverride = 44,
821
+ SetWithdrawalRedemptionSchedule = 45,
822
+ StartDistribution = 46,
823
+ UpdateAllocations = 47,
824
+ UpdateOracle = 48,
825
+ }
826
+ declare function identifyNtbundleInstruction(instruction: {
827
+ data: ReadonlyUint8Array;
828
+ } | ReadonlyUint8Array): NtbundleInstruction;
829
+ type ParsedNtbundleInstruction<TProgram extends string = "BUNDDh4P5XviMm1f3gCvnq2qKx6TGosAGnoUK12e7cXU"> = ({
830
+ instructionType: NtbundleInstruction.AddStrategy;
831
+ } & ParsedAddStrategyInstruction<TProgram>) | ({
832
+ instructionType: NtbundleInstruction.ApplyFeesToUser;
833
+ } & ParsedApplyFeesToUserInstruction<TProgram>) | ({
834
+ instructionType: NtbundleInstruction.ChangeBundleMasterAdmin;
835
+ } & ParsedChangeBundleMasterAdminInstruction<TProgram>) | ({
836
+ instructionType: NtbundleInstruction.ChangeManager;
837
+ } & ParsedChangeManagerInstruction<TProgram>) | ({
838
+ instructionType: NtbundleInstruction.ClearUserFeeOverride;
839
+ } & ParsedClearUserFeeOverrideInstruction<TProgram>) | ({
840
+ instructionType: NtbundleInstruction.ClearUserWithdrawalTimingOverride;
841
+ } & ParsedClearUserWithdrawalTimingOverrideInstruction<TProgram>) | ({
842
+ instructionType: NtbundleInstruction.CloseUserBundleAccount;
843
+ } & ParsedCloseUserBundleAccountInstruction<TProgram>) | ({
844
+ instructionType: NtbundleInstruction.DistributeToReceivers;
845
+ } & ParsedDistributeToReceiversInstruction<TProgram>) | ({
846
+ instructionType: NtbundleInstruction.EnableStrategy;
847
+ } & ParsedEnableStrategyInstruction<TProgram>) | ({
848
+ instructionType: NtbundleInstruction.EndDistribution;
849
+ } & ParsedEndDistributionInstruction<TProgram>) | ({
850
+ instructionType: NtbundleInstruction.InitializeBundle;
851
+ } & ParsedInitializeBundleInstruction<TProgram>) | ({
852
+ instructionType: NtbundleInstruction.InitializeBundleDepositor;
853
+ } & ParsedInitializeBundleDepositorInstruction<TProgram>) | ({
854
+ instructionType: NtbundleInstruction.InitializeBundleMasterAccount;
855
+ } & ParsedInitializeBundleMasterAccountInstruction<TProgram>) | ({
856
+ instructionType: NtbundleInstruction.InitializePermissionedBundleDepositor;
857
+ } & ParsedInitializePermissionedBundleDepositorInstruction<TProgram>) | ({
858
+ instructionType: NtbundleInstruction.ManagerWithdraw;
859
+ } & ParsedManagerWithdrawInstruction<TProgram>) | ({
860
+ instructionType: NtbundleInstruction.ManagerWithdrawWithSplit;
861
+ } & ParsedManagerWithdrawWithSplitInstruction<TProgram>) | ({
862
+ instructionType: NtbundleInstruction.NetPendingTransactions;
863
+ } & ParsedNetPendingTransactionsInstruction<TProgram>) | ({
864
+ instructionType: NtbundleInstruction.PauseDepositsWithdrawals;
865
+ } & ParsedPauseDepositsWithdrawalsInstruction<TProgram>) | ({
866
+ instructionType: NtbundleInstruction.PerformRefill;
867
+ } & ParsedPerformRefillInstruction<TProgram>) | ({
868
+ instructionType: NtbundleInstruction.ProcessDeposit;
869
+ } & ParsedProcessDepositInstruction<TProgram>) | ({
870
+ instructionType: NtbundleInstruction.ProcessReferrerWithdrawal;
871
+ } & ParsedProcessReferrerWithdrawalInstruction<TProgram>) | ({
872
+ instructionType: NtbundleInstruction.ProcessSwitch;
873
+ } & ParsedProcessSwitchInstruction<TProgram>) | ({
874
+ instructionType: NtbundleInstruction.ProcessWithdrawal;
875
+ } & ParsedProcessWithdrawalInstruction<TProgram>) | ({
876
+ instructionType: NtbundleInstruction.ReferrerRequestWithdraw;
877
+ } & ParsedReferrerRequestWithdrawInstruction<TProgram>) | ({
878
+ instructionType: NtbundleInstruction.RefundDeposit;
879
+ } & ParsedRefundDepositInstruction<TProgram>) | ({
880
+ instructionType: NtbundleInstruction.RegisterReferrer;
881
+ } & ParsedRegisterReferrerInstruction<TProgram>) | ({
882
+ instructionType: NtbundleInstruction.RemoveStrategy;
883
+ } & ParsedRemoveStrategyInstruction<TProgram>) | ({
884
+ instructionType: NtbundleInstruction.RequestBundleSwitch;
885
+ } & ParsedRequestBundleSwitchInstruction<TProgram>) | ({
886
+ instructionType: NtbundleInstruction.RequestDeposit;
887
+ } & ParsedRequestDepositInstruction<TProgram>) | ({
888
+ instructionType: NtbundleInstruction.RequestWithdrawal;
889
+ } & ParsedRequestWithdrawalInstruction<TProgram>) | ({
890
+ instructionType: NtbundleInstruction.SetBundleCreator;
891
+ } & ParsedSetBundleCreatorInstruction<TProgram>) | ({
892
+ instructionType: NtbundleInstruction.SetDelays;
893
+ } & ParsedSetDelaysInstruction<TProgram>) | ({
894
+ instructionType: NtbundleInstruction.SetFees;
895
+ } & ParsedSetFeesInstruction<TProgram>) | ({
896
+ instructionType: NtbundleInstruction.SetKeeper;
897
+ } & ParsedSetKeeperInstruction<TProgram>) | ({
898
+ instructionType: NtbundleInstruction.SetMaxDepositAmount;
899
+ } & ParsedSetMaxDepositAmountInstruction<TProgram>) | ({
900
+ instructionType: NtbundleInstruction.SetMinDepositAmount;
901
+ } & ParsedSetMinDepositAmountInstruction<TProgram>) | ({
902
+ instructionType: NtbundleInstruction.SetOracleBuffer;
903
+ } & ParsedSetOracleBufferInstruction<TProgram>) | ({
904
+ instructionType: NtbundleInstruction.SetOracleMaxAge;
905
+ } & ParsedSetOracleMaxAgeInstruction<TProgram>) | ({
906
+ instructionType: NtbundleInstruction.SetOracleUpdateTimeLimit;
907
+ } & ParsedSetOracleUpdateTimeLimitInstruction<TProgram>) | ({
908
+ instructionType: NtbundleInstruction.SetReferrerActive;
909
+ } & ParsedSetReferrerActiveInstruction<TProgram>) | ({
910
+ instructionType: NtbundleInstruction.SetReferrerConfig;
911
+ } & ParsedSetReferrerConfigInstruction<TProgram>) | ({
912
+ instructionType: NtbundleInstruction.SetReferrerRateOverride;
913
+ } & ParsedSetReferrerRateOverrideInstruction<TProgram>) | ({
914
+ instructionType: NtbundleInstruction.SetUserFeeOverride;
915
+ } & ParsedSetUserFeeOverrideInstruction<TProgram>) | ({
916
+ instructionType: NtbundleInstruction.SetUserReferrer;
917
+ } & ParsedSetUserReferrerInstruction<TProgram>) | ({
918
+ instructionType: NtbundleInstruction.SetUserWithdrawalTimingOverride;
919
+ } & ParsedSetUserWithdrawalTimingOverrideInstruction<TProgram>) | ({
920
+ instructionType: NtbundleInstruction.SetWithdrawalRedemptionSchedule;
921
+ } & ParsedSetWithdrawalRedemptionScheduleInstruction<TProgram>) | ({
922
+ instructionType: NtbundleInstruction.StartDistribution;
923
+ } & ParsedStartDistributionInstruction<TProgram>) | ({
924
+ instructionType: NtbundleInstruction.UpdateAllocations;
925
+ } & ParsedUpdateAllocationsInstruction<TProgram>) | ({
926
+ instructionType: NtbundleInstruction.UpdateOracle;
927
+ } & ParsedUpdateOracleInstruction<TProgram>);
928
+ declare function parseNtbundleInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array>): ParsedNtbundleInstruction<TProgram>;
929
+ type NtbundlePlugin = {
930
+ accounts: NtbundlePluginAccounts;
931
+ instructions: NtbundlePluginInstructions;
932
+ pdas: NtbundlePluginPdas;
933
+ identifyAccount: typeof identifyNtbundleAccount;
934
+ identifyInstruction: typeof identifyNtbundleInstruction;
935
+ parseInstruction: typeof parseNtbundleInstruction;
936
+ };
937
+ type NtbundlePluginAccounts = {
938
+ bundle: ReturnType<typeof getBundleCodec> & SelfFetchFunctions<BundleArgs, Bundle>;
939
+ bundleCreatorAccount: ReturnType<typeof getBundleCreatorAccountCodec> & SelfFetchFunctions<BundleCreatorAccountArgs, BundleCreatorAccount>;
940
+ bundleMasterAccount: ReturnType<typeof getBundleMasterAccountCodec> & SelfFetchFunctions<BundleMasterAccountArgs, BundleMasterAccount>;
941
+ bundleTempData: ReturnType<typeof getBundleTempDataCodec> & SelfFetchFunctions<BundleTempDataArgs, BundleTempData>;
942
+ oracleData: ReturnType<typeof getOracleDataCodec> & SelfFetchFunctions<OracleDataArgs, OracleData>;
943
+ referrerAccount: ReturnType<typeof getReferrerAccountCodec> & SelfFetchFunctions<ReferrerAccountArgs, ReferrerAccount>;
944
+ strategy: ReturnType<typeof getStrategyCodec> & SelfFetchFunctions<StrategyArgs, Strategy>;
945
+ userBundleAccount: ReturnType<typeof getUserBundleAccountCodec> & SelfFetchFunctions<UserBundleAccountArgs, UserBundleAccount>;
946
+ };
947
+ type NtbundlePluginInstructions = {
948
+ addStrategy: (input: AddStrategyAsyncInput) => ReturnType<typeof getAddStrategyInstructionAsync> & SelfPlanAndSendFunctions;
949
+ applyFeesToUser: (input: ApplyFeesToUserAsyncInput) => ReturnType<typeof getApplyFeesToUserInstructionAsync> & SelfPlanAndSendFunctions;
950
+ changeBundleMasterAdmin: (input: ChangeBundleMasterAdminAsyncInput) => ReturnType<typeof getChangeBundleMasterAdminInstructionAsync> & SelfPlanAndSendFunctions;
951
+ changeManager: (input: ChangeManagerInput) => ReturnType<typeof getChangeManagerInstruction> & SelfPlanAndSendFunctions;
952
+ clearUserFeeOverride: (input: ClearUserFeeOverrideAsyncInput) => ReturnType<typeof getClearUserFeeOverrideInstructionAsync> & SelfPlanAndSendFunctions;
953
+ clearUserWithdrawalTimingOverride: (input: ClearUserWithdrawalTimingOverrideAsyncInput) => ReturnType<typeof getClearUserWithdrawalTimingOverrideInstructionAsync> & SelfPlanAndSendFunctions;
954
+ closeUserBundleAccount: (input: CloseUserBundleAccountAsyncInput) => ReturnType<typeof getCloseUserBundleAccountInstructionAsync> & SelfPlanAndSendFunctions;
955
+ distributeToReceivers: (input: DistributeToReceiversAsyncInput) => ReturnType<typeof getDistributeToReceiversInstructionAsync> & SelfPlanAndSendFunctions;
956
+ enableStrategy: (input: EnableStrategyAsyncInput) => ReturnType<typeof getEnableStrategyInstructionAsync> & SelfPlanAndSendFunctions;
957
+ endDistribution: (input: EndDistributionAsyncInput) => ReturnType<typeof getEndDistributionInstructionAsync> & SelfPlanAndSendFunctions;
958
+ initializeBundle: (input: InitializeBundleAsyncInput) => ReturnType<typeof getInitializeBundleInstructionAsync> & SelfPlanAndSendFunctions;
959
+ initializeBundleDepositor: (input: MakeOptional<InitializeBundleDepositorAsyncInput, "payer">) => ReturnType<typeof getInitializeBundleDepositorInstructionAsync> & SelfPlanAndSendFunctions;
960
+ initializeBundleMasterAccount: (input: InitializeBundleMasterAccountAsyncInput) => ReturnType<typeof getInitializeBundleMasterAccountInstructionAsync> & SelfPlanAndSendFunctions;
961
+ initializePermissionedBundleDepositor: (input: MakeOptional<InitializePermissionedBundleDepositorAsyncInput, "payer">) => ReturnType<typeof getInitializePermissionedBundleDepositorInstructionAsync> & SelfPlanAndSendFunctions;
962
+ managerWithdraw: (input: ManagerWithdrawAsyncInput) => ReturnType<typeof getManagerWithdrawInstructionAsync> & SelfPlanAndSendFunctions;
963
+ managerWithdrawWithSplit: (input: ManagerWithdrawWithSplitAsyncInput) => ReturnType<typeof getManagerWithdrawWithSplitInstructionAsync> & SelfPlanAndSendFunctions;
964
+ netPendingTransactions: (input: NetPendingTransactionsAsyncInput) => ReturnType<typeof getNetPendingTransactionsInstructionAsync> & SelfPlanAndSendFunctions;
965
+ pauseDepositsWithdrawals: (input: PauseDepositsWithdrawalsAsyncInput) => ReturnType<typeof getPauseDepositsWithdrawalsInstructionAsync> & SelfPlanAndSendFunctions;
966
+ performRefill: (input: PerformRefillAsyncInput) => ReturnType<typeof getPerformRefillInstructionAsync> & SelfPlanAndSendFunctions;
967
+ processDeposit: (input: ProcessDepositAsyncInput) => ReturnType<typeof getProcessDepositInstructionAsync> & SelfPlanAndSendFunctions;
968
+ processReferrerWithdrawal: (input: ProcessReferrerWithdrawalAsyncInput) => ReturnType<typeof getProcessReferrerWithdrawalInstructionAsync> & SelfPlanAndSendFunctions;
969
+ processSwitch: (input: ProcessSwitchAsyncInput) => ReturnType<typeof getProcessSwitchInstructionAsync> & SelfPlanAndSendFunctions;
970
+ processWithdrawal: (input: ProcessWithdrawalAsyncInput) => ReturnType<typeof getProcessWithdrawalInstructionAsync> & SelfPlanAndSendFunctions;
971
+ referrerRequestWithdraw: (input: ReferrerRequestWithdrawAsyncInput) => ReturnType<typeof getReferrerRequestWithdrawInstructionAsync> & SelfPlanAndSendFunctions;
972
+ refundDeposit: (input: RefundDepositAsyncInput) => ReturnType<typeof getRefundDepositInstructionAsync> & SelfPlanAndSendFunctions;
973
+ registerReferrer: (input: RegisterReferrerAsyncInput) => ReturnType<typeof getRegisterReferrerInstructionAsync> & SelfPlanAndSendFunctions;
974
+ removeStrategy: (input: RemoveStrategyAsyncInput) => ReturnType<typeof getRemoveStrategyInstructionAsync> & SelfPlanAndSendFunctions;
975
+ requestBundleSwitch: (input: RequestBundleSwitchAsyncInput) => ReturnType<typeof getRequestBundleSwitchInstructionAsync> & SelfPlanAndSendFunctions;
976
+ requestDeposit: (input: RequestDepositAsyncInput) => ReturnType<typeof getRequestDepositInstructionAsync> & SelfPlanAndSendFunctions;
977
+ requestWithdrawal: (input: RequestWithdrawalAsyncInput) => ReturnType<typeof getRequestWithdrawalInstructionAsync> & SelfPlanAndSendFunctions;
978
+ setBundleCreator: (input: SetBundleCreatorAsyncInput) => ReturnType<typeof getSetBundleCreatorInstructionAsync> & SelfPlanAndSendFunctions;
979
+ setDelays: (input: SetDelaysInput) => ReturnType<typeof getSetDelaysInstruction> & SelfPlanAndSendFunctions;
980
+ setFees: (input: SetFeesInput) => ReturnType<typeof getSetFeesInstruction> & SelfPlanAndSendFunctions;
981
+ setKeeper: (input: SetKeeperInput) => ReturnType<typeof getSetKeeperInstruction> & SelfPlanAndSendFunctions;
982
+ setMaxDepositAmount: (input: SetMaxDepositAmountInput) => ReturnType<typeof getSetMaxDepositAmountInstruction> & SelfPlanAndSendFunctions;
983
+ setMinDepositAmount: (input: SetMinDepositAmountInput) => ReturnType<typeof getSetMinDepositAmountInstruction> & SelfPlanAndSendFunctions;
984
+ setOracleBuffer: (input: SetOracleBufferInput) => ReturnType<typeof getSetOracleBufferInstruction> & SelfPlanAndSendFunctions;
985
+ setOracleMaxAge: (input: SetOracleMaxAgeInput) => ReturnType<typeof getSetOracleMaxAgeInstruction> & SelfPlanAndSendFunctions;
986
+ setOracleUpdateTimeLimit: (input: SetOracleUpdateTimeLimitInput) => ReturnType<typeof getSetOracleUpdateTimeLimitInstruction> & SelfPlanAndSendFunctions;
987
+ setReferrerActive: (input: SetReferrerActiveInput) => ReturnType<typeof getSetReferrerActiveInstruction> & SelfPlanAndSendFunctions;
988
+ setReferrerConfig: (input: SetReferrerConfigInput) => ReturnType<typeof getSetReferrerConfigInstruction> & SelfPlanAndSendFunctions;
989
+ setReferrerRateOverride: (input: SetReferrerRateOverrideInput) => ReturnType<typeof getSetReferrerRateOverrideInstruction> & SelfPlanAndSendFunctions;
990
+ setUserFeeOverride: (input: SetUserFeeOverrideAsyncInput) => ReturnType<typeof getSetUserFeeOverrideInstructionAsync> & SelfPlanAndSendFunctions;
991
+ setUserReferrer: (input: SetUserReferrerAsyncInput) => ReturnType<typeof getSetUserReferrerInstructionAsync> & SelfPlanAndSendFunctions;
992
+ setUserWithdrawalTimingOverride: (input: SetUserWithdrawalTimingOverrideAsyncInput) => ReturnType<typeof getSetUserWithdrawalTimingOverrideInstructionAsync> & SelfPlanAndSendFunctions;
993
+ setWithdrawalRedemptionSchedule: (input: SetWithdrawalRedemptionScheduleInput) => ReturnType<typeof getSetWithdrawalRedemptionScheduleInstruction> & SelfPlanAndSendFunctions;
994
+ startDistribution: (input: StartDistributionAsyncInput) => ReturnType<typeof getStartDistributionInstructionAsync> & SelfPlanAndSendFunctions;
995
+ updateAllocations: (input: UpdateAllocationsAsyncInput) => ReturnType<typeof getUpdateAllocationsInstructionAsync> & SelfPlanAndSendFunctions;
996
+ updateOracle: (input: UpdateOracleAsyncInput) => ReturnType<typeof getUpdateOracleInstructionAsync> & SelfPlanAndSendFunctions;
997
+ };
998
+ type NtbundlePluginPdas = {
999
+ strategyAccount: typeof findStrategyAccountPda;
1000
+ userBundleAccount: typeof findUserBundleAccountPda;
1001
+ oracleData: typeof findOracleDataPda;
1002
+ bundleAssetAuthority: typeof findBundleAssetAuthorityPda;
1003
+ bundleMasterAccount: typeof findBundleMasterAccountPda;
1004
+ closeUserBundleAccountUserBundleAccount: typeof findCloseUserBundleAccountUserBundleAccountPda;
1005
+ bundleTempData: typeof findBundleTempDataPda;
1006
+ bundleCreatorAccount: typeof findBundleCreatorAccountPda;
1007
+ bundleAccount: typeof findBundleAccountPda;
1008
+ pendingBundleAssetAuthority: typeof findPendingBundleAssetAuthorityPda;
1009
+ sourceUserBundleAccount: typeof findSourceUserBundleAccountPda;
1010
+ sourceBundleAssetAuthority: typeof findSourceBundleAssetAuthorityPda;
1011
+ sourceBundleTempData: typeof findSourceBundleTempDataPda;
1012
+ sourceOracleData: typeof findSourceOracleDataPda;
1013
+ targetUserBundleAccount: typeof findTargetUserBundleAccountPda;
1014
+ targetBundleTempData: typeof findTargetBundleTempDataPda;
1015
+ targetPendingBundleAssetAuthority: typeof findTargetPendingBundleAssetAuthorityPda;
1016
+ targetOracleData: typeof findTargetOracleDataPda;
1017
+ referrerAccount: typeof findReferrerAccountPda;
1018
+ referrerUserBundleAccount: typeof findReferrerUserBundleAccountPda;
1019
+ requestBundleSwitchUserBundleAccount: typeof findRequestBundleSwitchUserBundleAccountPda;
1020
+ };
1021
+ type NtbundlePluginRequirements = ClientWithRpc<GetAccountInfoApi & GetMultipleAccountsApi> & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending;
1022
+ declare function ntbundleProgram(): <T extends NtbundlePluginRequirements>(client: T) => ExtendedClient<T, {
1023
+ ntbundle: NtbundlePlugin;
1024
+ }>;
1025
+ type MakeOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
1026
+ //#endregion
1027
+ //#region src/generated/instructions/addStrategy.d.ts
1028
+ declare const ADD_STRATEGY_DISCRIMINATOR: ReadonlyUint8Array;
1029
+ declare function getAddStrategyDiscriminatorBytes(): ReadonlyUint8Array;
1030
+ type AddStrategyInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountStrategyAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountReceiverAddress extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountStrategyAccount extends string ? WritableAccount<TAccountStrategyAccount> : TAccountStrategyAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountReceiverAddress extends string ? WritableAccount<TAccountReceiverAddress> : TAccountReceiverAddress, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
1031
+ type AddStrategyInstructionData = {
1032
+ discriminator: ReadonlyUint8Array;
1033
+ allocationBps: number;
1034
+ };
1035
+ type AddStrategyInstructionDataArgs = {
1036
+ allocationBps: number;
1037
+ };
1038
+ declare function getAddStrategyInstructionDataEncoder(): FixedSizeEncoder<AddStrategyInstructionDataArgs>;
1039
+ declare function getAddStrategyInstructionDataDecoder(): FixedSizeDecoder<AddStrategyInstructionData>;
1040
+ declare function getAddStrategyInstructionDataCodec(): FixedSizeCodec<AddStrategyInstructionDataArgs, AddStrategyInstructionData>;
1041
+ type AddStrategyAsyncInput<TAccountManager extends string = string, TAccountStrategyAccount extends string = string, TAccountBundleAccount extends string = string, TAccountReceiverAddress extends string = string, TAccountSystemProgram extends string = string> = {
1042
+ manager: TransactionSigner<TAccountManager>;
1043
+ strategyAccount?: Address<TAccountStrategyAccount>;
1044
+ bundleAccount: Address<TAccountBundleAccount>;
1045
+ receiverAddress: Address<TAccountReceiverAddress>;
1046
+ systemProgram?: Address<TAccountSystemProgram>;
1047
+ allocationBps: AddStrategyInstructionDataArgs["allocationBps"];
1048
+ };
1049
+ declare function getAddStrategyInstructionAsync<TAccountManager extends string, TAccountStrategyAccount extends string, TAccountBundleAccount extends string, TAccountReceiverAddress extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: AddStrategyAsyncInput<TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>, config?: {
1050
+ programAddress?: TProgramAddress;
1051
+ }): Promise<AddStrategyInstruction<TProgramAddress, TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>>;
1052
+ type AddStrategyInput<TAccountManager extends string = string, TAccountStrategyAccount extends string = string, TAccountBundleAccount extends string = string, TAccountReceiverAddress extends string = string, TAccountSystemProgram extends string = string> = {
1053
+ manager: TransactionSigner<TAccountManager>;
1054
+ strategyAccount: Address<TAccountStrategyAccount>;
1055
+ bundleAccount: Address<TAccountBundleAccount>;
1056
+ receiverAddress: Address<TAccountReceiverAddress>;
1057
+ systemProgram?: Address<TAccountSystemProgram>;
1058
+ allocationBps: AddStrategyInstructionDataArgs["allocationBps"];
1059
+ };
1060
+ declare function getAddStrategyInstruction<TAccountManager extends string, TAccountStrategyAccount extends string, TAccountBundleAccount extends string, TAccountReceiverAddress extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: AddStrategyInput<TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>, config?: {
1061
+ programAddress?: TProgramAddress;
1062
+ }): AddStrategyInstruction<TProgramAddress, TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>;
1063
+ type ParsedAddStrategyInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1064
+ programAddress: Address<TProgram>;
1065
+ accounts: {
1066
+ manager: TAccountMetas[0];
1067
+ strategyAccount: TAccountMetas[1];
1068
+ bundleAccount: TAccountMetas[2];
1069
+ receiverAddress: TAccountMetas[3];
1070
+ systemProgram: TAccountMetas[4];
1071
+ };
1072
+ data: AddStrategyInstructionData;
1073
+ };
1074
+ declare function parseAddStrategyInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddStrategyInstruction<TProgram, TAccountMetas>;
1075
+ //#endregion
1076
+ //#region src/generated/instructions/applyFeesToUser.d.ts
1077
+ declare const APPLY_FEES_TO_USER_DISCRIMINATOR: ReadonlyUint8Array;
1078
+ declare function getApplyFeesToUserDiscriminatorBytes(): ReadonlyUint8Array;
1079
+ type ApplyFeesToUserInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountUserBundleAccountOwner extends string ? WritableAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, ...TRemainingAccounts]>;
1080
+ type ApplyFeesToUserInstructionData = {
1081
+ discriminator: ReadonlyUint8Array;
1082
+ };
1083
+ type ApplyFeesToUserInstructionDataArgs = {};
1084
+ declare function getApplyFeesToUserInstructionDataEncoder(): FixedSizeEncoder<ApplyFeesToUserInstructionDataArgs>;
1085
+ declare function getApplyFeesToUserInstructionDataDecoder(): FixedSizeDecoder<ApplyFeesToUserInstructionData>;
1086
+ declare function getApplyFeesToUserInstructionDataCodec(): FixedSizeCodec<ApplyFeesToUserInstructionDataArgs, ApplyFeesToUserInstructionData>;
1087
+ type ApplyFeesToUserAsyncInput<TAccountKeeper extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string> = {
1088
+ keeper: TransactionSigner<TAccountKeeper>;
1089
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
1090
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
1091
+ bundleAccount: Address<TAccountBundleAccount>;
1092
+ oracleData?: Address<TAccountOracleData>;
1093
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
1094
+ };
1095
+ declare function getApplyFeesToUserInstructionAsync<TAccountKeeper extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ApplyFeesToUserAsyncInput<TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority>, config?: {
1096
+ programAddress?: TProgramAddress;
1097
+ }): Promise<ApplyFeesToUserInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority>>;
1098
+ type ApplyFeesToUserInput<TAccountKeeper extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string> = {
1099
+ keeper: TransactionSigner<TAccountKeeper>;
1100
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
1101
+ userBundleAccount: Address<TAccountUserBundleAccount>;
1102
+ bundleAccount: Address<TAccountBundleAccount>;
1103
+ oracleData: Address<TAccountOracleData>;
1104
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
1105
+ };
1106
+ declare function getApplyFeesToUserInstruction<TAccountKeeper extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ApplyFeesToUserInput<TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority>, config?: {
1107
+ programAddress?: TProgramAddress;
1108
+ }): ApplyFeesToUserInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority>;
1109
+ type ParsedApplyFeesToUserInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1110
+ programAddress: Address<TProgram>;
1111
+ accounts: {
1112
+ keeper: TAccountMetas[0];
1113
+ userBundleAccountOwner: TAccountMetas[1];
1114
+ userBundleAccount: TAccountMetas[2];
1115
+ bundleAccount: TAccountMetas[3];
1116
+ oracleData: TAccountMetas[4];
1117
+ bundleAssetAuthority: TAccountMetas[5];
1118
+ };
1119
+ data: ApplyFeesToUserInstructionData;
1120
+ };
1121
+ declare function parseApplyFeesToUserInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedApplyFeesToUserInstruction<TProgram, TAccountMetas>;
1122
+ //#endregion
1123
+ //#region src/generated/instructions/changeBundleMasterAdmin.d.ts
1124
+ declare const CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR: ReadonlyUint8Array;
1125
+ declare function getChangeBundleMasterAdminDiscriminatorBytes(): ReadonlyUint8Array;
1126
+ type ChangeBundleMasterAdminInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountAdmin extends string | AccountMeta<string> = string, TAccountBundleMasterAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAdmin extends string ? WritableSignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin, TAccountBundleMasterAccount extends string ? WritableAccount<TAccountBundleMasterAccount> : TAccountBundleMasterAccount, ...TRemainingAccounts]>;
1127
+ type ChangeBundleMasterAdminInstructionData = {
1128
+ discriminator: ReadonlyUint8Array;
1129
+ newAdmin: Address;
1130
+ };
1131
+ type ChangeBundleMasterAdminInstructionDataArgs = {
1132
+ newAdmin: Address;
1133
+ };
1134
+ declare function getChangeBundleMasterAdminInstructionDataEncoder(): FixedSizeEncoder<ChangeBundleMasterAdminInstructionDataArgs>;
1135
+ declare function getChangeBundleMasterAdminInstructionDataDecoder(): FixedSizeDecoder<ChangeBundleMasterAdminInstructionData>;
1136
+ declare function getChangeBundleMasterAdminInstructionDataCodec(): FixedSizeCodec<ChangeBundleMasterAdminInstructionDataArgs, ChangeBundleMasterAdminInstructionData>;
1137
+ type ChangeBundleMasterAdminAsyncInput<TAccountAdmin extends string = string, TAccountBundleMasterAccount extends string = string> = {
1138
+ admin: TransactionSigner<TAccountAdmin>;
1139
+ bundleMasterAccount?: Address<TAccountBundleMasterAccount>;
1140
+ newAdmin: ChangeBundleMasterAdminInstructionDataArgs["newAdmin"];
1141
+ };
1142
+ declare function getChangeBundleMasterAdminInstructionAsync<TAccountAdmin extends string, TAccountBundleMasterAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ChangeBundleMasterAdminAsyncInput<TAccountAdmin, TAccountBundleMasterAccount>, config?: {
1143
+ programAddress?: TProgramAddress;
1144
+ }): Promise<ChangeBundleMasterAdminInstruction<TProgramAddress, TAccountAdmin, TAccountBundleMasterAccount>>;
1145
+ type ChangeBundleMasterAdminInput<TAccountAdmin extends string = string, TAccountBundleMasterAccount extends string = string> = {
1146
+ admin: TransactionSigner<TAccountAdmin>;
1147
+ bundleMasterAccount: Address<TAccountBundleMasterAccount>;
1148
+ newAdmin: ChangeBundleMasterAdminInstructionDataArgs["newAdmin"];
1149
+ };
1150
+ declare function getChangeBundleMasterAdminInstruction<TAccountAdmin extends string, TAccountBundleMasterAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ChangeBundleMasterAdminInput<TAccountAdmin, TAccountBundleMasterAccount>, config?: {
1151
+ programAddress?: TProgramAddress;
1152
+ }): ChangeBundleMasterAdminInstruction<TProgramAddress, TAccountAdmin, TAccountBundleMasterAccount>;
1153
+ type ParsedChangeBundleMasterAdminInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1154
+ programAddress: Address<TProgram>;
1155
+ accounts: {
1156
+ admin: TAccountMetas[0];
1157
+ bundleMasterAccount: TAccountMetas[1];
1158
+ };
1159
+ data: ChangeBundleMasterAdminInstructionData;
1160
+ };
1161
+ declare function parseChangeBundleMasterAdminInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedChangeBundleMasterAdminInstruction<TProgram, TAccountMetas>;
1162
+ //#endregion
1163
+ //#region src/generated/instructions/changeManager.d.ts
1164
+ declare const CHANGE_MANAGER_DISCRIMINATOR: ReadonlyUint8Array;
1165
+ declare function getChangeManagerDiscriminatorBytes(): ReadonlyUint8Array;
1166
+ type ChangeManagerInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
1167
+ type ChangeManagerInstructionData = {
1168
+ discriminator: ReadonlyUint8Array;
1169
+ newManager: Address;
1170
+ };
1171
+ type ChangeManagerInstructionDataArgs = {
1172
+ newManager: Address;
1173
+ };
1174
+ declare function getChangeManagerInstructionDataEncoder(): FixedSizeEncoder<ChangeManagerInstructionDataArgs>;
1175
+ declare function getChangeManagerInstructionDataDecoder(): FixedSizeDecoder<ChangeManagerInstructionData>;
1176
+ declare function getChangeManagerInstructionDataCodec(): FixedSizeCodec<ChangeManagerInstructionDataArgs, ChangeManagerInstructionData>;
1177
+ type ChangeManagerInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
1178
+ manager: TransactionSigner<TAccountManager>;
1179
+ bundleAccount: Address<TAccountBundleAccount>;
1180
+ newManager: ChangeManagerInstructionDataArgs["newManager"];
1181
+ };
1182
+ declare function getChangeManagerInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ChangeManagerInput<TAccountManager, TAccountBundleAccount>, config?: {
1183
+ programAddress?: TProgramAddress;
1184
+ }): ChangeManagerInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
1185
+ type ParsedChangeManagerInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1186
+ programAddress: Address<TProgram>;
1187
+ accounts: {
1188
+ manager: TAccountMetas[0];
1189
+ bundleAccount: TAccountMetas[1];
1190
+ };
1191
+ data: ChangeManagerInstructionData;
1192
+ };
1193
+ declare function parseChangeManagerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedChangeManagerInstruction<TProgram, TAccountMetas>;
1194
+ //#endregion
1195
+ //#region src/generated/instructions/clearUserFeeOverride.d.ts
1196
+ declare const CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR: ReadonlyUint8Array;
1197
+ declare function getClearUserFeeOverrideDiscriminatorBytes(): ReadonlyUint8Array;
1198
+ type ClearUserFeeOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountUserBundleAccountOwner extends string ? ReadonlyAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
1199
+ type ClearUserFeeOverrideInstructionData = {
1200
+ discriminator: ReadonlyUint8Array;
1201
+ clearMask: number;
1202
+ };
1203
+ type ClearUserFeeOverrideInstructionDataArgs = {
1204
+ clearMask: number;
1205
+ };
1206
+ declare function getClearUserFeeOverrideInstructionDataEncoder(): FixedSizeEncoder<ClearUserFeeOverrideInstructionDataArgs>;
1207
+ declare function getClearUserFeeOverrideInstructionDataDecoder(): FixedSizeDecoder<ClearUserFeeOverrideInstructionData>;
1208
+ declare function getClearUserFeeOverrideInstructionDataCodec(): FixedSizeCodec<ClearUserFeeOverrideInstructionDataArgs, ClearUserFeeOverrideInstructionData>;
1209
+ type ClearUserFeeOverrideAsyncInput<TAccountManager extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
1210
+ manager: TransactionSigner<TAccountManager>;
1211
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
1212
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
1213
+ bundleAccount: Address<TAccountBundleAccount>;
1214
+ clearMask: ClearUserFeeOverrideInstructionDataArgs["clearMask"];
1215
+ };
1216
+ declare function getClearUserFeeOverrideInstructionAsync<TAccountManager extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ClearUserFeeOverrideAsyncInput<TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
1217
+ programAddress?: TProgramAddress;
1218
+ }): Promise<ClearUserFeeOverrideInstruction<TProgramAddress, TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>>;
1219
+ type ClearUserFeeOverrideInput<TAccountManager extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
1220
+ manager: TransactionSigner<TAccountManager>;
1221
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
1222
+ userBundleAccount: Address<TAccountUserBundleAccount>;
1223
+ bundleAccount: Address<TAccountBundleAccount>;
1224
+ clearMask: ClearUserFeeOverrideInstructionDataArgs["clearMask"];
1225
+ };
1226
+ declare function getClearUserFeeOverrideInstruction<TAccountManager extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ClearUserFeeOverrideInput<TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
1227
+ programAddress?: TProgramAddress;
1228
+ }): ClearUserFeeOverrideInstruction<TProgramAddress, TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>;
1229
+ type ParsedClearUserFeeOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1230
+ programAddress: Address<TProgram>;
1231
+ accounts: {
1232
+ manager: TAccountMetas[0];
1233
+ userBundleAccountOwner: TAccountMetas[1];
1234
+ userBundleAccount: TAccountMetas[2];
1235
+ bundleAccount: TAccountMetas[3];
1236
+ };
1237
+ data: ClearUserFeeOverrideInstructionData;
1238
+ };
1239
+ declare function parseClearUserFeeOverrideInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedClearUserFeeOverrideInstruction<TProgram, TAccountMetas>;
1240
+ //#endregion
1241
+ //#region src/generated/instructions/clearUserWithdrawalTimingOverride.d.ts
1242
+ declare const CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR: ReadonlyUint8Array;
1243
+ declare function getClearUserWithdrawalTimingOverrideDiscriminatorBytes(): ReadonlyUint8Array;
1244
+ type ClearUserWithdrawalTimingOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountUserBundleAccountOwner extends string ? ReadonlyAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
1245
+ type ClearUserWithdrawalTimingOverrideInstructionData = {
1246
+ discriminator: ReadonlyUint8Array;
1247
+ clearMask: number;
1248
+ };
1249
+ type ClearUserWithdrawalTimingOverrideInstructionDataArgs = {
1250
+ clearMask: number;
1251
+ };
1252
+ declare function getClearUserWithdrawalTimingOverrideInstructionDataEncoder(): FixedSizeEncoder<ClearUserWithdrawalTimingOverrideInstructionDataArgs>;
1253
+ declare function getClearUserWithdrawalTimingOverrideInstructionDataDecoder(): FixedSizeDecoder<ClearUserWithdrawalTimingOverrideInstructionData>;
1254
+ declare function getClearUserWithdrawalTimingOverrideInstructionDataCodec(): FixedSizeCodec<ClearUserWithdrawalTimingOverrideInstructionDataArgs, ClearUserWithdrawalTimingOverrideInstructionData>;
1255
+ type ClearUserWithdrawalTimingOverrideAsyncInput<TAccountManager extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
1256
+ manager: TransactionSigner<TAccountManager>;
1257
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
1258
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
1259
+ bundleAccount: Address<TAccountBundleAccount>;
1260
+ clearMask: ClearUserWithdrawalTimingOverrideInstructionDataArgs["clearMask"];
1261
+ };
1262
+ declare function getClearUserWithdrawalTimingOverrideInstructionAsync<TAccountManager extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ClearUserWithdrawalTimingOverrideAsyncInput<TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
1263
+ programAddress?: TProgramAddress;
1264
+ }): Promise<ClearUserWithdrawalTimingOverrideInstruction<TProgramAddress, TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>>;
1265
+ type ClearUserWithdrawalTimingOverrideInput<TAccountManager extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
1266
+ manager: TransactionSigner<TAccountManager>;
1267
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
1268
+ userBundleAccount: Address<TAccountUserBundleAccount>;
1269
+ bundleAccount: Address<TAccountBundleAccount>;
1270
+ clearMask: ClearUserWithdrawalTimingOverrideInstructionDataArgs["clearMask"];
1271
+ };
1272
+ declare function getClearUserWithdrawalTimingOverrideInstruction<TAccountManager extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ClearUserWithdrawalTimingOverrideInput<TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
1273
+ programAddress?: TProgramAddress;
1274
+ }): ClearUserWithdrawalTimingOverrideInstruction<TProgramAddress, TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>;
1275
+ type ParsedClearUserWithdrawalTimingOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1276
+ programAddress: Address<TProgram>;
1277
+ accounts: {
1278
+ manager: TAccountMetas[0];
1279
+ userBundleAccountOwner: TAccountMetas[1];
1280
+ userBundleAccount: TAccountMetas[2];
1281
+ bundleAccount: TAccountMetas[3];
1282
+ };
1283
+ data: ClearUserWithdrawalTimingOverrideInstructionData;
1284
+ };
1285
+ declare function parseClearUserWithdrawalTimingOverrideInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedClearUserWithdrawalTimingOverrideInstruction<TProgram, TAccountMetas>;
1286
+ //#endregion
1287
+ //#region src/generated/instructions/closeUserBundleAccount.d.ts
1288
+ declare const CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR: ReadonlyUint8Array;
1289
+ declare function getCloseUserBundleAccountDiscriminatorBytes(): ReadonlyUint8Array;
1290
+ type CloseUserBundleAccountInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
1291
+ type CloseUserBundleAccountInstructionData = {
1292
+ discriminator: ReadonlyUint8Array;
1293
+ };
1294
+ type CloseUserBundleAccountInstructionDataArgs = {};
1295
+ declare function getCloseUserBundleAccountInstructionDataEncoder(): FixedSizeEncoder<CloseUserBundleAccountInstructionDataArgs>;
1296
+ declare function getCloseUserBundleAccountInstructionDataDecoder(): FixedSizeDecoder<CloseUserBundleAccountInstructionData>;
1297
+ declare function getCloseUserBundleAccountInstructionDataCodec(): FixedSizeCodec<CloseUserBundleAccountInstructionDataArgs, CloseUserBundleAccountInstructionData>;
1298
+ type CloseUserBundleAccountAsyncInput<TAccountAuthority extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
1299
+ authority: TransactionSigner<TAccountAuthority>;
1300
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
1301
+ bundleAccount: Address<TAccountBundleAccount>;
1302
+ };
1303
+ declare function getCloseUserBundleAccountInstructionAsync<TAccountAuthority extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: CloseUserBundleAccountAsyncInput<TAccountAuthority, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
1304
+ programAddress?: TProgramAddress;
1305
+ }): Promise<CloseUserBundleAccountInstruction<TProgramAddress, TAccountAuthority, TAccountUserBundleAccount, TAccountBundleAccount>>;
1306
+ type CloseUserBundleAccountInput<TAccountAuthority extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
1307
+ authority: TransactionSigner<TAccountAuthority>;
1308
+ userBundleAccount: Address<TAccountUserBundleAccount>;
1309
+ bundleAccount: Address<TAccountBundleAccount>;
1310
+ };
1311
+ declare function getCloseUserBundleAccountInstruction<TAccountAuthority extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: CloseUserBundleAccountInput<TAccountAuthority, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
1312
+ programAddress?: TProgramAddress;
1313
+ }): CloseUserBundleAccountInstruction<TProgramAddress, TAccountAuthority, TAccountUserBundleAccount, TAccountBundleAccount>;
1314
+ type ParsedCloseUserBundleAccountInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1315
+ programAddress: Address<TProgram>;
1316
+ accounts: {
1317
+ authority: TAccountMetas[0];
1318
+ userBundleAccount: TAccountMetas[1];
1319
+ bundleAccount: TAccountMetas[2];
1320
+ };
1321
+ data: CloseUserBundleAccountInstructionData;
1322
+ };
1323
+ declare function parseCloseUserBundleAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCloseUserBundleAccountInstruction<TProgram, TAccountMetas>;
1324
+ //#endregion
1325
+ //#region src/generated/instructions/distributeToReceivers.d.ts
1326
+ declare const DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR: ReadonlyUint8Array;
1327
+ declare function getDistributeToReceiversDiscriminatorBytes(): ReadonlyUint8Array;
1328
+ type DistributeToReceiversInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountReceiverAddress extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountReceiverAta extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountStrategyAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountReceiverAddress extends string ? WritableAccount<TAccountReceiverAddress> : TAccountReceiverAddress, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountReceiverAta extends string ? WritableAccount<TAccountReceiverAta> : TAccountReceiverAta, TAccountAssetAddress extends string ? ReadonlyAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountStrategyAccount extends string ? WritableAccount<TAccountStrategyAccount> : TAccountStrategyAccount, ...TRemainingAccounts]>;
1329
+ type DistributeToReceiversInstructionData = {
1330
+ discriminator: ReadonlyUint8Array;
1331
+ };
1332
+ type DistributeToReceiversInstructionDataArgs = {};
1333
+ declare function getDistributeToReceiversInstructionDataEncoder(): FixedSizeEncoder<DistributeToReceiversInstructionDataArgs>;
1334
+ declare function getDistributeToReceiversInstructionDataDecoder(): FixedSizeDecoder<DistributeToReceiversInstructionData>;
1335
+ declare function getDistributeToReceiversInstructionDataCodec(): FixedSizeCodec<DistributeToReceiversInstructionDataArgs, DistributeToReceiversInstructionData>;
1336
+ type DistributeToReceiversAsyncInput<TAccountKeeper extends string = string, TAccountReceiverAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountReceiverAta extends string = string, TAccountAssetAddress extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountStrategyAccount extends string = string> = {
1337
+ keeper: TransactionSigner<TAccountKeeper>;
1338
+ receiverAddress: Address<TAccountReceiverAddress>;
1339
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
1340
+ receiverAta: Address<TAccountReceiverAta>;
1341
+ assetAddress: Address<TAccountAssetAddress>;
1342
+ oracleData?: Address<TAccountOracleData>;
1343
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
1344
+ tokenProgram?: Address<TAccountTokenProgram>;
1345
+ bundleAccount: Address<TAccountBundleAccount>;
1346
+ bundleTempData?: Address<TAccountBundleTempData>;
1347
+ strategyAccount?: Address<TAccountStrategyAccount>;
1348
+ };
1349
+ declare function getDistributeToReceiversInstructionAsync<TAccountKeeper extends string, TAccountReceiverAddress extends string, TAccountBundleAssetAccount extends string, TAccountReceiverAta extends string, TAccountAssetAddress extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountStrategyAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: DistributeToReceiversAsyncInput<TAccountKeeper, TAccountReceiverAddress, TAccountBundleAssetAccount, TAccountReceiverAta, TAccountAssetAddress, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram, TAccountBundleAccount, TAccountBundleTempData, TAccountStrategyAccount>, config?: {
1350
+ programAddress?: TProgramAddress;
1351
+ }): Promise<DistributeToReceiversInstruction<TProgramAddress, TAccountKeeper, TAccountReceiverAddress, TAccountBundleAssetAccount, TAccountReceiverAta, TAccountAssetAddress, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram, TAccountBundleAccount, TAccountBundleTempData, TAccountStrategyAccount>>;
1352
+ type DistributeToReceiversInput<TAccountKeeper extends string = string, TAccountReceiverAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountReceiverAta extends string = string, TAccountAssetAddress extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountStrategyAccount extends string = string> = {
1353
+ keeper: TransactionSigner<TAccountKeeper>;
1354
+ receiverAddress: Address<TAccountReceiverAddress>;
1355
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
1356
+ receiverAta: Address<TAccountReceiverAta>;
1357
+ assetAddress: Address<TAccountAssetAddress>;
1358
+ oracleData: Address<TAccountOracleData>;
1359
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
1360
+ tokenProgram?: Address<TAccountTokenProgram>;
1361
+ bundleAccount: Address<TAccountBundleAccount>;
1362
+ bundleTempData: Address<TAccountBundleTempData>;
1363
+ strategyAccount: Address<TAccountStrategyAccount>;
1364
+ };
1365
+ declare function getDistributeToReceiversInstruction<TAccountKeeper extends string, TAccountReceiverAddress extends string, TAccountBundleAssetAccount extends string, TAccountReceiverAta extends string, TAccountAssetAddress extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountStrategyAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: DistributeToReceiversInput<TAccountKeeper, TAccountReceiverAddress, TAccountBundleAssetAccount, TAccountReceiverAta, TAccountAssetAddress, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram, TAccountBundleAccount, TAccountBundleTempData, TAccountStrategyAccount>, config?: {
1366
+ programAddress?: TProgramAddress;
1367
+ }): DistributeToReceiversInstruction<TProgramAddress, TAccountKeeper, TAccountReceiverAddress, TAccountBundleAssetAccount, TAccountReceiverAta, TAccountAssetAddress, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram, TAccountBundleAccount, TAccountBundleTempData, TAccountStrategyAccount>;
1368
+ type ParsedDistributeToReceiversInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1369
+ programAddress: Address<TProgram>;
1370
+ accounts: {
1371
+ keeper: TAccountMetas[0];
1372
+ receiverAddress: TAccountMetas[1];
1373
+ bundleAssetAccount: TAccountMetas[2];
1374
+ receiverAta: TAccountMetas[3];
1375
+ assetAddress: TAccountMetas[4];
1376
+ oracleData: TAccountMetas[5];
1377
+ bundleAssetAuthority: TAccountMetas[6];
1378
+ tokenProgram: TAccountMetas[7];
1379
+ bundleAccount: TAccountMetas[8];
1380
+ bundleTempData: TAccountMetas[9];
1381
+ strategyAccount: TAccountMetas[10];
1382
+ };
1383
+ data: DistributeToReceiversInstructionData;
1384
+ };
1385
+ declare function parseDistributeToReceiversInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedDistributeToReceiversInstruction<TProgram, TAccountMetas>;
1386
+ //#endregion
1387
+ //#region src/generated/instructions/enableStrategy.d.ts
1388
+ declare const ENABLE_STRATEGY_DISCRIMINATOR: ReadonlyUint8Array;
1389
+ declare function getEnableStrategyDiscriminatorBytes(): ReadonlyUint8Array;
1390
+ type EnableStrategyInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountStrategyAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountReceiverAddress extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountStrategyAccount extends string ? WritableAccount<TAccountStrategyAccount> : TAccountStrategyAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountReceiverAddress extends string ? WritableAccount<TAccountReceiverAddress> : TAccountReceiverAddress, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
1391
+ type EnableStrategyInstructionData = {
1392
+ discriminator: ReadonlyUint8Array;
1393
+ };
1394
+ type EnableStrategyInstructionDataArgs = {};
1395
+ declare function getEnableStrategyInstructionDataEncoder(): FixedSizeEncoder<EnableStrategyInstructionDataArgs>;
1396
+ declare function getEnableStrategyInstructionDataDecoder(): FixedSizeDecoder<EnableStrategyInstructionData>;
1397
+ declare function getEnableStrategyInstructionDataCodec(): FixedSizeCodec<EnableStrategyInstructionDataArgs, EnableStrategyInstructionData>;
1398
+ type EnableStrategyAsyncInput<TAccountManager extends string = string, TAccountStrategyAccount extends string = string, TAccountBundleAccount extends string = string, TAccountReceiverAddress extends string = string, TAccountSystemProgram extends string = string> = {
1399
+ manager: TransactionSigner<TAccountManager>;
1400
+ strategyAccount?: Address<TAccountStrategyAccount>;
1401
+ bundleAccount: Address<TAccountBundleAccount>;
1402
+ receiverAddress: Address<TAccountReceiverAddress>;
1403
+ systemProgram?: Address<TAccountSystemProgram>;
1404
+ };
1405
+ declare function getEnableStrategyInstructionAsync<TAccountManager extends string, TAccountStrategyAccount extends string, TAccountBundleAccount extends string, TAccountReceiverAddress extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: EnableStrategyAsyncInput<TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>, config?: {
1406
+ programAddress?: TProgramAddress;
1407
+ }): Promise<EnableStrategyInstruction<TProgramAddress, TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>>;
1408
+ type EnableStrategyInput<TAccountManager extends string = string, TAccountStrategyAccount extends string = string, TAccountBundleAccount extends string = string, TAccountReceiverAddress extends string = string, TAccountSystemProgram extends string = string> = {
1409
+ manager: TransactionSigner<TAccountManager>;
1410
+ strategyAccount: Address<TAccountStrategyAccount>;
1411
+ bundleAccount: Address<TAccountBundleAccount>;
1412
+ receiverAddress: Address<TAccountReceiverAddress>;
1413
+ systemProgram?: Address<TAccountSystemProgram>;
1414
+ };
1415
+ declare function getEnableStrategyInstruction<TAccountManager extends string, TAccountStrategyAccount extends string, TAccountBundleAccount extends string, TAccountReceiverAddress extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: EnableStrategyInput<TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>, config?: {
1416
+ programAddress?: TProgramAddress;
1417
+ }): EnableStrategyInstruction<TProgramAddress, TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>;
1418
+ type ParsedEnableStrategyInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1419
+ programAddress: Address<TProgram>;
1420
+ accounts: {
1421
+ manager: TAccountMetas[0];
1422
+ strategyAccount: TAccountMetas[1];
1423
+ bundleAccount: TAccountMetas[2];
1424
+ receiverAddress: TAccountMetas[3];
1425
+ systemProgram: TAccountMetas[4];
1426
+ };
1427
+ data: EnableStrategyInstructionData;
1428
+ };
1429
+ declare function parseEnableStrategyInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedEnableStrategyInstruction<TProgram, TAccountMetas>;
1430
+ //#endregion
1431
+ //#region src/generated/instructions/endDistribution.d.ts
1432
+ declare const END_DISTRIBUTION_DISCRIMINATOR: ReadonlyUint8Array;
1433
+ declare function getEndDistributionDiscriminatorBytes(): ReadonlyUint8Array;
1434
+ type EndDistributionInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, ...TRemainingAccounts]>;
1435
+ type EndDistributionInstructionData = {
1436
+ discriminator: ReadonlyUint8Array;
1437
+ };
1438
+ type EndDistributionInstructionDataArgs = {};
1439
+ declare function getEndDistributionInstructionDataEncoder(): FixedSizeEncoder<EndDistributionInstructionDataArgs>;
1440
+ declare function getEndDistributionInstructionDataDecoder(): FixedSizeDecoder<EndDistributionInstructionData>;
1441
+ declare function getEndDistributionInstructionDataCodec(): FixedSizeCodec<EndDistributionInstructionDataArgs, EndDistributionInstructionData>;
1442
+ type EndDistributionAsyncInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
1443
+ keeper: TransactionSigner<TAccountKeeper>;
1444
+ bundleAccount: Address<TAccountBundleAccount>;
1445
+ bundleTempData?: Address<TAccountBundleTempData>;
1446
+ oracleData?: Address<TAccountOracleData>;
1447
+ };
1448
+ declare function getEndDistributionInstructionAsync<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: EndDistributionAsyncInput<TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
1449
+ programAddress?: TProgramAddress;
1450
+ }): Promise<EndDistributionInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>>;
1451
+ type EndDistributionInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
1452
+ keeper: TransactionSigner<TAccountKeeper>;
1453
+ bundleAccount: Address<TAccountBundleAccount>;
1454
+ bundleTempData: Address<TAccountBundleTempData>;
1455
+ oracleData: Address<TAccountOracleData>;
1456
+ };
1457
+ declare function getEndDistributionInstruction<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: EndDistributionInput<TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
1458
+ programAddress?: TProgramAddress;
1459
+ }): EndDistributionInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>;
1460
+ type ParsedEndDistributionInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1461
+ programAddress: Address<TProgram>;
1462
+ accounts: {
1463
+ keeper: TAccountMetas[0];
1464
+ bundleAccount: TAccountMetas[1];
1465
+ bundleTempData: TAccountMetas[2];
1466
+ oracleData: TAccountMetas[3];
1467
+ };
1468
+ data: EndDistributionInstructionData;
1469
+ };
1470
+ declare function parseEndDistributionInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedEndDistributionInstruction<TProgram, TAccountMetas>;
1471
+ //#endregion
1472
+ //#region src/generated/instructions/initializeBundle.d.ts
1473
+ declare const INITIALIZE_BUNDLE_DISCRIMINATOR: ReadonlyUint8Array;
1474
+ declare function getInitializeBundleDiscriminatorBytes(): ReadonlyUint8Array;
1475
+ type InitializeBundleInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountCreator extends string | AccountMeta<string> = string, TAccountBundleCreatorAccount extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountTreasuryAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountCreator extends string ? WritableSignerAccount<TAccountCreator> & AccountSignerMeta<TAccountCreator> : TAccountCreator, TAccountBundleCreatorAccount extends string ? ReadonlyAccount<TAccountBundleCreatorAccount> : TAccountBundleCreatorAccount, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountTreasuryAccount extends string ? WritableAccount<TAccountTreasuryAccount> : TAccountTreasuryAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, ...TRemainingAccounts]>;
1476
+ type InitializeBundleInstructionData = {
1477
+ discriminator: ReadonlyUint8Array;
1478
+ name: ReadonlyUint8Array;
1479
+ keeper: Address;
1480
+ depositFee: number;
1481
+ withdrawalFee: number;
1482
+ performanceFee: number;
1483
+ managementFeeBps: number;
1484
+ oracleBuffer: bigint;
1485
+ maxDepositAmount: bigint;
1486
+ minDepositAmount: bigint;
1487
+ withdrawalDelay: bigint;
1488
+ withdrawalTMin: bigint;
1489
+ withdrawalTMax: bigint;
1490
+ withdrawalCurve: number;
1491
+ oracleMaxAge: bigint;
1492
+ oracleUpdateTimeLimit: bigint;
1493
+ withdrawalRedemptionRequestCutoffTs: bigint;
1494
+ withdrawalRedemptionUnlockCurrentCycleTs: bigint;
1495
+ withdrawalRedemptionUnlockNextCycleTs: bigint;
1496
+ permissionned: boolean;
1497
+ };
1498
+ type InitializeBundleInstructionDataArgs = {
1499
+ name: ReadonlyUint8Array;
1500
+ keeper: Address;
1501
+ depositFee: number;
1502
+ withdrawalFee: number;
1503
+ performanceFee: number;
1504
+ managementFeeBps: number;
1505
+ oracleBuffer: number | bigint;
1506
+ maxDepositAmount: number | bigint;
1507
+ minDepositAmount: number | bigint;
1508
+ withdrawalDelay: number | bigint;
1509
+ withdrawalTMin: number | bigint;
1510
+ withdrawalTMax: number | bigint;
1511
+ withdrawalCurve: number;
1512
+ oracleMaxAge: number | bigint;
1513
+ oracleUpdateTimeLimit: number | bigint;
1514
+ withdrawalRedemptionRequestCutoffTs: number | bigint;
1515
+ withdrawalRedemptionUnlockCurrentCycleTs: number | bigint;
1516
+ withdrawalRedemptionUnlockNextCycleTs: number | bigint;
1517
+ permissionned: boolean;
1518
+ };
1519
+ declare function getInitializeBundleInstructionDataEncoder(): FixedSizeEncoder<InitializeBundleInstructionDataArgs>;
1520
+ declare function getInitializeBundleInstructionDataDecoder(): FixedSizeDecoder<InitializeBundleInstructionData>;
1521
+ declare function getInitializeBundleInstructionDataCodec(): FixedSizeCodec<InitializeBundleInstructionDataArgs, InitializeBundleInstructionData>;
1522
+ type InitializeBundleAsyncInput<TAccountCreator extends string = string, TAccountBundleCreatorAccount extends string = string, TAccountSystemProgram extends string = string, TAccountTreasuryAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
1523
+ creator: TransactionSigner<TAccountCreator>;
1524
+ bundleCreatorAccount?: Address<TAccountBundleCreatorAccount>;
1525
+ systemProgram?: Address<TAccountSystemProgram>;
1526
+ treasuryAccount: Address<TAccountTreasuryAccount>;
1527
+ assetAddress: Address<TAccountAssetAddress>;
1528
+ bundleAccount?: Address<TAccountBundleAccount>;
1529
+ bundleTempData?: Address<TAccountBundleTempData>;
1530
+ oracleData?: Address<TAccountOracleData>;
1531
+ name: InitializeBundleInstructionDataArgs["name"];
1532
+ keeper: InitializeBundleInstructionDataArgs["keeper"];
1533
+ depositFee: InitializeBundleInstructionDataArgs["depositFee"];
1534
+ withdrawalFee: InitializeBundleInstructionDataArgs["withdrawalFee"];
1535
+ performanceFee: InitializeBundleInstructionDataArgs["performanceFee"];
1536
+ managementFeeBps: InitializeBundleInstructionDataArgs["managementFeeBps"];
1537
+ oracleBuffer: InitializeBundleInstructionDataArgs["oracleBuffer"];
1538
+ maxDepositAmount: InitializeBundleInstructionDataArgs["maxDepositAmount"];
1539
+ minDepositAmount: InitializeBundleInstructionDataArgs["minDepositAmount"];
1540
+ withdrawalDelay: InitializeBundleInstructionDataArgs["withdrawalDelay"];
1541
+ withdrawalTMin: InitializeBundleInstructionDataArgs["withdrawalTMin"];
1542
+ withdrawalTMax: InitializeBundleInstructionDataArgs["withdrawalTMax"];
1543
+ withdrawalCurve: InitializeBundleInstructionDataArgs["withdrawalCurve"];
1544
+ oracleMaxAge: InitializeBundleInstructionDataArgs["oracleMaxAge"];
1545
+ oracleUpdateTimeLimit: InitializeBundleInstructionDataArgs["oracleUpdateTimeLimit"];
1546
+ withdrawalRedemptionRequestCutoffTs: InitializeBundleInstructionDataArgs["withdrawalRedemptionRequestCutoffTs"];
1547
+ withdrawalRedemptionUnlockCurrentCycleTs: InitializeBundleInstructionDataArgs["withdrawalRedemptionUnlockCurrentCycleTs"];
1548
+ withdrawalRedemptionUnlockNextCycleTs: InitializeBundleInstructionDataArgs["withdrawalRedemptionUnlockNextCycleTs"];
1549
+ permissionned: InitializeBundleInstructionDataArgs["permissionned"];
1550
+ };
1551
+ declare function getInitializeBundleInstructionAsync<TAccountCreator extends string, TAccountBundleCreatorAccount extends string, TAccountSystemProgram extends string, TAccountTreasuryAccount extends string, TAccountAssetAddress extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: InitializeBundleAsyncInput<TAccountCreator, TAccountBundleCreatorAccount, TAccountSystemProgram, TAccountTreasuryAccount, TAccountAssetAddress, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
1552
+ programAddress?: TProgramAddress;
1553
+ }): Promise<InitializeBundleInstruction<TProgramAddress, TAccountCreator, TAccountBundleCreatorAccount, TAccountSystemProgram, TAccountTreasuryAccount, TAccountAssetAddress, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>>;
1554
+ type InitializeBundleInput<TAccountCreator extends string = string, TAccountBundleCreatorAccount extends string = string, TAccountSystemProgram extends string = string, TAccountTreasuryAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
1555
+ creator: TransactionSigner<TAccountCreator>;
1556
+ bundleCreatorAccount: Address<TAccountBundleCreatorAccount>;
1557
+ systemProgram?: Address<TAccountSystemProgram>;
1558
+ treasuryAccount: Address<TAccountTreasuryAccount>;
1559
+ assetAddress: Address<TAccountAssetAddress>;
1560
+ bundleAccount: Address<TAccountBundleAccount>;
1561
+ bundleTempData: Address<TAccountBundleTempData>;
1562
+ oracleData: Address<TAccountOracleData>;
1563
+ name: InitializeBundleInstructionDataArgs["name"];
1564
+ keeper: InitializeBundleInstructionDataArgs["keeper"];
1565
+ depositFee: InitializeBundleInstructionDataArgs["depositFee"];
1566
+ withdrawalFee: InitializeBundleInstructionDataArgs["withdrawalFee"];
1567
+ performanceFee: InitializeBundleInstructionDataArgs["performanceFee"];
1568
+ managementFeeBps: InitializeBundleInstructionDataArgs["managementFeeBps"];
1569
+ oracleBuffer: InitializeBundleInstructionDataArgs["oracleBuffer"];
1570
+ maxDepositAmount: InitializeBundleInstructionDataArgs["maxDepositAmount"];
1571
+ minDepositAmount: InitializeBundleInstructionDataArgs["minDepositAmount"];
1572
+ withdrawalDelay: InitializeBundleInstructionDataArgs["withdrawalDelay"];
1573
+ withdrawalTMin: InitializeBundleInstructionDataArgs["withdrawalTMin"];
1574
+ withdrawalTMax: InitializeBundleInstructionDataArgs["withdrawalTMax"];
1575
+ withdrawalCurve: InitializeBundleInstructionDataArgs["withdrawalCurve"];
1576
+ oracleMaxAge: InitializeBundleInstructionDataArgs["oracleMaxAge"];
1577
+ oracleUpdateTimeLimit: InitializeBundleInstructionDataArgs["oracleUpdateTimeLimit"];
1578
+ withdrawalRedemptionRequestCutoffTs: InitializeBundleInstructionDataArgs["withdrawalRedemptionRequestCutoffTs"];
1579
+ withdrawalRedemptionUnlockCurrentCycleTs: InitializeBundleInstructionDataArgs["withdrawalRedemptionUnlockCurrentCycleTs"];
1580
+ withdrawalRedemptionUnlockNextCycleTs: InitializeBundleInstructionDataArgs["withdrawalRedemptionUnlockNextCycleTs"];
1581
+ permissionned: InitializeBundleInstructionDataArgs["permissionned"];
1582
+ };
1583
+ declare function getInitializeBundleInstruction<TAccountCreator extends string, TAccountBundleCreatorAccount extends string, TAccountSystemProgram extends string, TAccountTreasuryAccount extends string, TAccountAssetAddress extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: InitializeBundleInput<TAccountCreator, TAccountBundleCreatorAccount, TAccountSystemProgram, TAccountTreasuryAccount, TAccountAssetAddress, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
1584
+ programAddress?: TProgramAddress;
1585
+ }): InitializeBundleInstruction<TProgramAddress, TAccountCreator, TAccountBundleCreatorAccount, TAccountSystemProgram, TAccountTreasuryAccount, TAccountAssetAddress, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>;
1586
+ type ParsedInitializeBundleInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1587
+ programAddress: Address<TProgram>;
1588
+ accounts: {
1589
+ creator: TAccountMetas[0];
1590
+ bundleCreatorAccount: TAccountMetas[1];
1591
+ systemProgram: TAccountMetas[2];
1592
+ treasuryAccount: TAccountMetas[3];
1593
+ assetAddress: TAccountMetas[4];
1594
+ bundleAccount: TAccountMetas[5];
1595
+ bundleTempData: TAccountMetas[6];
1596
+ oracleData: TAccountMetas[7];
1597
+ };
1598
+ data: InitializeBundleInstructionData;
1599
+ };
1600
+ declare function parseInitializeBundleInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeBundleInstruction<TProgram, TAccountMetas>;
1601
+ //#endregion
1602
+ //#region src/generated/instructions/initializeBundleDepositor.d.ts
1603
+ declare const INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR: ReadonlyUint8Array;
1604
+ declare function getInitializeBundleDepositorDiscriminatorBytes(): ReadonlyUint8Array;
1605
+ type InitializeBundleDepositorInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, ...TRemainingAccounts]>;
1606
+ type InitializeBundleDepositorInstructionData = {
1607
+ discriminator: ReadonlyUint8Array;
1608
+ };
1609
+ type InitializeBundleDepositorInstructionDataArgs = {};
1610
+ declare function getInitializeBundleDepositorInstructionDataEncoder(): FixedSizeEncoder<InitializeBundleDepositorInstructionDataArgs>;
1611
+ declare function getInitializeBundleDepositorInstructionDataDecoder(): FixedSizeDecoder<InitializeBundleDepositorInstructionData>;
1612
+ declare function getInitializeBundleDepositorInstructionDataCodec(): FixedSizeCodec<InitializeBundleDepositorInstructionDataArgs, InitializeBundleDepositorInstructionData>;
1613
+ type InitializeBundleDepositorAsyncInput<TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountBundleAccount extends string = string, TAccountUserBundleAccount extends string = string> = {
1614
+ payer: TransactionSigner<TAccountPayer>;
1615
+ authority: TransactionSigner<TAccountAuthority>;
1616
+ systemProgram?: Address<TAccountSystemProgram>;
1617
+ bundleAccount: Address<TAccountBundleAccount>;
1618
+ /** each user gets one UserBundleAccount account; it will be created if it doesn't exist. */
1619
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
1620
+ };
1621
+ declare function getInitializeBundleDepositorInstructionAsync<TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountBundleAccount extends string, TAccountUserBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: InitializeBundleDepositorAsyncInput<TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountBundleAccount, TAccountUserBundleAccount>, config?: {
1622
+ programAddress?: TProgramAddress;
1623
+ }): Promise<InitializeBundleDepositorInstruction<TProgramAddress, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountBundleAccount, TAccountUserBundleAccount>>;
1624
+ type InitializeBundleDepositorInput<TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountBundleAccount extends string = string, TAccountUserBundleAccount extends string = string> = {
1625
+ payer: TransactionSigner<TAccountPayer>;
1626
+ authority: TransactionSigner<TAccountAuthority>;
1627
+ systemProgram?: Address<TAccountSystemProgram>;
1628
+ bundleAccount: Address<TAccountBundleAccount>;
1629
+ /** each user gets one UserBundleAccount account; it will be created if it doesn't exist. */
1630
+ userBundleAccount: Address<TAccountUserBundleAccount>;
1631
+ };
1632
+ declare function getInitializeBundleDepositorInstruction<TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountBundleAccount extends string, TAccountUserBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: InitializeBundleDepositorInput<TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountBundleAccount, TAccountUserBundleAccount>, config?: {
1633
+ programAddress?: TProgramAddress;
1634
+ }): InitializeBundleDepositorInstruction<TProgramAddress, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountBundleAccount, TAccountUserBundleAccount>;
1635
+ type ParsedInitializeBundleDepositorInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1636
+ programAddress: Address<TProgram>;
1637
+ accounts: {
1638
+ payer: TAccountMetas[0];
1639
+ authority: TAccountMetas[1];
1640
+ systemProgram: TAccountMetas[2];
1641
+ bundleAccount: TAccountMetas[3];
1642
+ /** each user gets one UserBundleAccount account; it will be created if it doesn't exist. */
1643
+ userBundleAccount: TAccountMetas[4];
1644
+ };
1645
+ data: InitializeBundleDepositorInstructionData;
1646
+ };
1647
+ declare function parseInitializeBundleDepositorInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeBundleDepositorInstruction<TProgram, TAccountMetas>;
1648
+ //#endregion
1649
+ //#region src/generated/instructions/initializeBundleMasterAccount.d.ts
1650
+ declare const INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR: ReadonlyUint8Array;
1651
+ declare function getInitializeBundleMasterAccountDiscriminatorBytes(): ReadonlyUint8Array;
1652
+ type InitializeBundleMasterAccountInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountAdmin extends string | AccountMeta<string> = string, TAccountBundleMasterAccount extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAdmin extends string ? WritableSignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin, TAccountBundleMasterAccount extends string ? WritableAccount<TAccountBundleMasterAccount> : TAccountBundleMasterAccount, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
1653
+ type InitializeBundleMasterAccountInstructionData = {
1654
+ discriminator: ReadonlyUint8Array;
1655
+ };
1656
+ type InitializeBundleMasterAccountInstructionDataArgs = {};
1657
+ declare function getInitializeBundleMasterAccountInstructionDataEncoder(): FixedSizeEncoder<InitializeBundleMasterAccountInstructionDataArgs>;
1658
+ declare function getInitializeBundleMasterAccountInstructionDataDecoder(): FixedSizeDecoder<InitializeBundleMasterAccountInstructionData>;
1659
+ declare function getInitializeBundleMasterAccountInstructionDataCodec(): FixedSizeCodec<InitializeBundleMasterAccountInstructionDataArgs, InitializeBundleMasterAccountInstructionData>;
1660
+ type InitializeBundleMasterAccountAsyncInput<TAccountAdmin extends string = string, TAccountBundleMasterAccount extends string = string, TAccountSystemProgram extends string = string> = {
1661
+ admin: TransactionSigner<TAccountAdmin>;
1662
+ bundleMasterAccount?: Address<TAccountBundleMasterAccount>;
1663
+ systemProgram?: Address<TAccountSystemProgram>;
1664
+ };
1665
+ declare function getInitializeBundleMasterAccountInstructionAsync<TAccountAdmin extends string, TAccountBundleMasterAccount extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: InitializeBundleMasterAccountAsyncInput<TAccountAdmin, TAccountBundleMasterAccount, TAccountSystemProgram>, config?: {
1666
+ programAddress?: TProgramAddress;
1667
+ }): Promise<InitializeBundleMasterAccountInstruction<TProgramAddress, TAccountAdmin, TAccountBundleMasterAccount, TAccountSystemProgram>>;
1668
+ type InitializeBundleMasterAccountInput<TAccountAdmin extends string = string, TAccountBundleMasterAccount extends string = string, TAccountSystemProgram extends string = string> = {
1669
+ admin: TransactionSigner<TAccountAdmin>;
1670
+ bundleMasterAccount: Address<TAccountBundleMasterAccount>;
1671
+ systemProgram?: Address<TAccountSystemProgram>;
1672
+ };
1673
+ declare function getInitializeBundleMasterAccountInstruction<TAccountAdmin extends string, TAccountBundleMasterAccount extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: InitializeBundleMasterAccountInput<TAccountAdmin, TAccountBundleMasterAccount, TAccountSystemProgram>, config?: {
1674
+ programAddress?: TProgramAddress;
1675
+ }): InitializeBundleMasterAccountInstruction<TProgramAddress, TAccountAdmin, TAccountBundleMasterAccount, TAccountSystemProgram>;
1676
+ type ParsedInitializeBundleMasterAccountInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1677
+ programAddress: Address<TProgram>;
1678
+ accounts: {
1679
+ admin: TAccountMetas[0];
1680
+ bundleMasterAccount: TAccountMetas[1];
1681
+ systemProgram: TAccountMetas[2];
1682
+ };
1683
+ data: InitializeBundleMasterAccountInstructionData;
1684
+ };
1685
+ declare function parseInitializeBundleMasterAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeBundleMasterAccountInstruction<TProgram, TAccountMetas>;
1686
+ //#endregion
1687
+ //#region src/generated/instructions/initializePermissionedBundleDepositor.d.ts
1688
+ declare const INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR: ReadonlyUint8Array;
1689
+ declare function getInitializePermissionedBundleDepositorDiscriminatorBytes(): ReadonlyUint8Array;
1690
+ type InitializePermissionedBundleDepositorInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? WritableAccount<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, ...TRemainingAccounts]>;
1691
+ type InitializePermissionedBundleDepositorInstructionData = {
1692
+ discriminator: ReadonlyUint8Array;
1693
+ };
1694
+ type InitializePermissionedBundleDepositorInstructionDataArgs = {};
1695
+ declare function getInitializePermissionedBundleDepositorInstructionDataEncoder(): FixedSizeEncoder<InitializePermissionedBundleDepositorInstructionDataArgs>;
1696
+ declare function getInitializePermissionedBundleDepositorInstructionDataDecoder(): FixedSizeDecoder<InitializePermissionedBundleDepositorInstructionData>;
1697
+ declare function getInitializePermissionedBundleDepositorInstructionDataCodec(): FixedSizeCodec<InitializePermissionedBundleDepositorInstructionDataArgs, InitializePermissionedBundleDepositorInstructionData>;
1698
+ type InitializePermissionedBundleDepositorAsyncInput<TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountBundleAccount extends string = string, TAccountUserBundleAccount extends string = string> = {
1699
+ payer: TransactionSigner<TAccountPayer>;
1700
+ authority: Address<TAccountAuthority>;
1701
+ systemProgram?: Address<TAccountSystemProgram>;
1702
+ bundleAccount: Address<TAccountBundleAccount>;
1703
+ /** each user gets one UserBundleAccount account; it will be created if it doesn't exist. */
1704
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
1705
+ };
1706
+ declare function getInitializePermissionedBundleDepositorInstructionAsync<TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountBundleAccount extends string, TAccountUserBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: InitializePermissionedBundleDepositorAsyncInput<TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountBundleAccount, TAccountUserBundleAccount>, config?: {
1707
+ programAddress?: TProgramAddress;
1708
+ }): Promise<InitializePermissionedBundleDepositorInstruction<TProgramAddress, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountBundleAccount, TAccountUserBundleAccount>>;
1709
+ type InitializePermissionedBundleDepositorInput<TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountBundleAccount extends string = string, TAccountUserBundleAccount extends string = string> = {
1710
+ payer: TransactionSigner<TAccountPayer>;
1711
+ authority: Address<TAccountAuthority>;
1712
+ systemProgram?: Address<TAccountSystemProgram>;
1713
+ bundleAccount: Address<TAccountBundleAccount>;
1714
+ /** each user gets one UserBundleAccount account; it will be created if it doesn't exist. */
1715
+ userBundleAccount: Address<TAccountUserBundleAccount>;
1716
+ };
1717
+ declare function getInitializePermissionedBundleDepositorInstruction<TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountBundleAccount extends string, TAccountUserBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: InitializePermissionedBundleDepositorInput<TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountBundleAccount, TAccountUserBundleAccount>, config?: {
1718
+ programAddress?: TProgramAddress;
1719
+ }): InitializePermissionedBundleDepositorInstruction<TProgramAddress, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountBundleAccount, TAccountUserBundleAccount>;
1720
+ type ParsedInitializePermissionedBundleDepositorInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1721
+ programAddress: Address<TProgram>;
1722
+ accounts: {
1723
+ payer: TAccountMetas[0];
1724
+ authority: TAccountMetas[1];
1725
+ systemProgram: TAccountMetas[2];
1726
+ bundleAccount: TAccountMetas[3];
1727
+ /** each user gets one UserBundleAccount account; it will be created if it doesn't exist. */
1728
+ userBundleAccount: TAccountMetas[4];
1729
+ };
1730
+ data: InitializePermissionedBundleDepositorInstructionData;
1731
+ };
1732
+ declare function parseInitializePermissionedBundleDepositorInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializePermissionedBundleDepositorInstruction<TProgram, TAccountMetas>;
1733
+ //#endregion
1734
+ //#region src/generated/instructions/managerWithdraw.d.ts
1735
+ declare const MANAGER_WITHDRAW_DISCRIMINATOR: ReadonlyUint8Array;
1736
+ declare function getManagerWithdrawDiscriminatorBytes(): ReadonlyUint8Array;
1737
+ type ManagerWithdrawInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountManagerTokenAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountManagerTokenAccount extends string ? WritableAccount<TAccountManagerTokenAccount> : TAccountManagerTokenAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...TRemainingAccounts]>;
1738
+ type ManagerWithdrawInstructionData = {
1739
+ discriminator: ReadonlyUint8Array;
1740
+ };
1741
+ type ManagerWithdrawInstructionDataArgs = {};
1742
+ declare function getManagerWithdrawInstructionDataEncoder(): FixedSizeEncoder<ManagerWithdrawInstructionDataArgs>;
1743
+ declare function getManagerWithdrawInstructionDataDecoder(): FixedSizeDecoder<ManagerWithdrawInstructionData>;
1744
+ declare function getManagerWithdrawInstructionDataCodec(): FixedSizeCodec<ManagerWithdrawInstructionDataArgs, ManagerWithdrawInstructionData>;
1745
+ type ManagerWithdrawAsyncInput<TAccountManager extends string = string, TAccountManagerTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string> = {
1746
+ manager: TransactionSigner<TAccountManager>;
1747
+ managerTokenAccount: Address<TAccountManagerTokenAccount>;
1748
+ assetAddress: Address<TAccountAssetAddress>;
1749
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
1750
+ bundleAccount: Address<TAccountBundleAccount>;
1751
+ oracleData?: Address<TAccountOracleData>;
1752
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
1753
+ tokenProgram?: Address<TAccountTokenProgram>;
1754
+ };
1755
+ declare function getManagerWithdrawInstructionAsync<TAccountManager extends string, TAccountManagerTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ManagerWithdrawAsyncInput<TAccountManager, TAccountManagerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>, config?: {
1756
+ programAddress?: TProgramAddress;
1757
+ }): Promise<ManagerWithdrawInstruction<TProgramAddress, TAccountManager, TAccountManagerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>>;
1758
+ type ManagerWithdrawInput<TAccountManager extends string = string, TAccountManagerTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string> = {
1759
+ manager: TransactionSigner<TAccountManager>;
1760
+ managerTokenAccount: Address<TAccountManagerTokenAccount>;
1761
+ assetAddress: Address<TAccountAssetAddress>;
1762
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
1763
+ bundleAccount: Address<TAccountBundleAccount>;
1764
+ oracleData: Address<TAccountOracleData>;
1765
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
1766
+ tokenProgram?: Address<TAccountTokenProgram>;
1767
+ };
1768
+ declare function getManagerWithdrawInstruction<TAccountManager extends string, TAccountManagerTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ManagerWithdrawInput<TAccountManager, TAccountManagerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>, config?: {
1769
+ programAddress?: TProgramAddress;
1770
+ }): ManagerWithdrawInstruction<TProgramAddress, TAccountManager, TAccountManagerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>;
1771
+ type ParsedManagerWithdrawInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1772
+ programAddress: Address<TProgram>;
1773
+ accounts: {
1774
+ manager: TAccountMetas[0];
1775
+ managerTokenAccount: TAccountMetas[1];
1776
+ assetAddress: TAccountMetas[2];
1777
+ bundleAssetAccount: TAccountMetas[3];
1778
+ bundleAccount: TAccountMetas[4];
1779
+ oracleData: TAccountMetas[5];
1780
+ bundleAssetAuthority: TAccountMetas[6];
1781
+ tokenProgram: TAccountMetas[7];
1782
+ };
1783
+ data: ManagerWithdrawInstructionData;
1784
+ };
1785
+ declare function parseManagerWithdrawInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedManagerWithdrawInstruction<TProgram, TAccountMetas>;
1786
+ //#endregion
1787
+ //#region src/generated/instructions/managerWithdrawWithSplit.d.ts
1788
+ declare const MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR: ReadonlyUint8Array;
1789
+ declare function getManagerWithdrawWithSplitDiscriminatorBytes(): ReadonlyUint8Array;
1790
+ type ManagerWithdrawWithSplitInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountManagerTokenAccount extends string | AccountMeta<string> = string, TAccountPartnerTokenAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountManagerTokenAccount extends string ? WritableAccount<TAccountManagerTokenAccount> : TAccountManagerTokenAccount, TAccountPartnerTokenAccount extends string ? WritableAccount<TAccountPartnerTokenAccount> : TAccountPartnerTokenAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...TRemainingAccounts]>;
1791
+ type ManagerWithdrawWithSplitInstructionData = {
1792
+ discriminator: ReadonlyUint8Array;
1793
+ partnerPfeeBps: number;
1794
+ partnerMfeeBps: number;
1795
+ };
1796
+ type ManagerWithdrawWithSplitInstructionDataArgs = {
1797
+ partnerPfeeBps: number;
1798
+ partnerMfeeBps: number;
1799
+ };
1800
+ declare function getManagerWithdrawWithSplitInstructionDataEncoder(): FixedSizeEncoder<ManagerWithdrawWithSplitInstructionDataArgs>;
1801
+ declare function getManagerWithdrawWithSplitInstructionDataDecoder(): FixedSizeDecoder<ManagerWithdrawWithSplitInstructionData>;
1802
+ declare function getManagerWithdrawWithSplitInstructionDataCodec(): FixedSizeCodec<ManagerWithdrawWithSplitInstructionDataArgs, ManagerWithdrawWithSplitInstructionData>;
1803
+ type ManagerWithdrawWithSplitAsyncInput<TAccountManager extends string = string, TAccountManagerTokenAccount extends string = string, TAccountPartnerTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string> = {
1804
+ manager: TransactionSigner<TAccountManager>;
1805
+ managerTokenAccount: Address<TAccountManagerTokenAccount>;
1806
+ partnerTokenAccount: Address<TAccountPartnerTokenAccount>;
1807
+ assetAddress: Address<TAccountAssetAddress>;
1808
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
1809
+ bundleAccount: Address<TAccountBundleAccount>;
1810
+ oracleData?: Address<TAccountOracleData>;
1811
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
1812
+ tokenProgram?: Address<TAccountTokenProgram>;
1813
+ partnerPfeeBps: ManagerWithdrawWithSplitInstructionDataArgs["partnerPfeeBps"];
1814
+ partnerMfeeBps: ManagerWithdrawWithSplitInstructionDataArgs["partnerMfeeBps"];
1815
+ };
1816
+ declare function getManagerWithdrawWithSplitInstructionAsync<TAccountManager extends string, TAccountManagerTokenAccount extends string, TAccountPartnerTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ManagerWithdrawWithSplitAsyncInput<TAccountManager, TAccountManagerTokenAccount, TAccountPartnerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>, config?: {
1817
+ programAddress?: TProgramAddress;
1818
+ }): Promise<ManagerWithdrawWithSplitInstruction<TProgramAddress, TAccountManager, TAccountManagerTokenAccount, TAccountPartnerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>>;
1819
+ type ManagerWithdrawWithSplitInput<TAccountManager extends string = string, TAccountManagerTokenAccount extends string = string, TAccountPartnerTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string> = {
1820
+ manager: TransactionSigner<TAccountManager>;
1821
+ managerTokenAccount: Address<TAccountManagerTokenAccount>;
1822
+ partnerTokenAccount: Address<TAccountPartnerTokenAccount>;
1823
+ assetAddress: Address<TAccountAssetAddress>;
1824
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
1825
+ bundleAccount: Address<TAccountBundleAccount>;
1826
+ oracleData: Address<TAccountOracleData>;
1827
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
1828
+ tokenProgram?: Address<TAccountTokenProgram>;
1829
+ partnerPfeeBps: ManagerWithdrawWithSplitInstructionDataArgs["partnerPfeeBps"];
1830
+ partnerMfeeBps: ManagerWithdrawWithSplitInstructionDataArgs["partnerMfeeBps"];
1831
+ };
1832
+ declare function getManagerWithdrawWithSplitInstruction<TAccountManager extends string, TAccountManagerTokenAccount extends string, TAccountPartnerTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ManagerWithdrawWithSplitInput<TAccountManager, TAccountManagerTokenAccount, TAccountPartnerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>, config?: {
1833
+ programAddress?: TProgramAddress;
1834
+ }): ManagerWithdrawWithSplitInstruction<TProgramAddress, TAccountManager, TAccountManagerTokenAccount, TAccountPartnerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>;
1835
+ type ParsedManagerWithdrawWithSplitInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1836
+ programAddress: Address<TProgram>;
1837
+ accounts: {
1838
+ manager: TAccountMetas[0];
1839
+ managerTokenAccount: TAccountMetas[1];
1840
+ partnerTokenAccount: TAccountMetas[2];
1841
+ assetAddress: TAccountMetas[3];
1842
+ bundleAssetAccount: TAccountMetas[4];
1843
+ bundleAccount: TAccountMetas[5];
1844
+ oracleData: TAccountMetas[6];
1845
+ bundleAssetAuthority: TAccountMetas[7];
1846
+ tokenProgram: TAccountMetas[8];
1847
+ };
1848
+ data: ManagerWithdrawWithSplitInstructionData;
1849
+ };
1850
+ declare function parseManagerWithdrawWithSplitInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedManagerWithdrawWithSplitInstruction<TProgram, TAccountMetas>;
1851
+ //#endregion
1852
+ //#region src/generated/instructions/netPendingTransactions.d.ts
1853
+ declare const NET_PENDING_TRANSACTIONS_DISCRIMINATOR: ReadonlyUint8Array;
1854
+ declare function getNetPendingTransactionsDiscriminatorBytes(): ReadonlyUint8Array;
1855
+ type NetPendingTransactionsInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountPendingDepositTokenAccount extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountPendingBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountPendingDepositTokenAccount extends string ? WritableAccount<TAccountPendingDepositTokenAccount> : TAccountPendingDepositTokenAccount, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountPendingBundleAssetAuthority extends string ? WritableAccount<TAccountPendingBundleAssetAuthority> : TAccountPendingBundleAssetAuthority, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...TRemainingAccounts]>;
1856
+ type NetPendingTransactionsInstructionData = {
1857
+ discriminator: ReadonlyUint8Array;
1858
+ };
1859
+ type NetPendingTransactionsInstructionDataArgs = {};
1860
+ declare function getNetPendingTransactionsInstructionDataEncoder(): FixedSizeEncoder<NetPendingTransactionsInstructionDataArgs>;
1861
+ declare function getNetPendingTransactionsInstructionDataDecoder(): FixedSizeDecoder<NetPendingTransactionsInstructionData>;
1862
+ declare function getNetPendingTransactionsInstructionDataCodec(): FixedSizeCodec<NetPendingTransactionsInstructionDataArgs, NetPendingTransactionsInstructionData>;
1863
+ type NetPendingTransactionsAsyncInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountPendingDepositTokenAccount extends string = string, TAccountBundleAssetAccount extends string = string, TAccountAssetAddress extends string = string, TAccountPendingBundleAssetAuthority extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string> = {
1864
+ keeper: TransactionSigner<TAccountKeeper>;
1865
+ bundleAccount: Address<TAccountBundleAccount>;
1866
+ pendingDepositTokenAccount?: Address<TAccountPendingDepositTokenAccount>;
1867
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
1868
+ assetAddress: Address<TAccountAssetAddress>;
1869
+ pendingBundleAssetAuthority?: Address<TAccountPendingBundleAssetAuthority>;
1870
+ oracleData?: Address<TAccountOracleData>;
1871
+ bundleTempData?: Address<TAccountBundleTempData>;
1872
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
1873
+ tokenProgram?: Address<TAccountTokenProgram>;
1874
+ };
1875
+ declare function getNetPendingTransactionsInstructionAsync<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountPendingDepositTokenAccount extends string, TAccountBundleAssetAccount extends string, TAccountAssetAddress extends string, TAccountPendingBundleAssetAuthority extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: NetPendingTransactionsAsyncInput<TAccountKeeper, TAccountBundleAccount, TAccountPendingDepositTokenAccount, TAccountBundleAssetAccount, TAccountAssetAddress, TAccountPendingBundleAssetAuthority, TAccountOracleData, TAccountBundleTempData, TAccountBundleAssetAuthority, TAccountTokenProgram>, config?: {
1876
+ programAddress?: TProgramAddress;
1877
+ }): Promise<NetPendingTransactionsInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountPendingDepositTokenAccount, TAccountBundleAssetAccount, TAccountAssetAddress, TAccountPendingBundleAssetAuthority, TAccountOracleData, TAccountBundleTempData, TAccountBundleAssetAuthority, TAccountTokenProgram>>;
1878
+ type NetPendingTransactionsInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountPendingDepositTokenAccount extends string = string, TAccountBundleAssetAccount extends string = string, TAccountAssetAddress extends string = string, TAccountPendingBundleAssetAuthority extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string> = {
1879
+ keeper: TransactionSigner<TAccountKeeper>;
1880
+ bundleAccount: Address<TAccountBundleAccount>;
1881
+ pendingDepositTokenAccount: Address<TAccountPendingDepositTokenAccount>;
1882
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
1883
+ assetAddress: Address<TAccountAssetAddress>;
1884
+ pendingBundleAssetAuthority: Address<TAccountPendingBundleAssetAuthority>;
1885
+ oracleData: Address<TAccountOracleData>;
1886
+ bundleTempData: Address<TAccountBundleTempData>;
1887
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
1888
+ tokenProgram?: Address<TAccountTokenProgram>;
1889
+ };
1890
+ declare function getNetPendingTransactionsInstruction<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountPendingDepositTokenAccount extends string, TAccountBundleAssetAccount extends string, TAccountAssetAddress extends string, TAccountPendingBundleAssetAuthority extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: NetPendingTransactionsInput<TAccountKeeper, TAccountBundleAccount, TAccountPendingDepositTokenAccount, TAccountBundleAssetAccount, TAccountAssetAddress, TAccountPendingBundleAssetAuthority, TAccountOracleData, TAccountBundleTempData, TAccountBundleAssetAuthority, TAccountTokenProgram>, config?: {
1891
+ programAddress?: TProgramAddress;
1892
+ }): NetPendingTransactionsInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountPendingDepositTokenAccount, TAccountBundleAssetAccount, TAccountAssetAddress, TAccountPendingBundleAssetAuthority, TAccountOracleData, TAccountBundleTempData, TAccountBundleAssetAuthority, TAccountTokenProgram>;
1893
+ type ParsedNetPendingTransactionsInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1894
+ programAddress: Address<TProgram>;
1895
+ accounts: {
1896
+ keeper: TAccountMetas[0];
1897
+ bundleAccount: TAccountMetas[1];
1898
+ pendingDepositTokenAccount: TAccountMetas[2];
1899
+ bundleAssetAccount: TAccountMetas[3];
1900
+ assetAddress: TAccountMetas[4];
1901
+ pendingBundleAssetAuthority: TAccountMetas[5];
1902
+ oracleData: TAccountMetas[6];
1903
+ bundleTempData: TAccountMetas[7];
1904
+ bundleAssetAuthority: TAccountMetas[8];
1905
+ tokenProgram: TAccountMetas[9];
1906
+ };
1907
+ data: NetPendingTransactionsInstructionData;
1908
+ };
1909
+ declare function parseNetPendingTransactionsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedNetPendingTransactionsInstruction<TProgram, TAccountMetas>;
1910
+ //#endregion
1911
+ //#region src/generated/instructions/pauseDepositsWithdrawals.d.ts
1912
+ declare const PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR: ReadonlyUint8Array;
1913
+ declare function getPauseDepositsWithdrawalsDiscriminatorBytes(): ReadonlyUint8Array;
1914
+ type PauseDepositsWithdrawalsInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, ...TRemainingAccounts]>;
1915
+ type PauseDepositsWithdrawalsInstructionData = {
1916
+ discriminator: ReadonlyUint8Array;
1917
+ pause: boolean;
1918
+ };
1919
+ type PauseDepositsWithdrawalsInstructionDataArgs = {
1920
+ pause: boolean;
1921
+ };
1922
+ declare function getPauseDepositsWithdrawalsInstructionDataEncoder(): FixedSizeEncoder<PauseDepositsWithdrawalsInstructionDataArgs>;
1923
+ declare function getPauseDepositsWithdrawalsInstructionDataDecoder(): FixedSizeDecoder<PauseDepositsWithdrawalsInstructionData>;
1924
+ declare function getPauseDepositsWithdrawalsInstructionDataCodec(): FixedSizeCodec<PauseDepositsWithdrawalsInstructionDataArgs, PauseDepositsWithdrawalsInstructionData>;
1925
+ type PauseDepositsWithdrawalsAsyncInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
1926
+ keeper: TransactionSigner<TAccountKeeper>;
1927
+ bundleAccount: Address<TAccountBundleAccount>;
1928
+ bundleTempData?: Address<TAccountBundleTempData>;
1929
+ oracleData?: Address<TAccountOracleData>;
1930
+ pause: PauseDepositsWithdrawalsInstructionDataArgs["pause"];
1931
+ };
1932
+ declare function getPauseDepositsWithdrawalsInstructionAsync<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: PauseDepositsWithdrawalsAsyncInput<TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
1933
+ programAddress?: TProgramAddress;
1934
+ }): Promise<PauseDepositsWithdrawalsInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>>;
1935
+ type PauseDepositsWithdrawalsInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
1936
+ keeper: TransactionSigner<TAccountKeeper>;
1937
+ bundleAccount: Address<TAccountBundleAccount>;
1938
+ bundleTempData: Address<TAccountBundleTempData>;
1939
+ oracleData: Address<TAccountOracleData>;
1940
+ pause: PauseDepositsWithdrawalsInstructionDataArgs["pause"];
1941
+ };
1942
+ declare function getPauseDepositsWithdrawalsInstruction<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: PauseDepositsWithdrawalsInput<TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
1943
+ programAddress?: TProgramAddress;
1944
+ }): PauseDepositsWithdrawalsInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>;
1945
+ type ParsedPauseDepositsWithdrawalsInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1946
+ programAddress: Address<TProgram>;
1947
+ accounts: {
1948
+ keeper: TAccountMetas[0];
1949
+ bundleAccount: TAccountMetas[1];
1950
+ bundleTempData: TAccountMetas[2];
1951
+ oracleData: TAccountMetas[3];
1952
+ };
1953
+ data: PauseDepositsWithdrawalsInstructionData;
1954
+ };
1955
+ declare function parsePauseDepositsWithdrawalsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedPauseDepositsWithdrawalsInstruction<TProgram, TAccountMetas>;
1956
+ //#endregion
1957
+ //#region src/generated/instructions/performRefill.d.ts
1958
+ declare const PERFORM_REFILL_DISCRIMINATOR: ReadonlyUint8Array;
1959
+ declare function getPerformRefillDiscriminatorBytes(): ReadonlyUint8Array;
1960
+ type PerformRefillInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountReceiverAddress extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountReceiverAta extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountStrategyAccount extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountReceiverAddress extends string ? WritableSignerAccount<TAccountReceiverAddress> & AccountSignerMeta<TAccountReceiverAddress> : TAccountReceiverAddress, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountReceiverAta extends string ? WritableAccount<TAccountReceiverAta> : TAccountReceiverAta, TAccountAssetAddress extends string ? ReadonlyAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountStrategyAccount extends string ? WritableAccount<TAccountStrategyAccount> : TAccountStrategyAccount, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...TRemainingAccounts]>;
1961
+ type PerformRefillInstructionData = {
1962
+ discriminator: ReadonlyUint8Array;
1963
+ refillAmount: bigint;
1964
+ };
1965
+ type PerformRefillInstructionDataArgs = {
1966
+ refillAmount: number | bigint;
1967
+ };
1968
+ declare function getPerformRefillInstructionDataEncoder(): FixedSizeEncoder<PerformRefillInstructionDataArgs>;
1969
+ declare function getPerformRefillInstructionDataDecoder(): FixedSizeDecoder<PerformRefillInstructionData>;
1970
+ declare function getPerformRefillInstructionDataCodec(): FixedSizeCodec<PerformRefillInstructionDataArgs, PerformRefillInstructionData>;
1971
+ type PerformRefillAsyncInput<TAccountReceiverAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountReceiverAta extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAccount extends string = string, TAccountStrategyAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string> = {
1972
+ receiverAddress: TransactionSigner<TAccountReceiverAddress>;
1973
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
1974
+ receiverAta: Address<TAccountReceiverAta>;
1975
+ assetAddress: Address<TAccountAssetAddress>;
1976
+ bundleAccount: Address<TAccountBundleAccount>;
1977
+ strategyAccount?: Address<TAccountStrategyAccount>;
1978
+ oracleData?: Address<TAccountOracleData>;
1979
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
1980
+ tokenProgram?: Address<TAccountTokenProgram>;
1981
+ refillAmount: PerformRefillInstructionDataArgs["refillAmount"];
1982
+ };
1983
+ declare function getPerformRefillInstructionAsync<TAccountReceiverAddress extends string, TAccountBundleAssetAccount extends string, TAccountReceiverAta extends string, TAccountAssetAddress extends string, TAccountBundleAccount extends string, TAccountStrategyAccount extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: PerformRefillAsyncInput<TAccountReceiverAddress, TAccountBundleAssetAccount, TAccountReceiverAta, TAccountAssetAddress, TAccountBundleAccount, TAccountStrategyAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>, config?: {
1984
+ programAddress?: TProgramAddress;
1985
+ }): Promise<PerformRefillInstruction<TProgramAddress, TAccountReceiverAddress, TAccountBundleAssetAccount, TAccountReceiverAta, TAccountAssetAddress, TAccountBundleAccount, TAccountStrategyAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>>;
1986
+ type PerformRefillInput<TAccountReceiverAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountReceiverAta extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAccount extends string = string, TAccountStrategyAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string> = {
1987
+ receiverAddress: TransactionSigner<TAccountReceiverAddress>;
1988
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
1989
+ receiverAta: Address<TAccountReceiverAta>;
1990
+ assetAddress: Address<TAccountAssetAddress>;
1991
+ bundleAccount: Address<TAccountBundleAccount>;
1992
+ strategyAccount: Address<TAccountStrategyAccount>;
1993
+ oracleData: Address<TAccountOracleData>;
1994
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
1995
+ tokenProgram?: Address<TAccountTokenProgram>;
1996
+ refillAmount: PerformRefillInstructionDataArgs["refillAmount"];
1997
+ };
1998
+ declare function getPerformRefillInstruction<TAccountReceiverAddress extends string, TAccountBundleAssetAccount extends string, TAccountReceiverAta extends string, TAccountAssetAddress extends string, TAccountBundleAccount extends string, TAccountStrategyAccount extends string, TAccountOracleData extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: PerformRefillInput<TAccountReceiverAddress, TAccountBundleAssetAccount, TAccountReceiverAta, TAccountAssetAddress, TAccountBundleAccount, TAccountStrategyAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>, config?: {
1999
+ programAddress?: TProgramAddress;
2000
+ }): PerformRefillInstruction<TProgramAddress, TAccountReceiverAddress, TAccountBundleAssetAccount, TAccountReceiverAta, TAccountAssetAddress, TAccountBundleAccount, TAccountStrategyAccount, TAccountOracleData, TAccountBundleAssetAuthority, TAccountTokenProgram>;
2001
+ type ParsedPerformRefillInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2002
+ programAddress: Address<TProgram>;
2003
+ accounts: {
2004
+ receiverAddress: TAccountMetas[0];
2005
+ bundleAssetAccount: TAccountMetas[1];
2006
+ receiverAta: TAccountMetas[2];
2007
+ assetAddress: TAccountMetas[3];
2008
+ bundleAccount: TAccountMetas[4];
2009
+ strategyAccount: TAccountMetas[5];
2010
+ oracleData: TAccountMetas[6];
2011
+ bundleAssetAuthority: TAccountMetas[7];
2012
+ tokenProgram: TAccountMetas[8];
2013
+ };
2014
+ data: PerformRefillInstructionData;
2015
+ };
2016
+ declare function parsePerformRefillInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedPerformRefillInstruction<TProgram, TAccountMetas>;
2017
+ //#endregion
2018
+ //#region src/generated/instructions/processDeposit.d.ts
2019
+ declare const PROCESS_DEPOSIT_DISCRIMINATOR: ReadonlyUint8Array;
2020
+ declare function getProcessDepositDiscriminatorBytes(): ReadonlyUint8Array;
2021
+ type ProcessDepositInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountPendingDepositTokenAccount extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountPendingBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountPendingDepositTokenAccount extends string ? WritableAccount<TAccountPendingDepositTokenAccount> : TAccountPendingDepositTokenAccount, TAccountUserBundleAccountOwner extends string ? ReadonlyAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountPendingBundleAssetAuthority extends string ? WritableAccount<TAccountPendingBundleAssetAuthority> : TAccountPendingBundleAssetAuthority, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
2022
+ type ProcessDepositInstructionData = {
2023
+ discriminator: ReadonlyUint8Array;
2024
+ };
2025
+ type ProcessDepositInstructionDataArgs = {};
2026
+ declare function getProcessDepositInstructionDataEncoder(): FixedSizeEncoder<ProcessDepositInstructionDataArgs>;
2027
+ declare function getProcessDepositInstructionDataDecoder(): FixedSizeDecoder<ProcessDepositInstructionData>;
2028
+ declare function getProcessDepositInstructionDataCodec(): FixedSizeCodec<ProcessDepositInstructionDataArgs, ProcessDepositInstructionData>;
2029
+ type ProcessDepositAsyncInput<TAccountKeeper extends string = string, TAccountUserBundleAccount extends string = string, TAccountPendingDepositTokenAccount extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string, TAccountPendingBundleAssetAuthority extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2030
+ keeper: TransactionSigner<TAccountKeeper>;
2031
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
2032
+ /** the account holding the user's deposited asset before allocation. */
2033
+ pendingDepositTokenAccount?: Address<TAccountPendingDepositTokenAccount>;
2034
+ /** the owner of the pending request (for event purposes). */
2035
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
2036
+ assetAddress: Address<TAccountAssetAddress>;
2037
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
2038
+ bundleAccount: Address<TAccountBundleAccount>;
2039
+ bundleTempData?: Address<TAccountBundleTempData>;
2040
+ oracleData?: Address<TAccountOracleData>;
2041
+ pendingBundleAssetAuthority?: Address<TAccountPendingBundleAssetAuthority>;
2042
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
2043
+ tokenProgram?: Address<TAccountTokenProgram>;
2044
+ systemProgram?: Address<TAccountSystemProgram>;
2045
+ };
2046
+ declare function getProcessDepositInstructionAsync<TAccountKeeper extends string, TAccountUserBundleAccount extends string, TAccountPendingDepositTokenAccount extends string, TAccountUserBundleAccountOwner extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TAccountPendingBundleAssetAuthority extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ProcessDepositAsyncInput<TAccountKeeper, TAccountUserBundleAccount, TAccountPendingDepositTokenAccount, TAccountUserBundleAccountOwner, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData, TAccountPendingBundleAssetAuthority, TAccountBundleAssetAuthority, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2047
+ programAddress?: TProgramAddress;
2048
+ }): Promise<ProcessDepositInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccount, TAccountPendingDepositTokenAccount, TAccountUserBundleAccountOwner, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData, TAccountPendingBundleAssetAuthority, TAccountBundleAssetAuthority, TAccountTokenProgram, TAccountSystemProgram>>;
2049
+ type ProcessDepositInput<TAccountKeeper extends string = string, TAccountUserBundleAccount extends string = string, TAccountPendingDepositTokenAccount extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string, TAccountPendingBundleAssetAuthority extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2050
+ keeper: TransactionSigner<TAccountKeeper>;
2051
+ userBundleAccount: Address<TAccountUserBundleAccount>;
2052
+ /** the account holding the user's deposited asset before allocation. */
2053
+ pendingDepositTokenAccount: Address<TAccountPendingDepositTokenAccount>;
2054
+ /** the owner of the pending request (for event purposes). */
2055
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
2056
+ assetAddress: Address<TAccountAssetAddress>;
2057
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
2058
+ bundleAccount: Address<TAccountBundleAccount>;
2059
+ bundleTempData: Address<TAccountBundleTempData>;
2060
+ oracleData: Address<TAccountOracleData>;
2061
+ pendingBundleAssetAuthority: Address<TAccountPendingBundleAssetAuthority>;
2062
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
2063
+ tokenProgram?: Address<TAccountTokenProgram>;
2064
+ systemProgram?: Address<TAccountSystemProgram>;
2065
+ };
2066
+ declare function getProcessDepositInstruction<TAccountKeeper extends string, TAccountUserBundleAccount extends string, TAccountPendingDepositTokenAccount extends string, TAccountUserBundleAccountOwner extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TAccountPendingBundleAssetAuthority extends string, TAccountBundleAssetAuthority extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ProcessDepositInput<TAccountKeeper, TAccountUserBundleAccount, TAccountPendingDepositTokenAccount, TAccountUserBundleAccountOwner, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData, TAccountPendingBundleAssetAuthority, TAccountBundleAssetAuthority, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2067
+ programAddress?: TProgramAddress;
2068
+ }): ProcessDepositInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccount, TAccountPendingDepositTokenAccount, TAccountUserBundleAccountOwner, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData, TAccountPendingBundleAssetAuthority, TAccountBundleAssetAuthority, TAccountTokenProgram, TAccountSystemProgram>;
2069
+ type ParsedProcessDepositInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2070
+ programAddress: Address<TProgram>;
2071
+ accounts: {
2072
+ keeper: TAccountMetas[0];
2073
+ userBundleAccount: TAccountMetas[1];
2074
+ /** the account holding the user's deposited asset before allocation. */
2075
+ pendingDepositTokenAccount: TAccountMetas[2];
2076
+ /** the owner of the pending request (for event purposes). */
2077
+ userBundleAccountOwner: TAccountMetas[3];
2078
+ assetAddress: TAccountMetas[4];
2079
+ bundleAssetAccount: TAccountMetas[5];
2080
+ bundleAccount: TAccountMetas[6];
2081
+ bundleTempData: TAccountMetas[7];
2082
+ oracleData: TAccountMetas[8];
2083
+ pendingBundleAssetAuthority: TAccountMetas[9];
2084
+ bundleAssetAuthority: TAccountMetas[10];
2085
+ tokenProgram: TAccountMetas[11];
2086
+ systemProgram: TAccountMetas[12];
2087
+ };
2088
+ data: ProcessDepositInstructionData;
2089
+ };
2090
+ declare function parseProcessDepositInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedProcessDepositInstruction<TProgram, TAccountMetas>;
2091
+ //#endregion
2092
+ //#region src/generated/instructions/processReferrerWithdrawal.d.ts
2093
+ declare const PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR: ReadonlyUint8Array;
2094
+ declare function getProcessReferrerWithdrawalDiscriminatorBytes(): ReadonlyUint8Array;
2095
+ type ProcessReferrerWithdrawalInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountReferrer extends string | AccountMeta<string> = string, TAccountReferrerTokenAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountReferrerAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountReferrer extends string ? ReadonlyAccount<TAccountReferrer> : TAccountReferrer, TAccountReferrerTokenAccount extends string ? WritableAccount<TAccountReferrerTokenAccount> : TAccountReferrerTokenAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountReferrerAccount extends string ? WritableAccount<TAccountReferrerAccount> : TAccountReferrerAccount, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...TRemainingAccounts]>;
2096
+ type ProcessReferrerWithdrawalInstructionData = {
2097
+ discriminator: ReadonlyUint8Array;
2098
+ };
2099
+ type ProcessReferrerWithdrawalInstructionDataArgs = {};
2100
+ declare function getProcessReferrerWithdrawalInstructionDataEncoder(): FixedSizeEncoder<ProcessReferrerWithdrawalInstructionDataArgs>;
2101
+ declare function getProcessReferrerWithdrawalInstructionDataDecoder(): FixedSizeDecoder<ProcessReferrerWithdrawalInstructionData>;
2102
+ declare function getProcessReferrerWithdrawalInstructionDataCodec(): FixedSizeCodec<ProcessReferrerWithdrawalInstructionDataArgs, ProcessReferrerWithdrawalInstructionData>;
2103
+ type ProcessReferrerWithdrawalAsyncInput<TAccountKeeper extends string = string, TAccountReferrer extends string = string, TAccountReferrerTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountReferrerAccount extends string = string, TAccountTokenProgram extends string = string> = {
2104
+ keeper: TransactionSigner<TAccountKeeper>;
2105
+ referrer: Address<TAccountReferrer>;
2106
+ referrerTokenAccount: Address<TAccountReferrerTokenAccount>;
2107
+ assetAddress: Address<TAccountAssetAddress>;
2108
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
2109
+ bundleAccount: Address<TAccountBundleAccount>;
2110
+ oracleData?: Address<TAccountOracleData>;
2111
+ bundleTempData?: Address<TAccountBundleTempData>;
2112
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
2113
+ referrerAccount: Address<TAccountReferrerAccount>;
2114
+ tokenProgram?: Address<TAccountTokenProgram>;
2115
+ };
2116
+ declare function getProcessReferrerWithdrawalInstructionAsync<TAccountKeeper extends string, TAccountReferrer extends string, TAccountReferrerTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountBundleAssetAuthority extends string, TAccountReferrerAccount extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ProcessReferrerWithdrawalAsyncInput<TAccountKeeper, TAccountReferrer, TAccountReferrerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountBundleAssetAuthority, TAccountReferrerAccount, TAccountTokenProgram>, config?: {
2117
+ programAddress?: TProgramAddress;
2118
+ }): Promise<ProcessReferrerWithdrawalInstruction<TProgramAddress, TAccountKeeper, TAccountReferrer, TAccountReferrerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountBundleAssetAuthority, TAccountReferrerAccount, TAccountTokenProgram>>;
2119
+ type ProcessReferrerWithdrawalInput<TAccountKeeper extends string = string, TAccountReferrer extends string = string, TAccountReferrerTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountReferrerAccount extends string = string, TAccountTokenProgram extends string = string> = {
2120
+ keeper: TransactionSigner<TAccountKeeper>;
2121
+ referrer: Address<TAccountReferrer>;
2122
+ referrerTokenAccount: Address<TAccountReferrerTokenAccount>;
2123
+ assetAddress: Address<TAccountAssetAddress>;
2124
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
2125
+ bundleAccount: Address<TAccountBundleAccount>;
2126
+ oracleData: Address<TAccountOracleData>;
2127
+ bundleTempData: Address<TAccountBundleTempData>;
2128
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
2129
+ referrerAccount: Address<TAccountReferrerAccount>;
2130
+ tokenProgram?: Address<TAccountTokenProgram>;
2131
+ };
2132
+ declare function getProcessReferrerWithdrawalInstruction<TAccountKeeper extends string, TAccountReferrer extends string, TAccountReferrerTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountBundleAssetAuthority extends string, TAccountReferrerAccount extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ProcessReferrerWithdrawalInput<TAccountKeeper, TAccountReferrer, TAccountReferrerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountBundleAssetAuthority, TAccountReferrerAccount, TAccountTokenProgram>, config?: {
2133
+ programAddress?: TProgramAddress;
2134
+ }): ProcessReferrerWithdrawalInstruction<TProgramAddress, TAccountKeeper, TAccountReferrer, TAccountReferrerTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountBundleAssetAuthority, TAccountReferrerAccount, TAccountTokenProgram>;
2135
+ type ParsedProcessReferrerWithdrawalInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2136
+ programAddress: Address<TProgram>;
2137
+ accounts: {
2138
+ keeper: TAccountMetas[0];
2139
+ referrer: TAccountMetas[1];
2140
+ referrerTokenAccount: TAccountMetas[2];
2141
+ assetAddress: TAccountMetas[3];
2142
+ bundleAssetAccount: TAccountMetas[4];
2143
+ bundleAccount: TAccountMetas[5];
2144
+ oracleData: TAccountMetas[6];
2145
+ bundleTempData: TAccountMetas[7];
2146
+ bundleAssetAuthority: TAccountMetas[8];
2147
+ referrerAccount: TAccountMetas[9];
2148
+ tokenProgram: TAccountMetas[10];
2149
+ };
2150
+ data: ProcessReferrerWithdrawalInstructionData;
2151
+ };
2152
+ declare function parseProcessReferrerWithdrawalInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedProcessReferrerWithdrawalInstruction<TProgram, TAccountMetas>;
2153
+ //#endregion
2154
+ //#region src/generated/instructions/processSwitch.d.ts
2155
+ declare const PROCESS_SWITCH_DISCRIMINATOR: ReadonlyUint8Array;
2156
+ declare function getProcessSwitchDiscriminatorBytes(): ReadonlyUint8Array;
2157
+ type ProcessSwitchInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountUserTokenAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountSourceBundleAssetAccount extends string | AccountMeta<string> = string, TAccountSourceUserBundleAccount extends string | AccountMeta<string> = string, TAccountSourceTreasuryAccount extends string | AccountMeta<string> = string, TAccountSourceBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountSourceBundleAccount extends string | AccountMeta<string> = string, TAccountSourceBundleTempData extends string | AccountMeta<string> = string, TAccountSourceOracleData extends string | AccountMeta<string> = string, TAccountTargetBundleAccount extends string | AccountMeta<string> = string, TAccountTargetUserBundleAccount extends string | AccountMeta<string> = string, TAccountTargetBundleTempData extends string | AccountMeta<string> = string, TAccountTargetPendingDepositTokenAccount extends string | AccountMeta<string> = string, TAccountTargetPendingBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountTargetOracleData extends string | AccountMeta<string> = string, TAccountTargetTreasuryAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountUserBundleAccountOwner extends string ? ReadonlyAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountUserTokenAccount extends string ? WritableAccount<TAccountUserTokenAccount> : TAccountUserTokenAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountSourceBundleAssetAccount extends string ? WritableAccount<TAccountSourceBundleAssetAccount> : TAccountSourceBundleAssetAccount, TAccountSourceUserBundleAccount extends string ? WritableAccount<TAccountSourceUserBundleAccount> : TAccountSourceUserBundleAccount, TAccountSourceTreasuryAccount extends string ? WritableAccount<TAccountSourceTreasuryAccount> : TAccountSourceTreasuryAccount, TAccountSourceBundleAssetAuthority extends string ? WritableAccount<TAccountSourceBundleAssetAuthority> : TAccountSourceBundleAssetAuthority, TAccountSourceBundleAccount extends string ? WritableAccount<TAccountSourceBundleAccount> : TAccountSourceBundleAccount, TAccountSourceBundleTempData extends string ? WritableAccount<TAccountSourceBundleTempData> : TAccountSourceBundleTempData, TAccountSourceOracleData extends string ? WritableAccount<TAccountSourceOracleData> : TAccountSourceOracleData, TAccountTargetBundleAccount extends string ? ReadonlyAccount<TAccountTargetBundleAccount> : TAccountTargetBundleAccount, TAccountTargetUserBundleAccount extends string ? WritableAccount<TAccountTargetUserBundleAccount> : TAccountTargetUserBundleAccount, TAccountTargetBundleTempData extends string ? WritableAccount<TAccountTargetBundleTempData> : TAccountTargetBundleTempData, TAccountTargetPendingDepositTokenAccount extends string ? WritableAccount<TAccountTargetPendingDepositTokenAccount> : TAccountTargetPendingDepositTokenAccount, TAccountTargetPendingBundleAssetAuthority extends string ? ReadonlyAccount<TAccountTargetPendingBundleAssetAuthority> : TAccountTargetPendingBundleAssetAuthority, TAccountTargetOracleData extends string ? ReadonlyAccount<TAccountTargetOracleData> : TAccountTargetOracleData, TAccountTargetTreasuryAccount extends string ? WritableAccount<TAccountTargetTreasuryAccount> : TAccountTargetTreasuryAccount, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
2158
+ type ProcessSwitchInstructionData = {
2159
+ discriminator: ReadonlyUint8Array;
2160
+ };
2161
+ type ProcessSwitchInstructionDataArgs = {};
2162
+ declare function getProcessSwitchInstructionDataEncoder(): FixedSizeEncoder<ProcessSwitchInstructionDataArgs>;
2163
+ declare function getProcessSwitchInstructionDataDecoder(): FixedSizeDecoder<ProcessSwitchInstructionData>;
2164
+ declare function getProcessSwitchInstructionDataCodec(): FixedSizeCodec<ProcessSwitchInstructionDataArgs, ProcessSwitchInstructionData>;
2165
+ type ProcessSwitchAsyncInput<TAccountKeeper extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountSourceBundleAssetAccount extends string = string, TAccountSourceUserBundleAccount extends string = string, TAccountSourceTreasuryAccount extends string = string, TAccountSourceBundleAssetAuthority extends string = string, TAccountSourceBundleAccount extends string = string, TAccountSourceBundleTempData extends string = string, TAccountSourceOracleData extends string = string, TAccountTargetBundleAccount extends string = string, TAccountTargetUserBundleAccount extends string = string, TAccountTargetBundleTempData extends string = string, TAccountTargetPendingDepositTokenAccount extends string = string, TAccountTargetPendingBundleAssetAuthority extends string = string, TAccountTargetOracleData extends string = string, TAccountTargetTreasuryAccount extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2166
+ keeper: TransactionSigner<TAccountKeeper>;
2167
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
2168
+ userTokenAccount: Address<TAccountUserTokenAccount>;
2169
+ assetAddress: Address<TAccountAssetAddress>;
2170
+ sourceBundleAssetAccount?: Address<TAccountSourceBundleAssetAccount>;
2171
+ sourceUserBundleAccount?: Address<TAccountSourceUserBundleAccount>;
2172
+ sourceTreasuryAccount: Address<TAccountSourceTreasuryAccount>;
2173
+ sourceBundleAssetAuthority?: Address<TAccountSourceBundleAssetAuthority>;
2174
+ sourceBundleAccount: Address<TAccountSourceBundleAccount>;
2175
+ sourceBundleTempData?: Address<TAccountSourceBundleTempData>;
2176
+ sourceOracleData?: Address<TAccountSourceOracleData>;
2177
+ targetBundleAccount: Address<TAccountTargetBundleAccount>;
2178
+ targetUserBundleAccount?: Address<TAccountTargetUserBundleAccount>;
2179
+ targetBundleTempData?: Address<TAccountTargetBundleTempData>;
2180
+ targetPendingDepositTokenAccount?: Address<TAccountTargetPendingDepositTokenAccount>;
2181
+ targetPendingBundleAssetAuthority?: Address<TAccountTargetPendingBundleAssetAuthority>;
2182
+ targetOracleData?: Address<TAccountTargetOracleData>;
2183
+ targetTreasuryAccount: Address<TAccountTargetTreasuryAccount>;
2184
+ tokenProgram?: Address<TAccountTokenProgram>;
2185
+ systemProgram?: Address<TAccountSystemProgram>;
2186
+ };
2187
+ declare function getProcessSwitchInstructionAsync<TAccountKeeper extends string, TAccountUserBundleAccountOwner extends string, TAccountUserTokenAccount extends string, TAccountAssetAddress extends string, TAccountSourceBundleAssetAccount extends string, TAccountSourceUserBundleAccount extends string, TAccountSourceTreasuryAccount extends string, TAccountSourceBundleAssetAuthority extends string, TAccountSourceBundleAccount extends string, TAccountSourceBundleTempData extends string, TAccountSourceOracleData extends string, TAccountTargetBundleAccount extends string, TAccountTargetUserBundleAccount extends string, TAccountTargetBundleTempData extends string, TAccountTargetPendingDepositTokenAccount extends string, TAccountTargetPendingBundleAssetAuthority extends string, TAccountTargetOracleData extends string, TAccountTargetTreasuryAccount extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ProcessSwitchAsyncInput<TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountSourceBundleAssetAccount, TAccountSourceUserBundleAccount, TAccountSourceTreasuryAccount, TAccountSourceBundleAssetAuthority, TAccountSourceBundleAccount, TAccountSourceBundleTempData, TAccountSourceOracleData, TAccountTargetBundleAccount, TAccountTargetUserBundleAccount, TAccountTargetBundleTempData, TAccountTargetPendingDepositTokenAccount, TAccountTargetPendingBundleAssetAuthority, TAccountTargetOracleData, TAccountTargetTreasuryAccount, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2188
+ programAddress?: TProgramAddress;
2189
+ }): Promise<ProcessSwitchInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountSourceBundleAssetAccount, TAccountSourceUserBundleAccount, TAccountSourceTreasuryAccount, TAccountSourceBundleAssetAuthority, TAccountSourceBundleAccount, TAccountSourceBundleTempData, TAccountSourceOracleData, TAccountTargetBundleAccount, TAccountTargetUserBundleAccount, TAccountTargetBundleTempData, TAccountTargetPendingDepositTokenAccount, TAccountTargetPendingBundleAssetAuthority, TAccountTargetOracleData, TAccountTargetTreasuryAccount, TAccountTokenProgram, TAccountSystemProgram>>;
2190
+ type ProcessSwitchInput<TAccountKeeper extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountSourceBundleAssetAccount extends string = string, TAccountSourceUserBundleAccount extends string = string, TAccountSourceTreasuryAccount extends string = string, TAccountSourceBundleAssetAuthority extends string = string, TAccountSourceBundleAccount extends string = string, TAccountSourceBundleTempData extends string = string, TAccountSourceOracleData extends string = string, TAccountTargetBundleAccount extends string = string, TAccountTargetUserBundleAccount extends string = string, TAccountTargetBundleTempData extends string = string, TAccountTargetPendingDepositTokenAccount extends string = string, TAccountTargetPendingBundleAssetAuthority extends string = string, TAccountTargetOracleData extends string = string, TAccountTargetTreasuryAccount extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2191
+ keeper: TransactionSigner<TAccountKeeper>;
2192
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
2193
+ userTokenAccount: Address<TAccountUserTokenAccount>;
2194
+ assetAddress: Address<TAccountAssetAddress>;
2195
+ sourceBundleAssetAccount: Address<TAccountSourceBundleAssetAccount>;
2196
+ sourceUserBundleAccount: Address<TAccountSourceUserBundleAccount>;
2197
+ sourceTreasuryAccount: Address<TAccountSourceTreasuryAccount>;
2198
+ sourceBundleAssetAuthority: Address<TAccountSourceBundleAssetAuthority>;
2199
+ sourceBundleAccount: Address<TAccountSourceBundleAccount>;
2200
+ sourceBundleTempData: Address<TAccountSourceBundleTempData>;
2201
+ sourceOracleData: Address<TAccountSourceOracleData>;
2202
+ targetBundleAccount: Address<TAccountTargetBundleAccount>;
2203
+ targetUserBundleAccount: Address<TAccountTargetUserBundleAccount>;
2204
+ targetBundleTempData: Address<TAccountTargetBundleTempData>;
2205
+ targetPendingDepositTokenAccount: Address<TAccountTargetPendingDepositTokenAccount>;
2206
+ targetPendingBundleAssetAuthority: Address<TAccountTargetPendingBundleAssetAuthority>;
2207
+ targetOracleData: Address<TAccountTargetOracleData>;
2208
+ targetTreasuryAccount: Address<TAccountTargetTreasuryAccount>;
2209
+ tokenProgram?: Address<TAccountTokenProgram>;
2210
+ systemProgram?: Address<TAccountSystemProgram>;
2211
+ };
2212
+ declare function getProcessSwitchInstruction<TAccountKeeper extends string, TAccountUserBundleAccountOwner extends string, TAccountUserTokenAccount extends string, TAccountAssetAddress extends string, TAccountSourceBundleAssetAccount extends string, TAccountSourceUserBundleAccount extends string, TAccountSourceTreasuryAccount extends string, TAccountSourceBundleAssetAuthority extends string, TAccountSourceBundleAccount extends string, TAccountSourceBundleTempData extends string, TAccountSourceOracleData extends string, TAccountTargetBundleAccount extends string, TAccountTargetUserBundleAccount extends string, TAccountTargetBundleTempData extends string, TAccountTargetPendingDepositTokenAccount extends string, TAccountTargetPendingBundleAssetAuthority extends string, TAccountTargetOracleData extends string, TAccountTargetTreasuryAccount extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ProcessSwitchInput<TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountSourceBundleAssetAccount, TAccountSourceUserBundleAccount, TAccountSourceTreasuryAccount, TAccountSourceBundleAssetAuthority, TAccountSourceBundleAccount, TAccountSourceBundleTempData, TAccountSourceOracleData, TAccountTargetBundleAccount, TAccountTargetUserBundleAccount, TAccountTargetBundleTempData, TAccountTargetPendingDepositTokenAccount, TAccountTargetPendingBundleAssetAuthority, TAccountTargetOracleData, TAccountTargetTreasuryAccount, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2213
+ programAddress?: TProgramAddress;
2214
+ }): ProcessSwitchInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountSourceBundleAssetAccount, TAccountSourceUserBundleAccount, TAccountSourceTreasuryAccount, TAccountSourceBundleAssetAuthority, TAccountSourceBundleAccount, TAccountSourceBundleTempData, TAccountSourceOracleData, TAccountTargetBundleAccount, TAccountTargetUserBundleAccount, TAccountTargetBundleTempData, TAccountTargetPendingDepositTokenAccount, TAccountTargetPendingBundleAssetAuthority, TAccountTargetOracleData, TAccountTargetTreasuryAccount, TAccountTokenProgram, TAccountSystemProgram>;
2215
+ type ParsedProcessSwitchInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2216
+ programAddress: Address<TProgram>;
2217
+ accounts: {
2218
+ keeper: TAccountMetas[0];
2219
+ userBundleAccountOwner: TAccountMetas[1];
2220
+ userTokenAccount: TAccountMetas[2];
2221
+ assetAddress: TAccountMetas[3];
2222
+ sourceBundleAssetAccount: TAccountMetas[4];
2223
+ sourceUserBundleAccount: TAccountMetas[5];
2224
+ sourceTreasuryAccount: TAccountMetas[6];
2225
+ sourceBundleAssetAuthority: TAccountMetas[7];
2226
+ sourceBundleAccount: TAccountMetas[8];
2227
+ sourceBundleTempData: TAccountMetas[9];
2228
+ sourceOracleData: TAccountMetas[10];
2229
+ targetBundleAccount: TAccountMetas[11];
2230
+ targetUserBundleAccount: TAccountMetas[12];
2231
+ targetBundleTempData: TAccountMetas[13];
2232
+ targetPendingDepositTokenAccount: TAccountMetas[14];
2233
+ targetPendingBundleAssetAuthority: TAccountMetas[15];
2234
+ targetOracleData: TAccountMetas[16];
2235
+ targetTreasuryAccount: TAccountMetas[17];
2236
+ tokenProgram: TAccountMetas[18];
2237
+ systemProgram: TAccountMetas[19];
2238
+ };
2239
+ data: ProcessSwitchInstructionData;
2240
+ };
2241
+ declare function parseProcessSwitchInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedProcessSwitchInstruction<TProgram, TAccountMetas>;
2242
+ //#endregion
2243
+ //#region src/generated/instructions/processWithdrawal.d.ts
2244
+ declare const PROCESS_WITHDRAWAL_DISCRIMINATOR: ReadonlyUint8Array;
2245
+ declare function getProcessWithdrawalDiscriminatorBytes(): ReadonlyUint8Array;
2246
+ type ProcessWithdrawalInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountUserTokenAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountPendingBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountTreasuryAccount extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountUserBundleAccountOwner extends string ? ReadonlyAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountUserTokenAccount extends string ? WritableAccount<TAccountUserTokenAccount> : TAccountUserTokenAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountPendingBundleAssetAuthority extends string ? WritableAccount<TAccountPendingBundleAssetAuthority> : TAccountPendingBundleAssetAuthority, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountTreasuryAccount extends string ? WritableAccount<TAccountTreasuryAccount> : TAccountTreasuryAccount, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
2247
+ type ProcessWithdrawalInstructionData = {
2248
+ discriminator: ReadonlyUint8Array;
2249
+ };
2250
+ type ProcessWithdrawalInstructionDataArgs = {};
2251
+ declare function getProcessWithdrawalInstructionDataEncoder(): FixedSizeEncoder<ProcessWithdrawalInstructionDataArgs>;
2252
+ declare function getProcessWithdrawalInstructionDataDecoder(): FixedSizeDecoder<ProcessWithdrawalInstructionData>;
2253
+ declare function getProcessWithdrawalInstructionDataCodec(): FixedSizeCodec<ProcessWithdrawalInstructionDataArgs, ProcessWithdrawalInstructionData>;
2254
+ type ProcessWithdrawalAsyncInput<TAccountKeeper extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountPendingBundleAssetAuthority extends string = string, TAccountUserBundleAccount extends string = string, TAccountTreasuryAccount extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2255
+ keeper: TransactionSigner<TAccountKeeper>;
2256
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
2257
+ userTokenAccount: Address<TAccountUserTokenAccount>;
2258
+ assetAddress: Address<TAccountAssetAddress>;
2259
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
2260
+ pendingBundleAssetAuthority?: Address<TAccountPendingBundleAssetAuthority>;
2261
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
2262
+ treasuryAccount: Address<TAccountTreasuryAccount>;
2263
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
2264
+ bundleAccount: Address<TAccountBundleAccount>;
2265
+ bundleTempData?: Address<TAccountBundleTempData>;
2266
+ oracleData?: Address<TAccountOracleData>;
2267
+ tokenProgram?: Address<TAccountTokenProgram>;
2268
+ systemProgram?: Address<TAccountSystemProgram>;
2269
+ };
2270
+ declare function getProcessWithdrawalInstructionAsync<TAccountKeeper extends string, TAccountUserBundleAccountOwner extends string, TAccountUserTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountPendingBundleAssetAuthority extends string, TAccountUserBundleAccount extends string, TAccountTreasuryAccount extends string, TAccountBundleAssetAuthority extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ProcessWithdrawalAsyncInput<TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountPendingBundleAssetAuthority, TAccountUserBundleAccount, TAccountTreasuryAccount, TAccountBundleAssetAuthority, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2271
+ programAddress?: TProgramAddress;
2272
+ }): Promise<ProcessWithdrawalInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountPendingBundleAssetAuthority, TAccountUserBundleAccount, TAccountTreasuryAccount, TAccountBundleAssetAuthority, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData, TAccountTokenProgram, TAccountSystemProgram>>;
2273
+ type ProcessWithdrawalInput<TAccountKeeper extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountPendingBundleAssetAuthority extends string = string, TAccountUserBundleAccount extends string = string, TAccountTreasuryAccount extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2274
+ keeper: TransactionSigner<TAccountKeeper>;
2275
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
2276
+ userTokenAccount: Address<TAccountUserTokenAccount>;
2277
+ assetAddress: Address<TAccountAssetAddress>;
2278
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
2279
+ pendingBundleAssetAuthority: Address<TAccountPendingBundleAssetAuthority>;
2280
+ userBundleAccount: Address<TAccountUserBundleAccount>;
2281
+ treasuryAccount: Address<TAccountTreasuryAccount>;
2282
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
2283
+ bundleAccount: Address<TAccountBundleAccount>;
2284
+ bundleTempData: Address<TAccountBundleTempData>;
2285
+ oracleData: Address<TAccountOracleData>;
2286
+ tokenProgram?: Address<TAccountTokenProgram>;
2287
+ systemProgram?: Address<TAccountSystemProgram>;
2288
+ };
2289
+ declare function getProcessWithdrawalInstruction<TAccountKeeper extends string, TAccountUserBundleAccountOwner extends string, TAccountUserTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountPendingBundleAssetAuthority extends string, TAccountUserBundleAccount extends string, TAccountTreasuryAccount extends string, TAccountBundleAssetAuthority extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ProcessWithdrawalInput<TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountPendingBundleAssetAuthority, TAccountUserBundleAccount, TAccountTreasuryAccount, TAccountBundleAssetAuthority, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2290
+ programAddress?: TProgramAddress;
2291
+ }): ProcessWithdrawalInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountPendingBundleAssetAuthority, TAccountUserBundleAccount, TAccountTreasuryAccount, TAccountBundleAssetAuthority, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData, TAccountTokenProgram, TAccountSystemProgram>;
2292
+ type ParsedProcessWithdrawalInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2293
+ programAddress: Address<TProgram>;
2294
+ accounts: {
2295
+ keeper: TAccountMetas[0];
2296
+ userBundleAccountOwner: TAccountMetas[1];
2297
+ userTokenAccount: TAccountMetas[2];
2298
+ assetAddress: TAccountMetas[3];
2299
+ bundleAssetAccount: TAccountMetas[4];
2300
+ pendingBundleAssetAuthority: TAccountMetas[5];
2301
+ userBundleAccount: TAccountMetas[6];
2302
+ treasuryAccount: TAccountMetas[7];
2303
+ bundleAssetAuthority: TAccountMetas[8];
2304
+ bundleAccount: TAccountMetas[9];
2305
+ bundleTempData: TAccountMetas[10];
2306
+ oracleData: TAccountMetas[11];
2307
+ tokenProgram: TAccountMetas[12];
2308
+ systemProgram: TAccountMetas[13];
2309
+ };
2310
+ data: ProcessWithdrawalInstructionData;
2311
+ };
2312
+ declare function parseProcessWithdrawalInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedProcessWithdrawalInstruction<TProgram, TAccountMetas>;
2313
+ //#endregion
2314
+ //#region src/generated/instructions/referrerRequestWithdraw.d.ts
2315
+ declare const REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR: ReadonlyUint8Array;
2316
+ declare function getReferrerRequestWithdrawDiscriminatorBytes(): ReadonlyUint8Array;
2317
+ type ReferrerRequestWithdrawInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountReferrer extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountReferrerAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountReferrer extends string ? WritableSignerAccount<TAccountReferrer> & AccountSignerMeta<TAccountReferrer> : TAccountReferrer, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountReferrerAccount extends string ? WritableAccount<TAccountReferrerAccount> : TAccountReferrerAccount, ...TRemainingAccounts]>;
2318
+ type ReferrerRequestWithdrawInstructionData = {
2319
+ discriminator: ReadonlyUint8Array;
2320
+ };
2321
+ type ReferrerRequestWithdrawInstructionDataArgs = {};
2322
+ declare function getReferrerRequestWithdrawInstructionDataEncoder(): FixedSizeEncoder<ReferrerRequestWithdrawInstructionDataArgs>;
2323
+ declare function getReferrerRequestWithdrawInstructionDataDecoder(): FixedSizeDecoder<ReferrerRequestWithdrawInstructionData>;
2324
+ declare function getReferrerRequestWithdrawInstructionDataCodec(): FixedSizeCodec<ReferrerRequestWithdrawInstructionDataArgs, ReferrerRequestWithdrawInstructionData>;
2325
+ type ReferrerRequestWithdrawAsyncInput<TAccountReferrer extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountReferrerAccount extends string = string> = {
2326
+ referrer: TransactionSigner<TAccountReferrer>;
2327
+ bundleAccount: Address<TAccountBundleAccount>;
2328
+ oracleData?: Address<TAccountOracleData>;
2329
+ bundleTempData?: Address<TAccountBundleTempData>;
2330
+ referrerAccount?: Address<TAccountReferrerAccount>;
2331
+ };
2332
+ declare function getReferrerRequestWithdrawInstructionAsync<TAccountReferrer extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountReferrerAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ReferrerRequestWithdrawAsyncInput<TAccountReferrer, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountReferrerAccount>, config?: {
2333
+ programAddress?: TProgramAddress;
2334
+ }): Promise<ReferrerRequestWithdrawInstruction<TProgramAddress, TAccountReferrer, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountReferrerAccount>>;
2335
+ type ReferrerRequestWithdrawInput<TAccountReferrer extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountReferrerAccount extends string = string> = {
2336
+ referrer: TransactionSigner<TAccountReferrer>;
2337
+ bundleAccount: Address<TAccountBundleAccount>;
2338
+ oracleData: Address<TAccountOracleData>;
2339
+ bundleTempData: Address<TAccountBundleTempData>;
2340
+ referrerAccount: Address<TAccountReferrerAccount>;
2341
+ };
2342
+ declare function getReferrerRequestWithdrawInstruction<TAccountReferrer extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountReferrerAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: ReferrerRequestWithdrawInput<TAccountReferrer, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountReferrerAccount>, config?: {
2343
+ programAddress?: TProgramAddress;
2344
+ }): ReferrerRequestWithdrawInstruction<TProgramAddress, TAccountReferrer, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountReferrerAccount>;
2345
+ type ParsedReferrerRequestWithdrawInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2346
+ programAddress: Address<TProgram>;
2347
+ accounts: {
2348
+ referrer: TAccountMetas[0];
2349
+ bundleAccount: TAccountMetas[1];
2350
+ oracleData: TAccountMetas[2];
2351
+ bundleTempData: TAccountMetas[3];
2352
+ referrerAccount: TAccountMetas[4];
2353
+ };
2354
+ data: ReferrerRequestWithdrawInstructionData;
2355
+ };
2356
+ declare function parseReferrerRequestWithdrawInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedReferrerRequestWithdrawInstruction<TProgram, TAccountMetas>;
2357
+ //#endregion
2358
+ //#region src/generated/instructions/refundDeposit.d.ts
2359
+ declare const REFUND_DEPOSIT_DISCRIMINATOR: ReadonlyUint8Array;
2360
+ declare function getRefundDepositDiscriminatorBytes(): ReadonlyUint8Array;
2361
+ type RefundDepositInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountUserTokenAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountBundleAssetAccount extends string | AccountMeta<string> = string, TAccountBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountUserBundleAccountOwner extends string ? ReadonlyAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountUserTokenAccount extends string ? WritableAccount<TAccountUserTokenAccount> : TAccountUserTokenAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountBundleAssetAccount extends string ? WritableAccount<TAccountBundleAssetAccount> : TAccountBundleAssetAccount, TAccountBundleAssetAuthority extends string ? WritableAccount<TAccountBundleAssetAuthority> : TAccountBundleAssetAuthority, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
2362
+ type RefundDepositInstructionData = {
2363
+ discriminator: ReadonlyUint8Array;
2364
+ };
2365
+ type RefundDepositInstructionDataArgs = {};
2366
+ declare function getRefundDepositInstructionDataEncoder(): FixedSizeEncoder<RefundDepositInstructionDataArgs>;
2367
+ declare function getRefundDepositInstructionDataDecoder(): FixedSizeDecoder<RefundDepositInstructionData>;
2368
+ declare function getRefundDepositInstructionDataCodec(): FixedSizeCodec<RefundDepositInstructionDataArgs, RefundDepositInstructionData>;
2369
+ type RefundDepositAsyncInput<TAccountKeeper extends string = string, TAccountUserBundleAccount extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2370
+ keeper: TransactionSigner<TAccountKeeper>;
2371
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
2372
+ /** the owner of the pending request (for event purposes). */
2373
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
2374
+ userTokenAccount: Address<TAccountUserTokenAccount>;
2375
+ assetAddress: Address<TAccountAssetAddress>;
2376
+ bundleAssetAccount?: Address<TAccountBundleAssetAccount>;
2377
+ bundleAssetAuthority?: Address<TAccountBundleAssetAuthority>;
2378
+ bundleAccount: Address<TAccountBundleAccount>;
2379
+ bundleTempData?: Address<TAccountBundleTempData>;
2380
+ tokenProgram?: Address<TAccountTokenProgram>;
2381
+ systemProgram?: Address<TAccountSystemProgram>;
2382
+ };
2383
+ declare function getRefundDepositInstructionAsync<TAccountKeeper extends string, TAccountUserBundleAccount extends string, TAccountUserBundleAccountOwner extends string, TAccountUserTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAssetAuthority extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RefundDepositAsyncInput<TAccountKeeper, TAccountUserBundleAccount, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAssetAuthority, TAccountBundleAccount, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2384
+ programAddress?: TProgramAddress;
2385
+ }): Promise<RefundDepositInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccount, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAssetAuthority, TAccountBundleAccount, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram>>;
2386
+ type RefundDepositInput<TAccountKeeper extends string = string, TAccountUserBundleAccount extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserTokenAccount extends string = string, TAccountAssetAddress extends string = string, TAccountBundleAssetAccount extends string = string, TAccountBundleAssetAuthority extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2387
+ keeper: TransactionSigner<TAccountKeeper>;
2388
+ userBundleAccount: Address<TAccountUserBundleAccount>;
2389
+ /** the owner of the pending request (for event purposes). */
2390
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
2391
+ userTokenAccount: Address<TAccountUserTokenAccount>;
2392
+ assetAddress: Address<TAccountAssetAddress>;
2393
+ bundleAssetAccount: Address<TAccountBundleAssetAccount>;
2394
+ bundleAssetAuthority: Address<TAccountBundleAssetAuthority>;
2395
+ bundleAccount: Address<TAccountBundleAccount>;
2396
+ bundleTempData: Address<TAccountBundleTempData>;
2397
+ tokenProgram?: Address<TAccountTokenProgram>;
2398
+ systemProgram?: Address<TAccountSystemProgram>;
2399
+ };
2400
+ declare function getRefundDepositInstruction<TAccountKeeper extends string, TAccountUserBundleAccount extends string, TAccountUserBundleAccountOwner extends string, TAccountUserTokenAccount extends string, TAccountAssetAddress extends string, TAccountBundleAssetAccount extends string, TAccountBundleAssetAuthority extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RefundDepositInput<TAccountKeeper, TAccountUserBundleAccount, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAssetAuthority, TAccountBundleAccount, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2401
+ programAddress?: TProgramAddress;
2402
+ }): RefundDepositInstruction<TProgramAddress, TAccountKeeper, TAccountUserBundleAccount, TAccountUserBundleAccountOwner, TAccountUserTokenAccount, TAccountAssetAddress, TAccountBundleAssetAccount, TAccountBundleAssetAuthority, TAccountBundleAccount, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram>;
2403
+ type ParsedRefundDepositInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2404
+ programAddress: Address<TProgram>;
2405
+ accounts: {
2406
+ keeper: TAccountMetas[0];
2407
+ userBundleAccount: TAccountMetas[1];
2408
+ /** the owner of the pending request (for event purposes). */
2409
+ userBundleAccountOwner: TAccountMetas[2];
2410
+ userTokenAccount: TAccountMetas[3];
2411
+ assetAddress: TAccountMetas[4];
2412
+ bundleAssetAccount: TAccountMetas[5];
2413
+ bundleAssetAuthority: TAccountMetas[6];
2414
+ bundleAccount: TAccountMetas[7];
2415
+ bundleTempData: TAccountMetas[8];
2416
+ tokenProgram: TAccountMetas[9];
2417
+ systemProgram: TAccountMetas[10];
2418
+ };
2419
+ data: RefundDepositInstructionData;
2420
+ };
2421
+ declare function parseRefundDepositInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRefundDepositInstruction<TProgram, TAccountMetas>;
2422
+ //#endregion
2423
+ //#region src/generated/instructions/registerReferrer.d.ts
2424
+ declare const REGISTER_REFERRER_DISCRIMINATOR: ReadonlyUint8Array;
2425
+ declare function getRegisterReferrerDiscriminatorBytes(): ReadonlyUint8Array;
2426
+ type RegisterReferrerInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountReferrer extends string | AccountMeta<string> = string, TAccountReferrerAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountReferrerUserBundleAccount extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountReferrer extends string ? WritableSignerAccount<TAccountReferrer> & AccountSignerMeta<TAccountReferrer> : TAccountReferrer, TAccountReferrerAccount extends string ? WritableAccount<TAccountReferrerAccount> : TAccountReferrerAccount, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountReferrerUserBundleAccount extends string ? ReadonlyAccount<TAccountReferrerUserBundleAccount> : TAccountReferrerUserBundleAccount, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
2427
+ type RegisterReferrerInstructionData = {
2428
+ discriminator: ReadonlyUint8Array;
2429
+ };
2430
+ type RegisterReferrerInstructionDataArgs = {};
2431
+ declare function getRegisterReferrerInstructionDataEncoder(): FixedSizeEncoder<RegisterReferrerInstructionDataArgs>;
2432
+ declare function getRegisterReferrerInstructionDataDecoder(): FixedSizeDecoder<RegisterReferrerInstructionData>;
2433
+ declare function getRegisterReferrerInstructionDataCodec(): FixedSizeCodec<RegisterReferrerInstructionDataArgs, RegisterReferrerInstructionData>;
2434
+ type RegisterReferrerAsyncInput<TAccountReferrer extends string = string, TAccountReferrerAccount extends string = string, TAccountBundleAccount extends string = string, TAccountReferrerUserBundleAccount extends string = string, TAccountSystemProgram extends string = string> = {
2435
+ referrer: TransactionSigner<TAccountReferrer>;
2436
+ referrerAccount?: Address<TAccountReferrerAccount>;
2437
+ bundleAccount: Address<TAccountBundleAccount>;
2438
+ referrerUserBundleAccount?: Address<TAccountReferrerUserBundleAccount>;
2439
+ systemProgram?: Address<TAccountSystemProgram>;
2440
+ };
2441
+ declare function getRegisterReferrerInstructionAsync<TAccountReferrer extends string, TAccountReferrerAccount extends string, TAccountBundleAccount extends string, TAccountReferrerUserBundleAccount extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RegisterReferrerAsyncInput<TAccountReferrer, TAccountReferrerAccount, TAccountBundleAccount, TAccountReferrerUserBundleAccount, TAccountSystemProgram>, config?: {
2442
+ programAddress?: TProgramAddress;
2443
+ }): Promise<RegisterReferrerInstruction<TProgramAddress, TAccountReferrer, TAccountReferrerAccount, TAccountBundleAccount, TAccountReferrerUserBundleAccount, TAccountSystemProgram>>;
2444
+ type RegisterReferrerInput<TAccountReferrer extends string = string, TAccountReferrerAccount extends string = string, TAccountBundleAccount extends string = string, TAccountReferrerUserBundleAccount extends string = string, TAccountSystemProgram extends string = string> = {
2445
+ referrer: TransactionSigner<TAccountReferrer>;
2446
+ referrerAccount: Address<TAccountReferrerAccount>;
2447
+ bundleAccount: Address<TAccountBundleAccount>;
2448
+ referrerUserBundleAccount: Address<TAccountReferrerUserBundleAccount>;
2449
+ systemProgram?: Address<TAccountSystemProgram>;
2450
+ };
2451
+ declare function getRegisterReferrerInstruction<TAccountReferrer extends string, TAccountReferrerAccount extends string, TAccountBundleAccount extends string, TAccountReferrerUserBundleAccount extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RegisterReferrerInput<TAccountReferrer, TAccountReferrerAccount, TAccountBundleAccount, TAccountReferrerUserBundleAccount, TAccountSystemProgram>, config?: {
2452
+ programAddress?: TProgramAddress;
2453
+ }): RegisterReferrerInstruction<TProgramAddress, TAccountReferrer, TAccountReferrerAccount, TAccountBundleAccount, TAccountReferrerUserBundleAccount, TAccountSystemProgram>;
2454
+ type ParsedRegisterReferrerInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2455
+ programAddress: Address<TProgram>;
2456
+ accounts: {
2457
+ referrer: TAccountMetas[0];
2458
+ referrerAccount: TAccountMetas[1];
2459
+ bundleAccount: TAccountMetas[2];
2460
+ referrerUserBundleAccount: TAccountMetas[3];
2461
+ systemProgram: TAccountMetas[4];
2462
+ };
2463
+ data: RegisterReferrerInstructionData;
2464
+ };
2465
+ declare function parseRegisterReferrerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRegisterReferrerInstruction<TProgram, TAccountMetas>;
2466
+ //#endregion
2467
+ //#region src/generated/instructions/removeStrategy.d.ts
2468
+ declare const REMOVE_STRATEGY_DISCRIMINATOR: ReadonlyUint8Array;
2469
+ declare function getRemoveStrategyDiscriminatorBytes(): ReadonlyUint8Array;
2470
+ type RemoveStrategyInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountStrategyAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountReceiverAddress extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountStrategyAccount extends string ? WritableAccount<TAccountStrategyAccount> : TAccountStrategyAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountReceiverAddress extends string ? WritableAccount<TAccountReceiverAddress> : TAccountReceiverAddress, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
2471
+ type RemoveStrategyInstructionData = {
2472
+ discriminator: ReadonlyUint8Array;
2473
+ };
2474
+ type RemoveStrategyInstructionDataArgs = {};
2475
+ declare function getRemoveStrategyInstructionDataEncoder(): FixedSizeEncoder<RemoveStrategyInstructionDataArgs>;
2476
+ declare function getRemoveStrategyInstructionDataDecoder(): FixedSizeDecoder<RemoveStrategyInstructionData>;
2477
+ declare function getRemoveStrategyInstructionDataCodec(): FixedSizeCodec<RemoveStrategyInstructionDataArgs, RemoveStrategyInstructionData>;
2478
+ type RemoveStrategyAsyncInput<TAccountManager extends string = string, TAccountStrategyAccount extends string = string, TAccountBundleAccount extends string = string, TAccountReceiverAddress extends string = string, TAccountSystemProgram extends string = string> = {
2479
+ manager: TransactionSigner<TAccountManager>;
2480
+ strategyAccount?: Address<TAccountStrategyAccount>;
2481
+ bundleAccount: Address<TAccountBundleAccount>;
2482
+ receiverAddress: Address<TAccountReceiverAddress>;
2483
+ systemProgram?: Address<TAccountSystemProgram>;
2484
+ };
2485
+ declare function getRemoveStrategyInstructionAsync<TAccountManager extends string, TAccountStrategyAccount extends string, TAccountBundleAccount extends string, TAccountReceiverAddress extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RemoveStrategyAsyncInput<TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>, config?: {
2486
+ programAddress?: TProgramAddress;
2487
+ }): Promise<RemoveStrategyInstruction<TProgramAddress, TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>>;
2488
+ type RemoveStrategyInput<TAccountManager extends string = string, TAccountStrategyAccount extends string = string, TAccountBundleAccount extends string = string, TAccountReceiverAddress extends string = string, TAccountSystemProgram extends string = string> = {
2489
+ manager: TransactionSigner<TAccountManager>;
2490
+ strategyAccount: Address<TAccountStrategyAccount>;
2491
+ bundleAccount: Address<TAccountBundleAccount>;
2492
+ receiverAddress: Address<TAccountReceiverAddress>;
2493
+ systemProgram?: Address<TAccountSystemProgram>;
2494
+ };
2495
+ declare function getRemoveStrategyInstruction<TAccountManager extends string, TAccountStrategyAccount extends string, TAccountBundleAccount extends string, TAccountReceiverAddress extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RemoveStrategyInput<TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>, config?: {
2496
+ programAddress?: TProgramAddress;
2497
+ }): RemoveStrategyInstruction<TProgramAddress, TAccountManager, TAccountStrategyAccount, TAccountBundleAccount, TAccountReceiverAddress, TAccountSystemProgram>;
2498
+ type ParsedRemoveStrategyInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2499
+ programAddress: Address<TProgram>;
2500
+ accounts: {
2501
+ manager: TAccountMetas[0];
2502
+ strategyAccount: TAccountMetas[1];
2503
+ bundleAccount: TAccountMetas[2];
2504
+ receiverAddress: TAccountMetas[3];
2505
+ systemProgram: TAccountMetas[4];
2506
+ };
2507
+ data: RemoveStrategyInstructionData;
2508
+ };
2509
+ declare function parseRemoveStrategyInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemoveStrategyInstruction<TProgram, TAccountMetas>;
2510
+ //#endregion
2511
+ //#region src/generated/instructions/requestBundleSwitch.d.ts
2512
+ declare const REQUEST_BUNDLE_SWITCH_DISCRIMINATOR: ReadonlyUint8Array;
2513
+ declare function getRequestBundleSwitchDiscriminatorBytes(): ReadonlyUint8Array;
2514
+ type RequestBundleSwitchInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountRent extends string | AccountMeta<string> = "SysvarRent111111111111111111111111111111111", TAccountTargetBundleAccount extends string | AccountMeta<string> = string, TAccountTargetUserBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountUser extends string ? WritableSignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountRent extends string ? ReadonlyAccount<TAccountRent> : TAccountRent, TAccountTargetBundleAccount extends string ? ReadonlyAccount<TAccountTargetBundleAccount> : TAccountTargetBundleAccount, TAccountTargetUserBundleAccount extends string ? ReadonlyAccount<TAccountTargetUserBundleAccount> : TAccountTargetUserBundleAccount, ...TRemainingAccounts]>;
2515
+ type RequestBundleSwitchInstructionData = {
2516
+ discriminator: ReadonlyUint8Array;
2517
+ sharesAmount: bigint;
2518
+ };
2519
+ type RequestBundleSwitchInstructionDataArgs = {
2520
+ sharesAmount: number | bigint;
2521
+ };
2522
+ declare function getRequestBundleSwitchInstructionDataEncoder(): FixedSizeEncoder<RequestBundleSwitchInstructionDataArgs>;
2523
+ declare function getRequestBundleSwitchInstructionDataDecoder(): FixedSizeDecoder<RequestBundleSwitchInstructionData>;
2524
+ declare function getRequestBundleSwitchInstructionDataCodec(): FixedSizeCodec<RequestBundleSwitchInstructionDataArgs, RequestBundleSwitchInstructionData>;
2525
+ type RequestBundleSwitchAsyncInput<TAccountUser extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountTargetBundleAccount extends string = string, TAccountTargetUserBundleAccount extends string = string> = {
2526
+ user: TransactionSigner<TAccountUser>;
2527
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
2528
+ bundleAccount: Address<TAccountBundleAccount>;
2529
+ oracleData?: Address<TAccountOracleData>;
2530
+ bundleTempData?: Address<TAccountBundleTempData>;
2531
+ tokenProgram?: Address<TAccountTokenProgram>;
2532
+ systemProgram?: Address<TAccountSystemProgram>;
2533
+ rent?: Address<TAccountRent>;
2534
+ targetBundleAccount: Address<TAccountTargetBundleAccount>;
2535
+ targetUserBundleAccount: Address<TAccountTargetUserBundleAccount>;
2536
+ sharesAmount: RequestBundleSwitchInstructionDataArgs["sharesAmount"];
2537
+ };
2538
+ declare function getRequestBundleSwitchInstructionAsync<TAccountUser extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountRent extends string, TAccountTargetBundleAccount extends string, TAccountTargetUserBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RequestBundleSwitchAsyncInput<TAccountUser, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, TAccountTargetBundleAccount, TAccountTargetUserBundleAccount>, config?: {
2539
+ programAddress?: TProgramAddress;
2540
+ }): Promise<RequestBundleSwitchInstruction<TProgramAddress, TAccountUser, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, TAccountTargetBundleAccount, TAccountTargetUserBundleAccount>>;
2541
+ type RequestBundleSwitchInput<TAccountUser extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountTargetBundleAccount extends string = string, TAccountTargetUserBundleAccount extends string = string> = {
2542
+ user: TransactionSigner<TAccountUser>;
2543
+ userBundleAccount: Address<TAccountUserBundleAccount>;
2544
+ bundleAccount: Address<TAccountBundleAccount>;
2545
+ oracleData: Address<TAccountOracleData>;
2546
+ bundleTempData: Address<TAccountBundleTempData>;
2547
+ tokenProgram?: Address<TAccountTokenProgram>;
2548
+ systemProgram?: Address<TAccountSystemProgram>;
2549
+ rent?: Address<TAccountRent>;
2550
+ targetBundleAccount: Address<TAccountTargetBundleAccount>;
2551
+ targetUserBundleAccount: Address<TAccountTargetUserBundleAccount>;
2552
+ sharesAmount: RequestBundleSwitchInstructionDataArgs["sharesAmount"];
2553
+ };
2554
+ declare function getRequestBundleSwitchInstruction<TAccountUser extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountRent extends string, TAccountTargetBundleAccount extends string, TAccountTargetUserBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RequestBundleSwitchInput<TAccountUser, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, TAccountTargetBundleAccount, TAccountTargetUserBundleAccount>, config?: {
2555
+ programAddress?: TProgramAddress;
2556
+ }): RequestBundleSwitchInstruction<TProgramAddress, TAccountUser, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, TAccountTargetBundleAccount, TAccountTargetUserBundleAccount>;
2557
+ type ParsedRequestBundleSwitchInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2558
+ programAddress: Address<TProgram>;
2559
+ accounts: {
2560
+ user: TAccountMetas[0];
2561
+ userBundleAccount: TAccountMetas[1];
2562
+ bundleAccount: TAccountMetas[2];
2563
+ oracleData: TAccountMetas[3];
2564
+ bundleTempData: TAccountMetas[4];
2565
+ tokenProgram: TAccountMetas[5];
2566
+ systemProgram: TAccountMetas[6];
2567
+ rent: TAccountMetas[7];
2568
+ targetBundleAccount: TAccountMetas[8];
2569
+ targetUserBundleAccount: TAccountMetas[9];
2570
+ };
2571
+ data: RequestBundleSwitchInstructionData;
2572
+ };
2573
+ declare function parseRequestBundleSwitchInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRequestBundleSwitchInstruction<TProgram, TAccountMetas>;
2574
+ //#endregion
2575
+ //#region src/generated/instructions/requestDeposit.d.ts
2576
+ declare const REQUEST_DEPOSIT_DISCRIMINATOR: ReadonlyUint8Array;
2577
+ declare function getRequestDepositDiscriminatorBytes(): ReadonlyUint8Array;
2578
+ type RequestDepositInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountUserTokenAccount extends string | AccountMeta<string> = string, TAccountPendingDepositTokenAccount extends string | AccountMeta<string> = string, TAccountTreasuryAccount extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountAssetAddress extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountPendingBundleAssetAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountUser extends string ? WritableSignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser, TAccountUserTokenAccount extends string ? WritableAccount<TAccountUserTokenAccount> : TAccountUserTokenAccount, TAccountPendingDepositTokenAccount extends string ? WritableAccount<TAccountPendingDepositTokenAccount> : TAccountPendingDepositTokenAccount, TAccountTreasuryAccount extends string ? WritableAccount<TAccountTreasuryAccount> : TAccountTreasuryAccount, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountAssetAddress extends string ? WritableAccount<TAccountAssetAddress> : TAccountAssetAddress, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountPendingBundleAssetAuthority extends string ? WritableAccount<TAccountPendingBundleAssetAuthority> : TAccountPendingBundleAssetAuthority, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
2579
+ type RequestDepositInstructionData = {
2580
+ discriminator: ReadonlyUint8Array;
2581
+ amount: bigint;
2582
+ };
2583
+ type RequestDepositInstructionDataArgs = {
2584
+ amount: number | bigint;
2585
+ };
2586
+ declare function getRequestDepositInstructionDataEncoder(): FixedSizeEncoder<RequestDepositInstructionDataArgs>;
2587
+ declare function getRequestDepositInstructionDataDecoder(): FixedSizeDecoder<RequestDepositInstructionData>;
2588
+ declare function getRequestDepositInstructionDataCodec(): FixedSizeCodec<RequestDepositInstructionDataArgs, RequestDepositInstructionData>;
2589
+ type RequestDepositAsyncInput<TAccountUser extends string = string, TAccountUserTokenAccount extends string = string, TAccountPendingDepositTokenAccount extends string = string, TAccountTreasuryAccount extends string = string, TAccountUserBundleAccount extends string = string, TAccountAssetAddress extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountBundleAccount extends string = string, TAccountPendingBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2590
+ user: TransactionSigner<TAccountUser>;
2591
+ /** user token account (source of funds) */
2592
+ userTokenAccount: Address<TAccountUserTokenAccount>;
2593
+ pendingDepositTokenAccount?: Address<TAccountPendingDepositTokenAccount>;
2594
+ treasuryAccount: Address<TAccountTreasuryAccount>;
2595
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
2596
+ assetAddress: Address<TAccountAssetAddress>;
2597
+ oracleData?: Address<TAccountOracleData>;
2598
+ bundleTempData?: Address<TAccountBundleTempData>;
2599
+ bundleAccount: Address<TAccountBundleAccount>;
2600
+ pendingBundleAssetAuthority?: Address<TAccountPendingBundleAssetAuthority>;
2601
+ tokenProgram?: Address<TAccountTokenProgram>;
2602
+ systemProgram?: Address<TAccountSystemProgram>;
2603
+ amount: RequestDepositInstructionDataArgs["amount"];
2604
+ };
2605
+ declare function getRequestDepositInstructionAsync<TAccountUser extends string, TAccountUserTokenAccount extends string, TAccountPendingDepositTokenAccount extends string, TAccountTreasuryAccount extends string, TAccountUserBundleAccount extends string, TAccountAssetAddress extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountBundleAccount extends string, TAccountPendingBundleAssetAuthority extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RequestDepositAsyncInput<TAccountUser, TAccountUserTokenAccount, TAccountPendingDepositTokenAccount, TAccountTreasuryAccount, TAccountUserBundleAccount, TAccountAssetAddress, TAccountOracleData, TAccountBundleTempData, TAccountBundleAccount, TAccountPendingBundleAssetAuthority, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2606
+ programAddress?: TProgramAddress;
2607
+ }): Promise<RequestDepositInstruction<TProgramAddress, TAccountUser, TAccountUserTokenAccount, TAccountPendingDepositTokenAccount, TAccountTreasuryAccount, TAccountUserBundleAccount, TAccountAssetAddress, TAccountOracleData, TAccountBundleTempData, TAccountBundleAccount, TAccountPendingBundleAssetAuthority, TAccountTokenProgram, TAccountSystemProgram>>;
2608
+ type RequestDepositInput<TAccountUser extends string = string, TAccountUserTokenAccount extends string = string, TAccountPendingDepositTokenAccount extends string = string, TAccountTreasuryAccount extends string = string, TAccountUserBundleAccount extends string = string, TAccountAssetAddress extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountBundleAccount extends string = string, TAccountPendingBundleAssetAuthority extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2609
+ user: TransactionSigner<TAccountUser>;
2610
+ /** user token account (source of funds) */
2611
+ userTokenAccount: Address<TAccountUserTokenAccount>;
2612
+ pendingDepositTokenAccount: Address<TAccountPendingDepositTokenAccount>;
2613
+ treasuryAccount: Address<TAccountTreasuryAccount>;
2614
+ userBundleAccount: Address<TAccountUserBundleAccount>;
2615
+ assetAddress: Address<TAccountAssetAddress>;
2616
+ oracleData: Address<TAccountOracleData>;
2617
+ bundleTempData: Address<TAccountBundleTempData>;
2618
+ bundleAccount: Address<TAccountBundleAccount>;
2619
+ pendingBundleAssetAuthority: Address<TAccountPendingBundleAssetAuthority>;
2620
+ tokenProgram?: Address<TAccountTokenProgram>;
2621
+ systemProgram?: Address<TAccountSystemProgram>;
2622
+ amount: RequestDepositInstructionDataArgs["amount"];
2623
+ };
2624
+ declare function getRequestDepositInstruction<TAccountUser extends string, TAccountUserTokenAccount extends string, TAccountPendingDepositTokenAccount extends string, TAccountTreasuryAccount extends string, TAccountUserBundleAccount extends string, TAccountAssetAddress extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountBundleAccount extends string, TAccountPendingBundleAssetAuthority extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RequestDepositInput<TAccountUser, TAccountUserTokenAccount, TAccountPendingDepositTokenAccount, TAccountTreasuryAccount, TAccountUserBundleAccount, TAccountAssetAddress, TAccountOracleData, TAccountBundleTempData, TAccountBundleAccount, TAccountPendingBundleAssetAuthority, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2625
+ programAddress?: TProgramAddress;
2626
+ }): RequestDepositInstruction<TProgramAddress, TAccountUser, TAccountUserTokenAccount, TAccountPendingDepositTokenAccount, TAccountTreasuryAccount, TAccountUserBundleAccount, TAccountAssetAddress, TAccountOracleData, TAccountBundleTempData, TAccountBundleAccount, TAccountPendingBundleAssetAuthority, TAccountTokenProgram, TAccountSystemProgram>;
2627
+ type ParsedRequestDepositInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2628
+ programAddress: Address<TProgram>;
2629
+ accounts: {
2630
+ user: TAccountMetas[0];
2631
+ /** user token account (source of funds) */
2632
+ userTokenAccount: TAccountMetas[1];
2633
+ pendingDepositTokenAccount: TAccountMetas[2];
2634
+ treasuryAccount: TAccountMetas[3];
2635
+ userBundleAccount: TAccountMetas[4];
2636
+ assetAddress: TAccountMetas[5];
2637
+ oracleData: TAccountMetas[6];
2638
+ bundleTempData: TAccountMetas[7];
2639
+ bundleAccount: TAccountMetas[8];
2640
+ pendingBundleAssetAuthority: TAccountMetas[9];
2641
+ tokenProgram: TAccountMetas[10];
2642
+ systemProgram: TAccountMetas[11];
2643
+ };
2644
+ data: RequestDepositInstructionData;
2645
+ };
2646
+ declare function parseRequestDepositInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRequestDepositInstruction<TProgram, TAccountMetas>;
2647
+ //#endregion
2648
+ //#region src/generated/instructions/requestWithdrawal.d.ts
2649
+ declare const REQUEST_WITHDRAWAL_DISCRIMINATOR: ReadonlyUint8Array;
2650
+ declare function getRequestWithdrawalDiscriminatorBytes(): ReadonlyUint8Array;
2651
+ type RequestWithdrawalInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountRent extends string | AccountMeta<string> = "SysvarRent111111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountUser extends string ? WritableSignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountRent extends string ? ReadonlyAccount<TAccountRent> : TAccountRent, ...TRemainingAccounts]>;
2652
+ type RequestWithdrawalInstructionData = {
2653
+ discriminator: ReadonlyUint8Array;
2654
+ sharesAmount: bigint;
2655
+ };
2656
+ type RequestWithdrawalInstructionDataArgs = {
2657
+ sharesAmount: number | bigint;
2658
+ };
2659
+ declare function getRequestWithdrawalInstructionDataEncoder(): FixedSizeEncoder<RequestWithdrawalInstructionDataArgs>;
2660
+ declare function getRequestWithdrawalInstructionDataDecoder(): FixedSizeDecoder<RequestWithdrawalInstructionData>;
2661
+ declare function getRequestWithdrawalInstructionDataCodec(): FixedSizeCodec<RequestWithdrawalInstructionDataArgs, RequestWithdrawalInstructionData>;
2662
+ type RequestWithdrawalAsyncInput<TAccountUser extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string> = {
2663
+ user: TransactionSigner<TAccountUser>;
2664
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
2665
+ bundleAccount: Address<TAccountBundleAccount>;
2666
+ oracleData?: Address<TAccountOracleData>;
2667
+ bundleTempData?: Address<TAccountBundleTempData>;
2668
+ tokenProgram?: Address<TAccountTokenProgram>;
2669
+ systemProgram?: Address<TAccountSystemProgram>;
2670
+ rent?: Address<TAccountRent>;
2671
+ sharesAmount: RequestWithdrawalInstructionDataArgs["sharesAmount"];
2672
+ };
2673
+ declare function getRequestWithdrawalInstructionAsync<TAccountUser extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountRent extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RequestWithdrawalAsyncInput<TAccountUser, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram, TAccountRent>, config?: {
2674
+ programAddress?: TProgramAddress;
2675
+ }): Promise<RequestWithdrawalInstruction<TProgramAddress, TAccountUser, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram, TAccountRent>>;
2676
+ type RequestWithdrawalInput<TAccountUser extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string, TAccountOracleData extends string = string, TAccountBundleTempData extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string> = {
2677
+ user: TransactionSigner<TAccountUser>;
2678
+ userBundleAccount: Address<TAccountUserBundleAccount>;
2679
+ bundleAccount: Address<TAccountBundleAccount>;
2680
+ oracleData: Address<TAccountOracleData>;
2681
+ bundleTempData: Address<TAccountBundleTempData>;
2682
+ tokenProgram?: Address<TAccountTokenProgram>;
2683
+ systemProgram?: Address<TAccountSystemProgram>;
2684
+ rent?: Address<TAccountRent>;
2685
+ sharesAmount: RequestWithdrawalInstructionDataArgs["sharesAmount"];
2686
+ };
2687
+ declare function getRequestWithdrawalInstruction<TAccountUser extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TAccountOracleData extends string, TAccountBundleTempData extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountRent extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: RequestWithdrawalInput<TAccountUser, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram, TAccountRent>, config?: {
2688
+ programAddress?: TProgramAddress;
2689
+ }): RequestWithdrawalInstruction<TProgramAddress, TAccountUser, TAccountUserBundleAccount, TAccountBundleAccount, TAccountOracleData, TAccountBundleTempData, TAccountTokenProgram, TAccountSystemProgram, TAccountRent>;
2690
+ type ParsedRequestWithdrawalInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2691
+ programAddress: Address<TProgram>;
2692
+ accounts: {
2693
+ user: TAccountMetas[0];
2694
+ userBundleAccount: TAccountMetas[1];
2695
+ bundleAccount: TAccountMetas[2];
2696
+ oracleData: TAccountMetas[3];
2697
+ bundleTempData: TAccountMetas[4];
2698
+ tokenProgram: TAccountMetas[5];
2699
+ systemProgram: TAccountMetas[6];
2700
+ rent: TAccountMetas[7];
2701
+ };
2702
+ data: RequestWithdrawalInstructionData;
2703
+ };
2704
+ declare function parseRequestWithdrawalInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRequestWithdrawalInstruction<TProgram, TAccountMetas>;
2705
+ //#endregion
2706
+ //#region src/generated/instructions/setBundleCreator.d.ts
2707
+ declare const SET_BUNDLE_CREATOR_DISCRIMINATOR: ReadonlyUint8Array;
2708
+ declare function getSetBundleCreatorDiscriminatorBytes(): ReadonlyUint8Array;
2709
+ type SetBundleCreatorInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountAdmin extends string | AccountMeta<string> = string, TAccountBundleMasterAccount extends string | AccountMeta<string> = string, TAccountCreator extends string | AccountMeta<string> = string, TAccountBundleCreatorAccount extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAdmin extends string ? WritableSignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin, TAccountBundleMasterAccount extends string ? ReadonlyAccount<TAccountBundleMasterAccount> : TAccountBundleMasterAccount, TAccountCreator extends string ? ReadonlyAccount<TAccountCreator> : TAccountCreator, TAccountBundleCreatorAccount extends string ? WritableAccount<TAccountBundleCreatorAccount> : TAccountBundleCreatorAccount, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
2710
+ type SetBundleCreatorInstructionData = {
2711
+ discriminator: ReadonlyUint8Array;
2712
+ allowed: boolean;
2713
+ };
2714
+ type SetBundleCreatorInstructionDataArgs = {
2715
+ allowed: boolean;
2716
+ };
2717
+ declare function getSetBundleCreatorInstructionDataEncoder(): FixedSizeEncoder<SetBundleCreatorInstructionDataArgs>;
2718
+ declare function getSetBundleCreatorInstructionDataDecoder(): FixedSizeDecoder<SetBundleCreatorInstructionData>;
2719
+ declare function getSetBundleCreatorInstructionDataCodec(): FixedSizeCodec<SetBundleCreatorInstructionDataArgs, SetBundleCreatorInstructionData>;
2720
+ type SetBundleCreatorAsyncInput<TAccountAdmin extends string = string, TAccountBundleMasterAccount extends string = string, TAccountCreator extends string = string, TAccountBundleCreatorAccount extends string = string, TAccountSystemProgram extends string = string> = {
2721
+ admin: TransactionSigner<TAccountAdmin>;
2722
+ bundleMasterAccount?: Address<TAccountBundleMasterAccount>;
2723
+ /** CHECK safe as only the pubkey is read */
2724
+ creator: Address<TAccountCreator>;
2725
+ bundleCreatorAccount?: Address<TAccountBundleCreatorAccount>;
2726
+ systemProgram?: Address<TAccountSystemProgram>;
2727
+ allowed: SetBundleCreatorInstructionDataArgs["allowed"];
2728
+ };
2729
+ declare function getSetBundleCreatorInstructionAsync<TAccountAdmin extends string, TAccountBundleMasterAccount extends string, TAccountCreator extends string, TAccountBundleCreatorAccount extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetBundleCreatorAsyncInput<TAccountAdmin, TAccountBundleMasterAccount, TAccountCreator, TAccountBundleCreatorAccount, TAccountSystemProgram>, config?: {
2730
+ programAddress?: TProgramAddress;
2731
+ }): Promise<SetBundleCreatorInstruction<TProgramAddress, TAccountAdmin, TAccountBundleMasterAccount, TAccountCreator, TAccountBundleCreatorAccount, TAccountSystemProgram>>;
2732
+ type SetBundleCreatorInput<TAccountAdmin extends string = string, TAccountBundleMasterAccount extends string = string, TAccountCreator extends string = string, TAccountBundleCreatorAccount extends string = string, TAccountSystemProgram extends string = string> = {
2733
+ admin: TransactionSigner<TAccountAdmin>;
2734
+ bundleMasterAccount: Address<TAccountBundleMasterAccount>;
2735
+ /** CHECK safe as only the pubkey is read */
2736
+ creator: Address<TAccountCreator>;
2737
+ bundleCreatorAccount: Address<TAccountBundleCreatorAccount>;
2738
+ systemProgram?: Address<TAccountSystemProgram>;
2739
+ allowed: SetBundleCreatorInstructionDataArgs["allowed"];
2740
+ };
2741
+ declare function getSetBundleCreatorInstruction<TAccountAdmin extends string, TAccountBundleMasterAccount extends string, TAccountCreator extends string, TAccountBundleCreatorAccount extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetBundleCreatorInput<TAccountAdmin, TAccountBundleMasterAccount, TAccountCreator, TAccountBundleCreatorAccount, TAccountSystemProgram>, config?: {
2742
+ programAddress?: TProgramAddress;
2743
+ }): SetBundleCreatorInstruction<TProgramAddress, TAccountAdmin, TAccountBundleMasterAccount, TAccountCreator, TAccountBundleCreatorAccount, TAccountSystemProgram>;
2744
+ type ParsedSetBundleCreatorInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2745
+ programAddress: Address<TProgram>;
2746
+ accounts: {
2747
+ admin: TAccountMetas[0];
2748
+ bundleMasterAccount: TAccountMetas[1];
2749
+ /** CHECK safe as only the pubkey is read */
2750
+ creator: TAccountMetas[2];
2751
+ bundleCreatorAccount: TAccountMetas[3];
2752
+ systemProgram: TAccountMetas[4];
2753
+ };
2754
+ data: SetBundleCreatorInstructionData;
2755
+ };
2756
+ declare function parseSetBundleCreatorInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetBundleCreatorInstruction<TProgram, TAccountMetas>;
2757
+ //#endregion
2758
+ //#region src/generated/instructions/setDelays.d.ts
2759
+ declare const SET_DELAYS_DISCRIMINATOR: ReadonlyUint8Array;
2760
+ declare function getSetDelaysDiscriminatorBytes(): ReadonlyUint8Array;
2761
+ type SetDelaysInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
2762
+ type SetDelaysInstructionData = {
2763
+ discriminator: ReadonlyUint8Array;
2764
+ withdrawalDelay: bigint;
2765
+ withdrawalTMin: bigint;
2766
+ withdrawalTMax: bigint;
2767
+ withdrawalCurve: number;
2768
+ };
2769
+ type SetDelaysInstructionDataArgs = {
2770
+ withdrawalDelay: number | bigint;
2771
+ withdrawalTMin: number | bigint;
2772
+ withdrawalTMax: number | bigint;
2773
+ withdrawalCurve: number;
2774
+ };
2775
+ declare function getSetDelaysInstructionDataEncoder(): FixedSizeEncoder<SetDelaysInstructionDataArgs>;
2776
+ declare function getSetDelaysInstructionDataDecoder(): FixedSizeDecoder<SetDelaysInstructionData>;
2777
+ declare function getSetDelaysInstructionDataCodec(): FixedSizeCodec<SetDelaysInstructionDataArgs, SetDelaysInstructionData>;
2778
+ type SetDelaysInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
2779
+ manager: TransactionSigner<TAccountManager>;
2780
+ bundleAccount: Address<TAccountBundleAccount>;
2781
+ withdrawalDelay: SetDelaysInstructionDataArgs["withdrawalDelay"];
2782
+ withdrawalTMin: SetDelaysInstructionDataArgs["withdrawalTMin"];
2783
+ withdrawalTMax: SetDelaysInstructionDataArgs["withdrawalTMax"];
2784
+ withdrawalCurve: SetDelaysInstructionDataArgs["withdrawalCurve"];
2785
+ };
2786
+ declare function getSetDelaysInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetDelaysInput<TAccountManager, TAccountBundleAccount>, config?: {
2787
+ programAddress?: TProgramAddress;
2788
+ }): SetDelaysInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
2789
+ type ParsedSetDelaysInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2790
+ programAddress: Address<TProgram>;
2791
+ accounts: {
2792
+ manager: TAccountMetas[0];
2793
+ bundleAccount: TAccountMetas[1];
2794
+ };
2795
+ data: SetDelaysInstructionData;
2796
+ };
2797
+ declare function parseSetDelaysInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetDelaysInstruction<TProgram, TAccountMetas>;
2798
+ //#endregion
2799
+ //#region src/generated/instructions/setFees.d.ts
2800
+ declare const SET_FEES_DISCRIMINATOR: ReadonlyUint8Array;
2801
+ declare function getSetFeesDiscriminatorBytes(): ReadonlyUint8Array;
2802
+ type SetFeesInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
2803
+ type SetFeesInstructionData = {
2804
+ discriminator: ReadonlyUint8Array;
2805
+ treasury: Address;
2806
+ depositFee: number;
2807
+ withdrawalFee: number;
2808
+ performanceFee: number;
2809
+ managementFeeBps: number;
2810
+ };
2811
+ type SetFeesInstructionDataArgs = {
2812
+ treasury: Address;
2813
+ depositFee: number;
2814
+ withdrawalFee: number;
2815
+ performanceFee: number;
2816
+ managementFeeBps: number;
2817
+ };
2818
+ declare function getSetFeesInstructionDataEncoder(): FixedSizeEncoder<SetFeesInstructionDataArgs>;
2819
+ declare function getSetFeesInstructionDataDecoder(): FixedSizeDecoder<SetFeesInstructionData>;
2820
+ declare function getSetFeesInstructionDataCodec(): FixedSizeCodec<SetFeesInstructionDataArgs, SetFeesInstructionData>;
2821
+ type SetFeesInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
2822
+ manager: TransactionSigner<TAccountManager>;
2823
+ bundleAccount: Address<TAccountBundleAccount>;
2824
+ treasury: SetFeesInstructionDataArgs["treasury"];
2825
+ depositFee: SetFeesInstructionDataArgs["depositFee"];
2826
+ withdrawalFee: SetFeesInstructionDataArgs["withdrawalFee"];
2827
+ performanceFee: SetFeesInstructionDataArgs["performanceFee"];
2828
+ managementFeeBps: SetFeesInstructionDataArgs["managementFeeBps"];
2829
+ };
2830
+ declare function getSetFeesInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetFeesInput<TAccountManager, TAccountBundleAccount>, config?: {
2831
+ programAddress?: TProgramAddress;
2832
+ }): SetFeesInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
2833
+ type ParsedSetFeesInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2834
+ programAddress: Address<TProgram>;
2835
+ accounts: {
2836
+ manager: TAccountMetas[0];
2837
+ bundleAccount: TAccountMetas[1];
2838
+ };
2839
+ data: SetFeesInstructionData;
2840
+ };
2841
+ declare function parseSetFeesInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetFeesInstruction<TProgram, TAccountMetas>;
2842
+ //#endregion
2843
+ //#region src/generated/instructions/setKeeper.d.ts
2844
+ declare const SET_KEEPER_DISCRIMINATOR: ReadonlyUint8Array;
2845
+ declare function getSetKeeperDiscriminatorBytes(): ReadonlyUint8Array;
2846
+ type SetKeeperInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
2847
+ type SetKeeperInstructionData = {
2848
+ discriminator: ReadonlyUint8Array;
2849
+ newkeeper: Address;
2850
+ };
2851
+ type SetKeeperInstructionDataArgs = {
2852
+ newkeeper: Address;
2853
+ };
2854
+ declare function getSetKeeperInstructionDataEncoder(): FixedSizeEncoder<SetKeeperInstructionDataArgs>;
2855
+ declare function getSetKeeperInstructionDataDecoder(): FixedSizeDecoder<SetKeeperInstructionData>;
2856
+ declare function getSetKeeperInstructionDataCodec(): FixedSizeCodec<SetKeeperInstructionDataArgs, SetKeeperInstructionData>;
2857
+ type SetKeeperInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
2858
+ manager: TransactionSigner<TAccountManager>;
2859
+ bundleAccount: Address<TAccountBundleAccount>;
2860
+ newkeeper: SetKeeperInstructionDataArgs["newkeeper"];
2861
+ };
2862
+ declare function getSetKeeperInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetKeeperInput<TAccountManager, TAccountBundleAccount>, config?: {
2863
+ programAddress?: TProgramAddress;
2864
+ }): SetKeeperInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
2865
+ type ParsedSetKeeperInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2866
+ programAddress: Address<TProgram>;
2867
+ accounts: {
2868
+ manager: TAccountMetas[0];
2869
+ bundleAccount: TAccountMetas[1];
2870
+ };
2871
+ data: SetKeeperInstructionData;
2872
+ };
2873
+ declare function parseSetKeeperInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetKeeperInstruction<TProgram, TAccountMetas>;
2874
+ //#endregion
2875
+ //#region src/generated/instructions/setMaxDepositAmount.d.ts
2876
+ declare const SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR: ReadonlyUint8Array;
2877
+ declare function getSetMaxDepositAmountDiscriminatorBytes(): ReadonlyUint8Array;
2878
+ type SetMaxDepositAmountInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
2879
+ type SetMaxDepositAmountInstructionData = {
2880
+ discriminator: ReadonlyUint8Array;
2881
+ maxDepositAmount: bigint;
2882
+ };
2883
+ type SetMaxDepositAmountInstructionDataArgs = {
2884
+ maxDepositAmount: number | bigint;
2885
+ };
2886
+ declare function getSetMaxDepositAmountInstructionDataEncoder(): FixedSizeEncoder<SetMaxDepositAmountInstructionDataArgs>;
2887
+ declare function getSetMaxDepositAmountInstructionDataDecoder(): FixedSizeDecoder<SetMaxDepositAmountInstructionData>;
2888
+ declare function getSetMaxDepositAmountInstructionDataCodec(): FixedSizeCodec<SetMaxDepositAmountInstructionDataArgs, SetMaxDepositAmountInstructionData>;
2889
+ type SetMaxDepositAmountInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
2890
+ manager: TransactionSigner<TAccountManager>;
2891
+ bundleAccount: Address<TAccountBundleAccount>;
2892
+ maxDepositAmount: SetMaxDepositAmountInstructionDataArgs["maxDepositAmount"];
2893
+ };
2894
+ declare function getSetMaxDepositAmountInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetMaxDepositAmountInput<TAccountManager, TAccountBundleAccount>, config?: {
2895
+ programAddress?: TProgramAddress;
2896
+ }): SetMaxDepositAmountInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
2897
+ type ParsedSetMaxDepositAmountInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2898
+ programAddress: Address<TProgram>;
2899
+ accounts: {
2900
+ manager: TAccountMetas[0];
2901
+ bundleAccount: TAccountMetas[1];
2902
+ };
2903
+ data: SetMaxDepositAmountInstructionData;
2904
+ };
2905
+ declare function parseSetMaxDepositAmountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetMaxDepositAmountInstruction<TProgram, TAccountMetas>;
2906
+ //#endregion
2907
+ //#region src/generated/instructions/setMinDepositAmount.d.ts
2908
+ declare const SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR: ReadonlyUint8Array;
2909
+ declare function getSetMinDepositAmountDiscriminatorBytes(): ReadonlyUint8Array;
2910
+ type SetMinDepositAmountInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
2911
+ type SetMinDepositAmountInstructionData = {
2912
+ discriminator: ReadonlyUint8Array;
2913
+ minDepositAmount: bigint;
2914
+ };
2915
+ type SetMinDepositAmountInstructionDataArgs = {
2916
+ minDepositAmount: number | bigint;
2917
+ };
2918
+ declare function getSetMinDepositAmountInstructionDataEncoder(): FixedSizeEncoder<SetMinDepositAmountInstructionDataArgs>;
2919
+ declare function getSetMinDepositAmountInstructionDataDecoder(): FixedSizeDecoder<SetMinDepositAmountInstructionData>;
2920
+ declare function getSetMinDepositAmountInstructionDataCodec(): FixedSizeCodec<SetMinDepositAmountInstructionDataArgs, SetMinDepositAmountInstructionData>;
2921
+ type SetMinDepositAmountInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
2922
+ manager: TransactionSigner<TAccountManager>;
2923
+ bundleAccount: Address<TAccountBundleAccount>;
2924
+ minDepositAmount: SetMinDepositAmountInstructionDataArgs["minDepositAmount"];
2925
+ };
2926
+ declare function getSetMinDepositAmountInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetMinDepositAmountInput<TAccountManager, TAccountBundleAccount>, config?: {
2927
+ programAddress?: TProgramAddress;
2928
+ }): SetMinDepositAmountInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
2929
+ type ParsedSetMinDepositAmountInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2930
+ programAddress: Address<TProgram>;
2931
+ accounts: {
2932
+ manager: TAccountMetas[0];
2933
+ bundleAccount: TAccountMetas[1];
2934
+ };
2935
+ data: SetMinDepositAmountInstructionData;
2936
+ };
2937
+ declare function parseSetMinDepositAmountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetMinDepositAmountInstruction<TProgram, TAccountMetas>;
2938
+ //#endregion
2939
+ //#region src/generated/instructions/setOracleBuffer.d.ts
2940
+ declare const SET_ORACLE_BUFFER_DISCRIMINATOR: ReadonlyUint8Array;
2941
+ declare function getSetOracleBufferDiscriminatorBytes(): ReadonlyUint8Array;
2942
+ type SetOracleBufferInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
2943
+ type SetOracleBufferInstructionData = {
2944
+ discriminator: ReadonlyUint8Array;
2945
+ oracleBuffer: bigint;
2946
+ };
2947
+ type SetOracleBufferInstructionDataArgs = {
2948
+ oracleBuffer: number | bigint;
2949
+ };
2950
+ declare function getSetOracleBufferInstructionDataEncoder(): FixedSizeEncoder<SetOracleBufferInstructionDataArgs>;
2951
+ declare function getSetOracleBufferInstructionDataDecoder(): FixedSizeDecoder<SetOracleBufferInstructionData>;
2952
+ declare function getSetOracleBufferInstructionDataCodec(): FixedSizeCodec<SetOracleBufferInstructionDataArgs, SetOracleBufferInstructionData>;
2953
+ type SetOracleBufferInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
2954
+ manager: TransactionSigner<TAccountManager>;
2955
+ bundleAccount: Address<TAccountBundleAccount>;
2956
+ oracleBuffer: SetOracleBufferInstructionDataArgs["oracleBuffer"];
2957
+ };
2958
+ declare function getSetOracleBufferInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetOracleBufferInput<TAccountManager, TAccountBundleAccount>, config?: {
2959
+ programAddress?: TProgramAddress;
2960
+ }): SetOracleBufferInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
2961
+ type ParsedSetOracleBufferInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2962
+ programAddress: Address<TProgram>;
2963
+ accounts: {
2964
+ manager: TAccountMetas[0];
2965
+ bundleAccount: TAccountMetas[1];
2966
+ };
2967
+ data: SetOracleBufferInstructionData;
2968
+ };
2969
+ declare function parseSetOracleBufferInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetOracleBufferInstruction<TProgram, TAccountMetas>;
2970
+ //#endregion
2971
+ //#region src/generated/instructions/setOracleMaxAge.d.ts
2972
+ declare const SET_ORACLE_MAX_AGE_DISCRIMINATOR: ReadonlyUint8Array;
2973
+ declare function getSetOracleMaxAgeDiscriminatorBytes(): ReadonlyUint8Array;
2974
+ type SetOracleMaxAgeInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
2975
+ type SetOracleMaxAgeInstructionData = {
2976
+ discriminator: ReadonlyUint8Array;
2977
+ oracleMaxAge: bigint;
2978
+ };
2979
+ type SetOracleMaxAgeInstructionDataArgs = {
2980
+ oracleMaxAge: number | bigint;
2981
+ };
2982
+ declare function getSetOracleMaxAgeInstructionDataEncoder(): FixedSizeEncoder<SetOracleMaxAgeInstructionDataArgs>;
2983
+ declare function getSetOracleMaxAgeInstructionDataDecoder(): FixedSizeDecoder<SetOracleMaxAgeInstructionData>;
2984
+ declare function getSetOracleMaxAgeInstructionDataCodec(): FixedSizeCodec<SetOracleMaxAgeInstructionDataArgs, SetOracleMaxAgeInstructionData>;
2985
+ type SetOracleMaxAgeInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
2986
+ manager: TransactionSigner<TAccountManager>;
2987
+ bundleAccount: Address<TAccountBundleAccount>;
2988
+ oracleMaxAge: SetOracleMaxAgeInstructionDataArgs["oracleMaxAge"];
2989
+ };
2990
+ declare function getSetOracleMaxAgeInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetOracleMaxAgeInput<TAccountManager, TAccountBundleAccount>, config?: {
2991
+ programAddress?: TProgramAddress;
2992
+ }): SetOracleMaxAgeInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
2993
+ type ParsedSetOracleMaxAgeInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2994
+ programAddress: Address<TProgram>;
2995
+ accounts: {
2996
+ manager: TAccountMetas[0];
2997
+ bundleAccount: TAccountMetas[1];
2998
+ };
2999
+ data: SetOracleMaxAgeInstructionData;
3000
+ };
3001
+ declare function parseSetOracleMaxAgeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetOracleMaxAgeInstruction<TProgram, TAccountMetas>;
3002
+ //#endregion
3003
+ //#region src/generated/instructions/setOracleUpdateTimeLimit.d.ts
3004
+ declare const SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR: ReadonlyUint8Array;
3005
+ declare function getSetOracleUpdateTimeLimitDiscriminatorBytes(): ReadonlyUint8Array;
3006
+ type SetOracleUpdateTimeLimitInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
3007
+ type SetOracleUpdateTimeLimitInstructionData = {
3008
+ discriminator: ReadonlyUint8Array;
3009
+ oracleUpdateTimeLimit: bigint;
3010
+ };
3011
+ type SetOracleUpdateTimeLimitInstructionDataArgs = {
3012
+ oracleUpdateTimeLimit: number | bigint;
3013
+ };
3014
+ declare function getSetOracleUpdateTimeLimitInstructionDataEncoder(): FixedSizeEncoder<SetOracleUpdateTimeLimitInstructionDataArgs>;
3015
+ declare function getSetOracleUpdateTimeLimitInstructionDataDecoder(): FixedSizeDecoder<SetOracleUpdateTimeLimitInstructionData>;
3016
+ declare function getSetOracleUpdateTimeLimitInstructionDataCodec(): FixedSizeCodec<SetOracleUpdateTimeLimitInstructionDataArgs, SetOracleUpdateTimeLimitInstructionData>;
3017
+ type SetOracleUpdateTimeLimitInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
3018
+ manager: TransactionSigner<TAccountManager>;
3019
+ bundleAccount: Address<TAccountBundleAccount>;
3020
+ oracleUpdateTimeLimit: SetOracleUpdateTimeLimitInstructionDataArgs["oracleUpdateTimeLimit"];
3021
+ };
3022
+ declare function getSetOracleUpdateTimeLimitInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetOracleUpdateTimeLimitInput<TAccountManager, TAccountBundleAccount>, config?: {
3023
+ programAddress?: TProgramAddress;
3024
+ }): SetOracleUpdateTimeLimitInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
3025
+ type ParsedSetOracleUpdateTimeLimitInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3026
+ programAddress: Address<TProgram>;
3027
+ accounts: {
3028
+ manager: TAccountMetas[0];
3029
+ bundleAccount: TAccountMetas[1];
3030
+ };
3031
+ data: SetOracleUpdateTimeLimitInstructionData;
3032
+ };
3033
+ declare function parseSetOracleUpdateTimeLimitInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetOracleUpdateTimeLimitInstruction<TProgram, TAccountMetas>;
3034
+ //#endregion
3035
+ //#region src/generated/instructions/setReferrerActive.d.ts
3036
+ declare const SET_REFERRER_ACTIVE_DISCRIMINATOR: ReadonlyUint8Array;
3037
+ declare function getSetReferrerActiveDiscriminatorBytes(): ReadonlyUint8Array;
3038
+ type SetReferrerActiveInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountReferrerAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountReferrerAccount extends string ? WritableAccount<TAccountReferrerAccount> : TAccountReferrerAccount, ...TRemainingAccounts]>;
3039
+ type SetReferrerActiveInstructionData = {
3040
+ discriminator: ReadonlyUint8Array;
3041
+ active: boolean;
3042
+ };
3043
+ type SetReferrerActiveInstructionDataArgs = {
3044
+ active: boolean;
3045
+ };
3046
+ declare function getSetReferrerActiveInstructionDataEncoder(): FixedSizeEncoder<SetReferrerActiveInstructionDataArgs>;
3047
+ declare function getSetReferrerActiveInstructionDataDecoder(): FixedSizeDecoder<SetReferrerActiveInstructionData>;
3048
+ declare function getSetReferrerActiveInstructionDataCodec(): FixedSizeCodec<SetReferrerActiveInstructionDataArgs, SetReferrerActiveInstructionData>;
3049
+ type SetReferrerActiveInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string, TAccountReferrerAccount extends string = string> = {
3050
+ manager: TransactionSigner<TAccountManager>;
3051
+ bundleAccount: Address<TAccountBundleAccount>;
3052
+ referrerAccount: Address<TAccountReferrerAccount>;
3053
+ active: SetReferrerActiveInstructionDataArgs["active"];
3054
+ };
3055
+ declare function getSetReferrerActiveInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TAccountReferrerAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetReferrerActiveInput<TAccountManager, TAccountBundleAccount, TAccountReferrerAccount>, config?: {
3056
+ programAddress?: TProgramAddress;
3057
+ }): SetReferrerActiveInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount, TAccountReferrerAccount>;
3058
+ type ParsedSetReferrerActiveInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3059
+ programAddress: Address<TProgram>;
3060
+ accounts: {
3061
+ manager: TAccountMetas[0];
3062
+ bundleAccount: TAccountMetas[1];
3063
+ referrerAccount: TAccountMetas[2];
3064
+ };
3065
+ data: SetReferrerActiveInstructionData;
3066
+ };
3067
+ declare function parseSetReferrerActiveInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetReferrerActiveInstruction<TProgram, TAccountMetas>;
3068
+ //#endregion
3069
+ //#region src/generated/instructions/setReferrerConfig.d.ts
3070
+ declare const SET_REFERRER_CONFIG_DISCRIMINATOR: ReadonlyUint8Array;
3071
+ declare function getSetReferrerConfigDiscriminatorBytes(): ReadonlyUint8Array;
3072
+ type SetReferrerConfigInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
3073
+ type SetReferrerConfigInstructionData = {
3074
+ discriminator: ReadonlyUint8Array;
3075
+ referrerEnabled: boolean;
3076
+ referralPfeeBps: number;
3077
+ referralMfeeBps: number;
3078
+ referrerMinDepositAmount: bigint;
3079
+ };
3080
+ type SetReferrerConfigInstructionDataArgs = {
3081
+ referrerEnabled: boolean;
3082
+ referralPfeeBps: number;
3083
+ referralMfeeBps: number;
3084
+ referrerMinDepositAmount: number | bigint;
3085
+ };
3086
+ declare function getSetReferrerConfigInstructionDataEncoder(): FixedSizeEncoder<SetReferrerConfigInstructionDataArgs>;
3087
+ declare function getSetReferrerConfigInstructionDataDecoder(): FixedSizeDecoder<SetReferrerConfigInstructionData>;
3088
+ declare function getSetReferrerConfigInstructionDataCodec(): FixedSizeCodec<SetReferrerConfigInstructionDataArgs, SetReferrerConfigInstructionData>;
3089
+ type SetReferrerConfigInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
3090
+ manager: TransactionSigner<TAccountManager>;
3091
+ bundleAccount: Address<TAccountBundleAccount>;
3092
+ referrerEnabled: SetReferrerConfigInstructionDataArgs["referrerEnabled"];
3093
+ referralPfeeBps: SetReferrerConfigInstructionDataArgs["referralPfeeBps"];
3094
+ referralMfeeBps: SetReferrerConfigInstructionDataArgs["referralMfeeBps"];
3095
+ referrerMinDepositAmount: SetReferrerConfigInstructionDataArgs["referrerMinDepositAmount"];
3096
+ };
3097
+ declare function getSetReferrerConfigInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetReferrerConfigInput<TAccountManager, TAccountBundleAccount>, config?: {
3098
+ programAddress?: TProgramAddress;
3099
+ }): SetReferrerConfigInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
3100
+ type ParsedSetReferrerConfigInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3101
+ programAddress: Address<TProgram>;
3102
+ accounts: {
3103
+ manager: TAccountMetas[0];
3104
+ bundleAccount: TAccountMetas[1];
3105
+ };
3106
+ data: SetReferrerConfigInstructionData;
3107
+ };
3108
+ declare function parseSetReferrerConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetReferrerConfigInstruction<TProgram, TAccountMetas>;
3109
+ //#endregion
3110
+ //#region src/generated/instructions/setReferrerRateOverride.d.ts
3111
+ declare const SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR: ReadonlyUint8Array;
3112
+ declare function getSetReferrerRateOverrideDiscriminatorBytes(): ReadonlyUint8Array;
3113
+ type SetReferrerRateOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountReferrerAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountReferrerAccount extends string ? WritableAccount<TAccountReferrerAccount> : TAccountReferrerAccount, ...TRemainingAccounts]>;
3114
+ type SetReferrerRateOverrideInstructionData = {
3115
+ discriminator: ReadonlyUint8Array;
3116
+ overrideMask: number;
3117
+ customPfeeBps: number;
3118
+ customMfeeBps: number;
3119
+ };
3120
+ type SetReferrerRateOverrideInstructionDataArgs = {
3121
+ overrideMask: number;
3122
+ customPfeeBps: number;
3123
+ customMfeeBps: number;
3124
+ };
3125
+ declare function getSetReferrerRateOverrideInstructionDataEncoder(): FixedSizeEncoder<SetReferrerRateOverrideInstructionDataArgs>;
3126
+ declare function getSetReferrerRateOverrideInstructionDataDecoder(): FixedSizeDecoder<SetReferrerRateOverrideInstructionData>;
3127
+ declare function getSetReferrerRateOverrideInstructionDataCodec(): FixedSizeCodec<SetReferrerRateOverrideInstructionDataArgs, SetReferrerRateOverrideInstructionData>;
3128
+ type SetReferrerRateOverrideInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string, TAccountReferrerAccount extends string = string> = {
3129
+ manager: TransactionSigner<TAccountManager>;
3130
+ bundleAccount: Address<TAccountBundleAccount>;
3131
+ referrerAccount: Address<TAccountReferrerAccount>;
3132
+ overrideMask: SetReferrerRateOverrideInstructionDataArgs["overrideMask"];
3133
+ customPfeeBps: SetReferrerRateOverrideInstructionDataArgs["customPfeeBps"];
3134
+ customMfeeBps: SetReferrerRateOverrideInstructionDataArgs["customMfeeBps"];
3135
+ };
3136
+ declare function getSetReferrerRateOverrideInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TAccountReferrerAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetReferrerRateOverrideInput<TAccountManager, TAccountBundleAccount, TAccountReferrerAccount>, config?: {
3137
+ programAddress?: TProgramAddress;
3138
+ }): SetReferrerRateOverrideInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount, TAccountReferrerAccount>;
3139
+ type ParsedSetReferrerRateOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3140
+ programAddress: Address<TProgram>;
3141
+ accounts: {
3142
+ manager: TAccountMetas[0];
3143
+ bundleAccount: TAccountMetas[1];
3144
+ referrerAccount: TAccountMetas[2];
3145
+ };
3146
+ data: SetReferrerRateOverrideInstructionData;
3147
+ };
3148
+ declare function parseSetReferrerRateOverrideInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetReferrerRateOverrideInstruction<TProgram, TAccountMetas>;
3149
+ //#endregion
3150
+ //#region src/generated/instructions/setUserFeeOverride.d.ts
3151
+ declare const SET_USER_FEE_OVERRIDE_DISCRIMINATOR: ReadonlyUint8Array;
3152
+ declare function getSetUserFeeOverrideDiscriminatorBytes(): ReadonlyUint8Array;
3153
+ type SetUserFeeOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountUserBundleAccountOwner extends string ? ReadonlyAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
3154
+ type SetUserFeeOverrideInstructionData = {
3155
+ discriminator: ReadonlyUint8Array;
3156
+ overrideMask: number;
3157
+ customDepositFeeBps: number;
3158
+ customWithdrawalFeeBps: number;
3159
+ customPerformanceFeeBps: number;
3160
+ customManagementFeeBps: number;
3161
+ };
3162
+ type SetUserFeeOverrideInstructionDataArgs = {
3163
+ overrideMask: number;
3164
+ customDepositFeeBps: number;
3165
+ customWithdrawalFeeBps: number;
3166
+ customPerformanceFeeBps: number;
3167
+ customManagementFeeBps: number;
3168
+ };
3169
+ declare function getSetUserFeeOverrideInstructionDataEncoder(): FixedSizeEncoder<SetUserFeeOverrideInstructionDataArgs>;
3170
+ declare function getSetUserFeeOverrideInstructionDataDecoder(): FixedSizeDecoder<SetUserFeeOverrideInstructionData>;
3171
+ declare function getSetUserFeeOverrideInstructionDataCodec(): FixedSizeCodec<SetUserFeeOverrideInstructionDataArgs, SetUserFeeOverrideInstructionData>;
3172
+ type SetUserFeeOverrideAsyncInput<TAccountManager extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
3173
+ manager: TransactionSigner<TAccountManager>;
3174
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
3175
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
3176
+ bundleAccount: Address<TAccountBundleAccount>;
3177
+ overrideMask: SetUserFeeOverrideInstructionDataArgs["overrideMask"];
3178
+ customDepositFeeBps: SetUserFeeOverrideInstructionDataArgs["customDepositFeeBps"];
3179
+ customWithdrawalFeeBps: SetUserFeeOverrideInstructionDataArgs["customWithdrawalFeeBps"];
3180
+ customPerformanceFeeBps: SetUserFeeOverrideInstructionDataArgs["customPerformanceFeeBps"];
3181
+ customManagementFeeBps: SetUserFeeOverrideInstructionDataArgs["customManagementFeeBps"];
3182
+ };
3183
+ declare function getSetUserFeeOverrideInstructionAsync<TAccountManager extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetUserFeeOverrideAsyncInput<TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
3184
+ programAddress?: TProgramAddress;
3185
+ }): Promise<SetUserFeeOverrideInstruction<TProgramAddress, TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>>;
3186
+ type SetUserFeeOverrideInput<TAccountManager extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
3187
+ manager: TransactionSigner<TAccountManager>;
3188
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
3189
+ userBundleAccount: Address<TAccountUserBundleAccount>;
3190
+ bundleAccount: Address<TAccountBundleAccount>;
3191
+ overrideMask: SetUserFeeOverrideInstructionDataArgs["overrideMask"];
3192
+ customDepositFeeBps: SetUserFeeOverrideInstructionDataArgs["customDepositFeeBps"];
3193
+ customWithdrawalFeeBps: SetUserFeeOverrideInstructionDataArgs["customWithdrawalFeeBps"];
3194
+ customPerformanceFeeBps: SetUserFeeOverrideInstructionDataArgs["customPerformanceFeeBps"];
3195
+ customManagementFeeBps: SetUserFeeOverrideInstructionDataArgs["customManagementFeeBps"];
3196
+ };
3197
+ declare function getSetUserFeeOverrideInstruction<TAccountManager extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetUserFeeOverrideInput<TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
3198
+ programAddress?: TProgramAddress;
3199
+ }): SetUserFeeOverrideInstruction<TProgramAddress, TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>;
3200
+ type ParsedSetUserFeeOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3201
+ programAddress: Address<TProgram>;
3202
+ accounts: {
3203
+ manager: TAccountMetas[0];
3204
+ userBundleAccountOwner: TAccountMetas[1];
3205
+ userBundleAccount: TAccountMetas[2];
3206
+ bundleAccount: TAccountMetas[3];
3207
+ };
3208
+ data: SetUserFeeOverrideInstructionData;
3209
+ };
3210
+ declare function parseSetUserFeeOverrideInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetUserFeeOverrideInstruction<TProgram, TAccountMetas>;
3211
+ //#endregion
3212
+ //#region src/generated/instructions/setUserReferrer.d.ts
3213
+ declare const SET_USER_REFERRER_DISCRIMINATOR: ReadonlyUint8Array;
3214
+ declare function getSetUserReferrerDiscriminatorBytes(): ReadonlyUint8Array;
3215
+ type SetUserReferrerInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountReferrerAccount extends string | AccountMeta<string> = string, TAccountReferrerUserBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountUser extends string ? ReadonlySignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountReferrerAccount extends string ? ReadonlyAccount<TAccountReferrerAccount> : TAccountReferrerAccount, TAccountReferrerUserBundleAccount extends string ? ReadonlyAccount<TAccountReferrerUserBundleAccount> : TAccountReferrerUserBundleAccount, ...TRemainingAccounts]>;
3216
+ type SetUserReferrerInstructionData = {
3217
+ discriminator: ReadonlyUint8Array;
3218
+ };
3219
+ type SetUserReferrerInstructionDataArgs = {};
3220
+ declare function getSetUserReferrerInstructionDataEncoder(): FixedSizeEncoder<SetUserReferrerInstructionDataArgs>;
3221
+ declare function getSetUserReferrerInstructionDataDecoder(): FixedSizeDecoder<SetUserReferrerInstructionData>;
3222
+ declare function getSetUserReferrerInstructionDataCodec(): FixedSizeCodec<SetUserReferrerInstructionDataArgs, SetUserReferrerInstructionData>;
3223
+ type SetUserReferrerAsyncInput<TAccountUser extends string = string, TAccountBundleAccount extends string = string, TAccountUserBundleAccount extends string = string, TAccountReferrerAccount extends string = string, TAccountReferrerUserBundleAccount extends string = string> = {
3224
+ user: TransactionSigner<TAccountUser>;
3225
+ bundleAccount: Address<TAccountBundleAccount>;
3226
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
3227
+ referrerAccount: Address<TAccountReferrerAccount>;
3228
+ referrerUserBundleAccount: Address<TAccountReferrerUserBundleAccount>;
3229
+ };
3230
+ declare function getSetUserReferrerInstructionAsync<TAccountUser extends string, TAccountBundleAccount extends string, TAccountUserBundleAccount extends string, TAccountReferrerAccount extends string, TAccountReferrerUserBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetUserReferrerAsyncInput<TAccountUser, TAccountBundleAccount, TAccountUserBundleAccount, TAccountReferrerAccount, TAccountReferrerUserBundleAccount>, config?: {
3231
+ programAddress?: TProgramAddress;
3232
+ }): Promise<SetUserReferrerInstruction<TProgramAddress, TAccountUser, TAccountBundleAccount, TAccountUserBundleAccount, TAccountReferrerAccount, TAccountReferrerUserBundleAccount>>;
3233
+ type SetUserReferrerInput<TAccountUser extends string = string, TAccountBundleAccount extends string = string, TAccountUserBundleAccount extends string = string, TAccountReferrerAccount extends string = string, TAccountReferrerUserBundleAccount extends string = string> = {
3234
+ user: TransactionSigner<TAccountUser>;
3235
+ bundleAccount: Address<TAccountBundleAccount>;
3236
+ userBundleAccount: Address<TAccountUserBundleAccount>;
3237
+ referrerAccount: Address<TAccountReferrerAccount>;
3238
+ referrerUserBundleAccount: Address<TAccountReferrerUserBundleAccount>;
3239
+ };
3240
+ declare function getSetUserReferrerInstruction<TAccountUser extends string, TAccountBundleAccount extends string, TAccountUserBundleAccount extends string, TAccountReferrerAccount extends string, TAccountReferrerUserBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetUserReferrerInput<TAccountUser, TAccountBundleAccount, TAccountUserBundleAccount, TAccountReferrerAccount, TAccountReferrerUserBundleAccount>, config?: {
3241
+ programAddress?: TProgramAddress;
3242
+ }): SetUserReferrerInstruction<TProgramAddress, TAccountUser, TAccountBundleAccount, TAccountUserBundleAccount, TAccountReferrerAccount, TAccountReferrerUserBundleAccount>;
3243
+ type ParsedSetUserReferrerInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3244
+ programAddress: Address<TProgram>;
3245
+ accounts: {
3246
+ user: TAccountMetas[0];
3247
+ bundleAccount: TAccountMetas[1];
3248
+ userBundleAccount: TAccountMetas[2];
3249
+ referrerAccount: TAccountMetas[3];
3250
+ referrerUserBundleAccount: TAccountMetas[4];
3251
+ };
3252
+ data: SetUserReferrerInstructionData;
3253
+ };
3254
+ declare function parseSetUserReferrerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetUserReferrerInstruction<TProgram, TAccountMetas>;
3255
+ //#endregion
3256
+ //#region src/generated/instructions/setUserWithdrawalTimingOverride.d.ts
3257
+ declare const SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR: ReadonlyUint8Array;
3258
+ declare function getSetUserWithdrawalTimingOverrideDiscriminatorBytes(): ReadonlyUint8Array;
3259
+ type SetUserWithdrawalTimingOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountUserBundleAccountOwner extends string | AccountMeta<string> = string, TAccountUserBundleAccount extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountUserBundleAccountOwner extends string ? ReadonlyAccount<TAccountUserBundleAccountOwner> : TAccountUserBundleAccountOwner, TAccountUserBundleAccount extends string ? WritableAccount<TAccountUserBundleAccount> : TAccountUserBundleAccount, TAccountBundleAccount extends string ? ReadonlyAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
3260
+ type SetUserWithdrawalTimingOverrideInstructionData = {
3261
+ discriminator: ReadonlyUint8Array;
3262
+ overrideMask: number;
3263
+ customWithdrawalDelay: bigint;
3264
+ customWithdrawalTMin: bigint;
3265
+ customWithdrawalTMax: bigint;
3266
+ customWithdrawalCurve: number;
3267
+ };
3268
+ type SetUserWithdrawalTimingOverrideInstructionDataArgs = {
3269
+ overrideMask: number;
3270
+ customWithdrawalDelay: number | bigint;
3271
+ customWithdrawalTMin: number | bigint;
3272
+ customWithdrawalTMax: number | bigint;
3273
+ customWithdrawalCurve: number;
3274
+ };
3275
+ declare function getSetUserWithdrawalTimingOverrideInstructionDataEncoder(): FixedSizeEncoder<SetUserWithdrawalTimingOverrideInstructionDataArgs>;
3276
+ declare function getSetUserWithdrawalTimingOverrideInstructionDataDecoder(): FixedSizeDecoder<SetUserWithdrawalTimingOverrideInstructionData>;
3277
+ declare function getSetUserWithdrawalTimingOverrideInstructionDataCodec(): FixedSizeCodec<SetUserWithdrawalTimingOverrideInstructionDataArgs, SetUserWithdrawalTimingOverrideInstructionData>;
3278
+ type SetUserWithdrawalTimingOverrideAsyncInput<TAccountManager extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
3279
+ manager: TransactionSigner<TAccountManager>;
3280
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
3281
+ userBundleAccount?: Address<TAccountUserBundleAccount>;
3282
+ bundleAccount: Address<TAccountBundleAccount>;
3283
+ overrideMask: SetUserWithdrawalTimingOverrideInstructionDataArgs["overrideMask"];
3284
+ customWithdrawalDelay: SetUserWithdrawalTimingOverrideInstructionDataArgs["customWithdrawalDelay"];
3285
+ customWithdrawalTMin: SetUserWithdrawalTimingOverrideInstructionDataArgs["customWithdrawalTMin"];
3286
+ customWithdrawalTMax: SetUserWithdrawalTimingOverrideInstructionDataArgs["customWithdrawalTMax"];
3287
+ customWithdrawalCurve: SetUserWithdrawalTimingOverrideInstructionDataArgs["customWithdrawalCurve"];
3288
+ };
3289
+ declare function getSetUserWithdrawalTimingOverrideInstructionAsync<TAccountManager extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetUserWithdrawalTimingOverrideAsyncInput<TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
3290
+ programAddress?: TProgramAddress;
3291
+ }): Promise<SetUserWithdrawalTimingOverrideInstruction<TProgramAddress, TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>>;
3292
+ type SetUserWithdrawalTimingOverrideInput<TAccountManager extends string = string, TAccountUserBundleAccountOwner extends string = string, TAccountUserBundleAccount extends string = string, TAccountBundleAccount extends string = string> = {
3293
+ manager: TransactionSigner<TAccountManager>;
3294
+ userBundleAccountOwner: Address<TAccountUserBundleAccountOwner>;
3295
+ userBundleAccount: Address<TAccountUserBundleAccount>;
3296
+ bundleAccount: Address<TAccountBundleAccount>;
3297
+ overrideMask: SetUserWithdrawalTimingOverrideInstructionDataArgs["overrideMask"];
3298
+ customWithdrawalDelay: SetUserWithdrawalTimingOverrideInstructionDataArgs["customWithdrawalDelay"];
3299
+ customWithdrawalTMin: SetUserWithdrawalTimingOverrideInstructionDataArgs["customWithdrawalTMin"];
3300
+ customWithdrawalTMax: SetUserWithdrawalTimingOverrideInstructionDataArgs["customWithdrawalTMax"];
3301
+ customWithdrawalCurve: SetUserWithdrawalTimingOverrideInstructionDataArgs["customWithdrawalCurve"];
3302
+ };
3303
+ declare function getSetUserWithdrawalTimingOverrideInstruction<TAccountManager extends string, TAccountUserBundleAccountOwner extends string, TAccountUserBundleAccount extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetUserWithdrawalTimingOverrideInput<TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>, config?: {
3304
+ programAddress?: TProgramAddress;
3305
+ }): SetUserWithdrawalTimingOverrideInstruction<TProgramAddress, TAccountManager, TAccountUserBundleAccountOwner, TAccountUserBundleAccount, TAccountBundleAccount>;
3306
+ type ParsedSetUserWithdrawalTimingOverrideInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3307
+ programAddress: Address<TProgram>;
3308
+ accounts: {
3309
+ manager: TAccountMetas[0];
3310
+ userBundleAccountOwner: TAccountMetas[1];
3311
+ userBundleAccount: TAccountMetas[2];
3312
+ bundleAccount: TAccountMetas[3];
3313
+ };
3314
+ data: SetUserWithdrawalTimingOverrideInstructionData;
3315
+ };
3316
+ declare function parseSetUserWithdrawalTimingOverrideInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetUserWithdrawalTimingOverrideInstruction<TProgram, TAccountMetas>;
3317
+ //#endregion
3318
+ //#region src/generated/instructions/setWithdrawalRedemptionSchedule.d.ts
3319
+ declare const SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR: ReadonlyUint8Array;
3320
+ declare function getSetWithdrawalRedemptionScheduleDiscriminatorBytes(): ReadonlyUint8Array;
3321
+ type SetWithdrawalRedemptionScheduleInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, ...TRemainingAccounts]>;
3322
+ type SetWithdrawalRedemptionScheduleInstructionData = {
3323
+ discriminator: ReadonlyUint8Array;
3324
+ withdrawalRedemptionRequestCutoffTs: bigint;
3325
+ withdrawalRedemptionUnlockCurrentCycleTs: bigint;
3326
+ withdrawalRedemptionUnlockNextCycleTs: bigint;
3327
+ };
3328
+ type SetWithdrawalRedemptionScheduleInstructionDataArgs = {
3329
+ withdrawalRedemptionRequestCutoffTs: number | bigint;
3330
+ withdrawalRedemptionUnlockCurrentCycleTs: number | bigint;
3331
+ withdrawalRedemptionUnlockNextCycleTs: number | bigint;
3332
+ };
3333
+ declare function getSetWithdrawalRedemptionScheduleInstructionDataEncoder(): FixedSizeEncoder<SetWithdrawalRedemptionScheduleInstructionDataArgs>;
3334
+ declare function getSetWithdrawalRedemptionScheduleInstructionDataDecoder(): FixedSizeDecoder<SetWithdrawalRedemptionScheduleInstructionData>;
3335
+ declare function getSetWithdrawalRedemptionScheduleInstructionDataCodec(): FixedSizeCodec<SetWithdrawalRedemptionScheduleInstructionDataArgs, SetWithdrawalRedemptionScheduleInstructionData>;
3336
+ type SetWithdrawalRedemptionScheduleInput<TAccountManager extends string = string, TAccountBundleAccount extends string = string> = {
3337
+ manager: TransactionSigner<TAccountManager>;
3338
+ bundleAccount: Address<TAccountBundleAccount>;
3339
+ withdrawalRedemptionRequestCutoffTs: SetWithdrawalRedemptionScheduleInstructionDataArgs["withdrawalRedemptionRequestCutoffTs"];
3340
+ withdrawalRedemptionUnlockCurrentCycleTs: SetWithdrawalRedemptionScheduleInstructionDataArgs["withdrawalRedemptionUnlockCurrentCycleTs"];
3341
+ withdrawalRedemptionUnlockNextCycleTs: SetWithdrawalRedemptionScheduleInstructionDataArgs["withdrawalRedemptionUnlockNextCycleTs"];
3342
+ };
3343
+ declare function getSetWithdrawalRedemptionScheduleInstruction<TAccountManager extends string, TAccountBundleAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: SetWithdrawalRedemptionScheduleInput<TAccountManager, TAccountBundleAccount>, config?: {
3344
+ programAddress?: TProgramAddress;
3345
+ }): SetWithdrawalRedemptionScheduleInstruction<TProgramAddress, TAccountManager, TAccountBundleAccount>;
3346
+ type ParsedSetWithdrawalRedemptionScheduleInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3347
+ programAddress: Address<TProgram>;
3348
+ accounts: {
3349
+ manager: TAccountMetas[0];
3350
+ bundleAccount: TAccountMetas[1];
3351
+ };
3352
+ data: SetWithdrawalRedemptionScheduleInstructionData;
3353
+ };
3354
+ declare function parseSetWithdrawalRedemptionScheduleInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetWithdrawalRedemptionScheduleInstruction<TProgram, TAccountMetas>;
3355
+ //#endregion
3356
+ //#region src/generated/instructions/startDistribution.d.ts
3357
+ declare const START_DISTRIBUTION_DISCRIMINATOR: ReadonlyUint8Array;
3358
+ declare function getStartDistributionDiscriminatorBytes(): ReadonlyUint8Array;
3359
+ type StartDistributionInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, ...TRemainingAccounts]>;
3360
+ type StartDistributionInstructionData = {
3361
+ discriminator: ReadonlyUint8Array;
3362
+ };
3363
+ type StartDistributionInstructionDataArgs = {};
3364
+ declare function getStartDistributionInstructionDataEncoder(): FixedSizeEncoder<StartDistributionInstructionDataArgs>;
3365
+ declare function getStartDistributionInstructionDataDecoder(): FixedSizeDecoder<StartDistributionInstructionData>;
3366
+ declare function getStartDistributionInstructionDataCodec(): FixedSizeCodec<StartDistributionInstructionDataArgs, StartDistributionInstructionData>;
3367
+ type StartDistributionAsyncInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
3368
+ keeper: TransactionSigner<TAccountKeeper>;
3369
+ bundleAccount: Address<TAccountBundleAccount>;
3370
+ bundleTempData?: Address<TAccountBundleTempData>;
3371
+ oracleData?: Address<TAccountOracleData>;
3372
+ };
3373
+ declare function getStartDistributionInstructionAsync<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: StartDistributionAsyncInput<TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
3374
+ programAddress?: TProgramAddress;
3375
+ }): Promise<StartDistributionInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>>;
3376
+ type StartDistributionInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
3377
+ keeper: TransactionSigner<TAccountKeeper>;
3378
+ bundleAccount: Address<TAccountBundleAccount>;
3379
+ bundleTempData: Address<TAccountBundleTempData>;
3380
+ oracleData: Address<TAccountOracleData>;
3381
+ };
3382
+ declare function getStartDistributionInstruction<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: StartDistributionInput<TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
3383
+ programAddress?: TProgramAddress;
3384
+ }): StartDistributionInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>;
3385
+ type ParsedStartDistributionInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3386
+ programAddress: Address<TProgram>;
3387
+ accounts: {
3388
+ keeper: TAccountMetas[0];
3389
+ bundleAccount: TAccountMetas[1];
3390
+ bundleTempData: TAccountMetas[2];
3391
+ oracleData: TAccountMetas[3];
3392
+ };
3393
+ data: StartDistributionInstructionData;
3394
+ };
3395
+ declare function parseStartDistributionInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedStartDistributionInstruction<TProgram, TAccountMetas>;
3396
+ //#endregion
3397
+ //#region src/generated/instructions/updateAllocations.d.ts
3398
+ declare const UPDATE_ALLOCATIONS_DISCRIMINATOR: ReadonlyUint8Array;
3399
+ declare function getUpdateAllocationsDiscriminatorBytes(): ReadonlyUint8Array;
3400
+ type UpdateAllocationsInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountManager extends string | AccountMeta<string> = string, TAccountReceiverAddress extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountStrategyAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountManager extends string ? WritableSignerAccount<TAccountManager> & AccountSignerMeta<TAccountManager> : TAccountManager, TAccountReceiverAddress extends string ? WritableAccount<TAccountReceiverAddress> : TAccountReceiverAddress, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountStrategyAccount extends string ? WritableAccount<TAccountStrategyAccount> : TAccountStrategyAccount, ...TRemainingAccounts]>;
3401
+ type UpdateAllocationsInstructionData = {
3402
+ discriminator: ReadonlyUint8Array;
3403
+ newAllocationBps: number;
3404
+ };
3405
+ type UpdateAllocationsInstructionDataArgs = {
3406
+ newAllocationBps: number;
3407
+ };
3408
+ declare function getUpdateAllocationsInstructionDataEncoder(): FixedSizeEncoder<UpdateAllocationsInstructionDataArgs>;
3409
+ declare function getUpdateAllocationsInstructionDataDecoder(): FixedSizeDecoder<UpdateAllocationsInstructionData>;
3410
+ declare function getUpdateAllocationsInstructionDataCodec(): FixedSizeCodec<UpdateAllocationsInstructionDataArgs, UpdateAllocationsInstructionData>;
3411
+ type UpdateAllocationsAsyncInput<TAccountManager extends string = string, TAccountReceiverAddress extends string = string, TAccountBundleAccount extends string = string, TAccountStrategyAccount extends string = string> = {
3412
+ manager: TransactionSigner<TAccountManager>;
3413
+ receiverAddress: Address<TAccountReceiverAddress>;
3414
+ bundleAccount: Address<TAccountBundleAccount>;
3415
+ strategyAccount?: Address<TAccountStrategyAccount>;
3416
+ newAllocationBps: UpdateAllocationsInstructionDataArgs["newAllocationBps"];
3417
+ };
3418
+ declare function getUpdateAllocationsInstructionAsync<TAccountManager extends string, TAccountReceiverAddress extends string, TAccountBundleAccount extends string, TAccountStrategyAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: UpdateAllocationsAsyncInput<TAccountManager, TAccountReceiverAddress, TAccountBundleAccount, TAccountStrategyAccount>, config?: {
3419
+ programAddress?: TProgramAddress;
3420
+ }): Promise<UpdateAllocationsInstruction<TProgramAddress, TAccountManager, TAccountReceiverAddress, TAccountBundleAccount, TAccountStrategyAccount>>;
3421
+ type UpdateAllocationsInput<TAccountManager extends string = string, TAccountReceiverAddress extends string = string, TAccountBundleAccount extends string = string, TAccountStrategyAccount extends string = string> = {
3422
+ manager: TransactionSigner<TAccountManager>;
3423
+ receiverAddress: Address<TAccountReceiverAddress>;
3424
+ bundleAccount: Address<TAccountBundleAccount>;
3425
+ strategyAccount: Address<TAccountStrategyAccount>;
3426
+ newAllocationBps: UpdateAllocationsInstructionDataArgs["newAllocationBps"];
3427
+ };
3428
+ declare function getUpdateAllocationsInstruction<TAccountManager extends string, TAccountReceiverAddress extends string, TAccountBundleAccount extends string, TAccountStrategyAccount extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: UpdateAllocationsInput<TAccountManager, TAccountReceiverAddress, TAccountBundleAccount, TAccountStrategyAccount>, config?: {
3429
+ programAddress?: TProgramAddress;
3430
+ }): UpdateAllocationsInstruction<TProgramAddress, TAccountManager, TAccountReceiverAddress, TAccountBundleAccount, TAccountStrategyAccount>;
3431
+ type ParsedUpdateAllocationsInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3432
+ programAddress: Address<TProgram>;
3433
+ accounts: {
3434
+ manager: TAccountMetas[0];
3435
+ receiverAddress: TAccountMetas[1];
3436
+ bundleAccount: TAccountMetas[2];
3437
+ strategyAccount: TAccountMetas[3];
3438
+ };
3439
+ data: UpdateAllocationsInstructionData;
3440
+ };
3441
+ declare function parseUpdateAllocationsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateAllocationsInstruction<TProgram, TAccountMetas>;
3442
+ //#endregion
3443
+ //#region src/generated/instructions/updateOracle.d.ts
3444
+ declare const UPDATE_ORACLE_DISCRIMINATOR: ReadonlyUint8Array;
3445
+ declare function getUpdateOracleDiscriminatorBytes(): ReadonlyUint8Array;
3446
+ type UpdateOracleInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountKeeper extends string | AccountMeta<string> = string, TAccountBundleAccount extends string | AccountMeta<string> = string, TAccountBundleTempData extends string | AccountMeta<string> = string, TAccountOracleData extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountKeeper extends string ? WritableSignerAccount<TAccountKeeper> & AccountSignerMeta<TAccountKeeper> : TAccountKeeper, TAccountBundleAccount extends string ? WritableAccount<TAccountBundleAccount> : TAccountBundleAccount, TAccountBundleTempData extends string ? WritableAccount<TAccountBundleTempData> : TAccountBundleTempData, TAccountOracleData extends string ? WritableAccount<TAccountOracleData> : TAccountOracleData, ...TRemainingAccounts]>;
3447
+ type UpdateOracleInstructionData = {
3448
+ discriminator: ReadonlyUint8Array;
3449
+ newEquity: bigint;
3450
+ };
3451
+ type UpdateOracleInstructionDataArgs = {
3452
+ newEquity: number | bigint;
3453
+ };
3454
+ declare function getUpdateOracleInstructionDataEncoder(): FixedSizeEncoder<UpdateOracleInstructionDataArgs>;
3455
+ declare function getUpdateOracleInstructionDataDecoder(): FixedSizeDecoder<UpdateOracleInstructionData>;
3456
+ declare function getUpdateOracleInstructionDataCodec(): FixedSizeCodec<UpdateOracleInstructionDataArgs, UpdateOracleInstructionData>;
3457
+ type UpdateOracleAsyncInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
3458
+ keeper: TransactionSigner<TAccountKeeper>;
3459
+ bundleAccount: Address<TAccountBundleAccount>;
3460
+ bundleTempData?: Address<TAccountBundleTempData>;
3461
+ oracleData?: Address<TAccountOracleData>;
3462
+ newEquity: UpdateOracleInstructionDataArgs["newEquity"];
3463
+ };
3464
+ declare function getUpdateOracleInstructionAsync<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: UpdateOracleAsyncInput<TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
3465
+ programAddress?: TProgramAddress;
3466
+ }): Promise<UpdateOracleInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>>;
3467
+ type UpdateOracleInput<TAccountKeeper extends string = string, TAccountBundleAccount extends string = string, TAccountBundleTempData extends string = string, TAccountOracleData extends string = string> = {
3468
+ keeper: TransactionSigner<TAccountKeeper>;
3469
+ bundleAccount: Address<TAccountBundleAccount>;
3470
+ bundleTempData: Address<TAccountBundleTempData>;
3471
+ oracleData: Address<TAccountOracleData>;
3472
+ newEquity: UpdateOracleInstructionDataArgs["newEquity"];
3473
+ };
3474
+ declare function getUpdateOracleInstruction<TAccountKeeper extends string, TAccountBundleAccount extends string, TAccountBundleTempData extends string, TAccountOracleData extends string, TProgramAddress extends Address = typeof NTBUNDLE_PROGRAM_ADDRESS>(input: UpdateOracleInput<TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>, config?: {
3475
+ programAddress?: TProgramAddress;
3476
+ }): UpdateOracleInstruction<TProgramAddress, TAccountKeeper, TAccountBundleAccount, TAccountBundleTempData, TAccountOracleData>;
3477
+ type ParsedUpdateOracleInstruction<TProgram extends string = typeof NTBUNDLE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3478
+ programAddress: Address<TProgram>;
3479
+ accounts: {
3480
+ keeper: TAccountMetas[0];
3481
+ bundleAccount: TAccountMetas[1];
3482
+ bundleTempData: TAccountMetas[2];
3483
+ oracleData: TAccountMetas[3];
3484
+ };
3485
+ data: UpdateOracleInstructionData;
3486
+ };
3487
+ declare function parseUpdateOracleInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateOracleInstruction<TProgram, TAccountMetas>;
3488
+ //#endregion
3489
+ export { getSetWithdrawalRedemptionScheduleInstructionDataEncoder as $, getRefundDepositInstructionDataCodec as $a, InitializeBundleMasterAccountInstructionData as $c, ADD_STRATEGY_DISCRIMINATOR as $d, findPendingBundleAssetAuthorityPda as $f, BUNDLE_TEMP_DATA_DISCRIMINATOR as $h, getRequestDepositInstructionDataEncoder as $i, EnableStrategyInput as $l, getNtbundleErrorMessage as $m, SetOracleBufferInstructionData as $n, getProcessReferrerWithdrawalInstruction as $o, NTBUNDLE_ERROR__MANAGER_SHARES_ZERO as $p, getSetFeesInstructionDataEncoder as $r, ParsedNetPendingTransactionsInstruction as $s, getSetReferrerRateOverrideInstructionDataEncoder as $t, CLEAR_USER_FEE_OVERRIDE_DISCRIMINATOR as $u, START_DISTRIBUTION_DISCRIMINATOR as A, REGISTER_REFERRER_DISCRIMINATOR as Aa, getManagerWithdrawInstructionAsync as Ac, ChangeBundleMasterAdminInstructionDataArgs as Ad, TargetPendingBundleAssetAuthoritySeeds as Af, fetchAllMaybeBundleCreatorAccount as Ag, decodeReferrerAccount as Ah, RequestWithdrawalInput as Ai, getInitializeBundleDiscriminatorBytes as Al, NTBUNDLE_ERROR__REFERRER_SHARES_ZERO as Am, SetOracleUpdateTimeLimitInstructionDataArgs as An, parseProcessWithdrawalInstruction as Ao, NTBUNDLE_ERROR__EXCESSIVE_WITHDRAW_FEE as Ap, parseSetMaxDepositAmountInstruction as Ar, getPerformRefillInstructionDataDecoder as As, SET_USER_FEE_OVERRIDE_DISCRIMINATOR as At, CloseUserBundleAccountInstructionDataArgs as Au, getStartDistributionInstructionDataDecoder as B, getRegisterReferrerInstructionDataDecoder as Ba, InitializePermissionedBundleDepositorInstructionDataArgs as Bc, ApplyFeesToUserAsyncInput as Bd, SourceOracleDataSeeds as Bf, BundleArgs as Bg, ORACLE_DATA_DISCRIMINATOR as Bh, parseRequestWithdrawalInstruction as Bi, EndDistributionInstruction as Bl, NTBUNDLE_ERROR__TOO_MANY_ALLOCATED_RECEIVERS as Bm, SetOracleMaxAgeInstruction as Bn, getProcessSwitchInstructionAsync as Bo, NTBUNDLE_ERROR__INVALID_ORACLE_MAX_AGE as Bp, getSetKeeperInstructionDataDecoder as Br, getPauseDepositsWithdrawalsDiscriminatorBytes as Bs, getSetUserFeeOverrideInstructionDataDecoder as Bt, ClearUserWithdrawalTimingOverrideAsyncInput as Bu, getUpdateAllocationsInstruction as C, getRemoveStrategyInstruction as Ca, ManagerWithdrawInput as Cc, getChangeManagerInstructionDataEncoder as Cd, identifyNtbundleInstruction as Cf, getBundleMasterAccountEncoder as Cg, getStrategyDecoder as Ch, getSetBundleCreatorInstructionDataCodec as Ci, INITIALIZE_BUNDLE_DISCRIMINATOR as Cl, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_EXCEEDED as Cm, getSetReferrerActiveInstructionDataEncoder as Cn, ProcessWithdrawalInstructionDataArgs as Co, NTBUNDLE_ERROR__DISTRIBUTION_NOT_STARTED as Cp, SetMaxDepositAmountInstructionData as Cr, PerformRefillInstruction as Cs, getSetUserReferrerInstruction as Ct, getDistributeToReceiversInstructionDataEncoder as Cu, getUpdateAllocationsInstructionDataEncoder as D, getRemoveStrategyInstructionDataEncoder as Da, ParsedManagerWithdrawInstruction as Dc, ChangeBundleMasterAdminInput as Dd, findUserBundleAccountPda as Df, BundleCreatorAccountArgs as Dg, REFERRER_ACCOUNT_DISCRIMINATOR as Dh, ParsedRequestWithdrawalInstruction as Di, InitializeBundleInstructionData as Dl, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISMATCH as Dm, SetOracleUpdateTimeLimitInput as Dn, getProcessWithdrawalInstructionDataCodec as Do, NTBUNDLE_ERROR__EXCESSIVE_DEPOSIT_FEE as Dp, getSetMaxDepositAmountInstructionDataCodec as Dr, getPerformRefillInstruction as Ds, getSetUserReferrerInstructionDataEncoder as Dt, CloseUserBundleAccountInput as Du, getUpdateAllocationsInstructionDataDecoder as E, getRemoveStrategyInstructionDataDecoder as Ea, ManagerWithdrawInstructionDataArgs as Ec, ChangeBundleMasterAdminAsyncInput as Ed, UserBundleAccountSeeds as Ef, BundleCreatorAccount as Eg, getStrategySize as Eh, parseSetBundleCreatorInstruction as Ei, InitializeBundleInstruction as El, NTBUNDLE_ERROR__REFERRAL_ALREADY_SET as Em, SET_ORACLE_UPDATE_TIME_LIMIT_DISCRIMINATOR as En, getProcessWithdrawalInstructionAsync as Eo, NTBUNDLE_ERROR__EQUITY_OUT_OF_BUFFER_BOUND as Ep, getSetMaxDepositAmountInstruction as Er, getPerformRefillDiscriminatorBytes as Es, getSetUserReferrerInstructionDataDecoder as Et, CloseUserBundleAccountAsyncInput as Eu, StartDistributionInstructionDataArgs as F, RegisterReferrerInstructionDataArgs as Fa, INITIALIZE_PERMISSIONED_BUNDLE_DEPOSITOR_DISCRIMINATOR as Fc, getChangeBundleMasterAdminInstructionDataCodec as Fd, findTargetBundleTempDataPda as Ff, getBundleCreatorAccountDiscriminatorBytes as Fg, getReferrerAccountCodec as Fh, getRequestWithdrawalInstruction as Fi, getInitializeBundleInstructionDataEncoder as Fl, NTBUNDLE_ERROR__SWITCH_ALREADY_ACTIVE as Fm, getSetOracleUpdateTimeLimitInstructionDataEncoder as Fn, ProcessSwitchInstruction as Fo, NTBUNDLE_ERROR__INVALID_ASSET_ADDRESS as Fp, SetKeeperInstructionData as Fr, PauseDepositsWithdrawalsAsyncInput as Fs, SetUserFeeOverrideInstructionDataArgs as Ft, getCloseUserBundleAccountInstructionDataCodec as Fu, SetWithdrawalRedemptionScheduleInput as G, RefundDepositAsyncInput as Ga, getInitializePermissionedBundleDepositorInstructionDataCodec as Gc, ParsedApplyFeesToUserInstruction as Gd, findSourceBundleAssetAuthorityPda as Gf, fetchMaybeBundle as Gg, fetchAllOracleData as Gh, RequestDepositInstruction as Gi, getEndDistributionInstruction as Gl, NTBUNDLE_ERROR__UNAUTHORIZED_MANAGER_ACTION as Gm, getSetOracleMaxAgeInstructionDataCodec as Gn, PROCESS_REFERRER_WITHDRAWAL_DISCRIMINATOR as Go, NTBUNDLE_ERROR__INVALID_TWAP_PERIOD as Gp, SetFeesInput as Gr, getPauseDepositsWithdrawalsInstructionDataEncoder as Gs, SetReferrerRateOverrideInput as Gt, ParsedClearUserWithdrawalTimingOverrideInstruction as Gu, parseStartDistributionInstruction as H, parseRegisterReferrerInstruction as Ha, getInitializePermissionedBundleDepositorDiscriminatorBytes as Hc, ApplyFeesToUserInstruction as Hd, SourceBundleTempDataSeeds as Hf, fetchAllBundle as Hg, OracleDataArgs as Hh, REQUEST_DEPOSIT_DISCRIMINATOR as Hi, EndDistributionInstructionDataArgs as Hl, NTBUNDLE_ERROR__UNAUTHORIZED_ADMIN_ACTION as Hm, SetOracleMaxAgeInstructionDataArgs as Hn, getProcessSwitchInstructionDataDecoder as Ho, NTBUNDLE_ERROR__INVALID_PERMISSIONNED_DEPOSITOR as Hp, parseSetKeeperInstruction as Hr, getPauseDepositsWithdrawalsInstructionAsync as Hs, parseSetUserFeeOverrideInstruction as Ht, ClearUserWithdrawalTimingOverrideInstruction as Hu, getStartDistributionDiscriminatorBytes as I, getRegisterReferrerDiscriminatorBytes as Ia, InitializePermissionedBundleDepositorAsyncInput as Ic, getChangeBundleMasterAdminInstructionDataDecoder as Id, StrategyAccountSeeds as If, getBundleCreatorAccountEncoder as Ig, getReferrerAccountDecoder as Ih, getRequestWithdrawalInstructionAsync as Ii, parseInitializeBundleInstruction as Il, NTBUNDLE_ERROR__SWITCH_ASSET_MINT_MISMATCH as Im, parseSetOracleUpdateTimeLimitInstruction as In, ProcessSwitchInstructionData as Io, NTBUNDLE_ERROR__INVALID_ASSET_PRECISION as Ip, SetKeeperInstructionDataArgs as Ir, PauseDepositsWithdrawalsInput as Is, getSetUserFeeOverrideDiscriminatorBytes as It, getCloseUserBundleAccountInstructionDataDecoder as Iu, SetWithdrawalRedemptionScheduleInstructionDataArgs as J, RefundDepositInstructionData as Ja, parseInitializePermissionedBundleDepositorInstruction as Jc, getApplyFeesToUserInstructionAsync as Jd, ReferrerUserBundleAccountSeeds as Jf, getBundleDiscriminatorBytes as Jg, getOracleDataCodec as Jh, getRequestDepositDiscriminatorBytes as Ji, getEndDistributionInstructionDataDecoder as Jl, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_HAS_ACTIVITY as Jm, parseSetOracleMaxAgeInstruction as Jn, ProcessReferrerWithdrawalInput as Jo, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_AMOUNT as Jp, SetFeesInstructionDataArgs as Jr, NetPendingTransactionsAsyncInput as Js, SetReferrerRateOverrideInstructionDataArgs as Jt, getClearUserWithdrawalTimingOverrideInstructionAsync as Ju, SetWithdrawalRedemptionScheduleInstruction as K, RefundDepositInput as Ka, getInitializePermissionedBundleDepositorInstructionDataDecoder as Kc, getApplyFeesToUserDiscriminatorBytes as Kd, RequestBundleSwitchUserBundleAccountSeeds as Kf, getBundleCodec as Kg, fetchMaybeOracleData as Kh, RequestDepositInstructionData as Ki, getEndDistributionInstructionAsync as Kl, NTBUNDLE_ERROR__UNAUTHORIZED_REFERRER_ACTION as Km, getSetOracleMaxAgeInstructionDataDecoder as Kn, ParsedProcessReferrerWithdrawalInstruction as Ko, NTBUNDLE_ERROR__INVALID_USER_FEE_CONFIG as Kp, SetFeesInstruction as Kr, parsePauseDepositsWithdrawalsInstruction as Ks, SetReferrerRateOverrideInstruction as Kt, getClearUserWithdrawalTimingOverrideDiscriminatorBytes as Ku, getStartDistributionInstruction as L, getRegisterReferrerInstruction as La, InitializePermissionedBundleDepositorInput as Lc, getChangeBundleMasterAdminInstructionDataEncoder as Ld, findStrategyAccountPda as Lf, getBundleCreatorAccountSize as Lg, getReferrerAccountDiscriminatorBytes as Lh, getRequestWithdrawalInstructionDataCodec as Li, END_DISTRIBUTION_DISCRIMINATOR as Ll, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNTS_MISSING as Lm, ParsedSetOracleMaxAgeInstruction as Ln, ProcessSwitchInstructionDataArgs as Lo, NTBUNDLE_ERROR__INVALID_FEE_SPLIT as Lp, getSetKeeperDiscriminatorBytes as Lr, PauseDepositsWithdrawalsInstruction as Ls, getSetUserFeeOverrideInstruction as Lt, getCloseUserBundleAccountInstructionDataEncoder as Lu, StartDistributionInput as M, RegisterReferrerInput as Ma, getManagerWithdrawInstructionDataDecoder as Mc, getChangeBundleMasterAdminDiscriminatorBytes as Md, TargetOracleDataSeeds as Mf, fetchMaybeBundleCreatorAccount as Mg, fetchAllReferrerAccount as Mh, RequestWithdrawalInstructionData as Mi, getInitializeBundleInstructionAsync as Ml, NTBUNDLE_ERROR__REFILL_AMOUNT_INVALID as Mm, getSetOracleUpdateTimeLimitInstruction as Mn, ParsedProcessSwitchInstruction as Mo, NTBUNDLE_ERROR__INSUFFICIENT_FUNDS as Mp, SET_KEEPER_DISCRIMINATOR as Mr, parsePerformRefillInstruction as Ms, SetUserFeeOverrideInput as Mt, getCloseUserBundleAccountDiscriminatorBytes as Mu, StartDistributionInstruction as N, RegisterReferrerInstruction as Na, getManagerWithdrawInstructionDataEncoder as Nc, getChangeBundleMasterAdminInstruction as Nd, findTargetOracleDataPda as Nf, getBundleCreatorAccountCodec as Ng, fetchMaybeReferrerAccount as Nh, RequestWithdrawalInstructionDataArgs as Ni, getInitializeBundleInstructionDataCodec as Nl, NTBUNDLE_ERROR__STRATEGY_ALREADY_ENABLED as Nm, getSetOracleUpdateTimeLimitInstructionDataCodec as Nn, ProcessSwitchAsyncInput as No, NTBUNDLE_ERROR__INSUFFICIENT_SHARES_BALANCE as Np, SetKeeperInput as Nr, PAUSE_DEPOSITS_WITHDRAWALS_DISCRIMINATOR as Ns, SetUserFeeOverrideInstruction as Nt, getCloseUserBundleAccountInstruction as Nu, parseUpdateAllocationsInstruction as O, parseRemoveStrategyInstruction as Oa, getManagerWithdrawDiscriminatorBytes as Oc, ChangeBundleMasterAdminInstruction as Od, TargetUserBundleAccountSeeds as Of, decodeBundleCreatorAccount as Og, ReferrerAccount as Oh, REQUEST_WITHDRAWAL_DISCRIMINATOR as Oi, InitializeBundleInstructionDataArgs as Ol, NTBUNDLE_ERROR__REFERRER_ACCOUNT_MISSING as Om, SetOracleUpdateTimeLimitInstruction as On, getProcessWithdrawalInstructionDataDecoder as Oo, NTBUNDLE_ERROR__EXCESSIVE_MANAGEMENT_FEE as Op, getSetMaxDepositAmountInstructionDataDecoder as Or, getPerformRefillInstructionAsync as Os, parseSetUserReferrerInstruction as Ot, CloseUserBundleAccountInstruction as Ou, StartDistributionInstructionData as P, RegisterReferrerInstructionData as Pa, parseManagerWithdrawInstruction as Pc, getChangeBundleMasterAdminInstructionAsync as Pd, TargetBundleTempDataSeeds as Pf, getBundleCreatorAccountDecoder as Pg, fetchReferrerAccount as Ph, getRequestWithdrawalDiscriminatorBytes as Pi, getInitializeBundleInstructionDataDecoder as Pl, NTBUNDLE_ERROR__STRATEGY_DISABLED as Pm, getSetOracleUpdateTimeLimitInstructionDataDecoder as Pn, ProcessSwitchInput as Po, NTBUNDLE_ERROR__INVALID_ALLOCATIONS as Pp, SetKeeperInstruction as Pr, ParsedPauseDepositsWithdrawalsInstruction as Ps, SetUserFeeOverrideInstructionData as Pt, getCloseUserBundleAccountInstructionAsync as Pu, getSetWithdrawalRedemptionScheduleInstructionDataDecoder as Q, getRefundDepositInstructionAsync as Qa, InitializeBundleMasterAccountInstruction as Qc, parseApplyFeesToUserInstruction as Qd, PendingBundleAssetAuthoritySeeds as Qf, getOracleDataSize as Qh, getRequestDepositInstructionDataDecoder as Qi, EnableStrategyAsyncInput as Ql, NtbundleError as Qm, SetOracleBufferInstruction as Qn, getProcessReferrerWithdrawalDiscriminatorBytes as Qo, NTBUNDLE_ERROR__LEFT_TO_DISTRIBUTE_NOT_ZERO as Qp, getSetFeesInstructionDataDecoder as Qr, NetPendingTransactionsInstructionDataArgs as Qs, getSetReferrerRateOverrideInstructionDataDecoder as Qt, parseClearUserWithdrawalTimingOverrideInstruction as Qu, getStartDistributionInstructionAsync as R, getRegisterReferrerInstructionAsync as Ra, InitializePermissionedBundleDepositorInstruction as Rc, parseChangeBundleMasterAdminInstruction as Rd, SourceUserBundleAccountSeeds as Rf, BUNDLE_DISCRIMINATOR as Rg, getReferrerAccountEncoder as Rh, getRequestWithdrawalInstructionDataDecoder as Ri, EndDistributionAsyncInput as Rl, NTBUNDLE_ERROR__SWITCH_TARGET_ACCOUNT_MISMATCH as Rm, SET_ORACLE_MAX_AGE_DISCRIMINATOR as Rn, getProcessSwitchDiscriminatorBytes as Ro, NTBUNDLE_ERROR__INVALID_NEUTRAL_FEE_INCREMENTER as Rp, getSetKeeperInstruction as Rr, PauseDepositsWithdrawalsInstructionData as Rs, getSetUserFeeOverrideInstructionAsync as Rt, parseCloseUserBundleAccountInstruction as Ru, getUpdateAllocationsDiscriminatorBytes as S, getRemoveStrategyDiscriminatorBytes as Sa, ManagerWithdrawAsyncInput as Sc, getChangeManagerInstructionDataDecoder as Sd, identifyNtbundleAccount as Sf, getBundleMasterAccountDiscriminatorBytes as Sg, getStrategyCodec as Sh, getSetBundleCreatorInstructionAsync as Si, parseInitializeBundleDepositorInstruction as Sl, NTBUNDLE_ERROR__RECEIVER_ALREADY_ALLOCATED as Sm, getSetReferrerActiveInstructionDataDecoder as Sn, ProcessWithdrawalInstructionData as So, NTBUNDLE_ERROR__DISTRIBUTION_ALREADY_STARTED as Sp, SetMaxDepositAmountInstruction as Sr, PerformRefillInput as Ss, getSetUserReferrerDiscriminatorBytes as St, getDistributeToReceiversInstructionDataDecoder as Su, getUpdateAllocationsInstructionDataCodec as T, getRemoveStrategyInstructionDataCodec as Ta, ManagerWithdrawInstructionData as Tc, CHANGE_BUNDLE_MASTER_ADMIN_DISCRIMINATOR as Td, parseNtbundleInstruction as Tf, BUNDLE_CREATOR_ACCOUNT_DISCRIMINATOR as Tg, getStrategyEncoder as Th, getSetBundleCreatorInstructionDataEncoder as Ti, InitializeBundleInput as Tl, NTBUNDLE_ERROR__REFERRALS_DISABLED as Tm, ParsedSetOracleUpdateTimeLimitInstruction as Tn, getProcessWithdrawalInstruction as To, NTBUNDLE_ERROR__EMPTY_USER_WITHDRAWAL_TIMING_CLEAR_REQUEST as Tp, getSetMaxDepositAmountDiscriminatorBytes as Tr, PerformRefillInstructionDataArgs as Ts, getSetUserReferrerInstructionDataCodec as Tt, CLOSE_USER_BUNDLE_ACCOUNT_DISCRIMINATOR as Tu, ParsedSetWithdrawalRedemptionScheduleInstruction as U, ParsedRefundDepositInstruction as Ua, getInitializePermissionedBundleDepositorInstruction as Uc, ApplyFeesToUserInstructionData as Ud, findSourceBundleTempDataPda as Uf, fetchAllMaybeBundle as Ug, decodeOracleData as Uh, RequestDepositAsyncInput as Ui, ParsedEndDistributionInstruction as Ul, NTBUNDLE_ERROR__UNAUTHORIZED_BUNDLE_CREATOR as Um, getSetOracleMaxAgeDiscriminatorBytes as Un, getProcessSwitchInstructionDataEncoder as Uo, NTBUNDLE_ERROR__INVALID_RECEIVER as Up, ParsedSetFeesInstruction as Ur, getPauseDepositsWithdrawalsInstructionDataCodec as Us, ParsedSetReferrerRateOverrideInstruction as Ut, ClearUserWithdrawalTimingOverrideInstructionData as Uu, getStartDistributionInstructionDataEncoder as V, getRegisterReferrerInstructionDataEncoder as Va, ParsedInitializePermissionedBundleDepositorInstruction as Vc, ApplyFeesToUserInput as Vd, findSourceOracleDataPda as Vf, decodeBundle as Vg, OracleData as Vh, ParsedRequestDepositInstruction as Vi, EndDistributionInstructionData as Vl, NTBUNDLE_ERROR__TOTAL_ASSET_EXCEED_NEW_MAX_DEPOSIT_AMOUNT as Vm, SetOracleMaxAgeInstructionData as Vn, getProcessSwitchInstructionDataCodec as Vo, NTBUNDLE_ERROR__INVALID_ORACLE_UPDATE_TIME_LIMIT as Vp, getSetKeeperInstructionDataEncoder as Vr, getPauseDepositsWithdrawalsInstruction as Vs, getSetUserFeeOverrideInstructionDataEncoder as Vt, ClearUserWithdrawalTimingOverrideInput as Vu, SET_WITHDRAWAL_REDEMPTION_SCHEDULE_DISCRIMINATOR as W, REFUND_DEPOSIT_DISCRIMINATOR as Wa, getInitializePermissionedBundleDepositorInstructionAsync as Wc, ApplyFeesToUserInstructionDataArgs as Wd, SourceBundleAssetAuthoritySeeds as Wf, fetchBundle as Wg, fetchAllMaybeOracleData as Wh, RequestDepositInput as Wi, getEndDistributionDiscriminatorBytes as Wl, NTBUNDLE_ERROR__UNAUTHORIZED_KEEPER_ACTION as Wm, getSetOracleMaxAgeInstruction as Wn, parseProcessSwitchInstruction as Wo, NTBUNDLE_ERROR__INVALID_REFERRAL_CONFIG as Wp, SET_FEES_DISCRIMINATOR as Wr, getPauseDepositsWithdrawalsInstructionDataDecoder as Ws, SET_REFERRER_RATE_OVERRIDE_DISCRIMINATOR as Wt, ClearUserWithdrawalTimingOverrideInstructionDataArgs as Wu, getSetWithdrawalRedemptionScheduleInstruction as X, getRefundDepositDiscriminatorBytes as Xa, InitializeBundleMasterAccountAsyncInput as Xc, getApplyFeesToUserInstructionDataDecoder as Xd, ReferrerAccountSeeds as Xf, getOracleDataDiscriminatorBytes as Xh, getRequestDepositInstructionAsync as Xi, parseEndDistributionInstruction as Xl, NTBUNDLE_ERROR__WITHDRAWAL_ALREADY_PROCESSED as Xm, SET_ORACLE_BUFFER_DISCRIMINATOR as Xn, ProcessReferrerWithdrawalInstructionData as Xo, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_DELAY as Xp, getSetFeesInstruction as Xr, NetPendingTransactionsInstruction as Xs, getSetReferrerRateOverrideInstruction as Xt, getClearUserWithdrawalTimingOverrideInstructionDataDecoder as Xu, getSetWithdrawalRedemptionScheduleDiscriminatorBytes as Y, RefundDepositInstructionDataArgs as Ya, INITIALIZE_BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR as Yc, getApplyFeesToUserInstructionDataCodec as Yd, findReferrerUserBundleAccountPda as Yf, getBundleEncoder as Yg, getOracleDataDecoder as Yh, getRequestDepositInstruction as Yi, getEndDistributionInstructionDataEncoder as Yl, NTBUNDLE_ERROR__USER_BUNDLE_ACCOUNT_NOT_EMPTY as Ym, ParsedSetOracleBufferInstruction as Yn, ProcessReferrerWithdrawalInstruction as Yo, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_COOLDOWN_PERIOD as Yp, getSetFeesDiscriminatorBytes as Yr, NetPendingTransactionsInput as Ys, getSetReferrerRateOverrideDiscriminatorBytes as Yt, getClearUserWithdrawalTimingOverrideInstructionDataCodec as Yu, getSetWithdrawalRedemptionScheduleInstructionDataCodec as Z, getRefundDepositInstruction as Za, InitializeBundleMasterAccountInput as Zc, getApplyFeesToUserInstructionDataEncoder as Zd, findReferrerAccountPda as Zf, getOracleDataEncoder as Zh, getRequestDepositInstructionDataCodec as Zi, ENABLE_STRATEGY_DISCRIMINATOR as Zl, NTBUNDLE_ERROR__WITHDRAWAL_DELAY_NOT_MET as Zm, SetOracleBufferInput as Zn, ProcessReferrerWithdrawalInstructionDataArgs as Zo, NTBUNDLE_ERROR__INVALID_WITHDRAWAL_REDEMPTION_SCHEDULE as Zp, getSetFeesInstructionDataCodec as Zr, NetPendingTransactionsInstructionData as Zs, getSetReferrerRateOverrideInstructionDataCodec as Zt, getClearUserWithdrawalTimingOverrideInstructionDataEncoder as Zu, UpdateAllocationsAsyncInput as _, RemoveStrategyAsyncInput as _a, getManagerWithdrawWithSplitInstructionDataCodec as _c, ChangeManagerInstructionDataArgs as _d, NtbundlePluginAccounts as _f, fetchAllMaybeBundleMasterAccount as _g, decodeStrategy as _h, SetBundleCreatorInstruction as _i, getInitializeBundleDepositorInstruction as _l, NTBUNDLE_ERROR__PENDING_DEPOSIT_OR_WITHDRAWAL_EXISTS as _m, SetReferrerActiveInstructionData as _n, PROCESS_WITHDRAWAL_DISCRIMINATOR as _o, NTBUNDLE_ERROR__BUNDLE_IS_PERMISSIONNED as _p, getSetMinDepositAmountInstructionDataEncoder as _r, getProcessDepositInstructionDataEncoder as _s, SetUserReferrerAsyncInput as _t, ParsedDistributeToReceiversInstruction as _u, UpdateOracleInstruction as a, RequestBundleSwitchInstruction as aa, getNetPendingTransactionsInstructionDataEncoder as ac, ParsedClearUserFeeOverrideInstruction as ad, ParsedAddStrategyInstruction as af, fetchBundleTempData as ag, fetchAllMaybeUserBundleAccount as ah, SetDelaysInstructionData as ai, getInitializeBundleMasterAccountInstructionDataCodec as al, NTBUNDLE_ERROR__NETTING_NOT_DONE as am, SetReferrerConfigInstructionData as an, ReferrerRequestWithdrawAsyncInput as ao, findBundleTempDataPda as ap, getSetOracleBufferInstructionDataEncoder as ar, PROCESS_DEPOSIT_DISCRIMINATOR as as, SetUserWithdrawalTimingOverrideInstruction as at, getEnableStrategyInstruction as au, UpdateAllocationsInstructionData as b, RemoveStrategyInstructionData as ba, parseManagerWithdrawWithSplitInstruction as bc, getChangeManagerInstruction as bd, NtbundlePluginRequirements as bf, getBundleMasterAccountCodec as bg, fetchMaybeStrategy as bh, getSetBundleCreatorDiscriminatorBytes as bi, getInitializeBundleDepositorInstructionDataDecoder as bl, NTBUNDLE_ERROR__POD_TOKEN_TOTAL_SUPPLY_ZERO as bm, getSetReferrerActiveInstruction as bn, ProcessWithdrawalInput as bo, NTBUNDLE_ERROR__DEPOSITS_EXTRA_IN_PENDINGS_NOT_ZERO as bp, SET_MAX_DEPOSIT_AMOUNT_DISCRIMINATOR as br, ParsedPerformRefillInstruction as bs, SetUserReferrerInstructionData as bt, getDistributeToReceiversInstructionAsync as bu, getUpdateOracleDiscriminatorBytes as c, getRequestBundleSwitchDiscriminatorBytes as ca, ManagerWithdrawWithSplitAsyncInput as cc, getClearUserFeeOverrideInstructionAsync as cd, getAddStrategyInstructionAsync as cf, getBundleTempDataDecoder as cg, fetchUserBundleAccount as ch, getSetDelaysInstruction as ci, parseInitializeBundleMasterAccountInstruction as cl, NTBUNDLE_ERROR__NO_PENDING_WITHDRAWAL as cm, getSetReferrerConfigInstruction as cn, ReferrerRequestWithdrawInstructionData as co, findBundleCreatorAccountPda as cp, SET_MIN_DEPOSIT_AMOUNT_DISCRIMINATOR as cr, ProcessDepositInput as cs, getSetUserWithdrawalTimingOverrideDiscriminatorBytes as ct, getEnableStrategyInstructionDataDecoder as cu, getUpdateOracleInstructionDataCodec as d, getRequestBundleSwitchInstructionDataCodec as da, ManagerWithdrawWithSplitInstructionData as dc, getClearUserFeeOverrideInstructionDataEncoder as dd, getAddStrategyInstructionDataEncoder as df, getBundleTempDataSize as dg, getUserBundleAccountDiscriminatorBytes as dh, getSetDelaysInstructionDataEncoder as di, InitializeBundleDepositorInput as dl, NTBUNDLE_ERROR__ORACLE_NOT_UPDATED as dm, getSetReferrerConfigInstructionDataEncoder as dn, getReferrerRequestWithdrawInstruction as do, BundleAccountSeeds as dp, SetMinDepositAmountInstructionData as dr, ProcessDepositInstructionDataArgs as ds, getSetUserWithdrawalTimingOverrideInstructionDataCodec as dt, DISTRIBUTE_TO_RECEIVERS_DISCRIMINATOR as du, parseRequestDepositInstruction as ea, getNetPendingTransactionsDiscriminatorBytes as ec, ClearUserFeeOverrideAsyncInput as ed, AddStrategyAsyncInput as ef, BundleTempData as eg, isNtbundleError as eh, parseSetFeesInstruction as ei, InitializeBundleMasterAccountInstructionDataArgs as el, NTBUNDLE_ERROR__MATH_ERROR as em, parseSetReferrerRateOverrideInstruction as en, getRefundDepositInstructionDataDecoder as eo, OracleDataSeeds as ep, SetOracleBufferInstructionDataArgs as er, getProcessReferrerWithdrawalInstructionAsync as es, parseSetWithdrawalRedemptionScheduleInstruction as et, EnableStrategyInstruction as eu, getUpdateOracleInstructionDataDecoder as f, getRequestBundleSwitchInstructionDataDecoder as fa, ManagerWithdrawWithSplitInstructionDataArgs as fc, parseClearUserFeeOverrideInstruction as fd, parseAddStrategyInstruction as ff, BUNDLE_MASTER_ACCOUNT_DISCRIMINATOR as fg, getUserBundleAccountEncoder as fh, parseSetDelaysInstruction as fi, InitializeBundleDepositorInstruction as fl, NTBUNDLE_ERROR__ORACLE_UPDATE_TOO_FREQUENT as fm, parseSetReferrerConfigInstruction as fn, getReferrerRequestWithdrawInstructionAsync as fo, findBundleAccountPda as fp, SetMinDepositAmountInstructionDataArgs as fr, getProcessDepositDiscriminatorBytes as fs, getSetUserWithdrawalTimingOverrideInstructionDataDecoder as ft, DistributeToReceiversAsyncInput as fu, UPDATE_ALLOCATIONS_DISCRIMINATOR as g, REMOVE_STRATEGY_DISCRIMINATOR as ga, getManagerWithdrawWithSplitInstructionAsync as gc, ChangeManagerInstructionData as gd, NtbundlePlugin as gf, fetchAllBundleMasterAccount as gg, StrategyArgs as gh, SetBundleCreatorInput as gi, getInitializeBundleDepositorDiscriminatorBytes as gl, NTBUNDLE_ERROR__PENDING_DEPOSIT_EXISTS as gm, SetReferrerActiveInstruction as gn, parseReferrerRequestWithdrawInstruction as go, NTBUNDLE_ERROR__AMOUNT_MUST_BE_BELOW_MAX as gp, getSetMinDepositAmountInstructionDataDecoder as gr, getProcessDepositInstructionDataDecoder as gs, SET_USER_REFERRER_DISCRIMINATOR as gt, DistributeToReceiversInstructionDataArgs as gu, ParsedUpdateAllocationsInstruction as h, ParsedRemoveStrategyInstruction as ha, getManagerWithdrawWithSplitInstruction as hc, ChangeManagerInstruction as hd, NtbundleInstruction as hf, decodeBundleMasterAccount as hg, Strategy as hh, SetBundleCreatorAsyncInput as hi, ParsedInitializeBundleDepositorInstruction as hl, NTBUNDLE_ERROR__PENDING_DEPOSIT_AMOUNT_ZERO as hm, SetReferrerActiveInput as hn, getReferrerRequestWithdrawInstructionDataEncoder as ho, NTBUNDLE_ERROR__ALLOCATION_BPS_IS_ZERO as hp, getSetMinDepositAmountInstructionDataCodec as hr, getProcessDepositInstructionDataCodec as hs, ParsedSetUserReferrerInstruction as ht, DistributeToReceiversInstructionData as hu, UpdateOracleInput as i, RequestBundleSwitchInput as ia, getNetPendingTransactionsInstructionDataDecoder as ic, ClearUserFeeOverrideInstructionDataArgs as id, AddStrategyInstructionDataArgs as if, fetchAllMaybeBundleTempData as ig, decodeUserBundleAccount as ih, SetDelaysInstruction as ii, getInitializeBundleMasterAccountInstructionAsync as il, NTBUNDLE_ERROR__NETTING_ALREADY_DONE as im, SetReferrerConfigInstruction as in, REFERRER_REQUEST_WITHDRAW_DISCRIMINATOR as io, BundleTempDataSeeds as ip, getSetOracleBufferInstructionDataDecoder as ir, parseProcessReferrerWithdrawalInstruction as is, SetUserWithdrawalTimingOverrideInput as it, getEnableStrategyDiscriminatorBytes as iu, StartDistributionAsyncInput as j, RegisterReferrerAsyncInput as ja, getManagerWithdrawInstructionDataCodec as jc, ParsedChangeBundleMasterAdminInstruction as jd, findTargetPendingBundleAssetAuthorityPda as jf, fetchBundleCreatorAccount as jg, fetchAllMaybeReferrerAccount as jh, RequestWithdrawalInstruction as ji, getInitializeBundleInstruction as jl, NTBUNDLE_ERROR__REFILL_AMOUNT_EXCEEDED as jm, getSetOracleUpdateTimeLimitDiscriminatorBytes as jn, PROCESS_SWITCH_DISCRIMINATOR as jo, NTBUNDLE_ERROR__INSUFFICIENT_BUNDLE_BALANCE as jp, ParsedSetKeeperInstruction as jr, getPerformRefillInstructionDataEncoder as js, SetUserFeeOverrideAsyncInput as jt, ParsedCloseUserBundleAccountInstruction as ju, ParsedStartDistributionInstruction as k, ParsedRegisterReferrerInstruction as ka, getManagerWithdrawInstruction as kc, ChangeBundleMasterAdminInstructionData as kd, findTargetUserBundleAccountPda as kf, fetchAllBundleCreatorAccount as kg, ReferrerAccountArgs as kh, RequestWithdrawalAsyncInput as ki, ParsedInitializeBundleInstruction as kl, NTBUNDLE_ERROR__REFERRER_DEPOSIT_TOO_LOW as km, SetOracleUpdateTimeLimitInstructionData as kn, getProcessWithdrawalInstructionDataEncoder as ko, NTBUNDLE_ERROR__EXCESSIVE_PERFORMANCE_FEE as kp, getSetMaxDepositAmountInstructionDataEncoder as kr, getPerformRefillInstructionDataCodec as ks, ParsedSetUserFeeOverrideInstruction as kt, CloseUserBundleAccountInstructionData as ku, getUpdateOracleInstruction as l, getRequestBundleSwitchInstruction as la, ManagerWithdrawWithSplitInput as lc, getClearUserFeeOverrideInstructionDataCodec as ld, getAddStrategyInstructionDataCodec as lf, getBundleTempDataDiscriminatorBytes as lg, getUserBundleAccountCodec as lh, getSetDelaysInstructionDataCodec as li, INITIALIZE_BUNDLE_DEPOSITOR_DISCRIMINATOR as ll, NTBUNDLE_ERROR__NO_USER_FEE_OVERRIDE_TO_CLEAR as lm, getSetReferrerConfigInstructionDataCodec as ln, ReferrerRequestWithdrawInstructionDataArgs as lo, BundleAssetAuthoritySeeds as lp, SetMinDepositAmountInput as lr, ProcessDepositInstruction as ls, getSetUserWithdrawalTimingOverrideInstruction as lt, getEnableStrategyInstructionDataEncoder as lu, parseUpdateOracleInstruction as m, parseRequestBundleSwitchInstruction as ma, getManagerWithdrawWithSplitDiscriminatorBytes as mc, ChangeManagerInput as md, NtbundleAccount as mf, BundleMasterAccountArgs as mg, STRATEGY_DISCRIMINATOR as mh, SET_BUNDLE_CREATOR_DISCRIMINATOR as mi, InitializeBundleDepositorInstructionDataArgs as ml, NTBUNDLE_ERROR__PAYER_NOT_AUTHORITY as mm, SET_REFERRER_ACTIVE_DISCRIMINATOR as mn, getReferrerRequestWithdrawInstructionDataDecoder as mo, NTBUNDLE_ERROR__ALLOCATION_BPS_GREATER_THAN_GLOBAL_ALLOCATION_BPS as mp, getSetMinDepositAmountInstruction as mr, getProcessDepositInstructionAsync as ms, parseSetUserWithdrawalTimingOverrideInstruction as mt, DistributeToReceiversInstruction as mu, UPDATE_ORACLE_DISCRIMINATOR as n, REQUEST_BUNDLE_SWITCH_DISCRIMINATOR as na, getNetPendingTransactionsInstructionAsync as nc, ClearUserFeeOverrideInstruction as nd, AddStrategyInstruction as nf, decodeBundleTempData as ng, UserBundleAccount as nh, SET_DELAYS_DISCRIMINATOR as ni, getInitializeBundleMasterAccountDiscriminatorBytes as nl, NTBUNDLE_ERROR__MIN_DEPOSIT_AMOUNT_NOT_MET as nm, SET_REFERRER_CONFIG_DISCRIMINATOR as nn, parseRefundDepositInstruction as no, CloseUserBundleAccountUserBundleAccountSeeds as np, getSetOracleBufferInstruction as nr, getProcessReferrerWithdrawalInstructionDataDecoder as ns, SET_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR as nt, EnableStrategyInstructionDataArgs as nu, UpdateOracleInstructionData as o, RequestBundleSwitchInstructionData as oa, parseNetPendingTransactionsInstruction as oc, getClearUserFeeOverrideDiscriminatorBytes as od, getAddStrategyDiscriminatorBytes as of, fetchMaybeBundleTempData as og, fetchAllUserBundleAccount as oh, SetDelaysInstructionDataArgs as oi, getInitializeBundleMasterAccountInstructionDataDecoder as ol, NTBUNDLE_ERROR__NO_PENDING_SWITCH as om, SetReferrerConfigInstructionDataArgs as on, ReferrerRequestWithdrawInput as oo, findBundleMasterAccountPda as op, parseSetOracleBufferInstruction as or, ParsedProcessDepositInstruction as os, SetUserWithdrawalTimingOverrideInstructionData as ot, getEnableStrategyInstructionAsync as ou, getUpdateOracleInstructionDataEncoder as p, getRequestBundleSwitchInstructionDataEncoder as pa, ParsedManagerWithdrawWithSplitInstruction as pc, CHANGE_MANAGER_DISCRIMINATOR as pd, NTBUNDLE_PROGRAM_ADDRESS as pf, BundleMasterAccount as pg, getUserBundleAccountSize as ph, ParsedSetBundleCreatorInstruction as pi, InitializeBundleDepositorInstructionData as pl, NTBUNDLE_ERROR__PAUSED_DEPOSITS_WITHDRAWALS as pm, ParsedSetReferrerActiveInstruction as pn, getReferrerRequestWithdrawInstructionDataCodec as po, NTBUNDLE_ERROR__ALLOCATION_AMOUNT_ZERO as pp, getSetMinDepositAmountDiscriminatorBytes as pr, getProcessDepositInstruction as ps, getSetUserWithdrawalTimingOverrideInstructionDataEncoder as pt, DistributeToReceiversInput as pu, SetWithdrawalRedemptionScheduleInstructionData as q, RefundDepositInstruction as qa, getInitializePermissionedBundleDepositorInstructionDataEncoder as qc, getApplyFeesToUserInstruction as qd, findRequestBundleSwitchUserBundleAccountPda as qf, getBundleDecoder as qg, fetchOracleData as qh, RequestDepositInstructionDataArgs as qi, getEndDistributionInstructionDataCodec as ql, NTBUNDLE_ERROR__UNPAUSED_DEPOSITS_WITHDRAWALS as qm, getSetOracleMaxAgeInstructionDataEncoder as qn, ProcessReferrerWithdrawalAsyncInput as qo, NTBUNDLE_ERROR__INVALID_USER_WITHDRAWAL_TIMING_CONFIG as qp, SetFeesInstructionData as qr, NET_PENDING_TRANSACTIONS_DISCRIMINATOR as qs, SetReferrerRateOverrideInstructionData as qt, getClearUserWithdrawalTimingOverrideInstruction as qu, UpdateOracleAsyncInput as r, RequestBundleSwitchAsyncInput as ra, getNetPendingTransactionsInstructionDataCodec as rc, ClearUserFeeOverrideInstructionData as rd, AddStrategyInstructionData as rf, fetchAllBundleTempData as rg, UserBundleAccountArgs as rh, SetDelaysInput as ri, getInitializeBundleMasterAccountInstruction as rl, NTBUNDLE_ERROR__MUST_BE_IN_WHITELIST as rm, SetReferrerConfigInput as rn, ParsedReferrerRequestWithdrawInstruction as ro, findCloseUserBundleAccountUserBundleAccountPda as rp, getSetOracleBufferInstructionDataCodec as rr, getProcessReferrerWithdrawalInstructionDataEncoder as rs, SetUserWithdrawalTimingOverrideAsyncInput as rt, ParsedEnableStrategyInstruction as ru, UpdateOracleInstructionDataArgs as s, RequestBundleSwitchInstructionDataArgs as sa, MANAGER_WITHDRAW_WITH_SPLIT_DISCRIMINATOR as sc, getClearUserFeeOverrideInstruction as sd, getAddStrategyInstruction as sf, getBundleTempDataCodec as sg, fetchMaybeUserBundleAccount as sh, getSetDelaysDiscriminatorBytes as si, getInitializeBundleMasterAccountInstructionDataEncoder as sl, NTBUNDLE_ERROR__NO_PENDING_TRANSACTIONS as sm, getSetReferrerConfigDiscriminatorBytes as sn, ReferrerRequestWithdrawInstruction as so, BundleCreatorAccountSeeds as sp, ParsedSetMinDepositAmountInstruction as sr, ProcessDepositAsyncInput as ss, SetUserWithdrawalTimingOverrideInstructionDataArgs as st, getEnableStrategyInstructionDataCodec as su, ParsedUpdateOracleInstruction as t, ParsedRequestBundleSwitchInstruction as ta, getNetPendingTransactionsInstruction as tc, ClearUserFeeOverrideInput as td, AddStrategyInput as tf, BundleTempDataArgs as tg, USER_BUNDLE_ACCOUNT_DISCRIMINATOR as th, ParsedSetDelaysInstruction as ti, ParsedInitializeBundleMasterAccountInstruction as tl, NTBUNDLE_ERROR__MAX_DEPOSIT_AMOUNT_EXCEEDED as tm, ParsedSetReferrerConfigInstruction as tn, getRefundDepositInstructionDataEncoder as to, findOracleDataPda as tp, getSetOracleBufferDiscriminatorBytes as tr, getProcessReferrerWithdrawalInstructionDataCodec as ts, ParsedSetUserWithdrawalTimingOverrideInstruction as tt, EnableStrategyInstructionData as tu, getUpdateOracleInstructionAsync as u, getRequestBundleSwitchInstructionAsync as ua, ManagerWithdrawWithSplitInstruction as uc, getClearUserFeeOverrideInstructionDataDecoder as ud, getAddStrategyInstructionDataDecoder as uf, getBundleTempDataEncoder as ug, getUserBundleAccountDecoder as uh, getSetDelaysInstructionDataDecoder as ui, InitializeBundleDepositorAsyncInput as ul, NTBUNDLE_ERROR__NO_USER_WITHDRAWAL_TIMING_OVERRIDE_TO_CLEAR as um, getSetReferrerConfigInstructionDataDecoder as un, getReferrerRequestWithdrawDiscriminatorBytes as uo, findBundleAssetAuthorityPda as up, SetMinDepositAmountInstruction as ur, ProcessDepositInstructionData as us, getSetUserWithdrawalTimingOverrideInstructionAsync as ut, parseEnableStrategyInstruction as uu, UpdateAllocationsInput as v, RemoveStrategyInput as va, getManagerWithdrawWithSplitInstructionDataDecoder as vc, ParsedChangeManagerInstruction as vd, NtbundlePluginInstructions as vf, fetchBundleMasterAccount as vg, fetchAllMaybeStrategy as vh, SetBundleCreatorInstructionData as vi, getInitializeBundleDepositorInstructionAsync as vl, NTBUNDLE_ERROR__PENDING_TRANSACTIONS_EXIST as vm, SetReferrerActiveInstructionDataArgs as vn, ParsedProcessWithdrawalInstruction as vo, NTBUNDLE_ERROR__BUNDLE_NOT_PERMISSIONNED as vp, parseSetMinDepositAmountInstruction as vr, parseProcessDepositInstruction as vs, SetUserReferrerInput as vt, getDistributeToReceiversDiscriminatorBytes as vu, getUpdateAllocationsInstructionAsync as w, getRemoveStrategyInstructionAsync as wa, ManagerWithdrawInstruction as wc, parseChangeManagerInstruction as wd, ntbundleProgram as wf, getBundleMasterAccountSize as wg, getStrategyDiscriminatorBytes as wh, getSetBundleCreatorInstructionDataDecoder as wi, InitializeBundleAsyncInput as wl, NTBUNDLE_ERROR__REDEMPTION_AMOUNT_ZERO as wm, parseSetReferrerActiveInstruction as wn, getProcessWithdrawalDiscriminatorBytes as wo, NTBUNDLE_ERROR__EMPTY_USER_FEE_CLEAR_REQUEST as wp, SetMaxDepositAmountInstructionDataArgs as wr, PerformRefillInstructionData as ws, getSetUserReferrerInstructionAsync as wt, parseDistributeToReceiversInstruction as wu, UpdateAllocationsInstructionDataArgs as x, RemoveStrategyInstructionDataArgs as xa, MANAGER_WITHDRAW_DISCRIMINATOR as xc, getChangeManagerInstructionDataCodec as xd, ParsedNtbundleInstruction as xf, getBundleMasterAccountDecoder as xg, fetchStrategy as xh, getSetBundleCreatorInstruction as xi, getInitializeBundleDepositorInstructionDataEncoder as xl, NTBUNDLE_ERROR__RAW_TRANSFER_RECEIVER as xm, getSetReferrerActiveInstructionDataCodec as xn, ProcessWithdrawalInstruction as xo, NTBUNDLE_ERROR__DEPOSIT_AMOUNT_ZERO as xp, SetMaxDepositAmountInput as xr, PerformRefillAsyncInput as xs, SetUserReferrerInstructionDataArgs as xt, getDistributeToReceiversInstructionDataCodec as xu, UpdateAllocationsInstruction as y, RemoveStrategyInstruction as ya, getManagerWithdrawWithSplitInstructionDataEncoder as yc, getChangeManagerDiscriminatorBytes as yd, NtbundlePluginPdas as yf, fetchMaybeBundleMasterAccount as yg, fetchAllStrategy as yh, SetBundleCreatorInstructionDataArgs as yi, getInitializeBundleDepositorInstructionDataCodec as yl, NTBUNDLE_ERROR__PENDING_WITHDRAWAL_EXISTS as ym, getSetReferrerActiveDiscriminatorBytes as yn, ProcessWithdrawalAsyncInput as yo, NTBUNDLE_ERROR__CALLER_NOT_NEUTRAL_FEE_INCREMENTER as yp, ParsedSetMaxDepositAmountInstruction as yr, PERFORM_REFILL_DISCRIMINATOR as ys, SetUserReferrerInstruction as yt, getDistributeToReceiversInstruction as yu, getStartDistributionInstructionDataCodec as z, getRegisterReferrerInstructionDataCodec as za, InitializePermissionedBundleDepositorInstructionData as zc, APPLY_FEES_TO_USER_DISCRIMINATOR as zd, findSourceUserBundleAccountPda as zf, Bundle as zg, getReferrerAccountSize as zh, getRequestWithdrawalInstructionDataEncoder as zi, EndDistributionInput as zl, NTBUNDLE_ERROR__SWITCH_TARGET_SAME_AS_SOURCE as zm, SetOracleMaxAgeInput as zn, getProcessSwitchInstruction as zo, NTBUNDLE_ERROR__INVALID_ORACLE_BUFFER as zp, getSetKeeperInstructionDataCodec as zr, PauseDepositsWithdrawalsInstructionDataArgs as zs, getSetUserFeeOverrideInstructionDataCodec as zt, CLEAR_USER_WITHDRAWAL_TIMING_OVERRIDE_DISCRIMINATOR as zu };